123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- .v-selection-control {
- align-items: center;
- contain: layout;
- display: flex;
- flex: 1 0;
- grid-area: control;
- position: relative;
- user-select: none;
- }
- .v-selection-control .v-label {
- white-space: normal;
- word-break: break-word;
- height: 100%;
- opacity: 1;
- }
- .v-selection-control--disabled {
- opacity: var(--v-disabled-opacity);
- pointer-events: none;
- }
- .v-selection-control--error:not(.v-selection-control--disabled) .v-label {
- color: rgb(var(--v-theme-error));
- }
- .v-selection-control--inline {
- display: inline-flex;
- flex: 0 0 auto;
- min-width: 0;
- max-width: 100%;
- }
- .v-selection-control--inline .v-label {
- width: auto;
- }
- .v-selection-control--density-default {
- --v-selection-control-size: 40px;
- }
- .v-selection-control--density-comfortable {
- --v-selection-control-size: 36px;
- }
- .v-selection-control--density-compact {
- --v-selection-control-size: 28px;
- }
- .v-selection-control__wrapper {
- width: var(--v-selection-control-size);
- height: var(--v-selection-control-size);
- display: inline-flex;
- align-items: center;
- position: relative;
- justify-content: center;
- flex: none;
- }
- .v-selection-control__input {
- width: var(--v-selection-control-size);
- height: var(--v-selection-control-size);
- align-items: center;
- display: flex;
- flex: none;
- justify-content: center;
- position: relative;
- border-radius: 50%;
- }
- .v-selection-control__input input {
- cursor: pointer;
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- opacity: 0;
- }
- .v-selection-control__input::before {
- border-radius: 100%;
- background-color: currentColor;
- opacity: 0;
- pointer-events: none;
- }
- .v-selection-control__input::before {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- }
- .v-selection-control__input:hover::before {
- opacity: calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier));
- }
- .v-selection-control__input > .v-icon {
- opacity: var(--v-medium-emphasis-opacity);
- }
- .v-selection-control--disabled .v-selection-control__input > .v-icon, .v-selection-control--dirty .v-selection-control__input > .v-icon, .v-selection-control--error .v-selection-control__input > .v-icon {
- opacity: 1;
- }
- .v-selection-control--error:not(.v-selection-control--disabled) .v-selection-control__input > .v-icon {
- color: rgb(var(--v-theme-error));
- }
- .v-selection-control--focus-visible .v-selection-control__input::before {
- opacity: calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier));
- }
|