-
Notifications
You must be signed in to change notification settings - Fork 4
/
dialpad.sass
235 lines (201 loc) · 5 KB
/
dialpad.sass
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
@import _define.sass
$font-size: 16px
// Your base font-size in pixels
$em: $font-size / 1em
body
font-family: sans-serif
.dialerwrapper
width: 280px
height: 350px
background:
color: #ccc
.numberEntry
width: 100%
height: 15%
text:
align: center
shadow: 1px 1px 0 #555
font:
size: ($font-size * 2)/$em
color: #fff
outline: 0
border: 0
background: #959595
background: -moz-linear-gradient(top, #959595 50%, #767676 50%, #565656 100%)
background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#959595), color-stop(50%,#767676), color-stop(100%,#565656))
background: -webkit-linear-gradient(top, #959595 50%,#767676 50%,#565656 100%)
background: -o-linear-gradient(top, #959595 50%,#767676 50%,#565656 100%)
background: -ms-linear-gradient(top, #959595 50%,#767676 50%,#565656 100%)
background: linear-gradient(top, #959595 50%,#767676 50%,#565656 100%)
padding: 0
margin: 0
border-top: 1px solid #777
&:focus
outline: 0
#dialpad
width: 100%
height: 100%
list-style: none
margin: 0
padding: 0
li
width: inherit
height: 21.25%
white-space: nowrap
font:
size: 0
margin: 0
padding: 0
button
display: inline-block
vertical-align: top
width: 33.3%
height: 100%
background: #eee
font:
size: $font-size
text:
align: center
outline: 0
border:
top: 1px solid #fff
right: 1px solid #fff
bottom: 1px solid #c7c7c7
left: 1px solid #c7c7c7
radius: 0
margin: 0
padding: 0
color: #555
vertical-align: middle
&:hover
background:
color: #cecece
p
width: 100%
display: inline-table
font:
size: ($font-size * 1.2)/$em
weight: 700
margin: 0
div
text:
transform: uppercase
font:
size: ($font-size * .6)/$em
#actions
nav
position: relative
a
width: 33.3%
.close_dialer
background:
color: #555
height: 25px
width: 100%
display: block
position: relative
.cancel
position: absolute
top: 4px
right: 10px
padding: 3px
line-height: 9px
display: block
color: #fff
border: 1px solid #fff
background:
color: #666
&:hover
color: #fff
background:
color: #BB0000
cursor: pointer
#screen
overflow: hidden
padding: 15px 15px 0 15px
z-index: 99
header
background-color: #555
header, footer
height: 40px
width: 100%
padding: 10px 0
display: block
nav
width: 100%
display: table
margin: 0 auto
border: 1px solid #222
border:
radius: 10px
a
display: table-cell
width: 50%
color: #eee
font-weight: 900
text:
decoration: none
align: center
shadow: 1px 1px 0 #222
letter-spacing: .3px
padding: 10px 0
border:
left: 1px solid #222
right: 1px solid #777
background: #888888
background: -moz-linear-gradient(top, #888888 0%, #555555 100%) repeat-x, #888
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#888888) repeat-x, color-stop(100%,#555555)), #888
background: -webkit-linear-gradient(top, #888888 0%,#555555 100%) repeat-x, #888
background: -o-linear-gradient(top, #888888 0%,#555555 100%) repeat-x, #888
background: -ms-linear-gradient(top, #888888 0%,#555555 100%) repeat-x, #888
background: linear-gradient(top, #888888 0%,#555555 100%) repeat-x, #888
-moz-transition: background 1s linear
-webkit-transition: all 0.3s linear 0
-moz-transition-property: all
-moz-transition-duration: 1s
-moz-transition-timing-function: linear
-moz-transition-delay: linear
&:first-child
border:
left: 0
top-left-radius: 10px
bottom-left-radius: 10px
&:last-child
margin: 0
border:
right: 0
top-right-radius: 10px
bottom-right-radius: 10px
&:hover
background-position: 0 15px
cursor: pointer
#login
#screen
padding: 0
margin: 0 10px 10px 10px
position: relative
&:after
content: ""
width: 280px
height: 1px
display: block
position: absolute
left: 1px
bottom: 0px
background: #ccc
z-index: 200000000
footer
display: none
.dialerContainer
.dialerwrapper
background-color: #fff
border-right: 1px solid #ccc
.numberEntry
border-left: 0px solid #ddd
margin-left: 1px
margin-right: 2px
padding-top: 3px
border-top: 1px solid #ddd
+gradient(#eee, #ddd)
color: #555
+text_shadow(#fff, 0, 1px, 0)