This repository has been archived by the owner on Feb 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
md-timepicker.css
77 lines (75 loc) · 1.65 KB
/
md-timepicker.css
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
/* To ensure your styling works under the Shadow DOM polyfill, see
www.polymer-project.org/docs/polymer/styling.html#directives */
:host {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#card {
height: 400px;
width: 250px;
margin: 20px auto;
font-family: 'RobotoDraft', 'Helvetica Neue', Helvetica, sans-serif;
color: rgba(0,0,0,0.54);
background-color: white;
}
#display {
box-sizing: border-box;
height: 120px;
padding: 24px;
color: white;
font-size: 46px;
font-weight: 100;
}
#display .digit{
padding: 5px;
-webkit-transition: .5s cubic-bezier(1,-1.2,0.2,2);
-moz-transition: .5s cubic-bezier(1,-1.2,0.2,2);
-o-transition: .5s cubic-bezier(1,-1.2,0.2,2);
transition: .5s cubic-bezier(1,-1.2,0.2,2);
}
#display .digit[active]{
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
-o-transform: scale(1.2);
-ms-transform: scale(1.2);
transform: scale(1.2);
}
#keypad{
box-sizing: border-box;
font-size: 42px;
font-weight: 300;
}
#keypad .digit{
flex: 1 0 63px;
/* shorthand for
flex-grow: 1;
flex-shrink: 0;
flex-basis: 63px;*/
}
#keypad .digit[disabled]{
color: rgba(0,0,0,0.12);
}
/* second child because <template></template> comes before */
#keypad .digit:nth-child(2){
/* we put the 0 at the bottom */
order: 10;
}
.digit{
border-radius: 50%;
position: relative;
text-align: center;
}
#button_bar{
font-size: 14px;
}
#done_button{
color: #4285f4;
}
#done_button,
#clear_button{
margin: 5px;
}