-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathstyle.styl
153 lines (123 loc) · 2.57 KB
/
style.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
$accent = #FF7E50
$thumb-bg = lighten($accent, 40%)
$station-label = #424242
$playlist-selector = #90989c
$button-color = #565d64
@import "buttons"
*
-webkit-font-smoothing antialiased
box-sizing border-box
body
font-family "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif
font-size 16px
opacity 0
.widget
width 280px
@media (max-width: 600px)
width 100%
.player-wrapper
display flex
border-radius 2.5px
margin-bottom 10px
border 1px solid #ddd
.plyr
min-width auto
flex-grow 1
.controls
display flex
padding 10px
background #fff
.btn-cast
padding 4px
--disconnected-color $button-color
--connected-color $accent
&:hover
--disconnected-color #fff
--connected-color #fff
// Hide google cast button if casting is not available
&:not([style])
width 0
padding 0
.btn-popup
display none
@media (min-width: 768px)
display block
.plyr--audio .plyr
&__controls
border none
&__volume
max-width unset
margin-left 5px
&__controls button:hover
background $accent
&__volume input[type=range]
color $accent
.choices__list
&.choices__list--single
font-weight bold
color $station-label
&--dropdown .choices__item
padding 8px 10px
box($border = 1px solid #ddd, $border-radius = 2.5px)
width 100%
border $border
border-radius $border-radius
.stream-info
box()
margin-top -14px
margin-bottom 10px
padding 5px 10px
font-size 14px
line-height 18px
.field
display flex
.label
min-width 90px
font-weight 500
color lighten($station-label, 20%)
user-select none
input
flex-grow 1
color lighten($station-label, 10%)
margin-left 10px
border none
background none
font-size 12px
line-height inherit
&:focus
outline none
.playlist
$border-radius = 2.5px
box($border-radius: $border-radius)
display flex
line-height 38px
user-select none
.icon
margin -1px
margin-right 0
border 1px solid $playlist-selector
border-radius $border-radius 0 0 $border-radius
background $playlist-selector
color #fff
padding 0 10px
.icon i.material-icons
display inline-block
line-height inherit
vertical-align top
.buttons
display flex
flex-grow 1
a
display inline-block
flex-grow 1
padding 0 8px
min-width 50px
text-align center
vertical-align top
text-decoration none
color darken($button-color, 15%)
transition all .3s ease
a:not(:last-child)
border-right $border
a:hover
background #f2f2f2