1 | $blocks-button__height: 56px;
|
2 |
|
3 | .wp-block-button {
|
4 | color: $white;
|
5 | margin-bottom: 1.5em;
|
6 |
|
7 | &.aligncenter {
|
8 | text-align: center;
|
9 | }
|
10 |
|
11 | &.alignright {
|
12 |
|
13 | text-align: right;
|
14 | }
|
15 | }
|
16 |
|
17 | .wp-block-button__link {
|
18 | background-color: $dark-gray-700;
|
19 | border: none;
|
20 | border-radius: $blocks-button__height / 2;
|
21 | box-shadow: none;
|
22 | color: inherit;
|
23 | cursor: pointer;
|
24 | display: inline-block;
|
25 | font-size: $big-font-size;
|
26 | margin: 0;
|
27 | padding: 12px 24px;
|
28 | text-align: center;
|
29 | text-decoration: none;
|
30 | overflow-wrap: break-word;
|
31 |
|
32 | &:hover,
|
33 | &:focus,
|
34 | &:active,
|
35 | &:visited {
|
36 | color: inherit;
|
37 | }
|
38 | }
|
39 |
|
40 | .is-style-squared .wp-block-button__link {
|
41 | border-radius: 0;
|
42 | }
|
43 |
|
44 | .is-style-outline {
|
45 | color: $dark-gray-700;
|
46 |
|
47 | .wp-block-button__link {
|
48 | background-color: transparent;
|
49 | border: 2px solid currentcolor;
|
50 | }
|
51 | }
|