|
4 | 4 |
|
5 | 5 | .vueschool-banner
|
6 | 6 | display none
|
7 |
| - background #4fc08d |
8 |
| - background-image linear-gradient(to right, #35495E, #35495E 50%, #4fc08d 50%) |
| 7 | + background #0d0751 |
9 | 8 | overflow hidden
|
10 | 9 | position relative
|
11 |
| - |
12 |
| - &:before |
13 |
| - content '' |
14 |
| - background #35495E |
15 |
| - background-image linear-gradient(to right, #4fc08d, #4fc08d 80%, #35495E 100%) |
16 |
| - position absolute |
17 |
| - top 0 |
18 |
| - bottom 0 |
19 |
| - left 0 |
20 |
| - width 0 |
21 |
| - transition width .15s ease-out .1s |
| 10 | + background-image: url(/images/vueschool_banner_background.jpg); |
| 11 | + background-size: cover; |
| 12 | + background-repeat: no-repeat; |
| 13 | + background-position: center; |
22 | 14 |
|
23 | 15 | &:hover
|
24 | 16 | &:before
|
25 | 17 | transition width .15s ease-in
|
26 | 18 | width 50%
|
27 | 19 | p
|
28 | 20 | transition-delay 0
|
29 |
| - color #fff |
30 | 21 |
|
31 |
| - .vueschool-banner--wrapper::before |
32 |
| - width 100vw |
33 |
| - transition width .15s ease-in .10s |
34 | 22 |
|
35 | 23 | a
|
36 | 24 | display flex
|
|
41 | 29 | display none
|
42 | 30 |
|
43 | 31 | .vueschool-banner--wrapper
|
| 32 | + color: #FFF |
44 | 33 | display flex
|
45 | 34 | height 100%
|
46 | 35 | align-items center
|
47 |
| - background #4fc08d |
| 36 | + background #0d0751 |
48 | 37 | margin-left -50px
|
49 | 38 | padding-left 50px
|
50 | 39 | position relative
|
51 | 40 |
|
52 |
| - &:before |
53 |
| - content '' |
54 |
| - pointer-events none |
55 |
| - background #35495E |
56 |
| - background-image linear-gradient(to right, #35495E, #35495E 80%, #4fc08d 100%) |
57 |
| - position absolute |
58 |
| - top 0 |
59 |
| - bottom 0 |
60 |
| - left 0 |
61 |
| - width 0 |
62 |
| - transition width .15s ease-out |
63 | 41 |
|
64 | 42 | &:hover
|
65 | 43 | + .vueschool-banner--close
|
66 | 44 | &:before,
|
67 | 45 | &:after
|
68 | 46 | transform-origin 100%
|
| 47 | + background #fff |
69 | 48 |
|
70 | 49 | p
|
71 | 50 | margin -3px 50px 0 20px
|
72 | 51 | font-size 1.17rem
|
73 | 52 | font-weight 600
|
74 |
| - color #2c3e50 |
75 | 53 | position relative
|
76 | 54 | transition-delay .15s
|
77 | 55 |
|
|
80 | 58 | display block
|
81 | 59 | color #fff
|
82 | 60 |
|
| 61 | + button |
| 62 | + cursor pointer |
| 63 | + font-weight 600 |
| 64 | + text-transform uppercase |
| 65 | + padding 16px 32px |
| 66 | + border-radius 32px |
| 67 | + background #ff49c6 |
| 68 | + border none |
| 69 | + color #FFF |
| 70 | + font-size 16px |
| 71 | + margin: 0 auto |
| 72 | + |
| 73 | + &:hover |
| 74 | + color white |
| 75 | + |
| 76 | + |
83 | 77 | .vueschool-banner--logo
|
84 |
| - height 102% |
85 |
| - margin-top: -1px |
86 |
| - margin-left 125px |
87 | 78 | position relative
|
88 | 79 | z-index 2
|
89 | 80 |
|
|
141 | 132 | #main.fix-sidebar .sidebar .sidebar-inner
|
142 | 133 | padding-top 110px
|
143 | 134 |
|
| 135 | + #sidebar-sponsors-platinum-right |
| 136 | + position absolute |
| 137 | + top: 170px; |
| 138 | + |
144 | 139 | @media screen and (min-width: 415px) and (max-width: 900px)
|
145 | 140 | .vueschool-weekend-promo.docs:not(.vueschool-menu-fixed)
|
146 |
| - #main.fix-sidebar .sidebar .sidebar-inner |
147 |
| - padding-top 140px |
| 141 | + #main.fix-sidebar .sidebar .sidebar-inner |
| 142 | + padding-top 140px |
148 | 143 |
|
149 |
| - #sidebar-sponsors-platinum-right |
150 |
| - position absolute |
151 |
| - top: 170px; |
| 144 | + #sidebar-sponsors-platinum-right |
| 145 | + position absolute |
| 146 | + top: 170px; |
152 | 147 |
|
153 |
| - &.vueschool-menu-fixed.docs |
154 |
| - .vueschool-banner |
155 |
| - margin-bottom 0 |
| 148 | + &.vueschool-menu-fixed.docs |
| 149 | + .vueschool-banner |
| 150 | + margin-bottom 0 |
| 151 | + |
| 152 | + .vueschool-banner |
| 153 | + button |
| 154 | + display none |
156 | 155 |
|
157 | 156 | @media screen and (max-width: 414px)
|
158 | 157 | // Docs menu
|
159 | 158 | .vueschool-weekend-promo.docs:not(.vueschool-menu-fixed)
|
160 | 159 | #main.fix-sidebar .sidebar .sidebar-inner
|
161 |
| - padding-top 100px |
| 160 | + padding-top 100px |
162 | 161 |
|
163 | 162 | .vueschool-banner
|
164 | 163 | .vueschool-banner--logo
|
|
182 | 181 |
|
183 | 182 | p, span
|
184 | 183 | font-size .8rem
|
185 |
| - color #fff |
186 | 184 |
|
187 | 185 | .vueschool-banner--close
|
188 | 186 | top 0px
|
|
201 | 199 | max-width 200px
|
202 | 200 | span
|
203 | 201 | display none
|
| 202 | + button |
| 203 | + display none |
204 | 204 |
|
205 | 205 | @media screen and (max-width 286px)
|
206 | 206 | .vueschool-banner p
|
|
0 commit comments