2021-05-27 15:45:36 +00:00
|
|
|
@use '_variables';
|
|
|
|
@use '_mixins';
|
2020-02-13 14:09:31 +00:00
|
|
|
|
2018-09-11 13:07:31 +00:00
|
|
|
.cfp-hotkeys-container {
|
2019-05-13 09:31:51 +00:00
|
|
|
display: flex !important;
|
|
|
|
align-items: center;
|
2018-09-11 13:07:31 +00:00
|
|
|
position: fixed;
|
|
|
|
overflow: auto;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
color: #333;
|
|
|
|
font-size: 1em;
|
2021-04-28 14:41:07 +00:00
|
|
|
background-color: rgba(255, 255, 255, 0.9);
|
2018-09-11 13:07:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.cfp-hotkeys-container.fade {
|
|
|
|
z-index: -1024;
|
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.15s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cfp-hotkeys-container.fade.in {
|
2020-02-13 14:09:31 +00:00
|
|
|
z-index: z(hotkeys);
|
2018-09-11 13:07:31 +00:00
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cfp-hotkeys-title {
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cfp-hotkeys {
|
|
|
|
width: 100%;
|
2019-05-13 09:31:51 +00:00
|
|
|
max-height: 100%;
|
2018-09-11 13:07:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.cfp-hotkeys table {
|
|
|
|
margin: auto;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cfp-content {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cfp-hotkeys-keys {
|
|
|
|
padding: 5px;
|
2021-06-07 15:38:31 +00:00
|
|
|
text-align: end;
|
2018-09-11 13:07:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.cfp-hotkeys-key {
|
2021-06-07 15:38:31 +00:00
|
|
|
@include margin-right(5px);
|
|
|
|
|
2018-09-11 13:07:31 +00:00
|
|
|
display: inline-block;
|
|
|
|
color: #fff;
|
|
|
|
background-color: #333;
|
|
|
|
border: 1px solid #333;
|
|
|
|
border-radius: 5px;
|
|
|
|
text-align: center;
|
|
|
|
box-shadow: inset 0 1px 0 #666, 0 1px 0 #bbb;
|
|
|
|
padding: 5px 9px;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cfp-hotkeys-text {
|
2021-06-07 15:38:31 +00:00
|
|
|
@include padding-left(10px);
|
2018-09-11 13:07:31 +00:00
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cfp-hotkeys-close {
|
|
|
|
position: fixed;
|
|
|
|
top: 20px;
|
|
|
|
right: 20px;
|
|
|
|
font-size: 2em;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 5px 10px;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-radius: 5px;
|
|
|
|
min-height: 45px;
|
|
|
|
min-width: 45px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cfp-hotkeys-close:hover {
|
|
|
|
background-color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2020-02-03 21:33:28 +00:00
|
|
|
@media all and (max-width: $mobile-view) {
|
2018-09-11 13:07:31 +00:00
|
|
|
.cfp-hotkeys {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media all and (min-width: 750px) {
|
|
|
|
.cfp-hotkeys {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
2019-05-13 09:31:51 +00:00
|
|
|
}
|