PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.3
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.3
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 / iconLibrary / editor.scss

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

273 lines 6.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .sp-icon-picker {
2 width: 1080px;
3 height: 860px;
4 overflow: visible;
5 position: relative;
6
7 .sp-icon-picker-close-btn{
8 position: absolute;
9 top: 0;
10 right: 6px;
11 font-size: 16px;
12 color: #641dd7;
13 svg path {
14 fill: #641dd7;
15 }
16 &:hover{
17 color: #787878;
18 }
19 }
20
21 .components-modal__content {
22 margin-top: 0;
23 overflow: visible;
24 }
25 .components-modal__header {
26 display: none;
27 }
28
29 &-search-bar {
30 position: relative;
31 margin-bottom: 30px;
32 input {
33 width: 100%;
34 font-size: 13px;
35 height: 32px;
36 border: 1px solid #ddd;
37 padding-left: 40px;
38 border-radius: 6px;
39 }
40 svg {
41 position: absolute;
42 top: 50%;
43 transform: translateY(-50%);
44 left: 20px;
45 }
46 }
47
48 &-title {
49 margin: 0;
50 font-size: 20px;
51 font-weight: 400;
52 line-height: 28px;
53 margin-bottom: 34px;
54 }
55
56 &-body {
57 display: flex;
58 gap: 20px;
59 padding: 20px;
60 }
61 &-sidebar {
62 flex: 0 0 160px;
63 padding-right: 20px;
64 .sp-smart-post-divider {
65 width: 100%;
66 margin: 0;
67 }
68 h4 {
69 margin: 0;
70 font-size: 13px;
71 font-weight: 600;
72 color: #757575;
73 margin: 10px 0;
74 }
75 }
76 &-cat-list {
77 li {
78 margin: 0;
79 input[type="checkbox"]="checkbox""]:focus,
80 input[type="checkbox"]="checkbox""] {
81 border-color: var(--sp-smart-primary-2-700);
82 box-shadow: none;
83 &:checked::before {
84 content: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23641DD7%27%2F%3E%3C%2Fsvg%3E) ;
85 }
86 }
87 button {
88 padding: 10px 15px;
89 border: none;
90 background: transparent;
91 width: 100%;
92 text-align: left;
93 cursor: pointer;
94 transition: all .3s;
95 border-radius: 4px;
96 color: #2F2F2F;
97 }
98
99 &.active button,
100 &:hover button {
101 color: var(--sp-smart-primary-2-700);
102 background-color: var(--sp-smart-primary-2-100);
103 }
104 }
105 }
106 &-style {
107 li {
108 border-radius: 4px;
109 transition: all .3s;
110 display: flex;
111 align-items: center;
112 padding: 0px 15px;
113 label {
114 padding: 10px 0;
115 width: 100%;
116 cursor: pointer;
117 }
118
119 &.active,
120 &:hover{
121 color: var(--sp-smart-primary-2-700);
122 background-color: var(--sp-smart-primary-2-100);
123 }
124 }
125 }
126 &-content {
127 flex: 1;
128 height: 65vh;
129 width: 30vw;
130 }
131 &-icons {
132 display: flex;
133 flex-wrap: wrap;
134 gap: 15px;
135 max-height: 680px;
136 overflow-y: auto;
137 padding: 22px;
138 border: 1px solid #ddd;
139 border-radius: 6px;
140 height: calc(100% - 60px);
141
142 ul {
143 display: grid;
144 width: 100%;
145 grid-template-columns: repeat(auto-fill, 80px);
146 gap: 13px;
147 align-content: start;
148
149 li {
150 width: 80px;
151 height: 80px;
152 }
153
154 li button {
155 border: 1px solid #ddd;
156 background: transparent;
157 text-align: center;
158 width: 80px;
159 height: 80px;
160 cursor: pointer;
161 display: flex;
162 justify-content: center;
163 align-items: center;
164 flex-direction: column;
165 border-radius: 4px;
166 &.active {
167 border-color: var(--sp-smart-primary-2-600);
168 }
169 svg {
170 width: 22px;
171 height: 22px;
172 }
173 span {
174 font-size: 11px;
175 color: #1E1E1E;
176 // white-space: nowrap;
177 margin-top: 6px;
178 }
179 }
180 }
181 }
182 &-insert-btn {
183 margin: 20px;
184 background: var(--sp-smart-primary-2-600);
185 display: block;
186 margin-left: auto;
187 color: #fff;
188
189 &:hover {
190 background: var(--sp-smart-primary-2-700);
191 color: #fff !important;
192 }
193 }
194 }
195
196 @media (min-width: 960px) {
197 .components-modal__frame.sp-icon-picker {
198 max-height: 76%;
199 }
200 }
201
202
203 .sp-icon-picker-selector-container {
204 display: flex;
205 align-items: center;
206 border: 1px solid #f0f0f0;
207 border-radius: 1px;
208 position: relative;
209 // cursor: pointer;
210
211 flex-direction: column;
212 gap: 5px;
213 height: 120px;
214 justify-content: center;
215 margin-bottom: 15px;
216 position: relative;
217
218 .sp-icon-picker-default-icon path,
219 .sp-icon-picker-active-icon path {
220 fill: #333;
221
222 }
223 .components-button.is-secondary,
224 .components-button.is-secondary:hover{
225 box-shadow: none;
226 background-color: transparent;
227 }
228
229 .sp-icon-picker-selected-icon-container{
230 display: flex;
231 flex-direction: column;
232 gap: 8px;
233 align-items: center;
234 justify-content: center;
235
236 .sp-icon-picker-remove-icon{
237 background-color: #dcdcde;
238 color: #787878;
239 font-size: 15px;
240 height: 20px;
241 position: absolute;
242 right: 3px;
243 top: 3px;
244 width: 20px;
245 border: none;
246 display: flex;
247 align-items: center;
248 justify-content: center;
249
250 &:focus{
251 outline: none;
252 }
253 .sp-icon-picker-remove-icon-svg{
254 width: 15px;
255 height: 15px;
256 }
257 }
258 .sp-icon-picker-active-icon{
259 width: 40px;
260 height: 40px;
261 }
262 .sp-icon-picker-active-icon-label{
263 color: #333;
264 }
265 }
266 }
267
268 .sp-icon-picker-selector-container.sp-is-pro {
269 opacity: .6;
270 pointer-events: none;
271 }
272
273