Dotclear

source: admin/style/scss/themes/_dark.scss @ 3870:132b4be257c5

Revision 3870:132b4be257c5, 14.0 KB checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Add some badge options (square, noborder, small) and minor CSS modifications

Line 
1// ========================================================================== //
2// =Couleurs
3// ========================================================================== //
4
5// Palette de base
6
7$blue:            #76c2f1;
8$green:           #9ac123;
9$red:             #c44d58;
10$light-blue:      #a2cbe9;
11$orange:          #ff6e3a;
12
13$gray:            #b2b5ba;
14$gray-dark:       #676e78;
15
16$gray-very-dark:    shade($gray, 72%);  // #323232
17$gray-darker:       shade($gray, 50%);  // #595b5d
18$gray-semi-dark:    shade($gray, 25%);  // #868686
19$gray-light:        tint($gray, 30%);   // #c9c9c9
20$gray-lighter:      tint($gray, 75%);   // #ececec
21$gray-very-light:   tint($gray, 85%);   // #f3f3f3
22
23$white:           #fff;
24$black:           #000;
25
26// Palette secondaire
27
28$warning:         #fefacd;
29$warning-alt:     #ffd478;
30
31$info:            #d9edf7;
32$info-alt:        #bce8f1;
33
34$error:           #ffbaba;
35$error-alt:       #ae323b;
36
37$required:        #f783b3;
38
39$success:         #bee74b;
40$success-alt:     #9bca1c;
41
42$link:            #76c2f1;
43$link-outline:    #bee74b;
44
45$current-page:    #f783b3;
46
47$legacy:          #eef1ec;
48$code:            #fefacd;
49$tooltip:         #910ed3;
50
51$pw-very-weak:    #c44d58;
52$pw-weak:         #e1732c;
53$pw-mediocre:     #ff9900;
54$pw-strong:       #cdad12;
55$pw-very-strong:  #9ac123;
56
57$submit:          #25a6e1;
58$submit-alt:      #188bc0;
59
60$reset:           #eaeaea;
61$reset-alt:       #f9f9f9;
62$reset-ter:       #dadada;
63
64$delete:          #ae323b;
65$delete-alt:      #b33630;
66$delete-ter:      #dc5f59;
67
68$add:             #bee74b;
69$add-alt:         #9bca1c;
70
71$badge:           #d54e21;  /* bright red */
72$badge-soft:      #607d8b;  /* slategray */
73$badge-info:      #3f51b5;  /* soft dark blue */
74
75// Common
76
77$body-color:                      #dcdee0;
78$body-background:                 #272b30;
79
80$title-color:                     $gray;
81$title-alt-color:                 $orange;
82
83// Layout
84
85$header-color:                    $body-color;
86$header-background:               $body-background;
87$header-background-alt:           $gray-darker;
88$header-border:                   $green;
89$header-border-alt:               $gray-very-dark;
90$header-link-border:              $gray-semi-dark;
91$header-active-color:             $white;
92$header-active-background:        $gray-semi-dark;
93$header-active-color-alt:         $white;
94$header-active-background-alt:    $gray-semi-dark;
95
96$wrapper-background:              $body-background;
97
98$content-background:              $body-background;
99
100$tabs-color:                      $gray-very-dark;
101$tabs-border:                     $gray-lighter;
102$tabs-background:                 $gray-light;
103$tabs-active-color:               $white;
104$tabs-active-background:          $gray-semi-dark;
105
106$main-menu-background:            shade($gray-darker, 15%);
107$main-menu-title-color:           $gray-light;
108$main-menu-item-color:            $body-color;
109$main-menu-item-border:           tint($gray-dark, 66%);
110$main-menu-active-color:          $white;
111$main-menu-active-background:     $gray-semi-dark;
112$main-menu-border:                $light-blue;
113
114$search-color:                    $white;
115$search-border:                   $gray-light;
116$search-background:               $submit;
117$search-submit-color:             $white;
118$search-submit-background:        $submit-alt;
119$search-outline:                  $link-outline;
120
121$footer-background:               $body-background;
122$footer-border:                   tint($gray-dark, 66%);
123
124$collapser-focus:                 $green;
125$collapser-background:            $gray-darker;
126
127$popup-title-color:               $body-color;
128$popup-title-background:          $gray-darker;
129
130// Markup
131
132$breadcrumb-background:           $body-background;
133$breadcrumb-border:               $gray-semi-dark;
134$breadcrumb-current:              $current-page;
135
136$fieldset-pretty-title-color:     $orange;
137$fieldset-smart-title-color:      $gray-very-light;
138$entry-sidebar-title-color:       $gray-lighter;
139$title-label-color:               $gray-lighter;
140
141$table-caption-color:             $body-color;
142$head-border:                     shade($gray-very-light, 10%);
143$head-background:                 $gray-darker;
144$line-input-background:           $gray-light;
145$line-background-over:            shade($gray-darker, 15%);
146$line-focus-background:           shade($gray-darker, 15%);
147$cell-border:                     $gray-lighter;
148$cell-noborder-color:             shade($gray-very-light, 10%);
149
150$hr-color:                        $gray-light;
151
152$code-color:                      $body-background;
153$code-background:                 $code;
154
155$link-color:                      $link;
156$link-border:                     $gray-semi-dark;
157$discrete-link-color:             $body-color;
158
159$outgoing-link-filter:            100%;
160
161// Forms
162
163$fieldset-border:                 tint($gray-dark, 66%);
164$fieldset-background:             $body-background;
165$fieldset-focus-background:       tint($body-background, 7%);
166
167$legend-border:                   tint($gray-dark, 66%);
168$legend-background:               $gray-darker;
169
170$invalid-input-color:             $black;
171$invalid-input-border:            $error-alt;
172$invalid-input-background:        $error;
173$invalid-input-shadow:            rgba($error-alt, 0.3);
174
175$input-color:                     $black;
176$input-background:                $gray-lighter;
177$input-border:                    tint($gray-dark, 10%);
178$input-shadow:                    $gray-lighter;
179$input-focus:                     $link-outline;
180
181$input-file-color:                $body-color;
182$input-file-background:           $body-background;
183
184$form-note-color:                 $info-alt;
185
186$error-background:                $error;
187
188// Buttons
189
190$button-color:                    $black;
191$button-border:                   $gray-semi-dark;
192$button-shadow:                   rgba($black, 0.05);
193
194$submit-color:                    $white;
195$submit-background:               $submit;
196$submit-background-alt:           $submit-alt;
197$submit-border:                   $gray-semi-dark;
198
199$reset-color:                     $black;
200$reset-background:                $reset;
201$reset-background-alt:            $reset-alt;
202$reset-background-ter:            $reset-ter;
203$reset-border:                    $gray-semi-dark;
204
205$delete-color:                    $delete;
206$delete-hover-color:              $white;
207$delete-hover-background:         $delete-alt;
208$delete-hover-background-alt:     $delete-ter;
209$delete-hover-border:             $delete-ter;
210
211$add-color:                       $black;
212$add-background:                  $add;
213$add-background-alt:              $add-alt;
214$add-border:                      $add;
215$add-border-alt:                  $add-alt;
216
217$button-disabled-color:           $gray-dark;
218$button-disabled-background:      $gray-very-light;
219$button-disabled-background-alt:  $gray-lighter;
220$button-disabled-border:          $gray-semi-dark;
221
222$ajax-color:                      $gray-very-dark;
223$ajax-background:                 $white;
224$ajax-background-alt:             $light-blue;
225$ajax-border:                     $gray-dark;
226
227$gotop-color:                     $gray-very-dark;
228$gotop-background:                transparent;
229$gotop-border:                    none;
230
231$addmeta-color:                   $white;
232$addmeta-background:              transparent;
233$addmeta-focus-color:             $black;
234$addmeta-focus-background:        tint($light-blue, 10%);
235
236// Messages
237
238$msg-color:                       $white;
239$msg-background:                  $gray-dark;
240$msg-background-alt:              tint($gray-dark, 66%);
241$msg-shadow:                      rgba($gray-very-dark, 0.1);
242
243$msg-info-color:                  $gray-very-dark;
244$msg-info-background:             $info;
245$msg-info-border:                 $info-alt;
246
247$msg-warn-color:                  $gray-very-dark;
248$msg-warn-background:             $warning;
249$msg-warn-background-alt:         $warning-alt;
250$msg-warn-border:                 $warning-alt;
251
252$msg-error-color:                 $black;
253$msg-error-background:            $error;
254$msg-error-background-alt:        $warning;
255
256$msg-success-color:               $black;
257$msg-success-background:          $success;
258$msg-success-background-alt:      $success-alt;
259
260$dc-update-color:                 $black;
261$dc-update-background:            $light-blue;
262
263$ajax-loader:                     shade($light-blue, 10%);
264
265// Filters
266
267$form-control-color:              $white;
268
269$filter-border:                   $light-blue;
270$filter-options-border:           $gray-light;
271$filter-focus-background:         shade($gray-darker, 15%);
272
273// Prelude
274
275$prelude-color:                   $gray-very-dark;
276$prelude-background:              $light-blue;
277$prelude-background-alt:          $white;
278
279// Help
280
281$help-background:                 $gray-very-dark;
282$help-border:                     $warning-alt;
283$help-button-border:              $gray-dark;
284$help-button-background:          $gray-very-dark;
285$help-title-color:                $light-blue;
286
287// Tooltip (in footer)
288
289$tooltip-color:                   $tooltip;
290$tooltip-background:              $gray-very-light;
291
292// Application pages:
293// - Auth (white background page)
294
295$login-fieldset-background:       $white;
296$login-fieldset-border:           $success-alt;
297
298// - Index
299
300$index-link-color:                $gray-lighter;
301$index-link-border:               $gray-semi-dark;
302$index-icon-background:           $gray-darker;
303$index-icon-border:               $gray-lighter;
304$index-icon-outline:              $link-outline;
305$index-icon-contrast:             130%;
306
307$quick-background:                $gray-very-dark;
308$quick-border:                    shade($gray-very-light, 10%);
309$quick-info-background:           $info;
310$quick-info-border:               $info-alt;
311$quick-info-color:                $gray-very-dark;
312
313$index-box-border:                tint($gray-dark, 66%);
314
315// - Blog params
316
317$blog-user-border:                tint($gray-dark, 66%);
318$blog-super-background:           rgba($info, 0.15);
319$blog-super-border:               $link-outline;
320
321// - Blog theme
322
323$theme-box-border:                shade($gray-very-light, 10%);
324$theme-box-over:                  $gray-darker;
325
326$theme-name-color:                $gray-light;
327
328$theme-img-background:            $gray-very-light;
329$theme-img-border:                $white;
330$theme-img-shadow:                rgba($gray-very-dark, 0.1);
331
332$theme-action-background:         $gray-darker;
333$theme-action-border:             transparent;
334
335$theme-current-background:        $gray-darker;
336$theme-current-border:            $gray-lighter;
337$theme-current-shadow:            rgba($gray-very-dark, 0.1);
338
339$theme-current-img-border:        $white;
340$theme-current-name-color:        $orange;
341
342// - Categories
343
344$cat-placeholder-outline:         $link;
345
346$cat-line-border:                 tint($gray-dark, 66%);
347$subcat-line-border:              shade($gray-very-light, 10%);
348
349$cat-post-counter:                $gray-very-light;
350
351// - Media
352
353$media-folder-background:         transparent;
354$media-folder-border:             $gray-lighter;
355$media-folderup-border:           transparent;
356$media-folder-link:               $gray-light;
357$media-item-border:               shade($gray-very-light, 10%);
358$media-files-border:              shade($gray-very-light, 10%);
359
360$upload-color:                    shade($success-alt, 45%);
361$upload-filemsg-color:            $white;
362$upload-progress-color:           $white;
363$upload-progress-background:      shade($success-alt, 45%);
364$upload-file-border:              shade($gray-very-light, 10%);
365$upload-error-color:              $error-alt;
366
367// - Plugins
368
369$modules-background:              $gray-very-dark;
370$modules-border:                  $light-blue;
371
372// - Entry
373
374$entry-sb-title-border:           $white;
375$entry-sb-background:             shade($gray-darker, 15%);
376$entry-sb-focus-background:       $gray-darker;
377
378// - Preferences
379
380$fav-list-background:             $gray-very-dark;
381$fav-list-background-over:        $gray-darker;
382$fav-list-border:                 $gray-lighter;
383$fav-list-border-alt:             shade($gray-very-light, 10%);
384
385$my-favs-border:                  $green;
386
387// - Charte
388
389$charte-title:                    $orange;
390$charte-one-box-border:           shade($gray-very-light, 10%);
391
392// Classes
393
394$ac-results-background:           $gray-very-dark;
395$ac-results-border:               $warning-alt;
396$ac-results-over:                 $white;
397$ac-results-over-background:      shade($link, 20%);
398
399$nav-background:                  $body-background;
400$nav-prevnext:                    $link;
401$nav-prevnext-background:         $gray-very-dark;
402$nav-prevnext-border:             shade($gray-very-light, 10%);
403
404$onblog-link:                     $gray-very-dark;
405$onblog-link-background:          $gray-lighter;
406$onblog-link-border:              $gray-lighter;
407$onblog-link-shadow:              rgba($gray-very-dark, 0.3);
408
409$pager-link:                      $link;
410$pager-active:                    $gray-light;
411$pager-background:                $gray-very-light;
412$pager-background-over:           shade($gray-very-light, 10%);
413$pager-off-background:            $white;
414$pager-input-background:          $white;
415$pager-border:                    shade($gray-very-light, 10%);
416
417$index-no-link:                   $gray-light;
418$index-active:                    $white;
419$index-active-background:         $gray-dark;
420
421$step:                            $gray-dark;
422$step-background:                 $gray-very-light;
423$step-border:                     tint($gray-dark, 66%);
424
425$offline:                         $gray-semi-dark;
426$offline-background:              $gray-very-dark;
427
428$mark-attach-img:                 url('../images/attach.svg');
429$mark-attach-filter:              hue-rotate(260deg) saturate(100) saturate(.2) brightness(220%);
430
431// Utils
432
433$color-picker-border:             $black;
434$color-picker-background:         $white;
435
436$color-div-border:                $gray-light;
437
438$badge-color:                     $white;                             // #ffffff
439$badge-std-background:            $badge;                             // #d54e21
440$badge-soft-background:           $badge-soft;
441$badge-info-background:           $badge-info;
442
443// Debug
444
445$debug-color:                     $error-alt;
446$debug-background:                $warning-alt;
447$debug-border:                    $warning-alt;
Note: See TracBrowser for help on using the repository browser.

Sites map