Remove admin stylesheets from loading with app. Closes #2183
This commit is contained in:
@@ -1,148 +0,0 @@
|
||||
// Users, Chat views
|
||||
|
||||
.chat-messages {
|
||||
.ant-table-cell {
|
||||
&.name-col {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
&.toggle-col {
|
||||
label {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
.message-contents {
|
||||
overflow: auto;
|
||||
max-height: 200px;
|
||||
img {
|
||||
position: relative;
|
||||
margin-top: -5px;
|
||||
width: 3rem;
|
||||
padding: 0.25rem;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bulk-editor {
|
||||
margin: 0.5rem 0;
|
||||
padding: 0.5rem;
|
||||
border: 1px solid var(--textfield-border);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
border-radius: 4px;
|
||||
&.active {
|
||||
.label {
|
||||
color: var(--black-3);
|
||||
}
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: 0.75rem;
|
||||
color: var(--white-50);
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
button {
|
||||
margin: 0 0.2rem;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ant-table-filter-dropdown {
|
||||
max-width: 250px;
|
||||
}
|
||||
|
||||
.toggle-switch {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: flex-end;
|
||||
transition: opacity 0.15s;
|
||||
|
||||
.outcome-icon {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
&.hidden {
|
||||
opacity: 0.25;
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.ant-btn {
|
||||
.anticon {
|
||||
opacity: 0.5;
|
||||
}
|
||||
&:hover {
|
||||
.anticon {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ant-btn-text:hover {
|
||||
background-color: var(--black-35);
|
||||
}
|
||||
}
|
||||
|
||||
.blockuser-popover {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.user-item-container {
|
||||
// reset <button> properties
|
||||
border: none;
|
||||
background: none;
|
||||
text-align: left;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
|
||||
.display-name {
|
||||
color: var(--white);
|
||||
border-bottom: 1px dotted var(--white-50);
|
||||
}
|
||||
&:hover {
|
||||
.display-name {
|
||||
border-color: var(--white);
|
||||
}
|
||||
}
|
||||
}
|
||||
.user-details {
|
||||
h5 {
|
||||
color: var(--white);
|
||||
}
|
||||
.created-at {
|
||||
font-size: 0.75em;
|
||||
font-style: italic;
|
||||
}
|
||||
.connection-info {
|
||||
font-size: 0.88em;
|
||||
}
|
||||
.previous-names-list {
|
||||
font-size: 0.88em;
|
||||
.user-name-item {
|
||||
font-family: monospace;
|
||||
}
|
||||
.latest {
|
||||
font-style: italic;
|
||||
.user-name-item {
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
color: var(--pink);
|
||||
}
|
||||
}
|
||||
}
|
||||
.ant-divider {
|
||||
border-color: var(--white-25);
|
||||
}
|
||||
}
|
||||
.block-user-button {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
// config tags block
|
||||
|
||||
.edit-current-strings {
|
||||
.ant-tag {
|
||||
margin: 0.1rem;
|
||||
font-size: 0.85rem;
|
||||
border-radius: 10em;
|
||||
padding: 0.25em 1em;
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.ant-tag-close-icon {
|
||||
transform: translateY(-1px);
|
||||
margin-left: 0.3rem;
|
||||
padding: 2px;
|
||||
border-radius: 5rem;
|
||||
color: var(--black);
|
||||
border: 1px solid var(--black);
|
||||
transition-duration: var(--ant-transition-duration);
|
||||
&:hover {
|
||||
border-color: var(--owncast-purple);
|
||||
background-color: var(--white);
|
||||
svg {
|
||||
fill: black;
|
||||
transition: fill var(--ant-transition-duration);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.add-new-string-section {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
.continuous-status-section {
|
||||
margin-top: 1em;
|
||||
}
|
||||
@@ -1,93 +0,0 @@
|
||||
// dealiing with some general layout on the public details page
|
||||
|
||||
.config-public-details-page {
|
||||
width: 100%;
|
||||
.top-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
flex-wrap: wrap;
|
||||
.social-items-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
flex-wrap: nowrap;
|
||||
margin: 1em 0;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
.tags-module {
|
||||
margin-right: 1em;
|
||||
}
|
||||
.form-module {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
flex-direction: column;
|
||||
.form-module {
|
||||
width: 100%;
|
||||
}
|
||||
.tags-module {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.instance-details-container {
|
||||
width: 100%;
|
||||
}
|
||||
.social-items-container {
|
||||
background-color: var(--container-bg-color-alt);
|
||||
padding: 0 0.75em;
|
||||
margin-left: 1em;
|
||||
max-width: 450px;
|
||||
.form-module {
|
||||
background-color: var(--black);
|
||||
}
|
||||
|
||||
.social-handles-container {
|
||||
min-width: 350px;
|
||||
}
|
||||
}
|
||||
.instance-details-container,
|
||||
.page-content-module {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.field-summary {
|
||||
textarea {
|
||||
height: 6em !important;
|
||||
}
|
||||
}
|
||||
|
||||
.edit-custom-css {
|
||||
#field-customStyles {
|
||||
height: 15em;
|
||||
width: 100%;
|
||||
font-family: monospace;
|
||||
resize: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.other-field-container {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.logo-upload-container {
|
||||
.input-group {
|
||||
align-items: center;
|
||||
}
|
||||
img.logo-preview {
|
||||
min-height: 120px;
|
||||
min-width: 120px;
|
||||
max-height: 256px;
|
||||
max-width: 256px;
|
||||
margin-right: 1em;
|
||||
display: inline-block;
|
||||
border: 1px solid var(--white-25);
|
||||
}
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
// styles for social handles editing section
|
||||
|
||||
.social-option,
|
||||
.social-dropdown {
|
||||
.ant-select-item-option-content,
|
||||
.ant-select-selection-item {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
padding: 0.25em;
|
||||
line-height: normal;
|
||||
|
||||
.option-icon {
|
||||
height: 1.5em;
|
||||
width: 1.5em;
|
||||
line-height: normal;
|
||||
}
|
||||
.option-label {
|
||||
display: inline-block;
|
||||
margin-left: 1em;
|
||||
line-height: normal;
|
||||
word-break: break-word;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.social-links-edit-container {
|
||||
.social-handles-table {
|
||||
.social-handle-cell {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
color: var(--white-75);
|
||||
|
||||
.option-icon {
|
||||
height: 2em;
|
||||
width: 2em;
|
||||
line-height: normal;
|
||||
}
|
||||
.option-label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0 0 0 1em;
|
||||
line-height: 2;
|
||||
font-size: 0.85em;
|
||||
word-break: break-word;
|
||||
}
|
||||
}
|
||||
.actions {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-evenly;
|
||||
width: 6em;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
// styles for Storage config section
|
||||
|
||||
.edit-storage-container {
|
||||
padding: 1em;
|
||||
.form-fields {
|
||||
display: none;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
&.enabled {
|
||||
.form-fields {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.button-container {
|
||||
margin: 2em 0 1em 0;
|
||||
}
|
||||
.advanced-section {
|
||||
margin: 1em 0;
|
||||
}
|
||||
}
|
||||
|
||||
.edit-server-details-container {
|
||||
// Do something special for the stream key field
|
||||
.field-streamkey-container {
|
||||
margin-bottom: 1.5em;
|
||||
.field-tip {
|
||||
color: var(--ant-warning);
|
||||
}
|
||||
.left-side {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.textfield-with-submit-container {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.streamkey-actions {
|
||||
white-space: nowrap;
|
||||
button {
|
||||
margin: 0.25em;
|
||||
}
|
||||
@media (max-width: 800px) {
|
||||
margin-top: 2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.advanced-settings {
|
||||
max-width: 800px;
|
||||
}
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
// styles for Video variant editor (table + modal)
|
||||
|
||||
.config-video-variants {
|
||||
.variants-table {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
.variants-table-module {
|
||||
min-width: 400px;
|
||||
}
|
||||
}
|
||||
|
||||
// modal content
|
||||
.config-variant-form {
|
||||
.description {
|
||||
margin-top: 0;
|
||||
}
|
||||
.passthrough-warning {
|
||||
text-align: center;
|
||||
padding: 1em;
|
||||
color: var(--ant-warning);
|
||||
font-size: 0.88em;
|
||||
font-weight: 500;
|
||||
background-color: var(--black-50);
|
||||
border-radius: var(--container-border-radius);
|
||||
}
|
||||
|
||||
.cpu-usage-container,
|
||||
.bitrate-container {
|
||||
min-height: 22em;
|
||||
}
|
||||
|
||||
.advanced-settings {
|
||||
margin-top: 1em;
|
||||
|
||||
.resolution-module,
|
||||
.video-passthrough-module {
|
||||
min-height: 30em;
|
||||
}
|
||||
}
|
||||
// make some things look disabled when passthrough is on
|
||||
&.video-passthrough-enabled {
|
||||
.form-module:not(.video-passthrough-module) {
|
||||
opacity: 0.25;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.variants-table {
|
||||
.actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.delete-button {
|
||||
margin-left: 0.5em;
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
.read-more-subtext {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
.codec-module {
|
||||
.ant-collapse-content-active {
|
||||
background-color: var(--white-15);
|
||||
}
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
/* 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: 0.75rem;
|
||||
.status-icon {
|
||||
display: inline-block;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
/* TIP CONTAINER BASE */
|
||||
.field-tip {
|
||||
font-size: 0.8em;
|
||||
color: var(--white-50);
|
||||
}
|
||||
|
||||
/*
|
||||
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: 0.85em 0 0.5em;
|
||||
}
|
||||
|
||||
/* SEGMENT SLIDER GROUP WITH SELECTED NOTE, OR STATUS */
|
||||
.segment-slider-container {
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
padding: 1em 2em 0.75em;
|
||||
background-color: var(--owncast-purple-25);
|
||||
border-radius: var(--container-border-radius);
|
||||
|
||||
.status-container {
|
||||
width: 100%;
|
||||
margin: 0.5em auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.selected-value-note {
|
||||
width: 100%;
|
||||
margin: 3em auto 0;
|
||||
text-align: center;
|
||||
font-size: 0.75em;
|
||||
line-height: normal;
|
||||
color: var(--white);
|
||||
padding: 1em;
|
||||
border-radius: var(--container-border-radius);
|
||||
background-color: var(--black-35);
|
||||
}
|
||||
}
|
||||
|
||||
.segment-tip {
|
||||
width: 10em;
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#selected-codec-note {
|
||||
margin-top: 8px;
|
||||
text-align: justify;
|
||||
line-height: 1.4em;
|
||||
}
|
||||
@@ -1,167 +0,0 @@
|
||||
/*
|
||||
Base styles for
|
||||
- form-textfield,
|
||||
- form-textfield-with-submit
|
||||
- form-toggleswitch
|
||||
|
||||
Both text and toggle use this class for base layout.
|
||||
*/
|
||||
.formfield-container {
|
||||
--form-label-container-width: 15em;
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
.label-side {
|
||||
padding-right: 1.25em;
|
||||
text-align: right;
|
||||
width: var(--form-label-container-width);
|
||||
margin: 0.2em 0;
|
||||
}
|
||||
.formfield-label {
|
||||
font-weight: 500;
|
||||
font-size: 1em;
|
||||
color: var(--owncast-purple);
|
||||
|
||||
&::after {
|
||||
content: ':';
|
||||
}
|
||||
}
|
||||
&.required {
|
||||
.formfield-label {
|
||||
&::before {
|
||||
content: '*';
|
||||
display: inline-block;
|
||||
margin-right: 0.25em;
|
||||
color: var(--ant-error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.input-side {
|
||||
max-width: 500px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.status-container {
|
||||
margin: 0.25em;
|
||||
width: 100%;
|
||||
display: block;
|
||||
&.empty {
|
||||
display: none;
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
||||
.field-tip {
|
||||
margin: 0.5em 0.5em;
|
||||
}
|
||||
|
||||
@media (max-width: 800px) {
|
||||
flex-wrap: wrap;
|
||||
.label-side {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* TEXTFIELD-WITH-SUBMIT-CONTAINER BASE */
|
||||
/* TEXTFIELD-WITH-SUBMIT-CONTAINER BASE */
|
||||
/* TEXTFIELD-WITH-SUBMIT-CONTAINER BASE */
|
||||
.textfield-with-submit-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 1em;
|
||||
|
||||
.textfield-component {
|
||||
width: 100%;
|
||||
.textfield-container {
|
||||
.field-tip,
|
||||
.status-container {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// for lack of a better name
|
||||
.lower-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
|
||||
.label-spacer {
|
||||
width: var(--form-label-container-width);
|
||||
}
|
||||
.lower-content {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-end;
|
||||
width: 100%;
|
||||
|
||||
.field-tip {
|
||||
margin-right: 1em;
|
||||
width: 100%;
|
||||
}
|
||||
.status-container {
|
||||
margin: 0.5em;
|
||||
&.empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.update-button-container {
|
||||
visibility: hidden;
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.submittable {
|
||||
.lower-container {
|
||||
.update-button-container {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 800px) {
|
||||
.label-spacer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* TOGGLE SWITCH CONTAINER BASE */
|
||||
.toggleswitch-container {
|
||||
margin: 2em 0 1em;
|
||||
|
||||
.label-side {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
|
||||
.status-container {
|
||||
width: auto;
|
||||
margin: 0 0 0 1em;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,119 +0,0 @@
|
||||
.home-container {
|
||||
.online-status-section {
|
||||
margin-bottom: 1em;
|
||||
.online-details-card {
|
||||
border-color: var(--online-color);
|
||||
}
|
||||
// .ant-statistic {
|
||||
// text-align: center;
|
||||
// }
|
||||
// .ant-statistic-title {
|
||||
// color: var(--white-50);
|
||||
// }
|
||||
}
|
||||
|
||||
// .ant-card-head {
|
||||
// color: var(--online-color);
|
||||
// }
|
||||
|
||||
.stream-details-item-container {
|
||||
margin: 1em 0;
|
||||
&:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
// .ant-statistic.stream-details-item {
|
||||
// background-color: var(--black-50);
|
||||
// padding: 1em;
|
||||
// .ant-statistic-title {
|
||||
// color: var(--blue);
|
||||
// }
|
||||
// .ant-statistic-content {
|
||||
// font-size: 1.25em;
|
||||
// white-space: nowrap;
|
||||
// }
|
||||
// }
|
||||
|
||||
.stream-details {
|
||||
> .ant-card-bordered {
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
}
|
||||
.outbound-details {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
.offline-content {
|
||||
.logo-section {
|
||||
// .ant-result-title {
|
||||
// font-size: 2rem;
|
||||
// }
|
||||
// .ant-result-subtitle {
|
||||
// font-size: 1rem;
|
||||
// }
|
||||
// .ant-result-icon svg {
|
||||
// height: 8rem;
|
||||
// width: 8rem;
|
||||
// }
|
||||
}
|
||||
.list-section {
|
||||
background-color: var(--container-bg-color-alt);
|
||||
border-radius: var(--container-border-radius);
|
||||
padding: 1em;
|
||||
|
||||
> .ant-card {
|
||||
background-color: var(--black);
|
||||
margin-bottom: 1em;
|
||||
// .ant-card-meta-avatar {
|
||||
// margin-top: 0.25rem;
|
||||
// svg {
|
||||
// height: 1.5em;
|
||||
// width: 1.5em;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.offline-intro {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-evenly;
|
||||
align-items: center;
|
||||
margin-bottom: 2em;
|
||||
.logo-svg {
|
||||
height: 6em;
|
||||
width: 6em;
|
||||
}
|
||||
}
|
||||
|
||||
.news-feed {
|
||||
margin-top: 0;
|
||||
padding: 1.5em;
|
||||
|
||||
h2 {
|
||||
font-size: 1.2em;
|
||||
margin-top: 0;
|
||||
color: var(--pink);
|
||||
}
|
||||
article {
|
||||
padding: 1em 0.25em;
|
||||
font-size: 0.9rem;
|
||||
color: var(--white-75);
|
||||
border-bottom: 1px solid var(--gray);
|
||||
|
||||
h3 {
|
||||
font-size: 1.2em;
|
||||
a {
|
||||
font-weight: 400;
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
.timestamp {
|
||||
margin-top: 0;
|
||||
font-size: 0.75em;
|
||||
color: var(--white-50);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,157 +0,0 @@
|
||||
.app-container {
|
||||
.side-nav {
|
||||
position: fixed;
|
||||
height: 100vh;
|
||||
overflow: auto;
|
||||
z-index: 10;
|
||||
background-color: var(--nav-bg-color);
|
||||
}
|
||||
|
||||
.menu-container {
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
h1.owncast-title {
|
||||
padding: 1rem;
|
||||
padding-bottom: 4px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.logo-container {
|
||||
background-color: var(--white);
|
||||
padding-top: 4px;
|
||||
padding-right: 6px;
|
||||
padding-left: 6px;
|
||||
border-radius: 9999px;
|
||||
}
|
||||
|
||||
.title-label {
|
||||
display: inline-block;
|
||||
margin-left: 1rem;
|
||||
color: var(--white);
|
||||
font-size: 1.15rem;
|
||||
font-weight: 200;
|
||||
text-transform: uppercase;
|
||||
line-height: normal;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-main {
|
||||
margin-left: 240px; // width of Ant Sider
|
||||
}
|
||||
.layout-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-end;
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
background-color: var(--nav-bg-color);
|
||||
}
|
||||
|
||||
.main-content-container {
|
||||
padding: 2em 3em 3em;
|
||||
min-width: 50vw;
|
||||
}
|
||||
|
||||
.footer-container {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.online-status-indicator {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.online-thumbnail {
|
||||
width: 12.5rem;
|
||||
}
|
||||
|
||||
.status-label {
|
||||
color: var(--white);
|
||||
text-transform: uppercase;
|
||||
font-size: 0.75rem;
|
||||
display: inline-block;
|
||||
margin-right: 0.5rem;
|
||||
color: var(--offline-color);
|
||||
}
|
||||
.status-icon {
|
||||
font-size: 1.5rem;
|
||||
svg {
|
||||
fill: var(--offline-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
&.online {
|
||||
.online-status-indicator {
|
||||
.status-icon {
|
||||
svg {
|
||||
fill: var(--online-color);
|
||||
}
|
||||
}
|
||||
.status-label {
|
||||
white-space: nowrap;
|
||||
color: var(--online-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// stream title form field in header
|
||||
.global-stream-title-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
.textfield-with-submit-container {
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-bottom: 0;
|
||||
|
||||
// .ant-input-affix-wrapper {
|
||||
// border-color: var(--owncast-purple-50);
|
||||
// }
|
||||
// input.ant-input {
|
||||
// &::placeholder {
|
||||
// color: var(--owncast-purple);
|
||||
// text-align: center;
|
||||
// }
|
||||
// }
|
||||
|
||||
.input-side {
|
||||
width: 400px;
|
||||
@media (max-width: 800px) {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.label-side {
|
||||
display: none;
|
||||
}
|
||||
.lower-container {
|
||||
width: auto;
|
||||
.lower-content {
|
||||
flex-direction: column-reverse;
|
||||
position: relative;
|
||||
}
|
||||
.label-spacer,
|
||||
.field-tip {
|
||||
display: none;
|
||||
}
|
||||
.status-container {
|
||||
line-height: 1;
|
||||
position: absolute;
|
||||
bottom: -2em;
|
||||
}
|
||||
.update-button-container {
|
||||
margin: 0;
|
||||
margin-left: 0.5em;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
// markdown editor overrides
|
||||
|
||||
.rc-virtual-list-scrollbar {
|
||||
display: block !important;
|
||||
}
|
||||
.rc-md-editor {
|
||||
border-color: var(--black) !important;
|
||||
border: 1px solid var(--black);
|
||||
background-color: var(--black) !important;
|
||||
.rc-md-navigation {
|
||||
background-color: var(--black);
|
||||
border-color: var(--black);
|
||||
}
|
||||
// Set the background color of the preview container
|
||||
.editor-container {
|
||||
p {
|
||||
color: var(--black-75);
|
||||
}
|
||||
background-color: rgba(226, 232, 240, 1) !important;
|
||||
|
||||
.sec-html {
|
||||
background-color: white;
|
||||
|
||||
pre,
|
||||
code {
|
||||
background-color: #eee;
|
||||
color: #900;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Custom CSS for formatting the preview text
|
||||
.markdown-editor-preview-pane {
|
||||
color: var(--black-75);
|
||||
|
||||
a {
|
||||
color: var(--owncast-purple);
|
||||
}
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
// Custom CSS class used to format the text of the editor
|
||||
.markdown-editor-pane {
|
||||
color: rgba(255, 255, 255, 0.85) !important;
|
||||
border-color: black !important;
|
||||
background-color: black;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
// Set the background color of the editor text input
|
||||
textarea {
|
||||
background-color: var(--gray) !important;
|
||||
color: rgba(255, 255, 255, 0.5) !important;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
// Hide extra toolbar buttons.
|
||||
.button-type-undo,
|
||||
.button-type-redo,
|
||||
.button-type-clear,
|
||||
.button-type-image,
|
||||
.button-type-wrap,
|
||||
.button-type-quote,
|
||||
.button-type-strikethrough,
|
||||
.button-type-code-inline,
|
||||
.button-type-code-block {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
.stream-info-box {
|
||||
background-color: var(--purple-dark);
|
||||
color: var(--white);
|
||||
padding: 0.25rem 0.5rem;
|
||||
.ant-typography-copy {
|
||||
margin-left: 0.25rem;
|
||||
}
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.stream-info-label {
|
||||
align-self: center;
|
||||
text-align: right;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.stream-info-container {
|
||||
margin: 8px 0 4px 0;
|
||||
display: grid;
|
||||
grid-template-columns: max-content 1fr;
|
||||
grid-template-rows: min-content min-content;
|
||||
gap: 8px 8px;
|
||||
grid-template-areas:
|
||||
'. .'
|
||||
'. .';
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
// misc styling for various /pages
|
||||
|
||||
// .help-page {
|
||||
// .ant-result-image {
|
||||
// height: 100px;
|
||||
// svg {
|
||||
// height: 100%;
|
||||
// width: 100%;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
.upgrade-page {
|
||||
h2,
|
||||
h3 {
|
||||
color: var(--pink);
|
||||
font-size: 1.25em;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user