PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.8
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.8
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 / components / spacing / editor.scss

editor.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.8, at src/components/spacing/editor.scss

346 lines 7.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .sp-smart-post-spacing {
2 &-part-2 {
3 display: flex;
4 label {
5 font-size: 11px;
6 display: inline-block;
7 color: #8c8f94;
8 margin-top: 4px;
9 }
10 input {
11 width: 100%;
12 padding: 0;
13 text-align: center;
14 border-radius: 0;
15 border-right: 0;
16 border-color: #ddd;
17 &:focus:not(:disabled) {
18 outline: none;
19 box-shadow: none;
20 border-color: #ddd;
21 }
22 }
23 }
24 &-all {
25 width: 140px;
26 height: 30px;
27 button {
28 width: 100%;
29 height: 100%;
30 padding: 0;
31 border-radius: 0;
32 justify-content: center;
33 border: 1px solid #ddd;
34 &.active {
35 background-color: var(--sp-smart-primary-2-600);
36 border-color: transparent;
37 }
38 &:focus:not(:disabled) {
39 outline: none;
40 box-shadow: none;
41 border: 1px solid #ddd !important;
42 }
43 }
44 }
45 &-left.box input,
46 &-right.box input {
47 border-right: 1px solid #ddd;
48 margin-right: 0;
49 }
50 }
51 .sp-smart-post-tab-panel .sp-smart-post-component-mb {
52 margin-bottom: 16px;
53 }
54 .sp-smart-post-tab-panel .sp-smart-post-component-mb:last-child {
55 margin-bottom: 0px;
56 }
57
58 .sp-smart-post-spacing-part-2 {
59 display: flex;
60 }
61 .sp-smart-post-spacing-part-2 label {
62 font-size: 11px;
63 display: inline-block;
64 color: #8c8f94;
65 margin-top: 4px;
66 }
67 .sp-smart-post-spacing-part-2 input {
68 width: 100%;
69 padding: 0;
70 text-align: center;
71 border-radius: 0;
72 border-right: 0;
73 border-color: #ddd;
74 }
75 .sp-smart-post-spacing-part-2 input:focus:not(:disabled) {
76 outline: none;
77 box-shadow: none;
78 border-color: #ddd;
79 }
80 .sp-smart-post-spacing-all {
81 width: 140px;
82 height: 32px;
83 }
84 .sp-smart-post-spacing-all button {
85 width: 100%;
86 height: 100%;
87 padding: 0;
88 border-radius: 0;
89 justify-content: center;
90 border: 1px solid #ddd;
91 }
92 .sp-smart-post-spacing-all button:focus:not(:disabled) {
93 outline: none;
94 box-shadow: none;
95 }
96 .sp-smart-post-spacing-left.box input,
97 .sp-smart-post-spacing-right.box input {
98 border-right: 1px solid #ddd;
99 margin-right: 0;
100 }
101
102 .sp-smart-post-header-control-left,
103 .sp-smart-post-header-control-right {
104 display: flex;
105 align-items: center;
106 }
107
108 // .sp-smart-post-header-control-left label {
109 // margin-top: 8px;
110 // }
111 // RS
112 .sp-smart-post-header-control-left {
113 margin-top: 0;
114 }
115 .sp-smart-post-header-control {
116 display: flex;
117 justify-content: space-between;
118 }
119 .sp-smart-post-header-control-reset.components-button:hover svg {
120 color: var( --sp-smart-primary-2-400 );
121 }
122
123 // select control and input control custom css
124 .location-weather-tab-panel {
125 .components-checkbox-control {
126 .components-base-control__field {
127 width: 100%;
128 display: flex;
129 flex-direction: row-reverse;
130 justify-content: space-between;
131 label {
132 font-size: 13px;
133 font-weight: 400;
134 text-transform: capitalize;
135 font-family: Inter, sans-serif;
136 }
137 span {
138 margin: 0;
139 }
140 span > input:checked {
141 background-color: var( --sp-smart-primary-2-400 );
142 border-color: var( --sp-smart-primary-2-400 );
143 }
144 span > input:focus {
145 border-color: var( --sp-smart-primary-2-400 );
146 }
147 }
148 }
149 .components-input-control {
150 .components-input-base {
151 div > label {
152 font-size: 13px;
153 font-weight: 400 !important;
154 text-transform: capitalize;
155 font-family: Inter, sans-serif;
156 color: #1e1e1e;
157 }
158 div > input::after {
159 border-color: var( --sp-smart-primary-2-400 );
160 }
161 }
162 }
163 }
164
165 .sp-smart-post-spacing:not(.border-radius) {
166 .sp-smart-post-spacing-wrapper {
167 position: relative;
168 display: inline-block;
169 .sp-smart-post-spacing-highlight {
170 position: absolute;
171 background-color: #333;
172 }
173 }
174 .sp-smart-post-spacing-top {
175 .sp-smart-post-spacing-highlight {
176 top: 0;
177 left: 52%;
178 width: 80%;
179 height: 2px;
180 transform: translateX(-50%);
181 }
182 }
183 .sp-smart-post-spacing-right {
184 .sp-smart-post-spacing-highlight {
185 top: 52%;
186 right: 0px;
187 width: 2px;
188 height: 80%;
189 transform: translateY(-50%);
190 }
191 }
192 .sp-smart-post-spacing-bottom {
193 .sp-smart-post-spacing-highlight {
194 bottom: 0;
195 height: 2px;
196 left: 52%;
197 width: 80%;
198 transform: translateX(-50%);
199 }
200 }
201 .sp-smart-post-spacing-left {
202 .sp-smart-post-spacing-highlight {
203 top: 52%;
204 height: 80%;
205 left: 1px;
206 width: 2px;
207 transform: translateY(-50%);
208 }
209 }
210 }
211 .sp-smart-post-spacing {
212 &.border-radius {
213 .sp-smart-post-spacing-wrapper {
214 position: relative;
215 display: inline-block;
216 .sp-smart-post-spacing-highlight {
217 position: absolute;
218 width: 8px;
219 height: 8px;
220 background-color: transparent;
221 border-color: #333;
222 border-style: solid;
223 }
224 }
225 .sp-smart-post-spacing-top {
226 .sp-smart-post-spacing-highlight {
227 top: 0px;
228 left: 0px;
229 border-width: 2px 0 0 2px;
230 }
231 }
232 .sp-smart-post-spacing-right {
233 .sp-smart-post-spacing-highlight {
234 right: 0px;
235 top: 0px;
236 border-width: 2px 2px 0 0;
237 }
238 }
239 .sp-smart-post-spacing-bottom {
240 .sp-smart-post-spacing-highlight {
241 border-width: 0 2px 2px 0;
242 bottom: 0px;
243 right: 0px;
244 left: unset;
245 }
246 }
247 .sp-smart-post-spacing-left {
248 .sp-smart-post-spacing-highlight {
249 border-width: 0 0 2px 2px;
250 bottom: 0px;
251 left: 2px;
252 right: 2px;
253 }
254 }
255 }
256 }
257
258 .sp-smart-post-spacing {
259 .sp-smart-post-spacing-wrapper {
260 input[type=number]=number] {
261 min-height: 32px !important;
262 height: 32px !important;
263 font-size: 14px !important;
264 line-height: 1.5rem;
265 border-right: 1px solid #ddd;
266 }
267 }
268 }
269 .sp-smart-post-spacing-range-control.sp-smart-post-range-control {
270 display: flex;
271 flex-direction: column;
272 gap: 8px;
273
274 .sp-smart-range-control-ranger-row {
275 display: flex;
276 flex-direction: row;
277 align-items: center;
278 gap: 16px;
279
280 .sp-smart-range-control {
281 display: flex;
282 align-items: center;
283 }
284
285 .sp-ranger {
286 display: block;
287 flex-grow: 1;
288 }
289 .sp-preset-btn {
290 width: 24px;
291 }
292 .components-range-control__wrapper {
293 margin-bottom: 0;
294 }
295 .components-input-control .components-input-control__container {
296 width: 54px;
297 }
298 .components-input-base {
299 min-height: 30px;
300 max-height: 30px;
301 }
302 .components-input-base input {
303 min-height: 30px;
304 max-height: 30px;
305 }
306 }
307 // Side Link Icon
308 .sp-link-side-icon {
309 width: 20px;
310 height: 20px;
311 border: 1px solid #8c8f94;
312 background-color: #ffffff;
313 display: flex ;
314 justify-content: center;
315 align-items: center;
316 padding: 4px 3px;
317 border-radius: 2px;
318 box-sizing: border-box;
319 cursor: pointer;
320 }
321 .sp-link-btn {
322 .sp-link-side-icon {
323 margin-right: 4px;
324 }
325 &.active {
326 .sp-link-side-icon {
327 background-color: var(--sp-smart-primary-2-400);
328 }
329 svg path,
330 svg rect {
331 fill: #FFFFFF;
332 }
333 }
334 }
335 .components-range-control__wrapper {
336 .components-range-control__thumb-wrapper {
337 z-index: 1 !important;
338 }
339 .components-range-control__track {
340 background-color: var(--sp-smart-primary-2-400);
341 }
342 }
343 }
344 .sp-smart-range-control.sp-preset-btn {
345 color: var(--sp-smart-primary-2-600);
346 }