PluginProbe
Social Media Auto Poster – Schedule & Publish to Buffer / 6.2.5
Social Media Auto Poster – Schedule & Publish to Buffer v6.2.5
6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.1.2 6.1.1 6.1.0 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 All 126 releases
wp-to-buffer / lib / shared / scss / _option.scss

_option.scss in Social Media Auto Poster – Schedule & Publish to Buffer 6.2.5, at lib/shared/scss/_option.scss

355 lines 5.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .wpzinc-option {
2 display: grid;
3 grid-template-areas: "left right";
4 grid-template-columns: $wpzinc-option-label-width auto;
5 grid-column-gap: 5px;
6 grid-row-gap: 5px;
7 justify-items: start;
8 text-align: left;
9 padding: 10px 15px;
10 border: none;
11
12 background-color: #f4f4f4;
13 -webkit-box-sizing: border-box;
14 -moz-box-sizing: border-box;
15 box-sizing: border-box;
16
17 &.sidebar {
18 grid-template-columns: ($wpzinc-option-label-width - 20) auto;
19 }
20
21 /**
22 * Alternate background
23 */
24 &:nth-child(odd) {
25 background-color: #fcfcfc;
26 }
27
28 /**
29 * Ignore Alternate Background
30 */
31 &.ignore-nth-child:nth-child(odd) {
32 background-color: #f5f5f5;
33 }
34
35 /**
36 * No Bottom Border
37 */
38 &.no-bottom-border {
39 border-bottom: none;
40 }
41
42 /**
43 * Highlighted
44 */
45 &.highlight {
46 background-color: #fcf8e3 !important;
47
48 div.full,
49 div.right {
50
51 h4 {
52 margin: 5px 0 10px 0;
53 font-size: 14px;
54 line-height: 22px;
55 }
56
57 p {
58 margin: 0 0 10px 0;
59 font-size: 14px;
60 line-height: 22px;
61 }
62
63 a.button {
64 margin: 5px 0 0 0;
65 }
66 }
67 }
68
69 /**
70 * No Background or Border
71 */
72 &.no-styling {
73 background: none;
74 border: none;
75 padding: 0 0 10px 0;
76 }
77
78 /**
79 * Hidden
80 */
81 &.hidden {
82 display: none;
83 }
84
85 /**
86 * Two column layout
87 */
88 div.left {
89 width: 100%;
90 grid-area: left;
91 -webkit-box-sizing: border-box;
92 -moz-box-sizing: border-box;
93 box-sizing: border-box;
94
95 /**
96 * Apply line height to all items except inputs
97 */
98 *:not(input) {
99 line-height: 27px;
100 }
101
102 a {
103 text-decoration: none;
104 }
105 }
106
107 div.right {
108 width: 100%;
109 grid-area: right;
110 -webkit-box-sizing: border-box;
111 -moz-box-sizing: border-box;
112 box-sizing: border-box;
113
114 /**
115 * Apply line heights
116 */
117 line-height: 27px;
118
119 strong {
120 line-height: 27px;
121 }
122
123 /**
124 * Don't apply line heights to <strong> inside descriptions
125 */
126 p.description {
127
128 strong {
129 line-height: 1;
130 }
131 }
132
133 /**
134 * Don't apply line heights to <strong> inside selectize dropdowns
135 */
136 div.selectize-dropdown-content {
137
138 strong {
139 line-height: normal;
140 }
141 }
142
143 /**
144 * Success / Error Colors
145 */
146 .success {
147 color: #008000;
148 }
149
150 .error {
151 color: #f00;
152 }
153 }
154
155 div.full {
156 width: 100%;
157 grid-column: 1 / span 2;
158
159 line-height: 30px;
160 }
161
162 p.description {
163 grid-column: 1 / span 2;
164 }
165
166 /**
167 * Elements
168 */
169 label {
170 font-weight: 600;
171 white-space: normal;
172
173 &.selectit {
174 font-weight: 400;
175 }
176 }
177
178 select.right,
179 input.right {
180 float: right;
181 }
182
183 input {
184 margin: 0;
185 }
186
187 input[type="date"]="date""],
188 input[type="datetime-local"]="datetime-local""],
189 input[type="datetime"]="datetime""],
190 input[type="email"]="email""],
191 input[type="month"]="month""],
192 input[type="number"]="number""],
193 input[type="password"]="password""],
194 input[type="search"]="search""],
195 input[type="tel"]="tel""],
196 input[type="text"]="text""],
197 input[type="time"]="time""],
198 input[type="url"]="url""],
199 input[type="week"]="week""] {
200 margin: 0;
201 padding: 0 8px;
202 line-height: 2;
203 min-height: 30px;
204 box-shadow: 0 0 0 transparent;
205 border-radius: 4px;
206 border: 1px solid #8c8f94;
207 background-color: #fff;
208 color: #2c3338;
209 }
210
211 select {
212 border: 1px solid #7e8993;
213 vertical-align: baseline;
214 font-size: 14px;
215 line-height: 2;
216 color: #2c3338;
217 border-color: #8c8f94;
218 box-shadow: none;
219 border-radius: 3px;
220 margin: 0;
221 padding: 0 24px 0 8px;
222 min-height: 30px;
223 -webkit-appearance: none;
224 background: #fff
225 url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E)
226 no-repeat right 5px top 55%;
227 background-size: 16px 16px;
228 cursor: pointer;
229 }
230
231 textarea {
232
233 &.no-wrap {
234 white-space: pre;
235 overflow-wrap: normal;
236 overflow-x: scroll;
237 }
238 }
239
240 /**
241 * ContentEditable
242 * - Style the same as a textarea
243 */
244 .content-editable {
245 min-height: 70px;
246 box-sizing: border-box;
247 padding: 2px 6px;
248 line-height: 1.42857143;
249 font-size: 14px;
250 box-shadow: 0 0 0 transparent;
251 border-radius: 4px;
252 border: 1px solid #8c8f94;
253 background-color: #fff;
254 color: #2c3338;
255
256 &:focus {
257 border-color: #2271b1;
258 box-shadow: 0 0 0 1px #2271b1;
259 outline: 2px solid transparent;
260 }
261
262 &.no-wrap {
263 white-space: pre;
264 overflow-wrap: normal;
265 overflow-x: scroll;
266 }
267 }
268
269 /**
270 * Horizontal Selection
271 */
272 /* stylelint-disable-next-line no-duplicate-selectors */
273 &:nth-child(odd) {
274
275 .wpzinc-horizontal-selection {
276
277 label {
278 background-color: #f5f5f5;
279 }
280 }
281 }
282
283 /**
284 * Details
285 */
286 details {
287
288 summary {
289
290 h3 {
291 margin: 0;
292 }
293 }
294 }
295
296 /**
297 * Checkbox Lists
298 */
299 .checklist {
300 margin: 0;
301 padding: 0;
302 list-style: none;
303
304 li {
305 line-height: 1;
306
307 label {
308 font-weight: 400;
309 }
310 }
311 }
312
313 /**
314 * Tables
315 */
316 table.widefat {
317 clear: none;
318
319 tbody {
320
321 /**
322 * Hide the first row's delete button on repeater rows
323 */
324 tr:first-child,
325 tr.hide-delete-button {
326
327 td {
328
329 a.delete-table-row {
330 display: none;
331 }
332 }
333 }
334
335 /**
336 * Label Vertical Alignment
337 */
338 tr {
339
340 td {
341
342 label,
343 strong {
344 line-height: 30px;
345 }
346 }
347 }
348 }
349
350 .vertical-align-middle {
351 vertical-align: middle;
352 }
353 }
354 }
355