1 | // ----------------- LIBRAIRIES ------------------- // |
---|
2 | |
---|
3 | // ----------------- Compass config --------------- // |
---|
4 | // Do not support IE less than IE9 |
---|
5 | $browser-minimum-versions: ( |
---|
6 | "ie": "9" |
---|
7 | ); |
---|
8 | $graceful-usage-threshold: 100; |
---|
9 | $critical-usage-threshold: 100; |
---|
10 | @import "compass"; // gem |
---|
11 | |
---|
12 | @import "libs/scut"; |
---|
13 | |
---|
14 | // ----------------- Zengrids config -------------- // |
---|
15 | $legacy-support-for-ie7: false; |
---|
16 | $legacy-support-for-ie6: false; |
---|
17 | //@import "libs/zen-grids/background"; |
---|
18 | //@import "libs/zen-grids/flow"; |
---|
19 | @import "libs/zen-grids/grids"; |
---|
20 | //@import "libs/sass-mq-master/_mq"; |
---|
21 | |
---|
22 | // ------------------ VARIABLES ------------------- // |
---|
23 | |
---|
24 | // ========================================================================== // |
---|
25 | // =Tailles de base |
---|
26 | // |
---|
27 | // On établit la grille verticale puis on calcule la taille des caractères |
---|
28 | // et de l'interlignage de référence en fonction de cette grille. |
---|
29 | // ========================================================================== // |
---|
30 | $base-grid: 8px; |
---|
31 | $base-font-size: 16px; |
---|
32 | $base-line-height: 24px; |
---|
33 | |
---|
34 | // ========================================================================== // |
---|
35 | // =Grille (zen-grids) |
---|
36 | // ========================================================================== // |
---|
37 | $zen-columns: 12; |
---|
38 | $zen-gutters: 2em; |
---|
39 | |
---|
40 | // ========================================================================== // |
---|
41 | // =Box model pour IE (zen-grids) |
---|
42 | // ========================================================================== // |
---|
43 | |
---|
44 | $box-sizing-polyfill-path: "scripts"; |
---|
45 | |
---|
46 | // ========================================================================== // |
---|
47 | // =Typographie |
---|
48 | // ========================================================================== // |
---|
49 | |
---|
50 | $sans-serif: Lato, "Open Sans", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif; |
---|
51 | $serif: "New Century Schoolbook","Century Schoolbook","Century Schoolbook L", Georgia, serif; |
---|
52 | $monospace: "Andale Mono", AndaleMono, monospace; |
---|
53 | |
---|
54 | // ========================================================================== // |
---|
55 | // =Couleurs |
---|
56 | // ========================================================================== // |
---|
57 | |
---|
58 | // Palette de base |
---|
59 | $white: #fff; |
---|
60 | $gray: #dcdcdc; |
---|
61 | $dark-blue-green: #68838b; |
---|
62 | $black: #000; |
---|
63 | $blue: #267daf; |
---|
64 | $red: #d52125; |
---|
65 | |
---|
66 | $gray-very-dark: shade($gray, 75%); |
---|
67 | $gray-dark: shade($gray, 55%); |
---|
68 | $gray-medium: $gray; |
---|
69 | $gray-light: tint($gray, 65%); |
---|
70 | $gray-very-light: tint($gray, 85%); |
---|
71 | |
---|
72 | // Application |
---|
73 | |
---|
74 | $primary-color: $gray-very-dark; // Texte courant |
---|
75 | $secondary-color: $blue; // Titres |
---|
76 | $link: $red; // Liens |
---|
77 | $button-base: $dark-blue-green; // Boutons |
---|
78 | $button-dark: shade($button-base, 10%); |
---|
79 | $button-light: tint($button-base, 10%); |
---|
80 | |
---|
81 | // Autres |
---|
82 | $css-img-path: 'img'; // utile pour le mixin de fallback svg |
---|
83 | |
---|
84 | // ========================================================================== // |
---|
85 | // =Breakpoints |
---|
86 | // |
---|
87 | // Points de rupture courants des différentes tailles d'écran. |
---|
88 | // |
---|
89 | // La mesure en em permet de l'appliquer aussi aux cas d'usage |
---|
90 | // de modification de la taille de base des caractères dans |
---|
91 | // les préférences de l'utilisateur ou de l'utilisation du grossissement |
---|
92 | // des caractères dans le navigateur. |
---|
93 | // |
---|
94 | // Dans le cadre de la création d'un thème, adapter ces points à ceux |
---|
95 | // correspondant aux nécessités de votre design. |
---|
96 | // ========================================================================== // |
---|
97 | |
---|
98 | $x-small-screen: 20em; // 320 |
---|
99 | $small-screen: 30em; // 480 |
---|
100 | $medium-screen: 40em; // 640 |
---|
101 | $large-screen: 60em; // 960 |
---|
102 | $xlarge-screen: 80em; // 1280 |
---|