/
global.styl
90 lines (81 loc) · 1.87 KB
/
global.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
@import "./variables"
@import "./transitions"
@font-face
font-family 'Material Icons'
font-style normal
font-weight 400
src url(./assets/MaterialIcons-Regular.woff2) format('woff2')
@font-face
font-family 'Roboto'
font-style normal
font-weight 400
src local('Roboto'), local('Roboto-Regular'), url(./assets/Roboto-Regular.woff2) format('woff2')
.material-icons
font-family 'Material Icons'
font-weight normal
font-style normal
font-size 22px
display inline-block
width 1em
height 1em
color #999
line-height 1
text-transform none
letter-spacing normal
word-wrap normal
white-space nowrap
direction ltr
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale
&.medium
transform scale(0.9)
&.small
transform scale(0.8)
.toggle-recording .material-icons
color #999 !important
&.enabled
color red !important
text-shadow 0 0 3px rgba(255, 0, 0, .4)
html, body
margin 0
padding 0
font-family Roboto
font-size 16px
color #444
*
box-sizing border-box
$arrow-color = #444
.arrow
display inline-block
width 0
height 0
&.up
border-left 4px solid transparent
border-right 4px solid transparent
border-bottom 6px solid $arrow-color
&.down
border-left 4px solid transparent
border-right 4px solid transparent
border-top 6px solid $arrow-color
&.right
border-top 4px solid transparent
border-bottom 4px solid transparent
border-left 6px solid $arrow-color
&.left
border-top 4px solid transparent
border-bottom 4px solid transparent
border-right 6px solid $arrow-color
.notice
display flex
align-items center
height 100%
width 100%
color #aaa
div
text-align center
padding 0.5em
margin 0 auto