-
Notifications
You must be signed in to change notification settings - Fork 4
/
style-editor.css
87 lines (77 loc) · 2.1 KB
/
style-editor.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/* Main column width */
.wp-block {
max-width: 720px;
}
/* Width of "wide" blocks */
.wp-block[data-align="wide"],
.wp-block.alignwide {
max-width: 1080px;
}
/* Width of "full-wide" blocks */
.wp-block[data-align="full"],
.wp-block.alignfull {
max-width: none;
}
/* YITH Proteo Buttons */
.is-style-fill .wp-block-button__link:not(.has-background),
.is-style-button-style-1 .wp-block-button__link:not(.has-background){
border: 1px solid;
border-color: var(--proteo-button_1_border_color);
background: var(--proteo-button_1_bg_color);
background-color: var(--proteo-button_1_bg_color);
color: var(--proteo-button_1_font_color);
font-weight: 600;
}
.is-style-button-style-2 .wp-block-button__link:not(.has-background) {
background-color: var(--proteo-button_2_bg_color_1);
background: linear-gradient(180deg, var(--proteo-button_2_bg_color_1) 0%, var(--proteo-button_2_bg_color_2 ) 100%);
color: var(--proteo-button_2_font_color);
border: none;
font-weight: 600;
}
.is-style-button-ghost .wp-block-button__link:not(.has-background) {
border: 2px solid;
border-color: var(--proteo-main_color_shade);
background-color: transparent;
color: var(--proteo-main_color_shade);
font-weight: 600;
}
.is-style-button-unstyled .wp-block-button__link:not(.has-background) {
background: none;
background-color: transparent;
border: none;
color: var(--proteo-general_link_color);
font-weight: 600;
}
@media (min-width: 1440px) {
/* Main column width */
.wp-block {
max-width: 840px;
}
/* Width of "wide" blocks */
.wp-block[data-align="wide"],
.wp-block.alignwide {
max-width: 1240px;
}
/* Width of "full-wide" blocks */
.wp-block[data-align="full"],
.wp-block.alignfull {
max-width: none;
}
}
@media (min-width: 1600px) {
/* Main column width */
.wp-block {
max-width: 1240px;
}
/* Width of "wide" blocks */
.wp-block[data-align="wide"],
.wp-block.alignwide {
max-width: 1500px;
}
/* Width of "full-wide" blocks */
.wp-block[data-align="full"],
.wp-block.alignfull {
max-width: none;
}
}