forked from olton/metroui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkeypad.less
More file actions
43 lines (38 loc) · 893 Bytes
/
keypad.less
File metadata and controls
43 lines (38 loc) · 893 Bytes
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
@import (once) "variables";
@import (once) "utils";
@keySize: 32px;
@keyMargin: 1px;
@keyBorder: 1px;
.keypad {
position: relative;
width: @keySize * 3 + @keyMargin * 8 + @keyBorder * 2;
padding: @keyMargin;
border: 1px @grayLighter solid;
vertical-align: middle;
background-color: @white;
.clear-float;
.no-user-select;
.key {
width: @keySize;
height: @keySize;
display: block;
float: left;
margin: @keyMargin;
border: 1px @grayLighter solid;
vertical-align: middle;
text-align: center;
cursor: pointer;
font-size: .875rem;
line-height: @keySize;
&:hover {
background-color: @grayLighter;
}
&:active {
background-color: @gray;
color: @white;
}
}
&.shadow {
.block-shadow;
}
}