2021-02-04 17:04:00 +01:00
|
|
|
/* Base styles for misc helper components around forms */
|
|
|
|
|
|
|
|
/* STATUS-CONTAINER BASE */
|
|
|
|
.status-container {
|
|
|
|
&.status-success {
|
|
|
|
color: var(--ant-success);
|
|
|
|
}
|
|
|
|
&.status-error {
|
|
|
|
color: var(--ant-error);
|
|
|
|
}
|
|
|
|
&.status-warning {
|
|
|
|
color: var(--ant-warning);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
font-size: .75rem;
|
|
|
|
.status-icon {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* TIP CONTAINER BASE */
|
|
|
|
.field-tip {
|
2021-02-13 08:55:59 +01:00
|
|
|
font-size: .8em;
|
2021-02-14 09:41:20 +01:00
|
|
|
color: var(--white-50);
|
2021-02-04 17:04:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
Ideal for wrapping each Textfield on a page with many text fields in a row. This div will alternate colors and look like a table.
|
|
|
|
*/
|
|
|
|
.field-container {
|
|
|
|
padding: .85em 0 .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* SEGMENT SLIDER */
|
|
|
|
.segment-slider-container {
|
|
|
|
width: 90%;
|
|
|
|
margin: auto;
|
|
|
|
padding: 1em 2em .75em;
|
2021-02-14 10:30:42 +01:00
|
|
|
background-color: var(--owncast-purple-25);
|
2021-02-04 17:04:00 +01:00
|
|
|
border-radius: 1em;
|
2021-02-13 08:55:59 +01:00
|
|
|
.ant-slider-rail {
|
2021-02-14 09:41:20 +01:00
|
|
|
background-color: var(--black);
|
2021-02-13 08:55:59 +01:00
|
|
|
}
|
|
|
|
.ant-slider-track {
|
|
|
|
background-color: var(--nav-text);
|
|
|
|
}
|
|
|
|
.ant-slider-mark-text,
|
|
|
|
.ant-slider-mark-text-active {
|
2021-02-14 09:41:20 +01:00
|
|
|
color: var(--white);
|
2021-02-13 08:55:59 +01:00
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
.ant-slider-mark-text-active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.status-container {
|
|
|
|
width: 100%;
|
|
|
|
margin: .5em auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2021-02-04 17:04:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.segment-tip {
|
|
|
|
width: 10em;
|
|
|
|
text-align: center;
|
|
|
|
margin: auto;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|