169 lines
2.7 KiB
CSS
169 lines
2.7 KiB
CSS
/* NewTransmissionModal - StreamYard style (migrated to shared) */
|
|
|
|
.modalWrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.modalWrapper.hasBackButton :global(.modalHeader) {
|
|
padding-left: 56px;
|
|
}
|
|
|
|
.backButton {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
left: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
background: none;
|
|
border: none;
|
|
border-radius: 50%;
|
|
color: #5f6368;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
z-index: 10;
|
|
}
|
|
|
|
.backButton:hover {
|
|
background-color: #f1f3f4;
|
|
color: #202124;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.platformGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
gap: 16px;
|
|
padding: 0 24px 24px 24px;
|
|
margin-top: -4px;
|
|
}
|
|
|
|
.destinations {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.skipNowContainer {
|
|
margin-top: 16px;
|
|
text-align: right;
|
|
}
|
|
|
|
.selectedDestination {
|
|
position: relative;
|
|
}
|
|
|
|
.selectedDestination::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
transform: translate(-28px, -3px);
|
|
width: 56px;
|
|
height: 56px;
|
|
border: 3px solid #1a73e8;
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 24px;
|
|
border-top: 1px solid #e8eaed;
|
|
margin: 0 -24px -20px -24px;
|
|
gap: 16px;
|
|
}
|
|
|
|
.footerNote {
|
|
color: #5f6368;
|
|
font-size: 12px;
|
|
margin: 0;
|
|
line-height: 1.4;
|
|
flex: 1;
|
|
max-width: 320px;
|
|
}
|
|
|
|
.createButton {
|
|
padding: 8px 24px;
|
|
background-color: #1a73e8;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background-color 0.15s;
|
|
min-width: 120px;
|
|
}
|
|
|
|
.createButton:hover:not(:disabled) {
|
|
background-color: #1765cc;
|
|
}
|
|
|
|
.createButton:disabled {
|
|
background-color: #e8eaed;
|
|
color: #80868b;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Dark mode */
|
|
[data-theme="dark"] .backButton {
|
|
color: #9aa0a6;
|
|
}
|
|
|
|
[data-theme="dark"] .backButton:hover {
|
|
background-color: #3c4043;
|
|
color: #e8eaed;
|
|
}
|
|
|
|
[data-theme="dark"] .footer {
|
|
border-top-color: #5f6368;
|
|
}
|
|
|
|
[data-theme="dark"] .createButton {
|
|
background-color: #8ab4f8;
|
|
color: #202124;
|
|
}
|
|
|
|
[data-theme="dark"] .createButton:hover:not(:disabled) {
|
|
background-color: #aecbfa;
|
|
}
|
|
|
|
[data-theme="dark"] .createButton:disabled {
|
|
background-color: #3c4043;
|
|
color: #5f6368;
|
|
}
|
|
|
|
/* Blank stream form */
|
|
.blankStreamForm {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.blankStreamDescription {
|
|
color: #5f6368;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
}
|
|
|
|
[data-theme="dark"] .blankStreamDescription {
|
|
color: #9aa0a6;
|
|
}
|