mirror of
https://github.com/Radarr/Radarr
synced 2025-12-20 15:24:41 +01:00
Fixed: Fix issue with calendar not showing Downloaded + Unmonitored (Yellow) Fixed: Fix issue with colorblind mode not working anywhere except the Calendar Refactor status color function so it is used everywhere instead of one for the calendar and one everywhere else Refactor css style naming to be more consistent in the calendar with everything else
105 lines
1.6 KiB
CSS
105 lines
1.6 KiB
CSS
.container {
|
|
position: relative;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
border-radius: 4px;
|
|
background-color: #f5f5f5;
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.progressBar {
|
|
position: relative;
|
|
z-index: 1;
|
|
float: left;
|
|
width: 0;
|
|
height: 100%;
|
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
|
color: $white;
|
|
transition: width 0.6s ease;
|
|
}
|
|
|
|
.frontTextContainer {
|
|
z-index: 1;
|
|
color: $white;
|
|
}
|
|
|
|
.backTextContainer,
|
|
.frontTextContainer {
|
|
position: absolute;
|
|
overflow: hidden;
|
|
width: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.backText,
|
|
.frontText {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
cursor: default;
|
|
}
|
|
|
|
.primary {
|
|
background-color: $primaryColor;
|
|
}
|
|
|
|
.danger {
|
|
background-color: $dangerColor;
|
|
|
|
&:global(.colorImpaired) {
|
|
background: repeating-linear-gradient(90deg, $dangerColor, $dangerColor 5px, $dangerColor 5px, $dimColor 10px);
|
|
}
|
|
}
|
|
|
|
.success {
|
|
background-color: $successColor;
|
|
}
|
|
|
|
.purple {
|
|
background-color: $purple;
|
|
}
|
|
|
|
.warning {
|
|
background-color: $warningColor;
|
|
|
|
&:global(.colorImpaired) {
|
|
background: repeating-linear-gradient(45deg, $warningColor, $warningColor 5px, $warningColor 5px, $dimColor 10px);
|
|
}
|
|
}
|
|
|
|
.info {
|
|
background-color: $infoColor;
|
|
}
|
|
|
|
.queue {
|
|
background-color: $queueColor;
|
|
}
|
|
|
|
.small {
|
|
height: $progressBarSmallHeight;
|
|
|
|
.backText,
|
|
.frontText {
|
|
height: $progressBarSmallHeight;
|
|
}
|
|
}
|
|
|
|
.medium {
|
|
height: $progressBarMediumHeight;
|
|
|
|
.backText,
|
|
.frontText {
|
|
height: $progressBarMediumHeight;
|
|
}
|
|
}
|
|
|
|
.large {
|
|
height: $progressBarLargeHeight;
|
|
|
|
.backText,
|
|
.frontText {
|
|
height: $progressBarLargeHeight;
|
|
}
|
|
}
|