waveterm/frontend/app/element/quicktips.scss
Evan Simkowitz 0145e8fe99
Fix SCSS formatting after migration (#1382)
The migration tool we used didn't take into account our formatting
standards so I'm bulk-formatting the SCSS files to bring them back up to
our standards. Basically this just changes the tab size for all the
files.
2024-12-04 12:49:44 -08:00

87 lines
1.8 KiB
SCSS

// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
.tips-wrapper {
display: flex;
flex-direction: row;
justify-content: center;
width: 100%;
.tips-section {
display: flex;
flex-direction: column;
flex-grow: 1;
gap: 5px;
.tip-section-header {
font-weight: bold;
margin-bottom: 5px;
margin-top: 10px;
font-size: 16px;
&:first-child {
margin-top: 0;
}
}
.tip {
display: flex;
flex-direction: row;
align-items: center;
code {
padding: 0.1em 0.4em;
background-color: var(--highlight-bg-color);
}
.keybinding-group {
display: flex;
flex-direction: row;
align-items: center;
margin-left: 5px;
margin-right: 5px;
align-self: flex-start;
&:first-child {
margin-left: 0;
}
}
.keybinding {
display: inline-block;
padding: 0.1em 0.4em;
margin: 0 0.1em;
font: var(--fixed-font);
font-size: 0.85em;
color: var(--keybinding-color);
background-color: var(--highlight-bg-color);
border-radius: 4px;
border: 1px solid var(--keybinding-border-color);
box-shadow: none;
white-space: nowrap;
}
.icon-wrap {
background-color: var(--highlight-bg-color);
padding: 2px;
color: var(--secondary-text-color);
font-size: 12px;
border-radius: 2px;
margin-right: 5px;
align-self: flex-start;
svg {
position: relative;
top: 3px;
left: 1px;
height: 13px;
#arrow1,
#arrow2 {
fill: var(--main-text-color);
}
}
}
}
}
}