]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/core/hotkeys/hotkeys.component.scss
Extend build commands
[github/Chocobozzz/PeerTube.git] / client / src / app / core / hotkeys / hotkeys.component.scss
CommitLineData
7aba23d1 1.cfp-hotkeys-container {
187a00f0
C
2 display: flex !important;
3 align-items: center;
7aba23d1
RK
4 position: fixed;
5 overflow: auto;
6 width: 100%;
7 height: 100%;
8 top: 0;
9 left: 0;
10 color: #333;
11 font-size: 1em;
12 background-color: rgba(255,255,255,0.9);
13}
14
15.cfp-hotkeys-container.fade {
16 z-index: -1024;
17 visibility: hidden;
18 opacity: 0;
19 -webkit-transition: opacity 0.15s linear;
20 -moz-transition: opacity 0.15s linear;
21 -o-transition: opacity 0.15s linear;
22 transition: opacity 0.15s linear;
23}
24
25.cfp-hotkeys-container.fade.in {
26 z-index: 10002;
27 visibility: visible;
28 opacity: 1;
29}
30
31.cfp-hotkeys-title {
32 font-weight: bold;
33 text-align: center;
34 font-size: 1.2em;
35}
36
37.cfp-hotkeys {
38 width: 100%;
187a00f0 39 max-height: 100%;
7aba23d1
RK
40}
41
42.cfp-hotkeys table {
43 margin: auto;
44 color: #333;
45}
46
47.cfp-content {
48 display: table-cell;
49 vertical-align: middle;
50}
51
52.cfp-hotkeys-keys {
53 padding: 5px;
54 text-align: right;
55}
56
57.cfp-hotkeys-key {
58 display: inline-block;
59 color: #fff;
60 background-color: #333;
61 border: 1px solid #333;
62 border-radius: 5px;
63 text-align: center;
64 margin-right: 5px;
65 box-shadow: inset 0 1px 0 #666, 0 1px 0 #bbb;
66 padding: 5px 9px;
67 font-size: 1em;
68}
69
70.cfp-hotkeys-text {
71 padding-left: 10px;
72 font-size: 1em;
73}
74
75.cfp-hotkeys-close {
76 position: fixed;
77 top: 20px;
78 right: 20px;
79 font-size: 2em;
80 font-weight: bold;
81 padding: 5px 10px;
82 border: 1px solid #ddd;
83 border-radius: 5px;
84 min-height: 45px;
85 min-width: 45px;
86 text-align: center;
87}
88
89.cfp-hotkeys-close:hover {
90 background-color: #fff;
91 cursor: pointer;
92}
93
94@media all and (max-width: 500px) {
95 .cfp-hotkeys {
96 font-size: 0.8em;
97 }
98}
99
100@media all and (min-width: 750px) {
101 .cfp-hotkeys {
102 font-size: 1.2em;
103 }
187a00f0 104}