File tree Expand file tree Collapse file tree 3 files changed +51
-26
lines changed Expand file tree Collapse file tree 3 files changed +51
-26
lines changed Original file line number Diff line number Diff line change 1
1
<div >
2
2
<% if (hasBtsBanner) { % >
3
3
< a id= " bts" class = " bts-hidden" href= " https://vueschool.io/sales/back-to-school?friend=vuejs" target= " _blank" rel= " noreferrer" >
4
- < div class = " bts-backpack " >
5
- < img src= " /images/banners/bts-backpack .svg" >
4
+ < div class = " bts-logo " >
5
+ < img src= " /images/banners/bts-logo .svg" >
6
6
< / div>
7
- < div class = " bts-slogan" >
8
- < div class = " bts-title" >
9
- Master Vue .js with Vue School< span class = " bts-dot" > .< / span>
10
- < span class = " bts-title-offer" > 3 months only < span class = " bts-title-green" > $49! < / span> < span class = " bts-title-grey" > $75< / span>< / span>
7
+ < div class = " bts-main" >
8
+ < div class = " bts-backpack" >
9
+ < img src= " /images/banners/bts-backpack.svg" >
11
10
< / div>
12
- < div class = " bts-subtitle" >
13
- Offer expires 13th September 2020
11
+ < div class = " bts-slogan" >
12
+ < div class = " bts-title" >
13
+ Less than < span class = " bts-title-green" > 48 hours< / span> left for the Vue School offer
14
+ < / div>
15
+ < / div>
16
+ < div>
17
+ < div class = " bts-button" > GET ACCESS < / div>
14
18
< / div>
15
- < / div>
16
- < div>
17
- < div class = " bts-button" > GET 30 % OFF < / div>
18
19
< / div>
19
20
< div id= " bts-close" class = " bts-close" >
20
21
& times;
Original file line number Diff line number Diff line change @@ -44,21 +44,32 @@ body.has-bts-banner
44
44
background-image : url (../images /banners /bts-mobile .svg )
45
45
display : flex
46
46
align-items : center
47
+ justify-content : space-between
47
48
padding : 0 0 0 50px
48
49
& .bts-hidden
49
50
display : none
50
51
@media (min-width : 680px )
51
- justify-content : center
52
52
background-image : url (../images /banners /bts-tablet .svg )
53
- padding : 0 20 px 0 40 px
53
+ padding : 0 10 px 0 50 px
54
54
@media (min-width : 900px )
55
+ justify-content : space-between
56
+ padding : 0 20px 0 40px
55
57
background-image : url (../images /banners /bts-desktop .svg )
56
58
background-position : top right
57
59
& :hover
58
60
.bts-button
59
61
background-color : #38 a1 f3
60
62
@media (min-width : 1600px )
61
63
background-position : top right
64
+ .bts-logo
65
+ display : none
66
+ @media (min-width : 900px )
67
+ display : inline-block
68
+ .bts-main
69
+ display : flex
70
+ justify-content : center
71
+ align-items : center
72
+ flex : 1 1 0%
62
73
.bts-backpack
63
74
img
64
75
display : inline-block
@@ -81,13 +92,12 @@ body.has-bts-banner
81
92
color : #F F F
82
93
font-size : 16px
83
94
font-weight : bold
84
- width : 253 px
95
+ width : 183 px
85
96
@media (min-width : 680px )
86
97
font-size : 17px
87
- width : auto
88
- margin-bottom : 8px
98
+ width : 380px
89
99
@media (min-width : 900px )
90
- margin-bottom : 0
100
+ width : auto
91
101
font-size : 22px
92
102
.bts-dot
93
103
display : none
@@ -102,12 +112,6 @@ body.has-bts-banner
102
112
text-decoration : line-through
103
113
.bts-title-green
104
114
color : #1f db 69
105
- .bts-subtitle
106
- display : none
107
- @media (min-width : 680px )
108
- color : #c5 c2 f4
109
- font-size : 16px
110
- display : inline-block
111
115
.bts-button
112
116
color : #f f f
113
117
background-color : #66 7d ff
@@ -123,9 +127,7 @@ body.has-bts-banner
123
127
.bts-close
124
128
color : #f f f ;
125
129
font-size : 28px
126
- position : absolute
127
- z-index : 9999
128
- right : 10px
130
+ margin-right : 10px
129
131
line-height : 1
130
132
& :hover
131
133
color : #56 D8 FF
You can’t perform that action at this time.
0 commit comments