PluginProbe
WP Discourse / trunk
WP Discourse vtrunk
2.6.4 2.6.3 1.2.1 1.2.2 1.2.5 1.2.6 1.2.7 1.2.8 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.85 1.4.0 1.4.15 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 All 150 releases
wp-discourse / admin / css / admin-styles.css

admin-styles.css in WP Discourse trunk, at admin/css/admin-styles.css

279 lines 5.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Highlights errors in settings form inputs */
2
3 #setting-error-discourse_url ~ form #discourse-url,
4 #setting-error-api_key ~ form #discourse-api-key,
5 #setting-error-publish_username ~ form #discourse-publish-username,
6 #setting-error-max_comments ~ form #discourse-max-comments,
7 #setting-error-min_replies ~ form #discourse-min-replies,
8 #setting-error-min_score ~ form #discourse-min-score,
9 #setting-error-min_trust_level ~ form #discourse-min-trust-level,
10 #setting-error-bypass_trust_level ~ form #discourse-bypass-trust-level-score,
11 #setting-error-excerpt_length ~ form #discourse-custom-excerpt-length,
12 #setting-error-sso_provider_enabled ~ form #discourse-sso-client-enabled,
13 #setting-error-sso_client_enabled ~ form #discourse-enable-sso,
14 #setting-error-sso_client_no_secret ~ form #discourse-sso-client-enabled,
15 #setting-error-sso_provider_no_secret ~ form #discourse-enable-sso,
16 #setting-error-auto_create_login_redirect ~ form #discourse-auto-create-login-redirect,
17 #setting-error-auto_create_welcome_redirect ~ form #discourse-auto-create-welcome-redirect,
18 #setting-error-login_path ~ form #discourse-login-path,
19 #setting-error-sso_secret ~ form #discourse-sso-secret,
20 #setting-error-webhook_secret ~ form #discourse-webhook-secret,
21 #setting-error-add_join_link ~ form #discourse-add-join-link,
22 #setting-error-sso_client_login_redirect ~ form #discourse-sso-client-login-form-redirect {
23 border-color: #dc3232;
24 border-width: 1px;
25 }
26
27 .wp-discourse-options-form,
28 .wp-discourse-network-options-form {
29 max-width: 800px;
30 }
31
32 .discourse-logo {
33 vertical-align: bottom;
34 }
35
36 .wrap > h2:first-child {
37 line-height: 24px;
38 margin-bottom: 6px;
39 }
40
41 .discourse-select-input {
42 min-width: 160px;
43 }
44
45 #discourse-publish-meta-box .warning {
46 padding: 0 8px;
47 }
48
49 /* Menu logo */
50 #adminmenu .toplevel_page_wp_discourse_options .wp-menu-image img,
51 .network-admin #adminmenu .toplevel_page_discourse_network_options .wp-menu-image img,
52 .toplevel_page_discourse_network_options #adminmenumain .wp-menu-image img {
53 padding-top: 5px;
54 }
55
56 .discourse-options-page-wrap {
57 position: relative;
58 }
59
60 input#discourse_reset_options {
61 position: relative;
62 left: 115px;
63 bottom: 27px;
64 font-size: 13px;
65 line-height: 26px;
66 height: 28px;
67 margin: 0;
68 padding: 0 10px 1px;
69 background-color: rgb(212, 78, 33);
70 border-color: rgb(212, 78, 33);
71 color: #ffffff;
72 }
73
74 input#discourse_reset_options:hover {
75 background-color: rgba(213, 78, 33, 0.9);
76 }
77
78 ul.wpdc-documentation-list {
79 list-style: disc;
80 margin-left: 40px;
81 }
82
83 /* Make it easier to copy sections. */
84 code.wpdc-select-all {
85 -webkit-user-select: all;
86 -moz-user-select: all;
87 -ms-user-select: all;
88 user-select: all;
89 }
90
91 #discourse-publish-meta-box label {
92 display: inline-block;
93 padding: 6px 10px 8px 0;
94 }
95
96 #discourse-publish-meta-box label[for="wpdc_publish_option"] {
97 padding: 0;
98 }
99
100 .wpdc-new-discourse-topic.hidden,
101 .wpdc-link-to-topic.hidden {
102 display: none;
103 }
104
105 #discourse-publish-meta-box a {
106 overflow-wrap: break-word;
107 }
108
109 .wpdc-advanced-options.hidden {
110 display: none;
111 }
112
113 .wpdc-advanced-options {
114 padding-bottom: 8px;
115 }
116
117 .wpdc-advanced-options-toggle:hover{
118 cursor: pointer;
119 }
120
121 .wpdc-advanced-options-toggle:before {
122 content: "\f111";
123 font: 400 20px/1 dashicons;
124 color: #82878c;
125 speak: none;
126 display: inline-block;
127 margin-left: -1px;
128 padding-right: 3px;
129 vertical-align: top;
130 -webkit-font-smoothing: antialiased;
131 -moz-osx-font-smoothing: grayscale;
132 }
133
134 .wpdc-advanced-options-toggle:hover:before {
135 color: #444444;
136 }
137
138 .wpdc-pin-topic-time.hidden {
139 display: none;
140 }
141
142 #wpdc-tagchecklist {
143 padding-left: 14px;
144 }
145
146 #wpdc-tagchecklist:after {
147 content: "";
148 display: table;
149 clear: both;
150 }
151
152 #wpdc-tagchecklist>li {
153 float: left;
154 margin-right: 25px;
155 font-size: 13px;
156 line-height: 1.8em;
157 max-width: 100%;
158 text-overflow: ellipsis;
159 }
160
161 button.wpdc-remove-tag {
162 position: absolute;
163 width: 24px;
164 height: 24px;
165 border: none;
166 margin: 0 0 0 -19px;
167 padding: 0;
168 background: 0 0;
169 cursor: pointer;
170 text-indent: 0;
171 }
172
173 .wpdc-remove-tag-icon:before {
174 margin-left: 2px;
175 border-radius: 50%;
176 color: #0073aa;
177 content: "\f153";
178 display: block;
179 font: 400 16px/20px dashicons;
180 speak: none;
181 -webkit-font-smoothing: antialiased;
182 -moz-osx-font-smoothing: grayscale;
183 }
184
185 button.wpdc-remove-tag:hover .wpdc-remove-tag-icon:before {
186 color: #c00c00;
187 }
188
189 .wpdc-info-icon:before {
190 margin-left: 2px;
191 content: "?";
192 font-size: 18px;
193 font-weight: bold;
194 color: #444444;
195 position: absolute;
196 bottom: 0;
197 }
198
199 .wpdc-publish-info {
200 font-style: italic;
201 color: #666666;
202 }
203
204 /* Padding for the Commenting options comment-type radio input. */
205 .discourse-comment-type {
206 padding-left: 23px;
207 }
208
209 #wpdc-log-viewer-controls {
210 display: flex;
211 align-items: center;
212 justify-content: space-between;
213 }
214
215 #wpdc-log-viewer-controls .name {
216 display: flex;
217 align-items: center;
218 }
219
220 #wpdc-log-viewer-controls .name h3 {
221 font-size: 1.2em;
222 margin-right: 1em;
223 }
224
225 #wpdc-log-viewer-controls .load-log {
226 cursor: pointer;
227 }
228
229 #wpdc-log-viewer-controls .load-log .return-to {
230 display: none;
231 }
232
233 #wpdc-log-viewer-controls.meta .load-log .return-to {
234 display: block;
235 }
236
237 #wpdc-log-viewer-controls.meta .load-log .refresh {
238 display: none;
239 }
240
241 #wpdc-log-viewer {
242 height: 700px;
243 background: white;
244 display: inline-block;
245 width: 100%;
246 position: relative;
247 overflow: scroll;
248 }
249
250 #wpdc-log-viewer .spinner {
251 visibility: hidden;
252 float: none;
253 position: absolute;
254 margin: 0;
255 top: 50%;
256 left: 50%;
257 transform: translate(-50%);
258 }
259
260 #wpdc-log-viewer.loading .spinner {
261 visibility: visible;
262 }
263
264 #wpdc-log-viewer pre {
265 visibility: visible;
266 }
267
268 #wpdc-log-viewer.loading pre {
269 visibility: hidden;
270 }
271
272 #wpdc-tags-select {
273 display: inline-block;
274 }
275
276 #wpdc-tags-select .newtag {
277 width: 350px;
278 }
279