Bläddra i källkod

adjust tint z-index and hero & embedded min-height

tags/0.9.0
Alej 4 år sedan
förälder
incheckning
a9a0fc9a4f
1 ändrade filer med 5 tillägg och 3 borttagningar
  1. 5
    3
      vue-theme/src/components/hero.vue

+ 5
- 3
vue-theme/src/components/hero.vue Visa fil

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.z-top.w-max
3
+    //- .tint.z-top.w-max
4
+    .tint.w-max
4
     .hero--video.w-max(v-if="heroType === 'video'")
5
     .hero--video.w-max(v-if="heroType === 'video'")
5
         iframe(
6
         iframe(
6
             v-if="isPlaying"
7
             v-if="isPlaying"
96
         position: absolute
97
         position: absolute
97
         height: 100%
98
         height: 100%
98
         background-color: #00000055
99
         background-color: #00000055
100
+        z-index: 0
99
 
101
 
100
     &--image
102
     &--image
101
         &--overlay
103
         &--overlay
153
             border-width: 1.5em 0 1.5em 2.5em
155
             border-width: 1.5em 0 1.5em 2.5em
154
 
156
 
155
     .hero 
157
     .hero 
156
-        min-height: 70vh
158
+        min-height: 50vh
157
         .embedded
159
         .embedded
158
-            min-height: 70vh
160
+            min-height: 50vh
159
     
161
     
160
 </style>
162
 </style>

Laddar…
Avbryt
Spara