Projet

Général

Profil

0001-themes-carrousel-use-mobile-limit-to-display-arrows-.patch

Thomas Jund, 01 mars 2021 14:47

Télécharger (2,03 ko)

Voir les différences:

Subject: [PATCH] themes: carrousel: use $mobile-limit to display arrows 
 (#44211)

instead $nav-mobile-limit
 static/includes/_carrousel.scss       | 4 ++--
 static/metz-metropole-2019/_vars.scss | 1 +
 static/villeneuve-dascq/_custom.scss  | 3 ---
 3 files changed, 3 insertions(+), 5 deletions(-)
static/includes/_carrousel.scss
73 73
						padding: 1rem;
74 74
						margin-left: 6rem;
75 75
						margin-right: 6rem;
76
						@media screen and (max-width: $nav-mobile-limit) {
76
						@media screen and ($max-mobile-viewport) {
77 77
							margin-left: 2rem;
78 78
							margin-right: 2rem;
79 79
						}
......
155 155
				content: "\f054";  // chevron-right;
156 156
			}
157 157
		}
158
		@media screen and (max-width: $nav-mobile-limit) {
158
		@media screen and ($max-mobile-viewport) {
159 159
			display: none;
160 160
		}
161 161
	}
static/metz-metropole-2019/_vars.scss
60 60
$carrousel-height: 170px;
61 61
$carrousel-navigation-bullet-size: 14px;
62 62
$carrousel-navigation-bullet-color: $darkblue;
63
$carrousel-arrows: false;
63 64

  
64 65
$notification_error_color: #fdefee;
65 66
$widget-custom-radio-checkbox: true;
static/villeneuve-dascq/_custom.scss
263 263
	$btn-size: 50px;
264 264
	a.carrousel-next,
265 265
	a.carrousel-previous {
266
		@media ($min-desktop-viewport) {
267
			display: block;
268
		}
269 266
		width: $btn-size;
270 267
		height: $btn-size;
271 268
		border: 5px solid;
272
-