forked from chieffancypants/angular-hotkeys
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhotkeys.css
More file actions
61 lines (54 loc) · 1007 Bytes
/
hotkeys.css
File metadata and controls
61 lines (54 loc) · 1007 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*!
* angular-hotkeys v0.0.1
* https://chieffancypants.github.io/angular-hotkeys
* Copyright (c) 2014 Wes Cruver
* License: MIT
*/
.cfp-hotkeys-container {
display: table;
position: fixed;
z-index: 1024;
width: 100%;
height: 100%;
top: 0;
left: 0;
transition: background-color .5s linear;
background-color: rgba(255,255,255,0.9);
color: #333;
}
.cfp-hotkeys h4 {
font-weight: bold;
text-align: center;
}
.cfp-hotkeys {
width: 100%;
height: 100%;
display: table-cell;
vertical-align: middle;
}
.cfp-hotkeys table {
margin: auto;
color: #333;
}
.cfp-content {
display: table-cell;
vertical-align: middle;
}
.cfp-hotkeys-keys {
padding: 5px;
text-align: right;
}
.cfp-hotkeys-key {
display: inline-block;
color: #fff;
background-color: #333;
border: 1px solid #333;
border-radius: 5px;
text-align: center;
margin-right: 5px;
box-shadow: inset 0 1px 0 #666, 0 1px 0 #bbb;
padding: 5px 9px;
}
.cfp-hotkeys-text {
padding-left: 10px;
}