routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+128
@@ -0,0 +1,128 @@
|
||||
@layer vuetify-components {
|
||||
.v-stepper-item {
|
||||
margin: 0;
|
||||
font: inherit;
|
||||
overflow: visible;
|
||||
text-transform: none;
|
||||
background-color: transparent;
|
||||
border-style: none;
|
||||
color: inherit;
|
||||
align-items: center;
|
||||
align-self: stretch;
|
||||
display: inline-flex;
|
||||
flex: none;
|
||||
outline: none;
|
||||
opacity: var(--v-medium-emphasis-opacity);
|
||||
padding: 1.5rem;
|
||||
position: relative;
|
||||
transition-duration: 0.2s;
|
||||
transition-property: opacity;
|
||||
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
.v-stepper-item:hover > .v-stepper-item__overlay {
|
||||
opacity: calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier));
|
||||
}
|
||||
.v-stepper-item:focus-visible > .v-stepper-item__overlay {
|
||||
opacity: calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier));
|
||||
}
|
||||
@supports not selector(:focus-visible) {
|
||||
.v-stepper-item:focus > .v-stepper-item__overlay {
|
||||
opacity: calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier));
|
||||
}
|
||||
}
|
||||
.v-stepper-item--active > .v-stepper-item__overlay, .v-stepper-item[aria-haspopup=menu][aria-expanded=true] > .v-stepper-item__overlay {
|
||||
opacity: calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier));
|
||||
}
|
||||
.v-stepper-item--active:hover > .v-stepper-item__overlay, .v-stepper-item[aria-haspopup=menu][aria-expanded=true]:hover > .v-stepper-item__overlay {
|
||||
opacity: calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier));
|
||||
}
|
||||
.v-stepper-item--active:focus-visible > .v-stepper-item__overlay, .v-stepper-item[aria-haspopup=menu][aria-expanded=true]:focus-visible > .v-stepper-item__overlay {
|
||||
opacity: calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier));
|
||||
}
|
||||
@supports not selector(:focus-visible) {
|
||||
.v-stepper-item--active:focus > .v-stepper-item__overlay, .v-stepper-item[aria-haspopup=menu][aria-expanded=true]:focus > .v-stepper-item__overlay {
|
||||
opacity: calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier));
|
||||
}
|
||||
}
|
||||
.v-stepper--non-linear .v-stepper-item {
|
||||
opacity: var(--v-high-emphasis-opacity);
|
||||
}
|
||||
.v-stepper-item--selected {
|
||||
opacity: 1;
|
||||
}
|
||||
.v-stepper-item--error {
|
||||
color: rgb(var(--v-theme-error));
|
||||
}
|
||||
.v-stepper-item--disabled {
|
||||
opacity: var(--v-medium-emphasis-opacity);
|
||||
}
|
||||
.v-stepper-item[disabled], .v-stepper-item--disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
.v-stepper--alt-labels .v-stepper-item {
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
flex-basis: 175px;
|
||||
}
|
||||
.v-stepper-item__avatar.v-avatar {
|
||||
background: color-mix(in srgb, rgb(var(--v-theme-surface-variant)) calc(var(--v-medium-emphasis-opacity) * 100%), transparent);
|
||||
color: rgb(var(--v-theme-on-surface-variant));
|
||||
font-size: 0.75rem;
|
||||
margin-inline-end: 8px;
|
||||
}
|
||||
.v-stepper--mobile .v-stepper-item__avatar.v-avatar {
|
||||
margin-inline-end: 0;
|
||||
}
|
||||
.v-stepper-item__avatar.v-avatar .v-icon {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
.v-stepper-item--selected .v-stepper-item__avatar.v-avatar, .v-stepper-item--complete .v-stepper-item__avatar.v-avatar {
|
||||
background: rgb(var(--v-theme-surface-variant));
|
||||
}
|
||||
.v-stepper-item--error .v-stepper-item__avatar.v-avatar {
|
||||
background: rgb(var(--v-theme-error));
|
||||
}
|
||||
.v-stepper--alt-labels .v-stepper-item__avatar.v-avatar {
|
||||
margin-bottom: 16px;
|
||||
margin-inline-end: 0;
|
||||
}
|
||||
.v-stepper-item__content {
|
||||
text-align: start;
|
||||
}
|
||||
.v-stepper--alt-labels .v-stepper-item__content {
|
||||
text-align: center;
|
||||
}
|
||||
.v-stepper-item__title {
|
||||
line-height: 1;
|
||||
}
|
||||
.v-stepper--mobile .v-stepper-item__title {
|
||||
display: none;
|
||||
}
|
||||
.v-stepper-item__subtitle {
|
||||
font-size: 0.75rem;
|
||||
line-height: 1;
|
||||
opacity: var(--v-medium-emphasis-opacity);
|
||||
}
|
||||
.v-stepper--mobile .v-stepper-item__subtitle {
|
||||
display: none;
|
||||
}
|
||||
.v-stepper-item__overlay {
|
||||
background-color: currentColor;
|
||||
border-radius: inherit;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
}
|
||||
.v-stepper-item__overlay,
|
||||
.v-stepper-item__underlay {
|
||||
pointer-events: none;
|
||||
}
|
||||
.v-stepper-item__overlay,
|
||||
.v-stepper-item__underlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user