PluginProbe ʕ •ᴥ•ʔ
Starter Sites & Templates by Neve / 1.4.1
Starter Sites & Templates by Neve v1.4.1
1.4.1 1.4.0 1.3.0 1.2.29 1.2.28 1.2.6 1.2.7 1.2.8 1.2.9 trunk 1.0.10 1.0.11 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 1.1.20 1.1.21 1.1.22 1.1.23 1.1.24 1.1.25 1.1.26 1.1.27 1.1.28 1.1.29 1.1.3 1.1.30 1.1.31 1.1.32 1.1.33 1.1.34 1.1.35 1.1.36 1.1.37 1.1.38 1.1.39 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.3 1.2.4 1.2.5
templates-patterns-collection / assets / src / scss / _general.scss
templates-patterns-collection / assets / src / scss Last commit date
_card.scss 5 years ago _custom-tooltip.scss 3 years ago _demo-site-templates.scss 5 years ago _docnotice.scss 2 years ago _editor-selector.scss 2 years ago _editor-tabs.scss 4 years ago _feedback.scss 2 years ago _general.scss 3 years ago _header.scss 3 years ago _import-modal.scss 3 years ago _library.scss 2 years ago _license.scss 3 years ago _media-queries.scss 4 years ago _mock.scss 5 years ago _new-tc-notice.scss 1 year ago _notification.scss 4 years ago _preview.scss 5 years ago _search.scss 4 years ago _settings.scss 2 years ago _starter-site-card.scss 4 years ago _stepper.scss 3 years ago _sticky-nav.scss 5 years ago _vars.scss 5 years ago
_general.scss
413 lines
1 #wpcontent {
2 padding-left: 0 !important;
3 }
4
5 .content-container {
6 padding: 0 20px;
7 flex-basis: 100%;
8 max-width: 1300px;
9 margin: 0 auto;
10 }
11
12 #wpbody-content > {
13 .error, .info, .notice {
14 display: none !important;
15 }
16 }
17
18 .ob-overflow-off {
19 overflow: hidden !important;
20 }
21
22 @media screen and (min-width: #{$tablet}) {
23 .ob-import-modal {
24 width: 630px !important;
25 }
26 }
27
28 @media screen and (min-width: #{$laptop}) {
29 .ob-import-modal {
30 width: 540px !important;
31 max-height: 90vh;
32 }
33 }
34
35 .container {
36 padding: 0 15px;
37
38 &.content {
39 padding: 0;
40 }
41 }
42
43 svg.is-loading, button.is-loading svg {
44 animation-name: spin;
45 animation-duration: 2000ms;
46 animation-iteration-count: infinite;
47 animation-timing-function: linear;
48 margin-right: 0;
49 }
50
51 .col {
52 width: 100%;
53 }
54
55 @-webkit-keyframes spin {
56 from {
57 transform: rotate(0deg);
58 }
59 to {
60 transform: rotate(360deg);
61 }
62 }
63
64 @keyframes spin {
65 from {
66 transform: rotate(0deg);
67 }
68 to {
69 transform: rotate(360deg);
70 }
71 }
72
73 @mixin general--laptop() {
74 .container {
75 padding: 0 20px;
76 }
77
78 .content {
79 display: flex;
80 }
81
82 .main {
83 flex-grow: 1;
84 }
85
86 .col {
87 display: flex;
88 flex-direction: column;
89 }
90 }
91
92 @mixin general--desktop() {
93 .container {
94 margin: 0 auto;
95 }
96 .col {
97 width: 50%;
98
99 &:not(:last-child) {
100 margin-right: 20px;
101 }
102 }
103 .main {
104 flex-grow: 1;
105 }
106 .content {
107 display: flex;
108 padding-top: 30px;
109 }
110 .columns {
111 display: flex;
112 flex-direction: row;
113 }
114 }
115
116 @mixin general--desktop-large() {
117 .col {
118 &:not(:last-child) {
119 margin-right: 30px;
120 }
121 }
122 }
123
124 .columns.starter-sites {
125 position: relative;
126 display: flex;
127 flex-grow: 1;
128 }
129
130 .ss-background {
131 opacity: .25;
132 z-index: -1;
133 position: absolute;
134 top: 0;
135 bottom: 0;
136 width: 100%;
137 display: block;
138 background-size: cover;
139 background-position: center center;
140 left: 0;
141 right: 0;
142 height: calc(100vh - 300px);
143 flex-grow: 1;
144 }
145
146 .unavailable-starter-sites {
147 background-color: #fff;
148 border: 1px solid #ccc;
149 padding: 50px 30px;
150 text-align: center;
151 align-items: center;
152 justify-content: center;
153
154 h1 {
155 line-height: 1.6;
156 }
157 }
158
159 /*==============*/
160 .content-wrap.is-onboarding {
161 position: fixed;
162 top: 0;
163 bottom: 0;
164 left: 0;
165 right: 0;
166 background-color: #f1f1f1;
167 z-index: 100000;
168 overflow: auto;
169
170 h2 {
171 display: block;
172
173 img {
174 display: none;
175 }
176 }
177
178 .content {
179 background-color: #fefefe;
180 padding-top: 30px;
181 }
182
183 .ob {
184 display: flex;
185 min-height: 100vh;
186 flex-direction: column;
187 }
188
189 .ob-migration {
190 padding-top: 0;
191 text-align: center;
192
193 h2 {
194 line-height: 1;
195 }
196 }
197
198 .ob-head button {
199 margin: 0 !important;
200 }
201
202 .ob-head {
203 padding: 20px 0 0;
204 margin: 0 0 20px;
205 display: flex;
206 justify-content: flex-end;
207 align-items: flex-end;
208 z-index: 1;
209
210 button.close-onboarding {
211 color: #676767;
212
213 svg {
214 width: 30px;
215 height: 30px;
216 }
217 }
218 }
219
220 .content-container {
221 padding: 0;
222 }
223 }
224
225 .is-free {
226 .header-nav {
227 .components-button {
228 &[href="#library"]="#library""] {
229 &::after {
230 content: "PRO";
231 border-radius: 2px;
232 background: #6EB77A;
233 color: #FFF;
234 padding: 2px 5px;
235 font-size: 10px;
236 top: -5px;
237 position: relative;
238 left: 5px;
239 }
240 }
241 }
242 }
243 }
244
245 .ob {
246 width: 100%;
247 display: flex;
248 flex-direction: column;
249 align-items: center;
250
251 .ob-head {
252 box-sizing: border-box;
253 padding: 20px;
254 background: #ffffff;
255 width: 100%;
256 display: flex;
257 justify-content: center;
258 z-index: 1;
259
260 .header-container {
261 display: flex;
262 flex-basis: 100%;
263 max-width: 1300px;
264
265 h2 {
266 flex-basis: 40%;
267 }
268
269 .header-nav {
270 flex-basis: 60%;
271 display: flex;
272 justify-content: flex-end;
273 align-items: center;
274 position: relative;
275
276 .components-button {
277 font-size: 18px;
278 font-weight: 600;
279 color: $black;
280 margin-left: 25px;
281
282 &:hover {
283 box-shadow: none;
284 }
285
286 &:first-child {
287 margin-left: 0;
288 }
289
290 &.is-pressed {
291 color: #0073AA;
292 background: transparent;
293 }
294 }
295 }
296 }
297 }
298
299 .ob-body {
300 width: 100%;
301 box-sizing: border-box;
302
303 .instructions {
304 font-size: 22px;
305 margin: 20px 0;
306 color: $black;
307 }
308 }
309 }
310
311 .ob-logo {
312 width: 50px;
313 margin-right: 20px;
314 }
315
316 .ob-sites {
317 margin-top: 30px;
318
319 &.is-grid {
320 display: grid;
321 grid-template-columns: 1fr;
322 grid-column-gap: 20px;
323 grid-row-gap: 20px;
324 }
325 }
326
327 @mixin ob-general--laptop() {
328 .content-wrap.is-onboarding {
329 .content {
330 max-width: 1300px;
331 padding: 15px 40px 35px;
332 box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.5);
333 border: 1px solid $grey;
334 margin: 40px auto 30px;
335 }
336 .header-form {
337 margin-top: 0;
338 }
339 }
340 .ob-sites {
341 &.is-grid {
342 grid-template-columns: 1fr 1fr 1fr;
343 }
344 }
345 }
346
347 @mixin ob-general--tablet() {
348 .ob-sites {
349 &.is-grid {
350 grid-template-columns: 1fr 1fr;
351 }
352 }
353 }
354
355 .no-results {
356 display: flex;
357 flex-direction: column;
358 align-items: center;
359 justify-content: center;
360 margin: 30px 0;
361
362 p {
363 font-size: 16px;
364
365 span {
366 color: $blue;
367 font-weight: 600;
368 }
369 }
370
371 .tags {
372 margin-top: 10px;
373 justify-content: center;
374 display: flex;
375 flex-wrap: wrap;
376
377 .tag {
378 margin: 10px 20px;
379 line-height: normal;
380 height: auto;
381 font-weight: 600;
382 padding: 10px 15px;
383 color: #fff;
384 transition: all .3s ease;
385
386 &:hover {
387 background-color: darken($blue, 0.5);
388 }
389 }
390 }
391 }
392
393 .pro-badge {
394 background-color: $success;
395 height: auto;
396 color: #fff;
397 font-weight: 600;
398 text-transform: uppercase;
399 padding: 5px 10px;
400 margin-left: auto;
401 border-radius: 999px;
402 line-height: normal;
403 display: flex;
404 align-items: center;
405
406 svg {
407 margin-right: 3px;
408 }
409 }
410
411
412
413