2020-12-27 05:04:23 +03:00
|
|
|
.config-public-details-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-start;
|
2020-12-30 01:47:31 +03:00
|
|
|
flex-wrap: wrap;
|
2020-12-28 12:11:26 +03:00
|
|
|
|
|
|
|
.text-fields {
|
2020-12-30 01:47:31 +03:00
|
|
|
margin-right: 2rem;
|
|
|
|
}
|
|
|
|
.misc-fields {
|
2021-01-03 12:54:04 +03:00
|
|
|
width: 25em;
|
|
|
|
}
|
|
|
|
.tag-editor-container,
|
|
|
|
.config-directory-details-form {
|
|
|
|
border-radius: 1em;
|
2021-01-10 00:12:14 +03:00
|
|
|
background-color: rgba(128,99,255,.1);
|
2021-01-03 12:54:04 +03:00
|
|
|
padding: 1.5em;
|
|
|
|
margin-bottom: 1em;
|
2021-01-03 11:29:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-30 01:47:31 +03:00
|
|
|
|
2021-01-03 11:29:37 +03:00
|
|
|
.status-message {
|
|
|
|
margin: 1rem 0;
|
2021-01-03 12:54:04 +03:00
|
|
|
min-height: 1.4em;
|
2021-01-03 11:29:37 +03:00
|
|
|
font-size: .75rem;
|
|
|
|
&.success {
|
|
|
|
color: var(--ant-success);
|
|
|
|
}
|
|
|
|
&.error {
|
|
|
|
color: var(--ant-error);
|
2020-12-28 12:11:26 +03:00
|
|
|
}
|
|
|
|
}
|
2021-01-03 11:29:37 +03:00
|
|
|
|
|
|
|
// form-textfield
|
|
|
|
// form-textfield
|
2020-12-29 13:51:56 +03:00
|
|
|
.textfield-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-01-03 11:29:37 +03:00
|
|
|
align-items: flex-start;
|
2020-12-29 13:51:56 +03:00
|
|
|
justify-content: flex-end;
|
|
|
|
position: relative;
|
2021-01-03 11:29:37 +03:00
|
|
|
width: 314px;
|
2021-01-10 00:12:14 +03:00
|
|
|
|
|
|
|
// &.type-numeric {
|
|
|
|
// .ant-form-item-control {
|
|
|
|
// flex-direction: row;
|
|
|
|
// .ant-form-item-control-input {
|
|
|
|
// margin-right: .75rem;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
2020-12-29 13:51:56 +03:00
|
|
|
}
|
2020-12-28 12:11:26 +03:00
|
|
|
.textfield {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
|
.field {
|
2020-12-29 13:51:56 +03:00
|
|
|
width: 18rem;
|
2020-12-28 12:11:26 +03:00
|
|
|
|
2021-01-03 15:03:18 +03:00
|
|
|
&.ant-input-number {
|
|
|
|
width: 8em;
|
|
|
|
}
|
|
|
|
|
2020-12-28 12:11:26 +03:00
|
|
|
}
|
2021-01-03 12:54:04 +03:00
|
|
|
.info-tip {
|
2020-12-29 13:51:56 +03:00
|
|
|
margin-right: .75rem;
|
|
|
|
}
|
2020-12-31 05:07:15 +03:00
|
|
|
.ant-form-item {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
&.ant-form-item-with-help {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
}
|
2020-12-29 13:51:56 +03:00
|
|
|
.ant-form-item-label label {
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--owncast-purple);
|
|
|
|
}
|
|
|
|
.ant-form-item-explain {
|
|
|
|
width: 70%;
|
2020-12-28 12:11:26 +03:00
|
|
|
}
|
2020-12-27 05:04:23 +03:00
|
|
|
}
|
2020-12-29 13:51:56 +03:00
|
|
|
.submit-button {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2020-12-31 05:07:15 +03:00
|
|
|
bottom: .5em;
|
|
|
|
}
|
2021-01-10 00:12:14 +03:00
|
|
|
// .ant-form-horizontal {
|
|
|
|
// .textfield-container.type-numeric {
|
|
|
|
// width: auto;
|
|
|
|
|
|
|
|
// .submit-button {
|
|
|
|
// bottom: unset;
|
|
|
|
// top: 0;
|
|
|
|
// right: unset;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
2021-01-02 05:23:23 +03:00
|
|
|
|
|
|
|
|
2021-01-03 11:29:37 +03:00
|
|
|
// 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);
|
|
|
|
}
|
2021-01-03 12:54:04 +03:00
|
|
|
.info-tip {
|
|
|
|
margin-left: .5rem;
|
|
|
|
svg {
|
|
|
|
fill: white;
|
|
|
|
}
|
|
|
|
}
|
2021-01-03 11:29:37 +03:00
|
|
|
.ant-form-item {
|
|
|
|
margin: 0 .75rem 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// TAGS STUFF
|
|
|
|
// TAGS STUFF
|
2021-01-02 05:23:23 +03:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-12-31 05:07:15 +03:00
|
|
|
}
|
|
|
|
}
|
2021-01-02 05:23:23 +03:00
|
|
|
.add-new-tag-section {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.new-tag-input {
|
|
|
|
width: 16em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-04 10:32:47 +03:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-10 00:12:14 +03:00
|
|
|
|
|
|
|
.config-video-variants {
|
|
|
|
.config-video-misc {
|
|
|
|
margin: 2rem 0;
|
|
|
|
// .ant-form {
|
|
|
|
// display: flex;
|
|
|
|
// flex-direction: row;
|
|
|
|
// align-items: flex-start;
|
|
|
|
// }
|
|
|
|
}
|
2021-01-10 13:37:22 +03:00
|
|
|
|
|
|
|
}
|
|
|
|
.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%;
|
|
|
|
.ant-slider-with-marks {
|
|
|
|
margin-right: 2em;
|
|
|
|
}
|
|
|
|
.ant-slider-mark-text {
|
|
|
|
font-size: .85em;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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);
|
|
|
|
}
|
2021-01-10 00:12:14 +03:00
|
|
|
}
|