|
|
@@ -10,7 +10,8 @@
|
|
10
|
10
|
.blank.f-col(v-else)
|
|
11
|
11
|
h3(v-if="heroText") {{ heroText }}
|
|
12
|
12
|
img.w-max(:src="getThumbnailFromYt(showHero)" alt="hero alt image")
|
|
13
|
|
- button(v-if="showPlaybutton" @click="isPlaying = true") play
|
|
|
13
|
+ //- button(v-if="showPlaybutton" @click="isPlaying = true") play
|
|
|
14
|
+ button(v-if="showPlaybutton" @click="isPlaying = true")
|
|
14
|
15
|
.hero--image.w-max(v-else-if="heroType === 'image'")
|
|
15
|
16
|
.hero--image--overlay.w-max.f-col
|
|
16
|
17
|
h2.t-up.t-cntr(v-html="heroText")
|
|
|
@@ -107,9 +108,31 @@ export default {
|
|
107
|
108
|
.blank
|
|
108
|
109
|
button
|
|
109
|
110
|
position: absolute
|
|
110
|
|
- /* height: 7vw */
|
|
111
|
|
- /* width: 10vw */
|
|
112
|
|
- height: 7vw
|
|
113
|
|
- width: 10vw
|
|
114
|
|
- border-radius: 1.5vw
|
|
|
111
|
+ height: $ms-8
|
|
|
112
|
+ width: $ms-8
|
|
|
113
|
+ background-color: rgba(170,17,0,0.4)
|
|
|
114
|
+ border-radius: 50%
|
|
|
115
|
+ border-width: 3px
|
|
|
116
|
+ border-color: white
|
|
|
117
|
+ border-style: solid
|
|
|
118
|
+ &:after
|
|
|
119
|
+ content: ""
|
|
|
120
|
+ position: absolute
|
|
|
121
|
+ top: 20%
|
|
|
122
|
+ left: 30%
|
|
|
123
|
+ border-style: solid
|
|
|
124
|
+ border-width: 1.2em 0 1.2em 2.1em
|
|
|
125
|
+ border-color: transparent transparent transparent white
|
|
|
126
|
+
|
|
|
127
|
+ @media (min-width: $medium)
|
|
|
128
|
+ button
|
|
|
129
|
+ height: $ms-9
|
|
|
130
|
+ width: $ms-9
|
|
|
131
|
+ border-width: 4px
|
|
|
132
|
+
|
|
|
133
|
+ &:after
|
|
|
134
|
+ top: 18%
|
|
|
135
|
+ left: 30%
|
|
|
136
|
+ border-width: 1.5em 0 1.5em 2.5em
|
|
|
137
|
+
|
|
115
|
138
|
</style>
|