mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
260 lines
4.2 KiB
CSS
260 lines
4.2 KiB
CSS
.previewContainer {
|
|
background-color: #121212;
|
|
border-radius: 6px;
|
|
padding: 15px;
|
|
margin-top: 15px;
|
|
border: 1px solid #333333;
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
margin: 10px 0;
|
|
}
|
|
.previewTitle {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.previewDescription {
|
|
font-size: 14px;
|
|
color: #aaa;
|
|
white-space: pre-wrap;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.streamPreview {
|
|
font-family: monospace;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
background-color: #1e1e1e;
|
|
padding: 15px;
|
|
border-radius: var(--borderRadius);
|
|
}
|
|
|
|
.streamName {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
margin-bottom: 10px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.streamDescription {
|
|
font-size: 14px;
|
|
color: #aaa;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
/* Form elements styling */
|
|
.formGroup {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
|
|
.formRow {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.formGroupSmall {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
flex: 1;
|
|
min-width: 100px;
|
|
}
|
|
|
|
.formGroupMedium {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
flex: 2;
|
|
min-width: 150px;
|
|
}
|
|
|
|
.inputLabel {
|
|
font-size: 0.85rem;
|
|
color: #aaa;
|
|
}
|
|
|
|
.filenameControls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.filenameInputContainer {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
input.filenameInput {
|
|
flex: 1;
|
|
padding: 10px;
|
|
border: 1px solid #333;
|
|
border-radius: var(--borderRadius);
|
|
height: 30px;
|
|
background-color: #1e1e1e;
|
|
color: white;
|
|
outline: none;
|
|
width: 100%;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.filenameInput {
|
|
padding: 8px 10px;
|
|
background-color: #1e1e1e;
|
|
border: 1px solid #333;
|
|
border-radius: var(--borderRadius);
|
|
color: white;
|
|
width: 100%;
|
|
font-family: monospace;
|
|
}
|
|
|
|
input.smallInput {
|
|
padding: 6px 8px;
|
|
background-color: #1e1e1e;
|
|
border: 1px solid #333;
|
|
border-radius: var(--borderRadius);
|
|
color: white;
|
|
width: 100%;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.selectInput {
|
|
padding: 6px 8px;
|
|
background-color: #1e1e1e;
|
|
border: 1px solid #333;
|
|
border-radius: var(--borderRadius);
|
|
color: white;
|
|
width: 100%;
|
|
}
|
|
|
|
.resetButton {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 32px;
|
|
min-height: 32px;
|
|
border-radius: 50%;
|
|
border-width: 0;
|
|
background-color: #d1d1d1;
|
|
color: rgb(68, 68, 68);
|
|
border: no ne;
|
|
cursor: pointer;
|
|
transition:
|
|
background-color 0.2s,
|
|
transform 0.2s;
|
|
flex-shrink: 0;
|
|
padding: 0;
|
|
margin: 5px 0 0 0;
|
|
}
|
|
|
|
.resetButton:hover {
|
|
background-color: #e7e7e7;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.resetButton:active {
|
|
background-color: #ffffff;
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
/* Toggle switch styling - fixed animations */
|
|
.toggleLabel {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
color: #aaa;
|
|
width: 100%;
|
|
}
|
|
|
|
input.toggleInput {
|
|
height: 0;
|
|
width: 0;
|
|
visibility: hidden;
|
|
position: absolute;
|
|
}
|
|
|
|
.toggleSwitch {
|
|
display: block;
|
|
width: 36px;
|
|
height: 18px;
|
|
background: #333;
|
|
position: relative;
|
|
border-radius: 18px;
|
|
border: 1px solid #444;
|
|
transition: 0.3s all ease;
|
|
}
|
|
|
|
.toggleSwitch::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 3px;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: #aaa;
|
|
transition: 0.3s all ease;
|
|
}
|
|
|
|
.toggleInput:checked + .toggleSwitch {
|
|
background-color: #2a2a2a;
|
|
border-color: #555;
|
|
}
|
|
|
|
.toggleInput:checked + .toggleSwitch::after {
|
|
left: calc(100% - 15px);
|
|
background-color: #ffffff;
|
|
box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.toggleContainer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.togglesRow {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
justify-content: center;
|
|
margin: 5px 0;
|
|
padding: 10px;
|
|
background-color: #1e1e1e;
|
|
border-radius: var(--borderRadius);
|
|
border: 1px solid #333;
|
|
}
|
|
|
|
.toggleWrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 120px;
|
|
max-width: 160px;
|
|
padding: 6px 12px;
|
|
border-radius: var(--borderRadius);
|
|
background-color: #252525;
|
|
border: 1px solid #383838;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.formRow {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.formGroupSmall,
|
|
.formGroupMedium {
|
|
width: 100%;
|
|
}
|
|
}
|