Dotclear

source: admin/style/scss/themes/_light.scss @ 3763:857d4768935c

Revision 3763:857d4768935c, 20.2 KB checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Use sass variables for every color used (mainly foreground, background, border)

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

Sites map