mirror of
https://github.com/ApfelTeeSaft/LiveSplitOne.git
synced 2026-08-29 03:43:26 +00:00
We didn't have Prettier until now, so this adds a configuration and reformats everything with it.
106 lines
2.1 KiB
SCSS
106 lines
2.1 KiB
SCSS
@use "sass:math";
|
|
|
|
@use "Toggle";
|
|
@use "variables.icss";
|
|
|
|
$h1-font-size: 24px;
|
|
$h2-font-size: 22px;
|
|
|
|
.sidebar-overlay {
|
|
z-index: 3 !important;
|
|
}
|
|
|
|
.sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: variables.$ui-margin;
|
|
background: variables.$sidebar-background-color;
|
|
padding: variables.$ui-margin;
|
|
width: 250px;
|
|
z-index: 4 !important;
|
|
|
|
@include Toggle.toggle;
|
|
|
|
> div > div.small {
|
|
display: flex;
|
|
|
|
> button {
|
|
width: 50%;
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
.sidebar-buttons {
|
|
display: contents;
|
|
hr {
|
|
border-color: variables.$border-color;
|
|
margin: variables.$ui-margin 0;
|
|
|
|
&.livesplit-title-separator {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
h1,
|
|
h2 {
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: $h1-font-size;
|
|
margin-top: variables.$ui-large-margin;
|
|
}
|
|
|
|
h2 {
|
|
font-size: $h2-font-size;
|
|
}
|
|
|
|
button {
|
|
width: 100%;
|
|
}
|
|
|
|
.livesplit-title {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: variables.$ui-margin;
|
|
margin-top: variables.$ui-margin;
|
|
|
|
h1 {
|
|
margin: 0;
|
|
}
|
|
|
|
.livesplit-icon {
|
|
height: 40px;
|
|
|
|
img {
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.modified-icon {
|
|
position: absolute;
|
|
padding-bottom: 10px;
|
|
padding-left: 5px;
|
|
}
|
|
}
|
|
|
|
.choose-comparison {
|
|
padding: 0 6px 0 6px;
|
|
width: 100%;
|
|
height: 40px;
|
|
appearance: none;
|
|
background: variables.$button-middle-color;
|
|
border: 1px solid variables.$border-color;
|
|
border-radius: 5px;
|
|
color: white;
|
|
cursor: pointer;
|
|
font-family: "fira", sans-serif;
|
|
font-size: 20px;
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|