mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 09:38:51 +02:00
47 lines
761 B
SCSS
47 lines
761 B
SCSS
// core
|
|
.p-checkbox {
|
|
position: relative;
|
|
display: inline-flex;
|
|
user-select: none;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.p-checkbox-input {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.p-checkbox-box {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
// theme
|
|
.p-tristatecheckbox {
|
|
&.p-variant-filled {
|
|
.p-checkbox-box {
|
|
background-color: $inputFilledBg;
|
|
}
|
|
|
|
&.p-highlight {
|
|
.p-checkbox-box {
|
|
background: $checkboxActiveBg;
|
|
}
|
|
}
|
|
|
|
&:not(.p-disabled) {
|
|
&:has(.p-checkbox-input:hover) {
|
|
.p-checkbox-box {
|
|
background-color: $inputFilledHoverBg;
|
|
}
|
|
|
|
&.p-highlight {
|
|
.p-checkbox-box {
|
|
background: $checkboxActiveHoverBg;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|