forked from phcode-dev/staging.phcode.dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathExtn-DisplayShortcuts.less
More file actions
120 lines (103 loc) · 3.14 KB
/
Extn-DisplayShortcuts.less
File metadata and controls
120 lines (103 loc) · 3.14 KB
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
/*
* Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*/
/* All selectors are descendents of #shortcuts to constrain styles to this extension */
#shortcuts-panel .resizable-content {
height: 175px;
overflow-x: auto;
overflow-y: scroll;
}
#phoenix-keyboard-shortcuts-table {
margin-bottom: 50px;
}
#shortcuts-panel table td {
line-height: 14px;
padding: 4px 10px;
}
.hide-third-column tr th:nth-child(3),
.hide-third-column tr td:nth-child(3) {
display: none;
}
.shortcut-cmd-id .fa-copy {
visibility: hidden;
}
.shortcut-cmd-id:hover .fa-copy {
visibility: visible;
}
#shortcuts-panel .shortcut-base { width: 9%; }
#shortcuts-panel .shortcut-binding { width: 12%; }
#shortcuts-panel .shortcut-cmd-id { width: 30%; }
#shortcuts-panel .shortcut-cmd-name { width: 27%; }
#shortcuts-panel .shortcut-orig { width: 22%; }
#shortcuts-panel thead th {
position: relative;
background-color: #c2c7c7;
padding: 0;
}
.dark #shortcuts-panel thead th {
background-color: #202020;
}
#shortcuts-panel thead th:before {
content: '.';
position: absolute;
top: 50%;
right: 5px;
width: 0;
height: 0;
overflow: hidden;
margin-top: -3px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
}
#shortcuts-panel thead th.sort-ascending:before {
border-top: 6px solid;
}
#shortcuts-panel thead th.sort-descending:before {
border-bottom: 6px solid;
}
#shortcuts-panel thead a {
position: relative;
display: block;
color: inherit;
padding: 4px 10px;
text-decoration: none;
cursor: pointer;
transition: background 200ms ease-out;
}
#shortcuts-panel thead a:hover {
background: rgba(0, 0, 0, 0.08);
}
.dark #shortcuts-panel thead a:hover {
background: rgba(255, 255, 255, 0.05);
}
#shortcuts-panel .toolbar {
display: flex;
justify-content: flex-end;
padding-right: 4px;
}
#shortcuts-panel .toolbar button.reset-to-default,
#shortcuts-panel .toolbar button.presetPicker,
#shortcuts-panel .toolbar .filter {
margin: 1px 8px 1px 6px;
padding-top: 2px;
padding-bottom: 2px;
}