0001-add-minsant-theme-48009.patch
static/minsant/_custom.scss | ||
---|---|---|
1 |
@import '../includes/fonts/titillium'; |
|
2 | ||
3 |
.site-header { |
|
4 |
background: $primary-color; |
|
5 |
} |
|
6 | ||
7 |
#header { |
|
8 |
color: white; |
|
9 |
font-family: Titillium; |
|
10 |
h1#logo a { |
|
11 |
line-height: 170px; |
|
12 |
font-size: 2.667rem; |
|
13 |
color: white; |
|
14 |
font-weight: normal; |
|
15 |
background-size: auto 150px; |
|
16 |
width: 90%; |
|
17 |
} |
|
18 |
} |
|
19 | ||
20 |
#toplinks { |
|
21 |
.sep, .registration { |
|
22 |
display: none; |
|
23 |
} |
|
24 |
} |
|
25 | ||
26 |
#nav { |
|
27 |
li { |
|
28 |
border-left: 1px; |
|
29 |
border-right: 1px; |
|
30 |
border-top: 0; |
|
31 |
border-bottom: 0; |
|
32 |
border-style: solid; |
|
33 |
border-color: $primary-color; |
|
34 |
} |
|
35 |
ul { |
|
36 |
margin-top: 0; |
|
37 |
a { |
|
38 |
font-weight: normal; |
|
39 |
padding: 20px 30px; |
|
40 |
} |
|
41 |
li.selected > a { |
|
42 |
background-image: url(img/coin-menu.png); |
|
43 |
background-position: top right; |
|
44 |
background-repeat: no-repeat; |
|
45 |
} |
|
46 |
} |
|
47 |
} |
|
48 | ||
49 |
#footer-wrapper { |
|
50 |
border-top: 15px solid $secondary-color; |
|
51 |
#footer { |
|
52 |
min-height: 100px; |
|
53 |
background: url(img/logo-footer.png) top right no-repeat; |
|
54 |
} |
|
55 |
} |
|
56 | ||
57 |
div#right.account-management { |
|
58 |
display: none; |
|
59 |
} |
|
60 | ||
61 |
body.has-picture nav::after { |
|
62 |
background-size: contain; |
|
63 |
} |
|
64 | ||
65 |
#columns div.cell { |
|
66 |
background-image: linear-gradient(to top right, white 50%, $secondary-color); |
|
67 |
background-size: 50px 40px; |
|
68 |
background-repeat: no-repeat; |
|
69 |
background-position: top right; |
|
70 |
h2:first-child { |
|
71 |
font-weight: bold; |
|
72 |
font-size: 1.2em; |
|
73 |
background: none; |
|
74 |
} |
|
75 |
} |
|
76 | ||
77 |
#sidebar div.cell { |
|
78 |
background-color: $primary-color; |
|
79 |
border-left: 1px; |
|
80 |
border-left-style: solid; |
|
81 |
} |
static/minsant/_vars.scss | ||
---|---|---|
1 |
$primary-color: #f3f3f3; |
|
2 |
$secondary-color: #697b98; |
|
3 | ||
4 |
$body-background: $primary-color; |
|
5 |
$sidebar-position: right; |
|
6 | ||
7 |
$font-family: Arial, sans-serif; |
|
8 |
$width: 1160px; |
|
9 |
$font-color: #000; |
|
10 |
$font-size: 0.938em; |
|
11 |
$link-color: #365268; |
|
12 |
$nav-full-width-background: true; |
|
13 |
$nav-background: white; |
|
14 |
$nav-submenu-color: black;; |
|
15 |
$nav-active-background: $secondary-color; |
|
16 |
$nav-item-selected-color: white; |
|
17 |
$nav-item-selected-background: $secondary-color; |
|
18 |
$nav-item-hover-background: $secondary-color; |
|
19 |
$nav-item-hover-color: white; |
|
20 |
$cell-border: 0; |
|
21 |
$cell-title-cover-border: false; |
|
22 |
$border-radius: 0; |
|
23 |
$button-background: $secondary-color; |
|
24 |
$title-font-family: Titillium; |
|
25 |
$title-background: $secondary-color; |
|
26 |
$footer-background: $primary-color; |
|
27 |
$footer-color: $secondary-color; |
static/minsant/config.json | ||
---|---|---|
1 |
{ |
|
2 |
"label": "Ministère des Solidarités et de la Santé", |
|
3 |
"variables": { |
|
4 |
"theme_color": "#f3f3f3" |
|
5 |
}, |
|
6 |
"settings": { |
|
7 |
"combo": { |
|
8 |
"COMBO_ASSET_SLOTS.update": { |
|
9 |
"header:background": { "label": "Têtière : fond" }, |
|
10 |
"header:logo": { "label": "Têtière : logo" } |
|
11 |
} |
|
12 |
} |
|
13 |
} |
|
14 |
} |
static/minsant/style.scss | ||
---|---|---|
1 |
@charset "UTF-8"; |
|
2 | ||
3 |
@import 'vars'; |
|
4 |
@import '../includes/publik'; |
|
5 |
@import 'custom'; |
|
0 |
- |