0001-add-aix-marseille-theme-66252.patch
static/aix-marseille-metropole/_custom.scss | ||
---|---|---|
1 |
$title-backgrounds: ( |
|
2 |
"green1": $green1, |
|
3 |
"green2": $green2, |
|
4 |
"red": $red, |
|
5 |
"blue1": $blue1, |
|
6 |
"blue2": $blue2, |
|
7 |
"yellow": $yellow, |
|
8 |
"brown": $brown |
|
9 |
); |
|
10 | ||
11 |
%cell { |
|
12 |
@extend %cell; |
|
13 |
box-shadow: 0px 6px 56px -12px rgba(12, 29, 24, 0.25); |
|
14 |
} |
|
15 | ||
16 |
div#header-wrapper { |
|
17 |
height: 3.5rem; |
|
18 |
@media ($max-mobile-viewport) { |
|
19 |
height: 5rem; |
|
20 |
} |
|
21 |
} |
|
22 | ||
23 |
div#header { |
|
24 |
padding-left: 0; |
|
25 |
background: $primary-color; |
|
26 |
@media ($max-mobile-viewport) { |
|
27 |
height: 1.5rem; |
|
28 |
} |
|
29 |
} |
|
30 | ||
31 |
.form-content--title { |
|
32 |
font-size: 41px; |
|
33 |
text-transform: uppercase; |
|
34 |
background: transparent; |
|
35 |
} |
|
36 | ||
37 |
#toplinks { |
|
38 |
@media ($min-desktop-viewport) { |
|
39 |
top: 1rem; |
|
40 |
} |
|
41 |
@media ($max-mobile-viewport) { |
|
42 |
right: 10px; |
|
43 |
} |
|
44 |
a { |
|
45 |
color: white; |
|
46 |
@media ($max-mobile-viewport) { |
|
47 |
font-size: 80%; |
|
48 |
} |
|
49 |
} |
|
50 |
} |
|
51 | ||
52 |
div.gru-nav { |
|
53 |
> ul { |
|
54 |
margin-bottom: 0.5rem; |
|
55 |
display: flex; |
|
56 |
justify-content: flex-end; |
|
57 |
> li a { |
|
58 |
text-transform: uppercase; |
|
59 |
@media ($min-desktop-viewport) { |
|
60 |
padding-bottom: 1.5rem; |
|
61 |
} |
|
62 |
} |
|
63 |
} |
|
64 |
.gru-nav-button { |
|
65 |
left: calc(100% - #{$nav-menu-side} - 10px); |
|
66 |
right: 0; |
|
67 |
top: 0; |
|
68 |
} |
|
69 |
} |
|
70 | ||
71 |
div.gru-nav > ul, .pwa-navigation div > ul { |
|
72 |
> li a { |
|
73 |
text-transform: uppercase; |
|
74 |
} |
|
75 |
} |
|
76 | ||
77 |
.pwa-navigation div > ul li { |
|
78 |
a { |
|
79 |
font-weight: bold; |
|
80 |
} |
|
81 |
&.selected a, &:hover a { |
|
82 |
box-shadow: 1px 1px 10px 0px #ddd inset; |
|
83 |
} |
|
84 |
} |
|
85 | ||
86 | ||
87 |
#logo.has-logo { |
|
88 |
width: 140px; |
|
89 |
height: 60px; |
|
90 |
padding-left: 0; |
|
91 |
@media ($max-mobile-viewport) { |
|
92 |
padding-left: 1rem; |
|
93 |
} |
|
94 |
a { |
|
95 |
position: absolute; |
|
96 |
z-index: 1; |
|
97 |
top: 10px; |
|
98 |
@media ($min-desktop-viewport) { |
|
99 |
height: 122px; |
|
100 |
} |
|
101 |
} |
|
102 |
&::before { |
|
103 |
content: ''; |
|
104 |
display: block; |
|
105 |
height: 0; |
|
106 |
border-bottom: 4rem solid white; |
|
107 |
border-right: 4rem solid transparent; |
|
108 |
width: 15rem; |
|
109 |
@media ($max-mobile-viewport) { |
|
110 |
margin-left: -1rem; |
|
111 |
width: 10rem; |
|
112 |
} |
|
113 |
} |
|
114 |
} |
|
115 | ||
116 |
div.cell.has-asset-picture { |
|
117 |
h2:first-child { |
|
118 |
background: transparent; |
|
119 |
} |
|
120 |
} |
|
121 | ||
122 |
body.has-picture { |
|
123 |
.combo-placeholder--columns-top { |
|
124 |
position: absolute; |
|
125 |
top: -$nav-after-image-height; |
|
126 |
left: 0; |
|
127 |
height: $nav-after-image-height; |
|
128 |
display: flex; |
|
129 |
justify-content: center; |
|
130 |
align-items: center; |
|
131 |
div.cell { |
|
132 |
padding: 0.5rem 6rem 0.5rem 1rem; |
|
133 |
background-image: url('img/top-cell-bg.svg'); |
|
134 |
background-position: 95% 75%; |
|
135 |
background-repeat: no-repeat; |
|
136 |
} |
|
137 |
} |
|
138 |
@media ($max-mobile-viewport) { |
|
139 |
.site-nav::after { |
|
140 |
height: $nav-after-image-height / 2; |
|
141 |
} |
|
142 |
.combo-placeholder--columns-top { |
|
143 |
top: 5rem; |
|
144 |
left: auto; |
|
145 |
height: $nav-after-image-height / 2; |
|
146 |
} |
|
147 |
} |
|
148 |
} |
|
149 | ||
150 |
#footer { |
|
151 |
ul { |
|
152 |
padding-left: 1rem; |
|
153 |
li { |
|
154 |
list-style-type: none; |
|
155 |
padding: 0.25rem 0; |
|
156 |
} |
|
157 |
} |
|
158 |
h5 { |
|
159 |
border-bottom: 1px solid; |
|
160 |
} |
|
161 |
} |
|
162 |
@each $name, $color in $title-backgrounds { |
|
163 |
div.cell.#{$name}-title { |
|
164 |
h2:first-child { |
|
165 |
background: #{$color}; |
|
166 |
} |
|
167 |
} |
|
168 |
} |
|
169 | ||
170 |
/* AUTHENTIC */ |
|
171 | ||
172 |
.anonymous-user { |
|
173 |
div.block, div.a2-block { |
|
174 |
box-shadow: none; |
|
175 |
} |
|
176 |
} |
|
177 | ||
178 |
static/aix-marseille-metropole/_vars.scss | ||
---|---|---|
1 |
$primary-color: #0d1d2d; |
|
2 |
$width: 1440px; |
|
3 | ||
4 |
$green1: #b4cd1c; |
|
5 |
$green2: #928c1e; |
|
6 |
$red: #e94e1b; |
|
7 |
$blue1: #b0dbd8; |
|
8 |
$blue2: #009fe3; |
|
9 |
$yellow: #fed600; |
|
10 |
$brown: #d6b49d; |
|
11 | ||
12 |
$font-color: $primary-color; |
|
13 |
$font-family: 'IBM Plex Serif'; |
|
14 |
$font-size: 17px; |
|
15 | ||
16 |
$widget-focus-border: 1px solid $primary-color; |
|
17 |
$widget-focus-outline: 1px solid $primary-color; |
|
18 |
$button-focus-outline-offset: 1px; |
|
19 | ||
20 |
$button-background: $primary-color; |
|
21 | ||
22 |
$nav-button-background: transparent; |
|
23 |
$nav-mobile-bottom-bar-item-hover-background: transparent; |
|
24 |
$nav-mobile-bottom-bar-item-selected-background: $nav-mobile-bottom-bar-item-hover-background; |
|
25 | ||
26 |
$nav-item-selected-mode: bottom-border; |
|
27 |
$nav-item-hover: $nav-item-selected-mode; |
|
28 |
$nav-active-color: $red; |
|
29 |
$nav-item-selected-border: 3px solid $nav-active-color; |
|
30 |
$nav-menu-color: $primary-color; |
|
31 |
$nav-border-color: transparent; |
|
32 |
$nav-mobile-menu-item-hover-background: transparent; |
|
33 | ||
34 |
$nav-after-image-height: 450px; |
|
35 | ||
36 |
$cell-border: none; |
|
37 |
$cell-image-position: top; |
|
38 |
$cell-image-padding: none; |
|
39 | ||
40 |
$title-color: $primary-color; |
|
41 |
$title-weight: 700; |
|
42 |
$title-transform: uppercase; |
|
43 |
$title-background: $brown; |
|
44 | ||
45 |
$wcs-step-marker-type: disc; |
|
46 |
$wcs-step-border-bottom: none; |
|
47 |
$wcs-step-marker-background: $brown; |
|
48 |
$wcs-step-color: $brown; |
|
49 |
$wcs-step-current-marker-background: $primary-color; |
|
50 |
$wcs-step-current-label-color: $wcs-step-current-marker-background; |
|
51 |
$wcs-step-marker-color: white; |
|
52 |
$wcs-step-current-marker-color: $wcs-step-marker-color; |
|
53 |
$wcs-steps-spacing: 0.7rem; |
|
54 | ||
55 |
$buttons-order: previous submit cancel; |
|
56 | ||
57 |
$toplinks-style: none; |
|
58 | ||
59 |
$link-color: $primary-color; |
|
60 | ||
61 |
$footer-background: $primary-color; |
|
62 |
$footer-link-color: white; |
|
63 |
$footer-color: white; |
static/aix-marseille-metropole/config.json | ||
---|---|---|
1 |
{ |
|
2 |
"label": "Aix Marseille Métropole", |
|
3 |
"variables": { |
|
4 |
"pwa_display": "standalone", |
|
5 |
"theme_color": "#0d1d2d" |
|
6 |
}, |
|
7 |
"settings": { |
|
8 |
"combo": { |
|
9 |
"COMBO_ASSET_SLOTS.update": { |
|
10 |
"header:background": { "label": "Têtière : fond" }, |
|
11 |
"header:logo": { "label": "Têtière : logo" } |
|
12 |
} |
|
13 |
} |
|
14 |
} |
|
15 |
} |
static/aix-marseille-metropole/img/top-cell-bg.svg | ||
---|---|---|
1 |
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" overflow="visible" preserveAspectRatio="none" viewBox="0 0 79 91" width="79" height="91"><g transform="translate(0, 0)"><g transform="translate(8.881784197001252e-16, 2.220446049250313e-16) rotate(0)"><path style="stroke-width: 0px; stroke-linecap: butt; stroke-linejoin: miter; fill: rgb(244, 156, 108);" d="M20.40282,50.06597l0.00812,2.29612l-5.90886,5.88179l-2.31481,-2.30421l5.90886,-5.87775zM2.31481,50.06193l6.29466,5.88179l-2.31075,2.30016l-6.29872,-5.87775v-0.48105l0.00406,-1.81911zM14.50208,61.80934l5.90886,5.88179l-0.00812,2.29612l-2.31075,0.00808l-5.9048,-5.88179zM6.29872,61.80934l2.31481,2.30421l-5.90886,5.88179l-2.31075,-0.00808l-0.00406,-2.29612zM78.99594,81.80743l0.00406,1.05913l-2.72498,2.7125l-1.06806,-1.06317l2.72498,-2.7125zM73.55817,84.51588l-1.06806,1.06317l-2.90773,-2.7125v-0.08085l0.00406,-0.97828l1.064,-0.00404zM76.27502,87.22433l2.72498,2.7125l-0.00406,1.05913l-0.80003,0.00404h-0.26397l-2.72498,-2.7125zM72.4901,87.22433l1.06806,1.05913l-2.72498,2.7125h-1.06806v-1.05913zM47.55513,0v0.73573l-1.8884,1.87975l-0.73911,-0.73573l1.8884,-1.87975zM43.7824,1.87975l-0.73911,0.73573l-2.01429,-1.87975v-0.73573h0.73911zM45.66674,3.75545l1.8884,1.87975l-0.00406,0.73573h-0.73505l-1.8884,-1.87975zM43.04328,3.75545l0.73911,0.73573l-1.8884,1.88379l-0.73911,-0.00404v-0.73573z" vector-effect="non-scaling-stroke"/></g><defs><path id="path-1654866533015799" d="M20.40282,50.06597l0.00812,2.29612l-5.90886,5.88179l-2.31481,-2.30421l5.90886,-5.87775zM2.31481,50.06193l6.29466,5.88179l-2.31075,2.30016l-6.29872,-5.87775v-0.48105l0.00406,-1.81911zM14.50208,61.80934l5.90886,5.88179l-0.00812,2.29612l-2.31075,0.00808l-5.9048,-5.88179zM6.29872,61.80934l2.31481,2.30421l-5.90886,5.88179l-2.31075,-0.00808l-0.00406,-2.29612zM78.99594,81.80743l0.00406,1.05913l-2.72498,2.7125l-1.06806,-1.06317l2.72498,-2.7125zM73.55817,84.51588l-1.06806,1.06317l-2.90773,-2.7125v-0.08085l0.00406,-0.97828l1.064,-0.00404zM76.27502,87.22433l2.72498,2.7125l-0.00406,1.05913l-0.80003,0.00404h-0.26397l-2.72498,-2.7125zM72.4901,87.22433l1.06806,1.05913l-2.72498,2.7125h-1.06806v-1.05913zM47.55513,0v0.73573l-1.8884,1.87975l-0.73911,-0.73573l1.8884,-1.87975zM43.7824,1.87975l-0.73911,0.73573l-2.01429,-1.87975v-0.73573h0.73911zM45.66674,3.75545l1.8884,1.87975l-0.00406,0.73573h-0.73505l-1.8884,-1.87975zM43.04328,3.75545l0.73911,0.73573l-1.8884,1.88379l-0.73911,-0.00404v-0.73573z" vector-effect="non-scaling-stroke"/></defs></g></svg> |
static/aix-marseille-metropole/style.scss | ||
---|---|---|
1 |
@charset "UTF-8"; |
|
2 | ||
3 |
@import '../includes/fonts/ibm-plex-serif'; |
|
4 |
@import 'vars'; |
|
5 |
@import '../includes/publik'; |
|
6 |
@import 'custom'; |
|
0 |
- |