Projet

Général

Profil

0001-scss-improve-default-layout-62733.patch

Corentin Séchet, 13 avril 2022 13:23

Télécharger (9,8 ko)

Voir les différences:

Subject: [PATCH] scss: improve default layout (#62733)

 static/avray/_vars.scss                |  3 ++-
 static/caen/_custom.scss               | 14 ++++++++++++++
 static/clermont-ici/_vars.scss         |  1 +
 static/correze-cd19/_vars.scss         |  1 +
 static/grand-chambery/_vars.scss       |  1 +
 static/includes/_layout.scss           | 15 ++++++++++-----
 static/isere-cd38/_vars.scss           |  1 +
 static/la-hague/_vars.scss             |  1 +
 static/la-reunion-region/_vars.scss    |  1 +
 static/lanester/_custom.scss           |  9 +++++++++
 static/lattes/_vars.scss               |  1 +
 static/lille/_vars.scss                |  1 +
 static/marseille/_vars.scss            |  1 +
 static/montpellier-ville/_vars.scss    |  1 +
 static/roannais-icitoyen/_vars.scss    |  1 +
 static/sospel/_vars.scss               |  1 +
 static/thonon-agglomeration/_vars.scss |  1 +
 static/toulouse-metropole/_vars.scss   |  1 +
 static/toulouse/_vars.scss             |  1 +
 static/venissieux/_vars.scss           |  1 +
 20 files changed, 51 insertions(+), 6 deletions(-)
static/avray/_vars.scss
2 2

  
3 3
$width: 1200px;
4 4
$sidebar-position: right;
5
$mobile-with: none;
5 6

  
6 7
$font-color: black;
7 8
$font-family: Raleway, Arial, sans-serif;
......
58 59
$wcs-step-current-border-bottom: none;
59 60
$wcs-step-marker-color: #bbb;
60 61
$wcs-step-current-marker-color: #fff;
61
$wcs-step-current-marker-background: $primary-color;
62
$wcs-step-current-marker-background: $primary-color;
static/caen/_custom.scss
147 147
//	HEADER
148 148
//
149 149

  
150
div#header {
151
	@media ($max-mobile-viewport) {
152
		max-width: $mobile-width;
153
	}
154
}
155

  
150 156
h1#logo.has-logo {
151 157
	padding-left: 0;
152 158
	a {
......
663 669
	background: url(img/bandeau-footer.png) no-repeat;
664 670
	background-size: 100% 50px;
665 671
}
672

  
666 673
#footer-wrapper {
667 674
	margin-top: 50px;
668 675

  
......
676 683
	}
677 684
}
678 685

  
686
div#footer {
687
	@media ($max-mobile-viewport) {
688
		max-width: $mobile-width;
689
	}
690
}
691

  
679 692
// MISC
680 693

  
681 694
a.lien {
......
698 711
		content: url('img/fleche.svg');
699 712
	}
700 713
}
714

  
static/clermont-ici/_vars.scss
40 40

  
41 41
$width: 95rem;
42 42
$mobile-limit: 1024px;
43
$mobile-width: none;
43 44
$sidebar-width: 25%;
44 45
$sidebar-min-width: 18rem;
45 46
$sidebar-columns-gutter: 40px;
static/correze-cd19/_vars.scss
5 5
$font-size: 100%;
6 6
$font-family: "Fira Sans", sans-serif;
7 7
$width: 1350px;
8
$mobile-width: none;
8 9

  
9 10
$nav-background: #747474;
10 11
$nav-color: white;
static/grand-chambery/_vars.scss
6 6
$primary-color: $red !default;
7 7

  
8 8
$width: 1210px !default;
9
$mobile-width: none;
9 10
$font-family: "Open Sans", sans-serif;
10 11
$font-color: #000 !default;
11 12
$font-size: 100% !default;
static/includes/_layout.scss
1
$width: 1000px !default;
2
$mobile-limit: 800px !default;
3
$mobile-width: null !default;
4
$very-small-limit: 480px !default;
1
$width: 1280px !default;
2
$mobile-limit: 1024px !default;
3
$mobile-width: 720px !default;
4
$very-small-limit: 560px !default;
5 5
$columns-gutter: 20px !default;
6 6
$footer-background: #666666 !default;
7 7
$footer-full-width-background: true !default;
......
50 50
div#main-content-wrapper,
51 51
.page-width {
52 52
	clear: both;
53
	max-width: $width;
53
	@media (min-desktop-viewport) {
54
		max-width: $width;
55
	}
54 56
	margin: 0 auto;
57
}
58

  
59
div#main-content-wrapper {
55 60
	@if ($mobile-width) {
56 61
		@media ($max-mobile-viewport) {
57 62
			max-width: $mobile-width;
static/isere-cd38/_vars.scss
30 30

  
31 31
$width: 1920px;
32 32
$mobile-limit: 70em;
33
$mobile-width: none;
33 34
$nav-mobile-limit: 50em;
34 35
$very-small-limit: 560px;
35 36
$font-family: $source-sans;
static/la-hague/_vars.scss
1 1
$primary-color: #5ABEB9;
2 2

  
3 3
$width: 1200px;
4
$mobile-width: none;
4 5
$font-color: #515151;
5 6
$font-size: 0.812em;
6 7
$font-family: Verdana, Arial, sans-serif;
static/la-reunion-region/_vars.scss
13 13
// Core Vars
14 14
$mobile-limit: 960px;
15 15
$width: 1160px;
16
$mobile-width: none;
16 17
$primary-color: $dark-blue;
17 18
$link-color: $primary-color;
18 19
$font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
static/lanester/_custom.scss
2 2

  
3 3
// Header
4 4
#header {
5
	@media ($max-mobile-viewport) {
6
		max-width: $mobile-width;
7
	}
5 8
	h1#logo.has-logo {
6 9
		left: 0.4375rem;
7 10
		a {
......
79 82
}
80 83

  
81 84
// Footer
85
div#footer {
86
	@media ($max-mobile-viewport) {
87
		max-width: $mobile-width;
88
	}
89
}
90

  
82 91
#footer-wrapper {
83 92
	padding-top: none;
84 93
	background: url(/assets/footer:background) no-repeat;
static/lattes/_vars.scss
4 4
$font-size: 0.875em;
5 5
$font-family: Montserrat, sans-serif;
6 6
$width: 1100px;
7
$mobile-width: none;
7 8
$border-radius: 0;
8 9

  
9 10
$nav-background: rgba(248, 248, 248, 0.8);
static/lille/_vars.scss
9 9

  
10 10
$body-background: #e5e5e5;
11 11
$width: 1200px;
12
$mobile-width: none;
12 13
$footer-background: white;
13 14
$footer-color: black;
14 15
$nav-mobile-limit: 50000px;
static/marseille/_vars.scss
24 24

  
25 25
$width: 1200px;
26 26
$mobile-limit: 1024px;
27
$mobile-width: none;
27 28
$very-small-limit: 560px;
28 29
$columns-gutter: 30px;
29 30

  
static/montpellier-ville/_vars.scss
10 10
$link-color: $primary-color;
11 11

  
12 12
$width: 1200px;
13
$mobile-width: none;
13 14

  
14 15
$title-background: transparent;
15 16
$title-color: $primary-color;
static/roannais-icitoyen/_vars.scss
81 81
// Core Vars
82 82
$width: 1280px;
83 83
$mobile_limit: 1024px;
84
$mobile-width: none;
84 85
$very-small-limit: 560px;
85 86
$sidebar-width: 17.5rem;
86 87
$primary-color: $red-orange;
static/sospel/_vars.scss
2 2

  
3 3
$primary-color: #333333;
4 4

  
5
$mobile-width: none;
5 6
$link-color: #00b7f3;
6 7
$font-color: black;
7 8
$font-size: 0.812em;
static/thonon-agglomeration/_vars.scss
3 3
$font-family: "Roboto", sans-serif; // "Roboto", Gill Sans, sans-serif;
4 4
$footer-background: #1c1b19;
5 5
$border-radius: 3px;
6
$mobile-width: none;
6 7

  
7 8
$title-background: #fec307;
8 9
$title-color: #222;
static/toulouse-metropole/_vars.scss
5 5
$border-radius: 3px;
6 6
$font-family: AauxPro, Arial, Helvetica, sans-serif;
7 7
$width: auto;
8
$mobile-width: none;
8 9
$font-color: #666;
9 10
$font-size: 0.812em;
10 11

  
static/toulouse/_vars.scss
3 3
$border-radius: 3px;
4 4
$font-family: Montserrat, Arial, sans-serif;
5 5
$width: auto;
6
$mobile-width: none;
6 7
$font-color: #666;
7 8
$font-size: 0.812em;
8 9
$columns-gutter: 3rem;
static/venissieux/_vars.scss
5 5
$font-family: Cantarell, sans-serif;
6 6

  
7 7
$width: 1400px;
8
$mobile-width: none;
8 9

  
9 10
$nav-after-image: false;
10 11

  
11
-