Projet

Général

Profil

0001-nav.scss-improve-the-working-and-display-of-navigati.patch

Thomas Jund, 06 janvier 2020 17:49

Télécharger (1,81 ko)

Voir les différences:

Subject: [PATCH] nav.scss: improve the working and display of navigation when
 page image is on (#38184)

 static/includes/_nav.scss | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
static/includes/_nav.scss
68 68
	margin: 10px auto;
69 69
	height: $nav-height;
70 70
	border-radius: $border-radius;
71
	position: relative;
72
	z-index: 1000;
71 73
}
72 74

  
73 75
div.gru-nav > ul {
76
	margin-top: 1em;
77
	margin-bottom: 1em;
74 78
	border-color: $nav-border-color;
75 79
	height: $nav-height;
76 80
	padding: 0;
......
136 140
	display: none;
137 141
	position: absolute;
138 142
	background: $nav-submenu-background;
139
	z-index: 1000;
140 143
	min-width: 10em;
141 144
	list-style: none;
142 145
	padding: 0;
......
194 197
		}
195 198
	}
196 199

  
197
	.gru-nav-wrapper {
198
		margin-top: -$nav-menu-side - 10px;
199
	}
200

  
201 200
	div.gru-nav {
202 201
		height: auto;
203 202
		@if $responsive-menu == left-to-right {
......
228 227
	div.gru-nav .gru-nav-button {
229 228
		display: block;
230 229
		z-index: 200;
231
		position: relative;
230
		position: absolute;
232 231
		width: $nav-menu-side+2px;
233 232
		height: $nav-menu-side;
234 233
		padding: 0;
......
237 236
		@include vendor-prefix('transition', 'all 0.25s ease');
238 237
		@if $responsive-menu == top-to-bottom {
239 238
			margin-left: 10px;
239
			bottom: 100%;
240 240
		} @else {
241 241
			position: absolute;
242 242
			top: 5px;
......
484 484
		background-position: center center;
485 485
		background-repeat: no-repeat;
486 486
		background-size: cover;
487
		position: relative;
488
		top: -0.5rem;
487
		margin-bottom: 0.5rem;
489 488
	}
490 489
}
491
-