wabbajack/Wabbajack.App.Blazor/Pages/Configure.razor.scss

164 lines
3.3 KiB
SCSS
Raw Normal View History

@import "../Shared/Globals.scss";
$checkbox-background: rgba(255, 255, 255, 0.2);
$checkbox-background-hover: darkgrey;
$checkbox-background-checked: $accent-color;
$checkbox-size: 0.75rem;
2022-01-15 06:29:44 +00:00
@mixin path-span {
display: block;
height: 2rem;
padding: 0.25rem;
margin: 0.25rem;
white-space: pre;
cursor: pointer;
text-overflow: ellipsis;
overflow: hidden;
2022-01-15 06:29:44 +00:00
}
#content {
display: flex;
height: 100%;
align-content: center;
justify-content: space-around;
align-items: center;
color: white;
2022-01-15 06:29:44 +00:00
flex-direction: column;
.install-background {
position: absolute;
width: calc(100% - #{$sidebar-width});
height: calc(100% - #{$header-height});
filter: blur(25px) brightness(50%);
z-index: -1;
img {
width: 100%;
height: 100%;
object-fit: cover;
}
}
2022-01-15 06:29:44 +00:00
.list {
display: flex;
flex: 1;
overflow: hidden;
align-items: center;
.left-side, .right-side {
flex: 1;
}
2022-01-15 06:29:44 +00:00
}
.logger-container {
height: 200px;
width: 100%;
padding: 0.5rem;
background: rgb(0 0 0 / 20%);
color: lightgrey;
border: solid 1px black;
}
2022-01-15 06:29:44 +00:00
.settings {
font-size: 0.85rem;
2022-01-15 06:29:44 +00:00
display: flex;
align-items: center;
width: 100%;
padding: 1rem;
backdrop-filter: brightness(0.5);
2022-01-15 06:29:44 +00:00
.locations {
display: flex;
flex-direction: row;
flex: 1;
overflow: hidden;
2022-01-15 06:29:44 +00:00
.labels {
span {
@include path-span;
}
}
.paths {
flex: 1;
margin-left: 1rem;
overflow: hidden;
2022-01-15 06:29:44 +00:00
span {
@include path-span;
border: solid 1px rgba(255, 255, 255, 0.3);
2022-01-15 06:29:44 +00:00
}
}
}
2022-01-15 06:29:44 +00:00
.options {
display: flex;
flex-flow: row wrap;
flex-direction: column;
margin-left: 2rem;
.option {
position: relative;
display: block;
margin: 0.25rem;
padding-left: 2rem;
cursor: pointer;
user-select: none;
&:hover input ~ .checkmark {
background-color: $checkbox-background-hover;
}
input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
&:checked ~ .checkmark {
background-color: $checkbox-background-checked;
&:after {
display: block;
left: calc(0.5 * #{$checkbox-size});
top: calc(0.25 * #{$checkbox-size});
width: calc(0.25 * #{$checkbox-size});
height: calc(0.65 * #{$checkbox-size});
2022-01-15 06:29:44 +00:00
border: solid white;
border-width: 0 3px 3px 0;
transform: rotate(45deg);
}
}
}
.checkmark {
position: absolute;
top: 0;
left: 0;
height: calc(1.5 * #{$checkbox-size});
width: calc(1.5 * #{$checkbox-size});
2022-01-15 06:29:44 +00:00
background-color: $checkbox-background;
&:after {
content: "";
position: absolute;
display: none;
}
}
}
}
.install {
display: flex;
flex-direction: column;
align-items: center;
margin: 0.5rem;
cursor: pointer;
img {
width: 5rem;
height: 5rem;
}
}
}
}