0001-villeurbanne-intranet-add-theme-50490.patch
static/villeurbanne-intranet/_custom.scss | ||
---|---|---|
1 |
// |
|
2 |
// COMPONENTS |
|
3 |
// |
|
4 |
%h1 { |
|
5 |
border-bottom: 5px solid currentColor; |
|
6 |
font-size: $fz-h1; |
|
7 |
color: $primary-color; |
|
8 |
text-transform: uppercase; |
|
9 |
font-weight: 700; |
|
10 |
margin-bottom: 1em; |
|
11 |
} |
|
12 | ||
13 |
%h2 { |
|
14 |
font-size: $fz-h3; |
|
15 |
color: $primary-color; |
|
16 |
} |
|
17 | ||
18 |
%title { |
|
19 |
border-bottom: 3px solid currentColor; |
|
20 |
} |
|
21 | ||
22 |
%cancel-button { |
|
23 |
color: $red; |
|
24 |
border-color: currentColor; |
|
25 |
background-color: white; |
|
26 |
&:hover { |
|
27 |
background-color: white; |
|
28 |
color: $red; |
|
29 |
} |
|
30 |
} |
|
31 | ||
32 |
// |
|
33 |
// HEADER |
|
34 |
// |
|
35 |
.site-header { |
|
36 |
height: 160px; |
|
37 |
} |
|
38 | ||
39 |
#header-wrapper { |
|
40 |
background-color: hsla(0, 0%, 100%, 0.8); |
|
41 |
} |
|
42 |
div#header { |
|
43 |
padding: 0; |
|
44 |
} |
|
45 |
#top { |
|
46 |
display: flex; |
|
47 |
flex-wrap: wrap; |
|
48 | ||
49 |
@media ($max-mobile-viewport) { |
|
50 |
} |
|
51 |
} |
|
52 | ||
53 |
#logo, |
|
54 |
#toplinks { |
|
55 |
flex: 0 0 50%; |
|
56 |
@media ($max-mobile-viewport) { |
|
57 |
flex-basis: 100%; |
|
58 |
} |
|
59 |
} |
|
60 | ||
61 |
h1#logo.has-logo { |
|
62 |
padding: 0; |
|
63 |
a { |
|
64 |
display: block; |
|
65 |
width: 300px; |
|
66 |
height: 67px; |
|
67 |
max-width: 100%; |
|
68 |
@media (max-width: $nav-mobile-limit) { |
|
69 |
margin: 0 auto; |
|
70 |
} |
|
71 |
} |
|
72 | ||
73 |
} |
|
74 | ||
75 |
#toplinks { |
|
76 |
position: static; |
|
77 |
border: none; |
|
78 |
border-radius: 0; |
|
79 |
padding: 0 0.7rem; |
|
80 |
background-color: $gray-xdark; |
|
81 |
box-shadow: none; |
|
82 |
max-width: none; |
|
83 |
min-height: 2.5em; |
|
84 |
color: white; |
|
85 |
@media (max-width: $nav-mobile-limit) { |
|
86 |
order: -1; |
|
87 |
} |
|
88 |
> span { |
|
89 |
height: 100%; |
|
90 |
display: flex; |
|
91 |
justify-content: space-around; |
|
92 |
align-items: center; |
|
93 |
} |
|
94 |
.sep { |
|
95 |
opacity: 0; |
|
96 |
} |
|
97 |
a { |
|
98 |
color: inherit; |
|
99 |
padding: 0.33em 0.5em; |
|
100 |
} |
|
101 |
} |
|
102 | ||
103 |
// |
|
104 |
// NAV |
|
105 |
// |
|
106 |
.gru-nav-wrapper { |
|
107 |
@media (max-width: $nav-mobile-limit) { |
|
108 |
margin-top: -1 * $nav-menu-side; |
|
109 |
} |
|
110 |
} |
|
111 | ||
112 |
div.gru-nav > ul { |
|
113 |
margin-top: 0; |
|
114 |
> li a { |
|
115 |
font-weight: 500; |
|
116 |
} |
|
117 |
} |
|
118 | ||
119 |
// |
|
120 |
// CELLS |
|
121 |
// |
|
122 |
.text-cell { |
|
123 |
overflow: hidden; |
|
124 |
} |
|
125 | ||
126 | ||
127 |
// |
|
128 |
// WCS |
|
129 |
// |
|
130 |
div#rub_service { |
|
131 |
background-color: white; |
|
132 |
border: .66em solid white; |
|
133 | ||
134 |
h2:first-child { |
|
135 |
@extend %h1; |
|
136 |
} |
|
137 |
h3 { |
|
138 |
@extend %h2; |
|
139 |
} |
|
140 |
} |
|
141 | ||
142 |
ul#evolutions div.evolution-metadata, |
|
143 |
ul#evolutions li div.msg, |
|
144 |
.tracking-code-part { |
|
145 |
background-color: white; |
|
146 |
} |
static/villeurbanne-intranet/_vars.scss | ||
---|---|---|
1 |
// custom vars |
|
2 | ||
3 |
$cyan: #0e96a8; |
|
4 |
$cyan-dark: #00545F; |
|
5 |
$cyan-xlight: hsl(185,30%,97%); |
|
6 |
$gray: #E6E7E8; |
|
7 |
$gray-xdark: #231f20; |
|
8 |
$red: #ED1C24; |
|
9 | ||
10 |
$ff-ss-serif: Montserrat, sans-serif; |
|
11 | ||
12 |
$fz-h1: 1.75em; |
|
13 |
$fz-h2: 1.375em; |
|
14 |
$fz-h3: 1.125em; |
|
15 | ||
16 |
// Core vars |
|
17 |
$body-background: $gray; |
|
18 |
$primary-color: $cyan; |
|
19 | ||
20 |
$width: 996px; |
|
21 | ||
22 |
$font-family: $ff-ss-serif; |
|
23 |
$font-color: $gray-xdark; |
|
24 | ||
25 |
$nav-menu-side: 40px; |
|
26 |
$nav-full-width-background: true; |
|
27 |
$nav-background: $cyan-dark; |
|
28 |
$nav-active-color: $cyan; |
|
29 |
$nav-color: white; |
|
30 |
$nav-mobile-menu-background: $cyan-dark; |
|
31 |
$nav-mobile-menu-item-color: white; |
|
32 | ||
33 |
$title-background: white; |
|
34 |
$title-color: $cyan; |
|
35 |
$title-font-size: $fz-h3; |
|
36 |
$title-weight: 700; |
|
37 |
$title-transform: uppercase; |
|
38 | ||
39 |
$cell-border: none; |
|
40 |
$cell-entry-color: $cyan-dark; |
|
41 |
$cell-entry-hover-color: $red; |
|
42 |
$cell-entry-hover-background: $cyan-xlight; |
|
43 |
$cell-entry-border-color: $gray; |
|
44 | ||
45 |
$button-background: $cyan-dark; |
|
46 |
$button-hover-background: $cyan; |
|
47 | ||
48 |
$wcs-step-current-color: $primary-color; |
|
49 |
$wcs-step-color: $font-color; |
|
50 |
$wcs-step-current-color: $primary-color; |
|
51 |
$wcs-step-border-bottom: none; |
|
52 |
$wcs-step-marker-background: hsla(0, 0%, 100%, 0.5); |
|
53 |
$wcs-step-current-marker-background: $wcs-step-current-color; |
|
54 |
$wcs-step-current-marker-color: $gray; |
|
55 |
$wcs-step-marker-size: 2em !default; |
|
56 |
$wcs-steps-spacing: 0.7rem; |
|
57 | ||
58 |
$widget-unique-checkbox-position: left; |
|
59 | ||
60 |
$widget-focus-border: 1px solid $cyan; |
|
61 |
$widget-focus-color: $cyan-dark; |
|
62 | ||
63 |
$or-separator: false; |
|
64 | ||
65 |
$footer-background: $gray-xdark; |
static/villeurbanne-intranet/config.json | ||
---|---|---|
1 |
{ |
|
2 |
"label": "Villeurbanne Intranet", |
|
3 |
"variables": { |
|
4 |
"pwa_display": "standalone", |
|
5 |
"theme_color": "#0e96a8", |
|
6 |
"email_header_asset": "emails:logo" |
|
7 |
}, |
|
8 |
"settings": { |
|
9 |
"combo": { |
|
10 |
"COMBO_ASSET_SLOTS.update": { |
|
11 |
"header:logo": { "label": "Têtière : logo" }, |
|
12 |
"header:background": { "label": "Têtière : fond" }, |
|
13 |
"emails:logo": {"label": "Emails : logo"} |
|
14 |
} |
|
15 |
} |
|
16 |
} |
|
17 |
} |
static/villeurbanne-intranet/style.scss | ||
---|---|---|
1 |
@charset "UTF-8"; |
|
2 |
@import '../includes/fonts/montserrat'; |
|
3 | ||
4 |
@import 'vars'; |
|
5 |
@import '../includes/publik'; |
|
6 |
@import 'custom'; |
|
0 |
- |