mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
refactor: move cheatsheet to global components
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
c94db0c1ff
commit
fa819c290a
39 changed files with 74 additions and 74 deletions
39
frontend/src/components/cheatsheet/cheatsheet.module.scss
Normal file
39
frontend/src/components/cheatsheet/cheatsheet.module.scss
Normal 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue