Projet

Général

Profil

0001-adjustments.patch

Frédéric Péters, 26 juillet 2018 14:03

Télécharger (2,1 ko)

Voir les différences:

Subject: [PATCH] adjustments

 static/includes/_form-steps.scss |  6 ++----
 static/includes/_wcs.scss        | 32 ++------------------------------
 2 files changed, 4 insertions(+), 34 deletions(-)
static/includes/_form-steps.scss
15 15
@if $circle-steps {
16 16

  
17 17
	div#steps {
18
		padding: 0 1em;
19

  
20 18
		ol {
21 19
			// reduce empty space on the left (user agent stylesheet)
22 20
			padding-left: 0;
23
			margin-left: -1em;
21
			margin-left: 0;
24 22
		}
25 23

  
26 24
		li {
......
51 49
				-ms-align-items: center;
52 50
				justify-content: center;
53 51
				-ms-justify-content: center;
54
				margin: 0 1em;
52
				margin: 0 1em 0 0;
55 53
				position: relative;
56 54
				color: $circle-steps-number-color;
57 55
				background: white;
static/includes/_wcs.scss
1 1
@import 'grid';
2
@import 'form-steps';
3 2

  
4 3
$responsive-steps: horizontal !default;
5 4
$circle-steps: false !default;
6 5

  
6
@import 'form-steps';
7

  
7 8
/* hide a bunch of elements */
8 9
div#droite,
9 10
div#services > h3,
......
35 36
	clear: none;
36 37
}
37 38

  
38
@if $circle-steps {
39
	// in order to let more space to the labels
40
	div#gauche {
41
		min-width: 18.5%;
42
		max-width: 25%;
43
		width: auto;
44
	}
45

  
46
	div#gauche + div#rub_service {
47
		min-width: 73%;
48
		float: left;
49
		width: auto;
50
	}
51

  
52
	@media screen and (max-width: $mobile-limit) {
53
		div#gauche {
54
			min-width: inherit;
55
			max-width: inherit;
56
			float: none;
57
			width: 100%;
58
		}
59

  
60
		div#gauche + div#rub_service {
61
			min-width: inherit;
62
			float: none;
63
			width: 100%;
64
		}
65
	}
66
}
67 39
/* style homepage blocks */
68 40
div#services > ul {
69 41
	@include vendor-prefix('column-count', '2');
70
-