Projet

Général

Profil

0001-scss-adapt-dedicated-burger-button-space-according-t.patch

Thomas Jund (congés, retour le 29/04), 19 novembre 2020 11:30

Télécharger (1,75 ko)

Voir les différences:

Subject: [PATCH] scss: adapt dedicated burger button space according to its
 size (#48673)

 static/includes/_layout.scss |  6 ------
 static/includes/_nav.scss    | 11 ++++++++---
 2 files changed, 8 insertions(+), 9 deletions(-)
static/includes/_layout.scss
58 58
	& h1 {
59 59
		margin: 0;
60 60
	}
61
	@media screen and ($max-mobile-viewport) {
62
		& h1 {
63
			padding-left: 70px;
64
			background-position: 70px;
65
		}
66
	}
67 61
}
68 62

  
69 63
div#main-content-wrapper {
static/includes/_nav.scss
195 195
			border-left: 4px solid $nav-border-color;
196 196
		}
197 197
	}
198
	// Dedicated burger button space on left on header title
199
	#header h1 {
200
		padding-left: calc(#{$nav-menu-side} + 20px);
201
		background-position: calc(#{$nav-menu-side} + 20px);
202
	}
198 203

  
199 204
	.gru-nav-wrapper {
200
		margin-top: -$nav-menu-side - 10px;
205
		margin-top: calc(-1 * (#{$nav-menu-side} + 10px));
201 206
	}
202 207

  
203 208
	div.gru-nav {
......
231 236
		display: block;
232 237
		z-index: 200;
233 238
		position: relative;
234
		width: $nav-menu-side+2px;
239
		width: calc(#{$nav-menu-side} + 2px);
235 240
		height: $nav-menu-side;
236 241
		padding: 0;
237 242
		margin: 0;
......
285 290
				top: 0px;
286 291
				left: 0;
287 292
				z-index: 100;
288
				padding-top: 20px+$nav-menu-side;
293
				padding-top: calc(20px + #{$nav-menu-side});
289 294
			}
290 295
			& li {
291 296
				display: block;
292
-