Projet

Général

Profil

0001-scss-all-themes-use-custom-mobile-and-desktop-medias.patch

Thomas Jund (congés, retour le 29/04), 29 janvier 2020 17:23

Télécharger (2,46 ko)

Voir les différences:

Subject: [PATCH] scss: all themes: use custom mobile and desktop medias sass
 vars to manage medias queries (#37223)

 static/avray/_custom.scss      | 6 +++---
 static/concarneau/_custom.scss | 2 +-
 static/coprec/_custom.scss     | 2 +-
 static/malakoff/_custom.scss   | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
static/avray/_custom.scss
21 21
				left: -1rem;
22 22
				padding-left: 730px;
23 23

  
24
				@media screen and (max-width: $mobile-limit) {
24
				@media screen and ($max-mobile-viewport){
25 25
					height: 75px;
26 26
					padding-left: 0;
27 27
					max-width: 90%;
......
188 188
				background-color: $color-rubrique-social-aines;
189 189
			}
190 190

  
191
			@media screen and (max-width: $mobile-limit) {
191
			@media screen and ($max-mobile-viewport){
192 192
				ul > li > ul > li > a {
193 193
					color: black !important;
194 194
				}
......
552 552
}
553 553

  
554 554

  
555
@media screen and (max-width: $mobile-limit) {
555
@media screen and ($max-mobile-viewport){
556 556
	#header #top #logo a {
557 557
		display: block;
558 558
		height: 75px;
static/concarneau/_custom.scss
449 449
}
450 450

  
451 451
/* ajustements petits écrans (mobiles) */
452
@media screen and (max-width: $mobile-limit) {
452
@media screen and ($max-mobile-viewport){
453 453

  
454 454
body #page {
455 455
    background: white;
static/coprec/_custom.scss
136 136
}
137 137

  
138 138
/* ajustements petits écrans (mobiles) */
139
@media screen and (max-width: $mobile-limit) {
139
@media screen and ($max-mobile-viewport){
140 140

  
141 141
	#header-wrapper {
142 142

  
static/malakoff/_custom.scss
389 389

  
390 390

  
391 391
/* ajustements petits écrans (mobiles) */
392
@media screen and (max-width: $mobile-limit) {
392
@media screen and ($max-mobile-viewport){
393 393

  
394 394
	#header-wrapper {
395 395

  
396
-