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 / admin / styles / _saved-template.scss

_saved-template.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.8, at src/admin/styles/_saved-template.scss

366 lines 8.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // Saved Template Styles
2 .sp-pcp-blocks-setting-saved-template-page {
3 width: 100%;
4 padding: 32px;
5 border-radius: 6px;
6 border: 1px solid #DDD;
7 background: #FFF;
8 box-sizing: border-box;
9
10 .sp-pcp-blocks-setting-saved-template-container {
11 display: flex;
12 flex-direction: column;
13 row-gap: 24px;
14 justify-content: center;
15 }
16 .sp-pcp-blocks-setting-saved-template-header {
17 display: flex;
18 flex-direction: row;
19 align-items: center;
20 flex-wrap: wrap;
21 .sp-pcp-blocks-setting-template-header-left {
22 flex-grow: 1;
23 display: flex;
24 flex-direction: row;
25 flex-wrap: wrap;
26 column-gap: 12px;
27 align-items: center;
28 justify-content: flex-start;
29 .sp-pcp-blocks-setting-template-bulk-action-form {
30 display: flex;
31 flex-direction: row;
32 column-gap: 12px;
33 align-items: center;
34
35 select {
36 display: flex;
37 height: 36px;
38 align-items: center;
39 gap: 16px;
40 border-radius: 3px;
41 border: 1px solid #E0E0E0;
42 min-width: 120px;
43 }
44 .sp-pcp-blocks-setting-template-select-apply {
45 display: flex;
46 height: 36px;
47 padding: 6px 16px;
48 justify-content: center;
49 align-items: center;
50 gap: 8px;
51 border-radius: 3px;
52 border: 1px solid #641DD7;
53 background: #FFF;
54 color: #641DD7;
55
56 font-size: 14px;
57 font-style: normal;
58 font-weight: 500;
59 line-height: 20px;
60 box-sizing: border-box;
61 transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
62 cursor: pointer;
63 user-select: none;
64
65 &:hover {
66 color: #FFF;
67 background-color: #641DD7;
68 }
69 }
70 }
71 .sp-pcp-blocks-setting-template-search {
72 .sp-pcp-blocks-setting-template-search-field {
73 display: flex;
74 width: 260px;
75 height: 36px;
76 padding: 6px 6px 6px 16px;
77 align-items: center;
78 gap: 8px;
79 border-radius: 4px;
80 border: 1px solid #DDD;
81 background: #FFF;
82 }
83 }
84 }
85 .sp-pcp-blocks-setting-template-header-right {
86 flex-shrink: 0;
87 .sp-pcp-blocks-setting-template-add-new {
88 .sp-pcp-blocks-setting-template {
89 display: flex;
90 padding: 10px 24px 10px 20px;
91 justify-content: center;
92 align-items: center;
93 gap: 8px;
94 border-radius: 4px;
95 background: var(--sp-smart-primary-2-600);
96 color: #FFF;
97
98 font-size: 16px;
99 font-style: normal;
100 font-weight: 500;
101 line-height: 28px;
102 text-decoration: none;
103 user-select: none;
104 svg {
105 width: 24px;
106 height: 24px;
107 path {
108 stroke: #FFF;
109 }
110 }
111 &:hover {
112 background: var(--sp-smart-primary-2-700);
113 }
114 }
115 }
116 }
117 }
118 .sp-pcp-blocks-setting-saved-template-content-table {
119 display: flex;
120 flex-direction: column;
121 align-items: flex-start;
122 align-self: stretch;
123 border-radius: 4px;
124 border: 1px solid #D6C2F5;
125 background: #FFF;
126 box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.08);
127 }
128
129 .sp-pcp-blocks-setting-saved-template-table-head,
130 .sp-pcp-blocks-setting-saved-template-table-body {
131 display: flex;
132 flex-direction: column;
133 justify-content: space-between;
134 align-items: flex-start;
135 align-self: stretch;
136
137 .sp-pcp-blocks-setting-saved-template-table-checkBox {
138 input {
139 margin-right: 16px;
140 }
141 }
142 .sp-pcp-blocks-setting-saved-template-table-title {
143 flex: auto;
144 }
145 .sp-pcp-blocks-setting-saved-template-table-editor_type {
146 width: 150px;
147 .sp-pcp-editor-type-badge {
148 display: inline-block;
149 font-size: 14px;
150 font-weight: 500;
151 line-height: 1;
152 text-transform: capitalize;
153 }
154 }
155 .sp-pcp-blocks-setting-saved-template-table-shortcode {
156 width: 330px;
157 }
158 .sp-pcp-blocks-setting-saved-template-table-date {
159 width: 222px;
160 }
161 .sp-pcp-blocks-setting-saved-template-table-action {
162 width: 110px;
163 }
164 }
165 .sp-pcp-blocks-setting-saved-template-table-head {
166 tr {
167 display: flex;
168 height: 48px;
169 align-items: center;
170 align-self: stretch;
171 background: #EFE6FB;
172 padding-left: 24px;
173 }
174 tr th {
175 color: #2F2F2F;
176
177 font-size: 16px;
178 font-style: normal;
179 font-weight: 500;
180 line-height: 20px;
181 text-align: left;
182 text-transform: capitalize;
183 }
184 }
185 .sp-pcp-blocks-setting-saved-template-table-body {
186 tr {
187 display: flex;
188 height: 64px;
189 padding-left: 24px;
190 align-items: center;
191 // gap: 16px;
192 align-self: stretch;
193 &:nth-of-type( even ) {
194 background: rgba(239, 230, 251, 0.40);
195 }
196 }
197 tr th {
198 color: #2F2F2F;
199
200 font-size: 14px;
201 font-style: normal;
202 font-weight: 400;
203 line-height: 24px;
204 text-align: left;
205 text-transform: capitalize;
206 }
207 .sp-pcp-blocks-setting-saved-template-table-shortcode {
208 cursor: pointer;
209 display: flex;
210 align-items: center;
211
212 svg {
213 opacity: 0;
214 visibility: hidden;
215 transition: 0.3s ease-in-out;
216 margin-left: 8px;
217 }
218
219 &:hover {
220 svg {
221 opacity: 1;
222 visibility: visible;
223 }
224 }
225 .sp-smart-post-shortcode-copy-tooltip {
226 display: flex;
227 align-items: center;
228 gap: 3px;
229 padding: 8px;
230 color: #317d46;
231 background-color: rgba(61, 158, 86, 0.1);
232 font-size: 14px;
233 line-height: 1;
234 font-style: normal;
235 font-weight: 500;
236 border-radius: 4px;
237 margin-left: 5px;
238
239 > svg {
240 width: 15px;
241 height: 15px;
242 margin-left: 0;
243 opacity: 1;
244 visibility: visible;
245 }
246 }
247 .sp-smart-saved-template-shortcode-text {
248 padding: 8px 12px;
249 color: #2F2F2F;
250 background-color: #F0F0F0;
251 font-size: 14px;
252 line-height: 1;
253 font-style: normal;
254 font-weight: 400;
255 border-radius: 3px;
256 border: 1px solid #E0E0E0;
257 transition: all 0.3s ease-in-out;
258
259 &:hover {
260 border-color: #c3c3c3;
261 background-color: #e7e7e7;
262 }
263 }
264 }
265 .sp-pcp-blocks-setting-saved-template-table-date {
266 font-size: inherit;
267 line-height: inherit;
268 text-transform: capitalize;
269 }
270
271 .sp-pcp-blocks-setting-saved-template-table-title a {
272 color: #1A74E4;
273 font-size: 14px;
274 font-style: normal;
275 font-weight: 500;
276 line-height: 24px;
277 text-decoration: none;
278 &:hover {
279 color: #2744d1;
280 }
281 }
282 }
283 .sp-pcp-blocks-setting-saved-template-table-action {
284 .sp-pcp-blocks-setting-saved-template-table-action-btn {
285 display: flex;
286 width: 128px;
287 align-items: center;
288 gap: 16px;
289 align-self: stretch;
290 .sp-pcp-saved-template-action:hover {
291 svg path {
292 stroke: #641DD7;
293 }
294 }
295 .sp-action-edit {
296 text-decoration: none;
297 cursor: pointer;
298 }
299 .sp-action-delete,
300 .sp-action-copy {
301 background: transparent;
302 border: none;
303 padding: 0;
304 cursor: pointer;
305 }
306 }
307 }
308 .sp-pcp-blocks-setting-saved-template-footer-content {
309 display: flex;
310 flex-direction: row;
311 align-items: center;
312 justify-content: space-between;
313
314 .sp-pcp-blocks-setting-template-pagination {
315 display: flex;
316 flex-direction: row;
317 align-items: center;
318 justify-content: space-between;
319 gap: 8px;
320
321 .sp-pcp-template-pagination-btn {
322 display: flex;
323 width: 36px;
324 height: 36px;
325 justify-content: center;
326 align-items: center;
327 border-radius: 4px;
328 border: 1px solid #757575;
329 color: #2F2F2F;
330 background-color: #FFF;
331 box-sizing: border-box;
332
333 &.sp-btn-prev:not(.btn-disabled):hover,
334 &.sp-btn-next:not(.btn-disabled):hover {
335 color: #FFF;
336 background-color: #2F2F2F;
337 svg path {
338 fill: #fff;
339 }
340 }
341
342 &.sp-btn-numb:hover,
343 &.btn-active {
344 color: #FFF;
345 background-color: #2F2F2F;
346 }
347
348 &.btn-disabled {
349 background-color: transparent;
350 border-color: #ddd;
351 svg path {
352 fill: #ddd;
353 }
354 }
355 }
356 }
357 }
358 .sp-pcp-saved-template-no-data {
359 font-size: 16px;
360 font-weight: 600;
361 line-height: 1.3;
362 margin: 12px auto;
363 }
364 }
365
366