keyboard shortcut help

This commit is contained in:
Robin Appelman 2024-12-01 00:35:08 +01:00
commit 11c43d5057
6 changed files with 97 additions and 15 deletions

View file

@ -23,20 +23,11 @@
}
& button.share-session {
background: transparent;
color: var(--primary-color);
padding-left: 32px;
height: 24px;
margin: 10px;
border: none;
cursor: pointer;
background-image: url("inline://images//link_white.svg");
background-size: contain;
background-repeat: no-repeat;
}
&:active, &:focus {
outline: none;
}
& button.help {
background-image: url("inline://images//help.svg");
}
& input.share-text {
@ -78,5 +69,46 @@
ul {
padding: 0;
margin: 0;
button {
color: var(--primary-color);
padding-left: 32px;
height: 24px;
margin: 10px;
border: none;
cursor: pointer;
background-size: 24px;
background: transparent no-repeat;
&:active, &:focus {
outline: none;
}
}
}
}
.solid-modal-content h4 {
margin-top: 0;
}
kbd {
background-color: #eee;
border-radius: 3px;
border: 1px solid #b4b4b4;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 2px 0 0 rgba(255, 255, 255, 0.7) inset;
color: #333;
display: inline-block;
font-size: 1.4em;
font-weight: 700;
line-height: 1;
padding: 2px 4px;
white-space: nowrap;
min-width: 1.5em;
text-align: center;
}
.shortcuts {
td:first-child {
text-align: center;
}
}