PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.7
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.7
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / src / global-settings / editor.scss

editor.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.7, at src/global-settings/editor.scss

256 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // Fonts library modal style.
2 .sp-smart-fonts-library {
3 .components-tab-panel__tabs {
4 position: relative;
5
6 &::after {
7 position: absolute;
8 content: "";
9 width: calc(100% + 65px);
10 height: 1px;
11 background: #ccc;
12 left: -32px;
13 bottom: 0;
14 z-index: -1;
15 }
16
17 button.active-tab::after {
18 border-bottom: 2px solid #007cba;
19 transform: translateY(0.5px);
20 border-radius: 4px;
21 }
22 }
23
24 .sp-smart-fonts-upload-field {
25 margin-top: 32px;
26 }
27 }
28
29 .sp-smart-global-typography {
30 .sp-smart-post-typography-header {
31 display: flex;
32 justify-content: space-between;
33 position: relative;
34 align-items: center;
35
36 button {
37 cursor: pointer;
38 padding-right: 10px;
39 }
40
41 span {
42 margin-right: 10px;
43 }
44
45 input {
46 border-radius: 2px;
47 border: 1px solid #ddd;
48 height: 32px;
49 width: 220px;
50 padding-left: 10px;
51
52 &:focus {
53 outline: none;
54 }
55 }
56
57 }
58
59 &-label {
60 background-color: #F2F2F2;
61 padding: 6px 20px;
62 display: block;
63 margin: 0 -21px;
64 margin-bottom: 13px;
65 font-size: 13px;
66 font-weight: 500;
67 }
68 }
69
70 .sp-smart-post-color-settings {
71
72 .sp-smart-post-toggle-button-group,
73 .components-circular-option-picker {
74 margin-bottom: 11px !important;
75 }
76 }
77
78 .sp-global-typography-fonts-list-wrapper {
79 .sp-global-typography-fonts-list {
80 display: flex;
81 flex-direction: column;
82 // gap: 6px;
83 }
84
85 .sp-global-typography-fonts-label {
86 margin-bottom: 8px;
87 }
88
89 .sp-smart-post-typography-btn,
90 .sp-smart-post-component-title {
91 margin-bottom: 0;
92 }
93
94 .sp-smart-post-typography {
95 width: 100%;
96 }
97
98 .sp-global-typography-fonts-list-item {
99 display: flex;
100 width: 252px;
101 height: 40px;
102 padding: 4px 14px;
103 justify-content: space-between;
104 align-items: center;
105 border-radius: 2px 2px 0 0;
106 border: 1px solid #DDD;
107 background: #FFF;
108
109 &:not(:last-child) {
110 border-bottom: none;
111 }
112
113 .sp-list-item-label {
114 font-size: 13px;
115 font-style: normal;
116 font-weight: 400;
117 line-height: 20px;
118 }
119
120 .sp-list-name {
121 color: #2F2F2F;
122 }
123
124 .sp-list-variants {
125 color: #757575;
126 }
127
128 .sp-list-icon {
129 font-size: 13px;
130 line-height: 10px;
131 }
132 }
133 }
134
135 .smart-post-global-color {
136 flex: 1;
137 height: 30px;
138 }
139
140 .smart-post-global-content {
141 display: grid;
142 grid-template-columns: 1fr 1fr;
143 gap: 10px;
144 margin-bottom: 11px;
145 }
146
147 .smart-post-preset-color-show {
148 display: flex;
149 }
150
151 .smart-post-global-current-content {
152 padding: 4px;
153 border: 1.5px solid #CCC;
154 border-radius: 2px;
155 background-color: #F0F0F0;
156 }
157
158 .smart-post-global-color-preset {
159 display: flex;
160 margin-top: 30px;
161 }
162
163 .smart-post-global-current-content.selected {
164 border-color: #0054FB;
165 }
166
167 .smart-post-custom-color-item {
168 display: flex;
169 align-items: center;
170 gap: 8px;
171 padding: 8px;
172 background: #f6f7f7;
173 border-radius: 4px;
174 }
175
176 .smart-post-custom-color-preview {
177 width: 24px;
178 height: 24px;
179 border-radius: 4px;
180 }
181
182 .smart-post-custom-color-name {
183 flex: 1;
184 font-size: 13px;
185 }
186
187 .smart-post-gradient-presets {
188 display: grid;
189 grid-template-columns: repeat(2, 1fr);
190 gap: 12px;
191 margin: 16px 0;
192 }
193
194 .smart-post-gradient-preset {
195 height: 60px;
196 border-radius: 4px;
197 cursor: pointer;
198 display: flex;
199 align-items: center;
200 justify-content: center;
201 color: white;
202 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
203 font-size: 12px;
204 text-align: center;
205 padding: 8px;
206 }
207
208 .smart-post-gradient-preview {
209 height: 60px;
210 border-radius: 4px;
211 margin: 16px 0;
212 }
213
214 .sp-smart-breakpoint {
215 .sp-smart-breakpoint-icon {
216 fill: currentColor;
217 }
218 }
219
220 .sp-global-settings-title {
221 font-size: 13px;
222 margin-top: 11px;
223 margin-bottom: 8px;
224 }
225
226 .sp-clickable {
227 cursor: pointer;
228 }
229
230 .sp-global-settings-save-button-container {
231 margin-top: 20px;
232 padding: 16px;
233 text-align: center;
234 }
235
236 .sp-global-settings-save-button {
237 min-width: 120px;
238 }
239
240 .sp-global-settings-save-help-text {
241 font-size: 12px;
242 color: #666;
243 margin-top: 8px;
244 margin-bottom: 0;
245 }
246
247 button[aria-controls="smart-post-show-pro-global-settings:sidebar"]="smart-post-show-pro-global-settings:sidebar""],
248 button[aria-controls="smart-post-show-pro-global-settings:sidebar"]="smart-post-show-pro-global-settings:sidebar""]:hover {
249 color: var(--sp-smart-primary-2-600) !important;
250 }
251
252 button.is-pressed[aria-controls="smart-post-show-pro-global-settings:sidebar"]="smart-post-show-pro-global-settings:sidebar""] {
253 color: #fff !important;
254 background-color: var(--sp-smart-primary-2-600) !important;
255 }
256