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 / border / editor.scss

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

281 lines 5.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .sp-smart-post-border-button {
2 display: flex;
3 align-items: center;
4 justify-content: space-between;
5 width: 100%;
6 }
7
8 .sp-smart-post-border-button .components-button {
9 flex: 1;
10 display: flex;
11 align-items: center;
12 }
13
14 .sp-smart-post-border-button .components-icon {
15 margin-left: 8px;
16 }
17
18 .sp-smart-post-button {
19 display: flex !important;
20 justify-content: space-between !important;
21 align-items: center;
22 margin-bottom: 8px;
23 }
24
25 .sp-smart-post-button-group {
26 display: flex;
27 flex-direction: column;
28
29 &.sp-smart-post-d-flex {
30 &.button-style-2 {
31 flex-direction: row;
32 }
33 }
34 }
35
36 .sp-smart-post-reset-button {
37 background: transparent;
38 border: none;
39 cursor: pointer;
40 display: flex;
41 align-items: center;
42 padding: 0;
43 }
44
45 .sp-smart-post-button button {
46 color: #000;
47 }
48
49 .sp-smart-post-header-right {
50 display: flex;
51 align-items: center;
52 gap: 10px;
53 height: 20px;
54 }
55
56 // @media (max-width: 780px) {
57 // .sp-smart-post-header-right {
58 // gap: 5px;
59 // }
60 // .sp-smart-post-border {
61 // width: 90%;
62 // left: 5%;
63 // }
64 // }
65
66 .sp-smart-post-header-left {
67 display: flex !important;
68 }
69
70 .sp-smart-post-header-right {
71 display: flex;
72 gap: 8px;
73 align-items: center;
74 }
75
76 .select-control-wrapper {
77 display: flex !important;
78 justify-content: space-between;
79 }
80
81 .sp-smart-post-border-popup {
82 margin-bottom: 16px;
83 .sp-smart-post-popup-content {
84 margin-left: -9px;
85 }
86 }
87
88 // .sp-smart-popup-body,
89 // .sp-smart-post-border {
90 // width: 360px !important;
91 // padding: 0 16px 16px;
92 // border-radius: 4px;
93 // overflow-y: auto;
94 // box-sizing: border-box;
95 // display: flex;
96 // flex-direction: column;
97 // }
98
99 .sp-smart-popup-body {
100 padding: 20px;
101 }
102
103 .sp-smart-post-border .sp-smart-post-component-mb {
104 margin-bottom: 8px;
105 }
106
107 .sp-smart-post-border .sp-smart-post-border-style-container {
108 padding-top: 24px;
109 }
110
111 .sp-smart-post-border .sp-smart-post-border-style-container .components-base-control {
112 width: 112px !important;
113 }
114
115 .sp-smart-post-border .sp-smart-post-border-style-container .select-control-wrapper {
116 gap: 8px;
117 align-items: center;
118 }
119
120 .sp-smart-post-spacing-part-2 {
121 text-align: center;
122 }
123
124 .sp-smart-post-border-icon-button.has-icon {
125 color: #fff;
126 min-width: 20px;
127 height: 26px;
128 // border: 1px solid #8c8f94;
129 padding: 1px;
130 gap: 8px;
131 border-radius: 2px;
132 }
133
134 .sp-smart-post-border-icon-button.button-clicked {
135 // background-color: #f05d31;
136 fill: #ffffff;
137 outline: none;
138 box-shadow: none;
139 }
140
141 .sp-smart-post-border-icon-button.button-clicked .wp-components-icon {
142 color: #ffffff;
143 }
144
145 // .sp-smart-post-border-icon-button.active:hover {
146 // border: 1px solid #f26c0d;
147 // }
148
149 .components-button:focus:not(:disabled, .components-custom-gradient-picker__control-point-button) {
150 box-shadow: none !important;
151 outline: 3px solid #0000;
152 }
153
154 .sp-smart-post-remove-ad-button {
155 display: flex;
156 align-items: center;
157 justify-content: center;
158 background: transparent;
159 border: none;
160 cursor: pointer;
161 padding: 0;
162 }
163
164 .sp-smart-post-remove-ad-button .components-icon {
165 transition: color 0.3s ease;
166 }
167
168 .sp-smart-post-remove-ad-button:hover .components-icon {
169 color: #ff0000;
170 /* Hover color */
171 }
172
173 // .sp-smart-post-border {
174 // .sp-smart-post-spacing {
175 // .sp-smart-post-spacing-right {
176 // .sp-smart-post-spacing-highlight {
177 // left: 68px !important;
178 // }
179 // }
180 // }
181 // }
182
183 .sp-border-style-wrapper {
184 .sp-border-style-button-group-list {
185 display: flex;
186 flex-direction: row;
187 padding: 4px;
188 border: 1px solid #DDD;
189 border-radius: 2px;
190 height: 42px;
191 .sp-border-style-button {
192 display: flex;
193 justify-content: center;
194 align-items: center;
195 flex-shrink: 1;
196 width: calc(100% / 5);
197 height: 32px;
198 background: transparent;
199 border: none;
200 position: relative;
201 cursor: pointer;
202
203 // &:not(:last-child),
204 // &:not(.active) {
205 // border-right: 1px solid #ddd;
206 // cursor: pointer;
207 // }
208
209 // &:not(.active),
210 &:not(:last-child) {
211 .sp-border-style-button-border {
212 &::after {
213 content: '';
214 width: 1px;
215 height: 62%;
216 position: absolute;
217 top: 50%;
218 right: 0;
219 transform: translate(0px, -50%);
220 background: #ddd;
221 }
222 }
223 }
224 &.active {
225 .sp-border-style-button-border {
226 &::after {
227 background: transparent;
228 }
229 }
230 }
231 &:has(+ .active ) {
232 .sp-border-style-button-border {
233 &::after {
234 background: transparent;
235 }
236 }
237 }
238
239 span.sp-border-style-button-border {
240 width: 90%;
241 height: 80%;
242 display: flex;
243 align-items: center;
244 justify-content: center;
245 border-color: #2f2f2f;
246
247 &.sp-border-solid {
248 border-width: 1px;
249 }
250 &.sp-border-dotted {
251 border-width: 2px;
252 }
253 &.sp-border-dashed {
254 border-width: 2px;
255 }
256 &.sp-border-double {
257 border-width: 3px;
258 }
259 span.sp-border-style-button-label {
260 font-size: 11px;
261 font-weight: 500;
262 }
263 }
264 &.active {
265 background: var(--sp-smart-primary-2-400);
266 border-radius: 2px;
267 span.sp-border-style-button-border {
268 border-color: #fff;
269 span.sp-border-style-button-label {
270 color: #fff;
271 }
272 }
273 }
274 }
275 }
276 }
277
278 .sp-smart-post-popup-content .sp-smart-post-border .sp-smart-post-toggle-button-group {
279 margin-bottom: 16px !important;
280 }
281