Projet

Général

Profil

0001-villeurbanne-2018-update-steps-36765.patch

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

Télécharger (2,63 ko)

Voir les différences:

Subject: [PATCH] villeurbanne-2018: update steps (#36765)

 static/villeurbanne-2018/_custom.scss | 62 +++++++++++++++------------
 static/villeurbanne-2018/_vars.scss   |  6 +++
 2 files changed, 40 insertions(+), 28 deletions(-)
static/villeurbanne-2018/_custom.scss
322 322
	}
323 323
}
324 324

  
325
div#steps ol {
326
	background-color: #eeeeee;
327
	padding: 0 1ex;
328
	li {
329
		display: flex;
330
		align-items: center;
331
		span.marker {
332
			font-size: 175%;
333
			font-weight: 700;
325
// Steps
326
.wcs-steps {
327
	font-size: 1.2em;
328
	&--list {
329
		@include desktop-vertical-steps() {
330
			margin-bottom: 0;
334 331
		}
335
		span.marker, span.label {
336
			color: #aaaaaa;
337
			white-space: wrap;
338
			text-align:left;
339
			white-space: normal;
340
			text-transform: uppercase;
341
		}
342
		&.current {
343
			border-bottom: 1px solid #ccc;
344
			@media screen and (max-width: $mobile-limit) {
345
				border-bottom: 0;
346
			}
347
			span.marker, span.label {
348
				color: $primary-color;
349
			}
332
	}
333
}
334

  
335
.wcs-step {
336
	&--marker {
337
		font-weight: bold;
338
		// reset abbr styles inherited from specific publik.css
339
		border-bottom: none !important;
340
		cursor: inherit !important;
341
		text-decoration: none !important;
342
	}
343
	&--label {
344
		text-transform: uppercase;
345
		// reset .label styles inherited from specific publik.css
346
		padding: 0;
347
		margin: 0;
348
		white-space: normal;
349
		text-align: left;
350
		color: inherit;
351

  
352
		@include desktop-vertical-steps() {
353
			font-size: 0.63em;
350 354
		}
351
		@media screen and (max-width: $mobile-limit) {
352
			&.step-before .label {
353
				display: block;
354
			}
355
	}
356

  
357
	@include desktop-vertical-steps() {
358
		&:last-child {
359
			margin: 0;
355 360
		}
356 361
	}
357 362
}
......
467 472
.vu-navigation .navigation-line {
468 473
	table-layout: fixed;
469 474
}
475

  
static/villeurbanne-2018/_vars.scss
35 35
$widget-border: 1px solid $primary-color;
36 36
$widget-focus-background: #ffffff;
37 37
$widget-unique-checkbox-position: left;
38

  
39
$wcs-steps-spacing: 0.7rem;
40
$wcs-steps-background: #eeeeee;
41
$wcs-step-border-bottom: 1px solid #ccc;
42
$wcs-step-current-border-bottom: 1px solid #ccc;
43
$wcs-step-color: #aaa;
38
-