You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
353 lines
6.3 KiB
353 lines
6.3 KiB
// .config-public-details-container { |
|
// display: flex; |
|
// flex-direction: row; |
|
// align-items: flex-start; |
|
// flex-wrap: wrap; |
|
|
|
// .text-fields { |
|
// margin-right: 2rem; |
|
// } |
|
// .misc-fields { |
|
// width: 25em; |
|
// } |
|
// .tag-editor-container, |
|
// .config-directory-details-form { |
|
// border-radius: 1em; |
|
// background-color: rgba(128,99,255,.1); |
|
// padding: 1.5em; |
|
// margin-bottom: 1em; |
|
// } |
|
// } |
|
|
|
.module-container { |
|
border-radius: 1em; |
|
background-color: rgba(128,99,255,.1); |
|
padding: 1.5em; |
|
margin-bottom: 1em; |
|
} |
|
|
|
|
|
|
|
|
|
// form-textfield |
|
// form-textfield |
|
// .textfield-container { |
|
// display: flex; |
|
// flex-direction: column; |
|
// align-items: flex-start; |
|
// justify-content: flex-end; |
|
// position: relative; |
|
// width: 314px; |
|
|
|
// // &.type-numeric { |
|
// // .ant-form-item-control { |
|
// // flex-direction: row; |
|
// // .ant-form-item-control-input { |
|
// // margin-right: .75rem; |
|
// // } |
|
// // } |
|
// // } |
|
// } |
|
// .textfield { |
|
// display: flex; |
|
// flex-direction: row; |
|
// align-items: flex-start; |
|
|
|
// .field { |
|
// width: 18rem; |
|
|
|
// &.ant-input-number { |
|
// width: 8em; |
|
// } |
|
|
|
// } |
|
// .info-tip { |
|
// margin-right: .75rem; |
|
// } |
|
// .ant-form-item { |
|
// margin-bottom: 16px; |
|
// &.ant-form-item-with-help { |
|
// margin-bottom: 16px; |
|
// } |
|
// } |
|
// .ant-form-item-label label { |
|
// font-weight: bold; |
|
// color: var(--owncast-purple); |
|
// } |
|
// .ant-form-item-explain { |
|
// width: 70%; |
|
// } |
|
// } |
|
// .submit-button { |
|
// position: absolute; |
|
// right: 0; |
|
// bottom: .5em; |
|
// } |
|
// .ant-form-horizontal { |
|
// .textfield-container.type-numeric { |
|
// width: auto; |
|
|
|
// .submit-button { |
|
// bottom: unset; |
|
// top: 0; |
|
// right: unset; |
|
// } |
|
// } |
|
// } |
|
|
|
|
|
// form-toggleswitch |
|
// form-toggleswitch |
|
// .toggleswitch-container { |
|
// .status-message { |
|
// margin-top: .25rem; |
|
// } |
|
// } |
|
// .toggleswitch { |
|
// display: flex; |
|
// flex-direction: row; |
|
// align-items: center; |
|
// justify-content: flex-start; |
|
// .label { |
|
// font-weight: bold; |
|
// color: var(--owncast-purple); |
|
// } |
|
// .info-tip { |
|
// margin-left: .5rem; |
|
// svg { |
|
// fill: white; |
|
// } |
|
// } |
|
// .ant-form-item { |
|
// margin: 0 .75rem 0 0; |
|
// } |
|
// } |
|
|
|
// TAGS STUFF |
|
// TAGS STUFF |
|
.tag-current-tags { |
|
.ant-tag { |
|
margin: .1rem; |
|
font-size: .85rem; |
|
border-radius: 10em; |
|
padding: .25em 1em; |
|
background-color: rgba(255,255,255,.5); |
|
|
|
.ant-tag-close-icon { |
|
transform: translateY(-1px); |
|
margin-left: .3rem; |
|
padding: 2px; |
|
border-radius: 5rem; |
|
border: 1px solid #eee; |
|
&:hover { |
|
border-color: #e03; |
|
svg { |
|
fill: black; |
|
transition: fill .3s; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
.add-new-tag-section { |
|
display: flex; |
|
flex-direction: row; |
|
justify-content: flex-start; |
|
align-items: center; |
|
|
|
.new-tag-input { |
|
width: 16em; |
|
} |
|
} |
|
|
|
.config-page-content-form { |
|
.page-content-actions { |
|
margin-top: 1em; |
|
display: flex; |
|
flex-direction: row; |
|
justify-content: flex-start; |
|
align-items: center; |
|
|
|
.status-message { |
|
margin-left: 1em; |
|
} |
|
} |
|
} |
|
|
|
.config-video-variants { |
|
.config-video-misc { |
|
margin: 2rem 0; |
|
// .ant-form { |
|
// display: flex; |
|
// flex-direction: row; |
|
// align-items: flex-start; |
|
// } |
|
} |
|
|
|
} |
|
.variant-form { |
|
.blurb { |
|
margin: 1em; |
|
opacity: .75; |
|
} |
|
.note { |
|
display: inline-block; |
|
margin-left: 1em; |
|
font-size: .75em; |
|
opacity: .5; |
|
font-style: italic; |
|
} |
|
.section-intro { |
|
margin-bottom: 2em; |
|
} |
|
.field { |
|
margin-bottom: 2em; |
|
display: flex; |
|
flex-direction: row; |
|
justify-content: center; |
|
align-items: flex-start; |
|
transform: opacity .15s; |
|
&.disabled { |
|
opacity: .25; |
|
} |
|
|
|
.label { |
|
width: 40%; |
|
text-align: right; |
|
padding-right: 2em; |
|
font-weight: bold; |
|
color: var(--owncast-purple); |
|
} |
|
.info-tip { |
|
margin-right: 1em; |
|
} |
|
.form-component { |
|
width: 60%; |
|
|
|
.selected-value-note { |
|
font-size: .85em; |
|
display: inline-block; |
|
text-align: center; |
|
} |
|
} |
|
} |
|
.ant-collapse { |
|
border: none; |
|
border-radius: 6px; |
|
} |
|
.ant-collapse > .ant-collapse-item:last-child, |
|
.ant-collapse > .ant-collapse-item:last-child > .ant-collapse-header { |
|
border: none; |
|
background-color: rgba(0,0,0,.25); |
|
border-radius: 6px; |
|
} |
|
.ant-collapse-content { |
|
background-color: rgba(0,0,0,.1); |
|
} |
|
} |
|
|
|
.config-video-segements-conatiner { |
|
.segment-slider { |
|
width: 90%; |
|
margin: auto; |
|
padding: 1em 2em .75em; |
|
background-color: black; |
|
border-radius: 1em; |
|
} |
|
.status-message { |
|
text-align: center; |
|
} |
|
} |
|
.variants-table { |
|
.actions { |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
} |
|
.delete-button { |
|
margin-left: .5em; |
|
opacity: .8; |
|
} |
|
} |
|
.segment-tip { |
|
width: 10em; |
|
text-align: center; |
|
margin: auto; |
|
display: inline-block; |
|
} |
|
|
|
.social-option, |
|
.social-dropdown { |
|
// .ant-select-selector, |
|
// .ant-select-selection-search-input { |
|
// height: 40px !important; |
|
// } |
|
.ant-select-item-option-content, |
|
.ant-select-selection-item { |
|
display: flex; |
|
flex-direction: row; |
|
justify-content: flex-start; |
|
align-items: center; |
|
padding: .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; |
|
} |
|
} |
|
} |
|
// .social-option { |
|
// .ant-select-item-option-content { |
|
// display: flex; |
|
// flex-direction: row; |
|
// justify-content: flex-start; |
|
// align-items: center; |
|
// padding: .25em; |
|
|
|
// .option-icon { |
|
// height: 1.75em; |
|
// width: 1.75em; |
|
// } |
|
// .option-label { |
|
// display: inline-block; |
|
// margin-left: 1em; |
|
// } |
|
// } |
|
// } |
|
|
|
|
|
|
|
|
|
// EDIT STORAGE |
|
.edit-storage-container { |
|
.form-fields { |
|
display: none; |
|
margin-bottom: 1em; |
|
} |
|
&.enabled { |
|
.form-fields { |
|
display: block; |
|
} |
|
} |
|
|
|
.button-container { |
|
margin: 1em 0; |
|
} |
|
.advanced-section { |
|
margin: 1em 0; |
|
} |
|
} |
|
|
|
.field-container { |
|
padding: .85em 0 .5em; |
|
&:nth-child(even) { |
|
background-color: rgba(0,0,0,.25); |
|
} |
|
} |