PluginProbe
Faust.js / 1.0.2
Faust.js v1.0.2
1.8.12 1.8.11 1.4.1 1.8.0 1.8.8 1.8.9 trunk 0.7.0 0.7.1 0.7.10 0.7.11 0.7.3 0.7.4 0.7.5 0.7.6 0.7.7 0.7.8 0.7.9 0.8.0 0.8.1 0.8.3 0.8.4 0.8.5 0.8.6 0.8.7 All 40 releases
faustwp / includes / settings / assets / style.css

style.css in Faust.js 1.0.2, at includes/settings/assets/style.css

266 lines 4.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Styles used on the Settings → Headless admin page.
3 */
4
5 /* Variables
6 ******************************************************************************/
7
8 :root {
9 --brand-color: #5b43ae;
10 --brand-color-darker: #3a228f;
11 --bold-weight: 600;
12 --space-around: 30px;
13 --space-gutter: 40px;
14 }
15
16 /* Typography
17 ******************************************************************************/
18
19 a {
20 color: var(--brand-color);
21 }
22
23 a:focus,
24 a:hover {
25 color: var(--brand-color-darker);
26 }
27
28 h1, h2, h3, h4, h5 {
29 letter-spacing: 0.025em;
30 }
31
32 .wrap header h1 {
33 color: #fff;
34 font-weight: 300;
35 height: 110px;
36 line-height: 110px;
37 padding: 0;
38 }
39
40 h2.main {
41 border-bottom: 1px solid #ddd;
42 font-size: 23px;
43 font-weight: 300;
44 margin-bottom: 10px;
45 margin-left: var(--space-around);
46 margin-top: 50px;
47 padding-bottom: 30px;
48 }
49
50 /* Header
51 ---------------------------------------------------------------------------- */
52
53 header h1 {
54 background: var(--brand-color);
55 }
56
57 svg.wpengine {
58 float: left;
59 margin-left: var(--space-around);
60 margin-top: 40px;
61 padding-right: 12px;
62 }
63
64 /* Forms
65 ---------------------------------------------------------------------------- */
66
67 .field-action {
68 margin-left: 26px;
69 }
70
71 .form-table .align-middle th {
72 padding-top: 30px;
73 }
74
75 /* Sidebar. Based on https://every-layout.dev/layouts/sidebar/#the-generator.
76 ---------------------------------------------------------------------------- */
77
78 .with-sidebar {
79 margin-left: var(--space-around);
80 margin-right: 20px;
81 }
82
83 .with-sidebar > * {
84 display: flex;
85 flex-wrap: wrap;
86 margin: calc(var(--space-gutter) / 2 * -1);
87 }
88
89 /* Sidebar area */
90 .with-sidebar > * > * {
91 flex-basis: 330px;
92 flex-grow: 1;
93 margin: calc(var(--space-gutter) / 2);
94 }
95
96 /* Content area */
97 .with-sidebar > * > :first-child {
98 flex-basis: 0;
99 flex-grow: 999;
100 }
101
102 .sidebar .box {
103 background: #fff;
104 border-radius: 4px;
105 border: 1px solid #ddd;
106 margin: 20px 0 30px;
107 }
108
109 .sidebar .box p,
110 .sidebar .box li {
111 font-size: 1.1em;
112 }
113
114 .sidebar .box section {
115 overflow: hidden;
116 padding: 0 30px 10px;
117 }
118
119 .sidebar .box section:last-of-type {
120 padding: 0 30px 20px;
121 }
122
123 .sidebar .box h3 {
124 border-bottom: 1px solid #ddd;
125 font-size: 1.4em;
126 margin-bottom: 1.6em;
127 margin-top: 0;
128 padding: 20px 30px;
129 }
130
131 .sidebar .box h4 {
132 font-size: 1.3em;
133 margin: 1em 0;
134 }
135
136 .sidebar .box section:first-of-type h4 {
137 margin-top: 0;
138 }
139
140 .sidebar .box.primary h3 {
141 background: var(--brand-color);
142 color: #fff;
143 }
144
145 .sidebar .box.docs li {
146 list-style-type: none;
147 margin-left: 30px;
148 padding-bottom: 16px;
149 }
150
151 .sidebar .box.docs li:before {
152 content: url(icons/doc.svg);
153 height: 1em;
154 margin-left: -30px;
155 margin-top: -2px;
156 position: absolute;
157 width: 0.5em;
158 }
159
160 .sidebar .box.get-started #faustwp-button-install-graphql {
161 float: left;
162 margin-bottom: 5px;
163 }
164
165 .sidebar .box.get-started .spinner {
166 float: left;
167 margin-top: 7px;
168 }
169
170 .sidebar .error-message {
171 color: #cf0000;
172 clear: both;
173 }
174
175 /* WP Admin Layout Overrides
176 ---------------------------------------------------------------------------- */
177
178 .settings_page_faustwp-settings #wpcontent {
179 padding-left: 0;
180 }
181
182 .settings_page_faustwp-settings #wpcontent .wrap {
183 margin: 0;
184 }
185
186 /* WP Admin Form and UI Overrides
187 ---------------------------------------------------------------------------- */
188
189 input[type="text"],
190 input[type="password"],
191 input[type="date"],
192 input[type="datetime"],
193 input[type="datetime-local"],
194 input[type="email"],
195 input[type="month"],
196 input[type="number"],
197 input[type="search"],
198 input[type="tel"],
199 input[type="time"],
200 input[type="url"],
201 input[type="week"] {
202 line-height: 2;
203 min-height: 50px;
204 padding: 8px 12px;
205 }
206
207 input[type="text"]:focus,
208 input[type="password"]:focus,
209 input[type="color"]:focus,
210 input[type="date"]:focus,
211 input[type="datetime"]:focus,
212 input[type="datetime-local"]:focus,
213 input[type="email"]:focus,
214 input[type="month"]:focus,
215 input[type="number"]:focus,
216 input[type="search"]:focus,
217 input[type="tel"]:focus,
218 input[type="time"]:focus,
219 input[type="url"]:focus,
220 input[type="week"]:focus,
221 input[type="checkbox"]:focus,
222 input[type="radio"]:focus,
223 select:focus,
224 textarea:focus {
225 border-color: var(--brand-color);
226 box-shadow: 0 0 0 1px var(--brand-color);
227 }
228
229 .wp-core-ui .button-primary {
230 background: var(--brand-color);
231 border-color: var(--brand-color);
232 color: #fff;
233 font-weight: var(--bold-weight);
234 padding: 2px 14px;
235 }
236
237 .wp-core-ui .button-primary:focus,
238 .wp-core-ui .button-primary:hover {
239 background: var(--brand-color-darker);
240 border-color: var(--brand-color-darker);
241 color: #fff;
242 }
243
244 /* Media Queries
245 ---------------------------------------------------------------------------- */
246
247 @media screen and (max-width: 980px) {
248 .with-sidebar > * {
249 display: block;
250 }
251
252 .form-table td input[type="text"],
253 .form-table td input[type="email"],
254 .form-table td input[type="password"],
255 .form-table td select,
256 .form-table td textarea,
257 .form-table span.description {
258 width: 98%;
259 }
260
261 .field-action {
262 display: block;
263 margin: 12px 0;
264 }
265 }
266