Projet

Général

Profil

0001-scss-introduce-use-new-cell-and-cell-links-list-sele.patch

Frédéric Péters, 26 octobre 2021 14:40

Télécharger (11,3 ko)

Voir les différences:

Subject: [PATCH] scss: introduce/use new %cell and %cell-links-list selectors
 (#58200)

 static/essonne-cd91/_custom.scss              | 13 +------
 static/fontenay-sous-bois-2018/_custom.scss   | 12 +-----
 static/gpseo/_custom.scss                     | 21 ++--------
 static/haute-garonne-cd31/_custom.scss        | 12 +-----
 static/includes/_cells.scss                   | 38 ++++++++++++-------
 static/marseille/_custom.scss                 | 10 +----
 static/montpellier/_custom.scss               |  6 +--
 static/quimper/_custom.scss                   |  6 +--
 static/roannais-icitoyen/_custom.scss         | 13 +------
 static/sables-d-olonne/_custom.scss           | 12 +-----
 static/saone-et-loire-cd71-2019/_custom.scss  | 12 +-----
 static/thonon-agglomeration-2021/_custom.scss | 10 +----
 static/vandoeuvre-les-nancy-2021/_custom.scss | 10 +----
 static/venissieux/_custom.scss                | 12 +-----
 static/villeneuve-dascq/_custom.scss          | 11 +-----
 15 files changed, 41 insertions(+), 157 deletions(-)
static/essonne-cd91/_custom.scss
67 67

  
68 68
// Links list
69 69
#main-content {
70
    div#rub_service div.category ul,
71
    div#services > ul > li > ul,
72
    div#account-management ul,
73
    div.links-list ul,
74
    div.menucell ul,
75
    div.wcsformcell,
76
    div.notificationscell ul,
77
    div.categoriescell ul,
78
    div.link-list-cell ul,
79
    div.wcsformsofcategorycell ul,
80
    div.wcscurrentdraftscell ul,
81
    div.wcscurrentformscell ul {
70
    %cell-links-list {
82 71
        background-color: $gray-lighter;
83 72
        & > li {
84 73
            border-bottom-width: 3px !important;
static/fontenay-sous-bois-2018/_custom.scss
286 286
}
287 287

  
288 288
div#content {
289
	div#rub_service div.category ul,
290
	div#services > ul > li > ul,
291
	div#account-management ul,
292
	div.links-list ul,
293
	div.menucell ul,
294
	div.wcsformcell,
295
	div.notificationscell ul,
296
	div.categoriescell ul,
297
	div.wcsformsofcategorycell ul,
298
	div.wcscurrentdraftscell ul,
299
	div.wcscurrentformscell ul {
289
	%cell-links-list {
300 290
		a {
301 291
			color: #888;
302 292
			padding: 0.5rem 0.5rem;
static/gpseo/_custom.scss
264 264

  
265 265

  
266 266
// CELLS & tracking code
267
div.a2-continue,
268
div#services > ul > li,
269
div.a2-block,
270
.gru-content div.cell,
271
div.block,
272
#tracking-code {
267
#tracking-code,
268
%cell {
273 269
	box-shadow: $gpseo-shadow;
274 270
	margin-bottom: 20px;
275 271

  
......
414 410
}
415 411

  
416 412
// LINKS LIST
417
div#rub_service div.category ul,
418
div#services > ul > li > ul,
419
div#account-management ul,
420
div.links-list ul,
421
div.menucell ul,
422
div.wcsformcell,
423
div.notificationscell ul,
424
div.categoriescell ul,
425
div.link-list-cell ul,
426
div.wcsformsofcategorycell ul,
427
div.wcscurrentdraftscell ul,
428
div.wcscurrentformscell ul {
413
%cell-links-list {
429 414
	& > li {
430 415
		> a {
431 416
			display: block;
static/haute-garonne-cd31/_custom.scss
223 223
	}
224 224
}
225 225

  
226
div#rub_service div.category ul,
227
div#services > ul > li > ul,
228
div#account-management ul,
229
div.links-list ul,
230
div.menucell ul,
231
div.wcsformcell,
232
div.notificationscell ul,
233
div.categoriescell ul,
234
div.wcsformsofcategorycell ul,
235
div.wcscurrentdraftscell ul,
236
div.wcscurrentformscell ul {
226
%cell-links-list {
237 227
	& > li > a {
238 228
		padding: 0.5rem 1rem 0.5rem 2rem;
239 229
		&::before {
static/includes/_cells.scss
78 78
	}
79 79
}
80 80

  
81
div.a2-continue,
82
div#services > ul > li,
83
div.a2-block,
84
.gru-content .cell,
85
.block {
81
%cell {
86 82
	text-align: left;
87 83
	background: $cell-background;
88 84
	color: $cell-color;
......
90 86
	border-radius: $cell-border-radius;
91 87
}
92 88

  
89
div.a2-continue,
90
div#services > ul > li,
91
div.a2-block,
92
.gru-content .cell,
93
.block {
94
	@extend %cell;
95
}
96

  
93 97
.column div.a2-block,
94 98
.gru-content div.cell,
95 99
.block {
......
152 156
	margin: 1em;
153 157
}
154 158

  
155
div#rub_service div.category ul,
156
div#services > ul > li > ul,
157
div#account-management ul,
158
div.links-list ul,
159
div.menucell ul,
160
div.wcsformcell,
161
div.categoriescell ul,
162
div.wcscurrentdraftscell ul,
163
div.wcscurrentformscell ul {
159
%cell-links-list {
164 160
	padding: 0;
165 161
	margin: 0;
166 162
	list-style: none;
......
261 257
	}
262 258
}
263 259

  
260
div#rub_service div.category ul,
261
div#services > ul > li > ul,
262
div#account-management ul,
263
.cell:not(.pk-button) div.links-list ul,
264
div.menucell ul,
265
div.wcsformcell,
266
div.categoriescell ul,
267
div.link-list-cell ul,
268
div.wcsformsofcategorycell ul,
269
div.wcscurrentdraftscell ul,
270
div.wcscurrentformscell ul {
271
	@extend %cell-links-list;
272
}
273

  
264 274
.gru-content div.link-list-cell.has-asset-picture,
265 275
.gru-content div.wcsformsofcategorycell.has-asset-picture {
266 276
	picture img {
static/marseille/_custom.scss
156 156
}
157 157

  
158 158
// Links-list
159
div#rub_service div.category ul,
160
div#services > ul > li > ul,
161
div#account-management ul,
162
div.links-list ul,
163
div.menucell ul,
164
div.wcsformcell,
165
div.categoriescell ul,
166
div.wcscurrentdraftscell ul,
167
div.wcscurrentformscell ul {
159
%cell-links-list {
168 160
	& > li {
169 161
		> a {
170 162
			padding-left: 2rem;
static/montpellier/_custom.scss
1 1
/* general stuff */
2 2

  
3
div.a2-continue,
4
div#services > ul > li,
5
div.a2-block,
6
.gru-content div.cell,
7
div.block {
3
%cell {
8 4
	overflow: visible;
9 5
}
10 6

  
static/quimper/_custom.scss
7 7
		url('#{$remote-font-path}/geometric_231_heavy_bt-webfont.ttf') format('truetype');
8 8
}
9 9

  
10
div.a2-continue,
11
div#services > ul > li,
12
div.a2-block,
13
.gru-content div.cell,
14
div.block {
10
%cell {
15 11
	overflow: visible;
16 12
}
17 13

  
static/roannais-icitoyen/_custom.scss
457 457

  
458 458

  
459 459
// Links-list
460
div#rub_service div.category ul,
461
div#services > ul > li > ul,
462
div#account-management ul,
463
.cell:not(.pk-button) div.links-list ul,
464
div.menucell ul,
465
div.wcsformcell,
466
div.notificationscell ul,
467
div.categoriescell ul,
468
div.link-list-cell ul,
469
div.wcsformsofcategorycell ul,
470
div.wcscurrentdraftscell ul,
471
div.wcscurrentformscell ul {
460
%cell-links-list {
472 461
	& > li {
473 462
		font-weight: bold;
474 463
		color: $gray;
static/sables-d-olonne/_custom.scss
458 458

  
459 459
// Links-list {
460 460
.gru-content {
461
	div#rub_service div.category ul,
462
	div#services > ul > li > ul,
463
	div#account-management ul,
464
	div.links-list ul,
465
	div.menucell ul,
466
	div.wcsformcell,
467
	div.categoriescell ul,
468
	div.wcscurrentdraftscell ul,
469
	div.wcscurrentformscell ul {
461
	%cell-links-list {
470 462
		& > li {
471 463
			position: relative;
472 464
			padding-left: 2em;
......
678 670
			display: inline-block;
679 671
		}
680 672
	}
681
}
673
}
static/saone-et-loire-cd71-2019/_custom.scss
334 334
}
335 335

  
336 336
.gru-content {
337
	div#rub_service div.category ul,
338
	div#services > ul > li > ul,
339
	div#account-management ul,
340
	div.links-list ul,
341
	div.menucell ul,
342
	div.wcsformcell,
343
	div.notificationscell ul,
344
	div.categoriescell ul,
345
	div.wcsformsofcategorycell ul,
346
	div.wcscurrentdraftscell ul,
347
	div.wcscurrentformscell ul {
337
	%cell-links-list {
348 338
		li a:not(.add-more-items--button) {
349 339
			padding-left: 1rem;
350 340
			&::before {
static/thonon-agglomeration-2021/_custom.scss
342 342

  
343 343
// links-lists
344 344
.gru-content {
345
	div#rub_service div.category ul,
346
	div#services > ul > li > ul,
347
	div#account-management ul,
348
	div.links-list ul,
349
	div.menucell ul,
350
	div.wcsformcell,
351
	div.categoriescell ul,
352
	div.wcscurrentdraftscell ul,
353
	div.wcscurrentformscell ul {
345
	%cell-links-list {
354 346
		& > li > a {
355 347
			padding: 0.5rem 2rem 0.5rem 2.5rem;
356 348
			position: relative;
static/vandoeuvre-les-nancy-2021/_custom.scss
203 203
	}
204 204
}
205 205

  
206
div#rub_service div.category ul,
207
div#services > ul > li > ul,
208
div#account-management ul,
209
div.links-list ul,
210
div.menucell ul,
211
div.wcsformcell,
212
div.categoriescell ul,
213
div.wcscurrentdraftscell ul,
214
div.wcscurrentformscell ul {
206
%cell-links-list {
215 207
	& > li > a {
216 208
		padding-left: 2em;
217 209
		position: relative;
static/venissieux/_custom.scss
198 198
	}
199 199
}
200 200

  
201
div#rub_service div.category ul,
202
div#services > ul > li > ul,
203
div#account-management ul,
204
div.links-list ul,
205
div.menucell ul,
206
div.wcsformcell,
207
div.notificationscell ul,
208
div.categoriescell ul,
209
div.wcsformsofcategorycell ul,
210
div.wcscurrentdraftscell ul,
211
div.wcscurrentformscell ul {
201
%cell-links-list {
212 202
	li {
213 203
		&:last-child::after {
214 204
			content: none;
static/villeneuve-dascq/_custom.scss
329 329
//
330 330
// Links List
331 331
//
332
div#rub_service div.category ul,
333
div#services > ul > li > ul,
334
div#account-management ul,
335
div.links-list ul,
336
div.menucell ul,
337
div.wcsformcell,
338
div.categoriescell ul,
339
div.link-list-cell ul,
340
div.wcscurrentdraftscell ul,
341
div.wcscurrentformscell ul {
332
%cell-links-list {
342 333
	padding: 0 $theme-gutter-mobile;
343 334

  
344 335
	& > li > a {
345
-