Projet

Général

Profil

0001-scss-use-.site-header-class-name-to-refer-to-site-he.patch

Thomas Jund (congés, retour le 29/04), 29 novembre 2019 11:50

Télécharger (11,2 ko)

Voir les différences:

Subject: [PATCH] scss: use '.site-header' class name to refer to site header
 (#36765)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Commit messages are not applicable!
(╯°□°)╯︵ ┻━┻
 static/bouches-du-rhone/_custom.scss           |  2 +-
 static/calvados-cd14/_custom.scss              |  8 ++++----
 static/castries/_custom.scss                   |  2 +-
 static/cnil/_custom.scss                       |  2 +-
 static/cotes-d-armor/_custom.scss              |  2 +-
 static/grosboule-les-bains/_custom.scss        |  4 ++--
 static/includes/_header.scss                   |  2 +-
 static/lille-metropole/_custom.scss            |  4 ++--
 static/lille/_custom.scss                      |  2 +-
 static/lot-cd46/_custom.scss                   | 10 +++++-----
 static/metz-metropole-2019/_custom.scss        |  2 +-
 static/mincult/_custom.scss                    |  2 +-
 static/moselle/_custom.scss                    |  8 ++++----
 static/murviel-les-montpellier/_custom.scss    |  2 +-
 static/perpette-les-andouillettes/_custom.scss |  2 +-
 static/pfwb/_custom.scss                       |  6 +++---
 static/pre-saint-gervais/_custom.scss          |  2 +-
 static/roannais-agglomeration/_custom.scss     |  2 +-
 static/saint-chamond/_custom.scss              |  2 +-
 static/toodego/_custom.scss                    |  4 ++--
 static/toulouse/_custom.scss                   |  4 ++--
 21 files changed, 37 insertions(+), 37 deletions(-)
static/bouches-du-rhone/_custom.scss
1 1

  
2
header {
2
.site-header {
3 3
	position: absolute;
4 4
	left: 15%;
5 5
	top: 2rem;
static/calvados-cd14/_custom.scss
28 28
	}
29 29
}
30 30

  
31
header {
31
.site-header {
32 32
	position: fixed;
33 33
	top: 0;
34 34
	left: 0;
......
132 132
}
133 133

  
134 134
body.scrolled {
135
	header #header,
135
	.site-header #header,
136 136
	div#nav > ul {
137 137
		margin-top: 0;
138 138
		margin-bottom: 0;
......
170 170
}
171 171

  
172 172
@media screen and (max-width: $mobile-limit) {
173
	div#nav, header {
173
	div#nav, .site-header {
174 174
		text-align: left;
175 175
		position: static;
176 176
		width: auto;
......
181 181
		}
182 182
	}
183 183

  
184
	header #header {
184
	.site-header #header {
185 185
		margin-top: 2rem;
186 186
		margin-bottom: 1rem;
187 187
	}
static/castries/_custom.scss
14 14
	margin: 0 auto;
15 15
	box-shadow: 0 0px 2px rgba(0, 0, 0, 0.27);
16 16
	border-radius: 2 * $border-radius;
17
	header, nav, #main-content-wrapper {
17
	.site-header, nav, #main-content-wrapper {
18 18
		box-sizing: border-box;
19 19
		padding: 0 20px;
20 20
		@media screen and (max-width: $mobile-limit) {
static/cnil/_custom.scss
8 8
	}
9 9
}
10 10

  
11
header {
11
.site-header {
12 12
	background: white;
13 13
	border-top: 40px solid #444444;
14 14
	@media screen and (max-width: $mobile-limit) {
static/cotes-d-armor/_custom.scss
1
header {
1
.site-header {
2 2
	background: $primary-color;
3 3
	background: linear-gradient(to bottom, darken($primary-color, 20%) 0%, $primary-color 100%);
4 4
}
static/grosboule-les-bains/_custom.scss
1 1
body.has-header-background {
2
	header {
2
	.site-header {
3 3
		background: none;
4 4
		padding-bottom: 0;
5 5
	}
......
26 26
	font-size: 90%;
27 27
}
28 28

  
29
header {
29
.site-header {
30 30
	position: fixed;
31 31
	top: 0;
32 32
	left: 0;
static/includes/_header.scss
1 1
body.has-header-background {
2
	header {
2
	.site-header {
3 3
		background: url(/assets/header:background) top center no-repeat;
4 4
		background-size: cover;
5 5
	}
static/lille-metropole/_custom.scss
46 46
	}
47 47
}
48 48

  
49
header {
49
.site-header {
50 50
	position: fixed;
51 51
	top: 0;
52 52
	left: 0;
......
114 114
}
115 115

  
116 116
@media screen and (max-width: $mobile-limit) {
117
	div#nav, header {
117
	div#nav, .site-header {
118 118
		text-align: left;
119 119
		position: static;
120 120
		width: auto;
static/lille/_custom.scss
19 19
	}
20 20
}
21 21

  
22
header {
22
.site-header {
23 23
	z-index: 200;
24 24
	background: white;
25 25
}
static/lot-cd46/_custom.scss
10 10
	font-size: 90%;
11 11
}
12 12

  
13
header {
13
.site-header {
14 14
	position: fixed;
15 15
	top: 0;
16 16
	left: 0;
......
82 82
	#toplinks {
83 83
		top: -2rem;
84 84
	}
85
	header #header,
85
	.site-header #header,
86 86
	div#nav > ul {
87 87
		margin-top: 0;
88 88
		margin-bottom: 0;
89 89
	}
90
	header #header h1 a {
90
	.site-header #header h1 a {
91 91
		height: 40px;
92 92
		line-height: 40px;
93 93
		background-position: 10px center;
......
101 101
}
102 102

  
103 103
@media screen and (max-width: $mobile-limit) {
104
	div#nav, header {
104
	div#nav, .site-header {
105 105
		background: $darkpink;
106 106
		text-align: left;
107 107
		position: static;
......
120 120
		margin-top: -68px;
121 121
	}
122 122

  
123
	header #header,
123
	.site-header #header,
124 124
	div#nav > ul {
125 125
		margin-top: 2rem;
126 126
		margin-bottom: 1rem;
static/metz-metropole-2019/_custom.scss
13 13
	border: 0;
14 14
}
15 15

  
16
header {
16
.site-header {
17 17
	z-index: 200;
18 18
	height: $header-height;
19 19
	background: white;
static/mincult/_custom.scss
1 1
@import '../includes/font-titillium';
2 2

  
3
header {
3
.site-header {
4 4
	background: $primary-color;
5 5
}
6 6

  
static/moselle/_custom.scss
4 4
	box-shadow: none;
5 5
}
6 6

  
7
header {
7
.site-header {
8 8
	background: $primary-color;
9 9
	position: fixed;
10 10
	top: 0;
......
78 78
}
79 79

  
80 80
body.scrolled {
81
	header #header {
81
	.site-header #header {
82 82
		margin: 0;
83 83
	}
84 84
	div#nav > ul {
......
101 101
	#page {
102 102
		background: transparent;
103 103
	}
104
	div#nav, header {
104
	div#nav, .site-header {
105 105
		text-align: left;
106 106
		position: static;
107 107
		width: auto;
......
112 112
		}
113 113
	}
114 114

  
115
	header #header,
115
	.site-header #header,
116 116
	div#nav > ul {
117 117
		margin-top: 2rem;
118 118
		margin-bottom: 1rem;
static/murviel-les-montpellier/_custom.scss
14 14
	max-width: $width;
15 15
	margin: 0 auto;
16 16
	box-shadow: 0 0px 2px rgba(0, 0, 0, 0.27);
17
	header, nav, #main-content-wrapper {
17
	.site-header, nav, #main-content-wrapper {
18 18
		box-sizing: border-box;
19 19
		padding: 0 20px;
20 20
		@media screen and (max-width: $mobile-limit) {
static/perpette-les-andouillettes/_custom.scss
1 1
body.has-header-background {
2
	header {
2
	.site-header {
3 3
		height: 150px;
4 4
		padding-bottom: 10px;
5 5
		h1#logo {
static/pfwb/_custom.scss
12 12
	font-size: 10px;
13 13
}
14 14

  
15
header {
15
.site-header {
16 16
	#header {
17 17
		padding: 0;
18 18
		transition: all ease 0.2s;
......
122 122
}
123 123

  
124 124
@media screen and (max-width: $mobile-limit) {
125
	div#nav, header {
125
	div#nav, .site-header {
126 126
		text-align: left;
127 127
		position: static;
128 128
		width: auto;
......
138 138
		}
139 139
	}
140 140

  
141
	header #header {
141
	.site-header #header {
142 142
		margin-top: 3rem;
143 143
		margin-bottom: 0.4rem;
144 144
	}
static/pre-saint-gervais/_custom.scss
79 79
	line-height: 1.5;
80 80
}
81 81

  
82
header {
82
.site-header {
83 83
	position: fixed;
84 84
	z-index: 1000;
85 85
	width: 100%;
static/roannais-agglomeration/_custom.scss
2 2
	font-weight: 300;
3 3
}
4 4

  
5
header {
5
.site-header {
6 6
	pointer-events: none;
7 7
	background: $red;
8 8
	padding-top: 0;
static/saint-chamond/_custom.scss
1 1
$dashboard-slugs: accueil, mon-compte, mes-demandes, mon-association, mon-commerce, mon-porte-doc;
2 2

  
3
header {
3
.site-header {
4 4
	background: $blue;
5 5
	padding-top: 25px;
6 6
	padding-bottom: 40px;
static/toodego/_custom.scss
16 16
	}
17 17
}
18 18

  
19
header {
19
.site-header {
20 20
	z-index: 1000;
21 21
}
22 22

  
23
header, nav {
23
.site-header, nav {
24 24
	background: white;
25 25
}
26 26

  
static/toulouse/_custom.scss
46 46
	}
47 47
}
48 48

  
49
header {
49
.site-header {
50 50
	position: fixed;
51 51
	top: 0;
52 52
	left: 0;
......
1742 1742
}
1743 1743

  
1744 1744
.authentic-page {
1745
	header, nav, div#actu {
1745
	.site-header, nav, div#actu {
1746 1746
		display: none;
1747 1747
	}
1748 1748
	div#page {
1749
-