208 lines
3.2 KiB
SCSS
208 lines
3.2 KiB
SCSS
@import './_variables.scss';
|
|
|
|
div, p, span {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.warning-box {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
border: 1px solid $warning-color;
|
|
color: $warning-color;
|
|
margin: 0px 16px;
|
|
padding: 16px;
|
|
|
|
font-size: 16;
|
|
|
|
border-radius: 2px;
|
|
|
|
*:not(:first-child) {
|
|
margin-left: 24px;
|
|
}
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
font-family: 'Overpass' !important;
|
|
font-weight: 100 !important;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
button, .button {
|
|
background-color: rgba($blackBg, $normalTransparentOpacity);
|
|
|
|
padding: 0.5rem 2rem;
|
|
margin: 3px;
|
|
|
|
color: #aaa;
|
|
border: 1px solid transparent;
|
|
user-select: none !important;
|
|
|
|
&:hover {
|
|
color: #fff;
|
|
background-color: rgba($blackBg, $hoverTransparentOpacity);
|
|
border-bottom: 1px solid rgba($primary, 0.5);
|
|
}
|
|
|
|
&.active {
|
|
color: $primary;
|
|
background-color: $primaryBg;
|
|
border-color: rgba($primary, .5);
|
|
}
|
|
|
|
&.danger {
|
|
background-color: #ff2211 !important;
|
|
color:#000;
|
|
}
|
|
}
|
|
.b3 {
|
|
margin: 0.25rem;
|
|
padding: 0.5rem 2rem;
|
|
}
|
|
|
|
.input, .range-input {
|
|
background-color: rgba($blackBg, $normalTransparentOpacity);
|
|
border: 1px solid transparent;
|
|
border-bottom: 1px solid rgba(255,255,255,0.5);
|
|
padding-top: 0.25rem;
|
|
padding-bottom: 0.25rem;
|
|
position: relative;
|
|
|
|
&:active, &:focus, &:focus-within {
|
|
border-bottom: 1px solid rgba($primary, 0.5);
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
outline: none;
|
|
border: 1px solid transparent;
|
|
background-color: transparent;
|
|
color: #fff;
|
|
}
|
|
|
|
.unit {
|
|
position: absolute;
|
|
right: 0px;
|
|
pointer-events: none;
|
|
opacity: 0.69;
|
|
font-size: 0.8rem;
|
|
top: 0;
|
|
transform: translateY(69%);
|
|
}
|
|
}
|
|
|
|
.range-input {
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
* {
|
|
margin-left: 0.5rem;
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
|
|
input {
|
|
max-width: 5rem;
|
|
}
|
|
|
|
input[type=range] {
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
.field {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
padding-top: 0.5rem;
|
|
|
|
align-items: center;
|
|
|
|
&.l2 {
|
|
margin-left: 4rem;
|
|
}
|
|
|
|
.label {
|
|
flex: 0 0 25%;
|
|
text-align: right;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
.input, .range-input {
|
|
flex: 0 0 70%;
|
|
max-width: 24rem;
|
|
}
|
|
|
|
.hint {
|
|
padding-left: calc(25% + 1rem);
|
|
font-size: 0.8rem;
|
|
opacity: 0.7;
|
|
margin-top: 0.25rem;
|
|
width: 100%;
|
|
}
|
|
.select {
|
|
|
|
select {
|
|
background: rgba($blackBg, $hoverTransparentOpacity);
|
|
color: #fff;
|
|
border: 0px solid transparent;
|
|
|
|
padding: 0.5rem 1rem 0.25rem;
|
|
outline: none;
|
|
|
|
font: inherit;
|
|
font-size: inherit;
|
|
}
|
|
}
|
|
}
|
|
|
|
.options-bar {
|
|
position: absolute;
|
|
width: calc(100% - 4rem);
|
|
top: 0;
|
|
|
|
margin: 1rem;
|
|
padding: 1rem;
|
|
|
|
&.isEditing {
|
|
background-color: $primary;
|
|
position: relative;
|
|
color: #000;
|
|
}
|
|
}
|
|
.b3 {
|
|
width: 9rem;
|
|
padding-left: 0.33rem;
|
|
padding-right: 0.33rem;
|
|
}
|
|
.input-slider {
|
|
width: 480px;
|
|
}
|
|
.warning-lite {
|
|
padding-right: 16px;
|
|
padding-bottom: 16px;
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.edit-action-area {
|
|
background-color: rgba($blackBg,0.5);
|
|
padding: 0.5rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
.edit-action-area-header {
|
|
background-color: $primary;
|
|
color: #000;
|
|
padding: 0.25rem 0.5rem;
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
.pointer {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|