Parcourir la source

:art: tweaks to mobile menu pos | fixing z-index for tint | justifying embed top

tags/0.9.0
J il y a 4 ans
Parent
révision
241c8aba31

+ 2
- 2
vue-theme/src/components/hero.vue Voir le fichier

1
 <template lang="pug">
1
 <template lang="pug">
2
 .hero.w-max.f-col(v-if="showHero")
2
 .hero.w-max.f-col(v-if="showHero")
3
-    .tint
3
+    .tint.z-top.w-max
4
     .hero--video.w-max(v-if="heroType === 'video'")
4
     .hero--video.w-max(v-if="heroType === 'video'")
5
         iframe(
5
         iframe(
6
             v-if="isPlaying"
6
             v-if="isPlaying"
91
     min-height: 25vh
91
     min-height: 25vh
92
     position: relative
92
     position: relative
93
     overflow: hidden
93
     overflow: hidden
94
+    justify-content: flex-start
94
     .tint
95
     .tint
95
         position: absolute
96
         position: absolute
96
         height: 100%
97
         height: 100%
97
-        width: 100%
98
         background-color: #00000055
98
         background-color: #00000055
99
 
99
 
100
     &--image
100
     &--image

+ 3
- 5
vue-theme/src/components/navigation/navigation.vue Voir le fichier

101
         display: none
101
         display: none
102
         h1
102
         h1
103
             /* font-size: $ms-3  */
103
             /* font-size: $ms-3  */
104
-            margin: $ms--5 0  $ms--7
104
+            margin: $ms--5 0 $ms--7
105
             /* padding-top: $ms--7 */
105
             /* padding-top: $ms--7 */
106
         h5  
106
         h5  
107
             font-size: $ms--1
107
             font-size: $ms--1
134
                 cursor: pointer
134
                 cursor: pointer
135
                 &:checked + ul
135
                 &:checked + ul
136
                     display: block 
136
                     display: block 
137
-                    clear: both 
138
                     position: absolute
137
                     position: absolute
139
-                    right: $ms-0
140
-                    width: fit-content
138
+                    width: 100%
141
         ul
139
         ul
142
             /* background-color: $primary-dark */
140
             /* background-color: $primary-dark */
143
             background-color: $cia_grey
141
             background-color: $cia_grey
144
             display: none
142
             display: none
145
             padding: $ms--1 $ms-4 0 $ms--3
143
             padding: $ms--1 $ms-4 0 $ms--3
146
-            margin: $ms-0 0 0 0
144
+            margin: 1px 0 0 0
147
             box-shadow: lightgrey $ms--7 $ms--7 $ms--7
145
             box-shadow: lightgrey $ms--7 $ms--7 $ms--7
148
             li  
146
             li  
149
                 /* color: $primary-light */
147
                 /* color: $primary-light */

Chargement…
Annuler
Enregistrer