mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
72 lines
1.8 KiB
Text
72 lines
1.8 KiB
Text
// Copyright (C) 2017-2024 Smart code 203358507
|
|
|
|
.radio-button {
|
|
display: flex;
|
|
align-items: center;
|
|
overflow: visible;
|
|
|
|
label {
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
|
|
.disabled {
|
|
cursor: not-allowed;
|
|
|
|
.radio-container {
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
|
|
.error {
|
|
.radio-container {
|
|
border-color: var(--color-trakt);
|
|
}
|
|
}
|
|
|
|
.not-selected {
|
|
background-color: transparent;
|
|
border-color: var(--color-placeholder);
|
|
|
|
.radio-container .inner-circle {
|
|
background-color: transparent;
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.radio-container {
|
|
position: relative;
|
|
width: 1.75rem;
|
|
height: 1.75rem;
|
|
border: 3px solid var(--color-placeholder);
|
|
border-radius: 1rem;
|
|
background-color: transparent;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease-in-out;
|
|
cursor: pointer;
|
|
outline: none;
|
|
user-select: none;
|
|
margin-right: 0.75rem;
|
|
|
|
input[type='radio'] {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
position: absolute;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.inner-circle {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
background-color: var(--primary-accent-color);
|
|
border-radius: 0.675rem;
|
|
border: 2px solid var(--secondary-background-color);
|
|
transition: opacity 0.2s ease-in-out;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|