refactor: move cheatsheet to global components

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson 2023-06-29 21:25:10 +02:00
parent c94db0c1ff
commit fa819c290a
39 changed files with 74 additions and 74 deletions

View file

@ -0,0 +1,39 @@
/*!
* SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
.table-cheatsheet > tr > td {
vertical-align: middle !important;
}
.sticky {
position: sticky;
top: 1rem;
bottom: 1rem;
}
.sidebar {
display: flex;
flex-direction: column;
gap: 1rem;
}
.innerBtn {
position: absolute;
font-weight: 550;
border: none;
background-color: transparent;
align-self: center;
left: calc(100% - 30px);
z-index: 99999;
border-radius: var(--bs-border-radius);
filter: var(--bs-btn-close-white-filter);
}
.innerBtn:hover {
color: var(--bs-btn-close-color);
text-decoration: none;
opacity: var(--bs-btn-close-hover-opacity);
}