hedgedoc/frontend/src/components/cheatsheet/cheatsheet.module.scss
Erik Michelson fa819c290a refactor: move cheatsheet to global components
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-07-02 17:54:23 +02:00

39 lines
717 B
SCSS

/*!
* 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);
}