123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408 |
- /** if false, disabled buttons will be greyed out */
- .v-btn {
- align-items: center;
- border-radius: 4px;
- display: inline-grid;
- grid-template-areas: "prepend content append";
- grid-template-columns: max-content auto max-content;
- font-weight: 500;
- justify-content: center;
- letter-spacing: 0.0892857143em;
- line-height: normal;
- max-width: 100%;
- outline: none;
- position: relative;
- text-decoration: none;
- text-indent: 0.0892857143em;
- text-transform: uppercase;
- transition-property: box-shadow, transform, opacity, background;
- transition-duration: 0.28s;
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
- user-select: none;
- vertical-align: middle;
- flex-shrink: 0;
- border-color: rgba(var(--v-border-color), var(--v-border-opacity));
- border-style: solid;
- border-width: 0;
- }
- .v-btn--size-x-small {
- --v-btn-size: 0.625rem;
- --v-btn-height: 20px;
- font-size: var(--v-btn-size);
- min-width: 36px;
- padding: 0 8px;
- }
- .v-btn--size-small {
- --v-btn-size: 0.75rem;
- --v-btn-height: 28px;
- font-size: var(--v-btn-size);
- min-width: 50px;
- padding: 0 12px;
- }
- .v-btn--size-default {
- --v-btn-size: 0.875rem;
- --v-btn-height: 36px;
- font-size: var(--v-btn-size);
- min-width: 64px;
- padding: 0 16px;
- }
- .v-btn--size-large {
- --v-btn-size: 1rem;
- --v-btn-height: 44px;
- font-size: var(--v-btn-size);
- min-width: 78px;
- padding: 0 20px;
- }
- .v-btn--size-x-large {
- --v-btn-size: 1.125rem;
- --v-btn-height: 52px;
- font-size: var(--v-btn-size);
- min-width: 92px;
- padding: 0 24px;
- }
- .v-btn.v-btn--density-default {
- height: calc(var(--v-btn-height) + 0px);
- }
- .v-btn.v-btn--density-comfortable {
- height: calc(var(--v-btn-height) + -8px);
- }
- .v-btn.v-btn--density-compact {
- height: calc(var(--v-btn-height) + -12px);
- }
- .v-btn--border {
- border-width: thin;
- box-shadow: none;
- }
- .v-btn--absolute {
- position: absolute;
- }
- .v-btn--fixed {
- position: fixed;
- }
- .v-btn:hover > .v-btn__overlay {
- opacity: calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier));
- }
- .v-btn:focus-visible > .v-btn__overlay {
- opacity: calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier));
- }
- @supports not selector(:focus-visible) {
- .v-btn:focus > .v-btn__overlay {
- opacity: calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier));
- }
- }
- .v-btn--active > .v-btn__overlay, .v-btn[aria-haspopup=menu][aria-expanded=true] > .v-btn__overlay {
- opacity: calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier));
- }
- .v-btn--active:hover > .v-btn__overlay, .v-btn[aria-haspopup=menu][aria-expanded=true]:hover > .v-btn__overlay {
- opacity: calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier));
- }
- .v-btn--active:focus-visible > .v-btn__overlay, .v-btn[aria-haspopup=menu][aria-expanded=true]:focus-visible > .v-btn__overlay {
- opacity: calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier));
- }
- @supports not selector(:focus-visible) {
- .v-btn--active:focus > .v-btn__overlay, .v-btn[aria-haspopup=menu][aria-expanded=true]:focus > .v-btn__overlay {
- opacity: calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier));
- }
- }
- .v-btn--variant-plain, .v-btn--variant-outlined, .v-btn--variant-text, .v-btn--variant-tonal {
- background: transparent;
- color: inherit;
- }
- .v-btn--variant-plain {
- opacity: 0.62;
- }
- .v-btn--variant-plain:focus, .v-btn--variant-plain:hover {
- opacity: 1;
- }
- .v-btn--variant-plain .v-btn__overlay {
- display: none;
- }
- .v-btn--variant-elevated, .v-btn--variant-flat {
- background: rgb(var(--v-theme-surface));
- color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
- }
- .v-btn--variant-elevated {
- box-shadow: 0px 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 2px 2px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 5px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
- }
- .v-btn--variant-flat {
- box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
- }
- .v-btn--variant-outlined {
- border: thin solid currentColor;
- }
- .v-btn--variant-text .v-btn__overlay {
- background: currentColor;
- }
- .v-btn--variant-tonal .v-btn__underlay {
- background: currentColor;
- opacity: var(--v-activated-opacity);
- border-radius: inherit;
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- pointer-events: none;
- }
- @supports selector(:focus-visible) {
- .v-btn::after {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- pointer-events: none;
- border: 2px solid currentColor;
- border-radius: inherit;
- opacity: 0;
- transition: opacity 0.2s ease-in-out;
- }
- .v-btn:focus-visible::after {
- opacity: calc(0.25 * var(--v-theme-overlay-multiplier));
- }
- }
- .v-btn--icon {
- border-radius: 50%;
- min-width: 0;
- padding: 0;
- }
- .v-btn--icon.v-btn--size-default {
- --v-btn-size: 1rem;
- }
- .v-btn--icon.v-btn--density-default {
- width: calc(var(--v-btn-height) + 12px);
- height: calc(var(--v-btn-height) + 12px);
- }
- .v-btn--icon.v-btn--density-comfortable {
- width: calc(var(--v-btn-height) + 0px);
- height: calc(var(--v-btn-height) + 0px);
- }
- .v-btn--icon.v-btn--density-compact {
- width: calc(var(--v-btn-height) + -8px);
- height: calc(var(--v-btn-height) + -8px);
- }
- .v-btn--elevated:hover, .v-btn--elevated:focus {
- box-shadow: 0px 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 4px 5px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 10px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
- }
- .v-btn--elevated:active {
- box-shadow: 0px 5px 5px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 8px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 3px 14px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
- }
- .v-btn--flat {
- box-shadow: none;
- }
- .v-btn--block {
- display: flex;
- flex: 1 0 auto;
- min-width: 100%;
- }
- .v-btn--disabled {
- pointer-events: none;
- opacity: 0.26;
- }
- .v-btn--disabled.v-btn--variant-elevated, .v-btn--disabled.v-btn--variant-flat {
- box-shadow: none;
- opacity: 1;
- color: rgba(var(--v-theme-on-surface), 0.26);
- background: rgb(var(--v-theme-surface));
- }
- .v-btn--disabled.v-btn--variant-elevated .v-btn__overlay, .v-btn--disabled.v-btn--variant-flat .v-btn__overlay {
- opacity: 0.4615384615;
- }
- .v-btn--loading {
- pointer-events: none;
- }
- .v-btn--loading .v-btn__content,
- .v-btn--loading .v-btn__prepend,
- .v-btn--loading .v-btn__append {
- opacity: 0;
- }
- .v-btn--stacked {
- grid-template-areas: "prepend" "content" "append";
- grid-template-columns: auto;
- grid-template-rows: max-content max-content max-content;
- justify-items: center;
- align-content: center;
- }
- .v-btn--stacked .v-btn__content {
- flex-direction: column;
- line-height: 1.25;
- }
- .v-btn--stacked .v-btn__prepend,
- .v-btn--stacked .v-btn__append,
- .v-btn--stacked .v-btn__content > .v-icon--start,
- .v-btn--stacked .v-btn__content > .v-icon--end {
- margin-inline-start: 0;
- margin-inline-end: 0;
- }
- .v-btn--stacked .v-btn__prepend,
- .v-btn--stacked .v-btn__content > .v-icon--start {
- margin-bottom: 4px;
- }
- .v-btn--stacked .v-btn__append,
- .v-btn--stacked .v-btn__content > .v-icon--end {
- margin-top: 4px;
- }
- .v-btn--stacked.v-btn--size-x-small {
- --v-btn-size: 0.625rem;
- --v-btn-height: 56px;
- font-size: var(--v-btn-size);
- min-width: 56px;
- padding: 0 12px;
- }
- .v-btn--stacked.v-btn--size-small {
- --v-btn-size: 0.75rem;
- --v-btn-height: 64px;
- font-size: var(--v-btn-size);
- min-width: 64px;
- padding: 0 14px;
- }
- .v-btn--stacked.v-btn--size-default {
- --v-btn-size: 0.875rem;
- --v-btn-height: 72px;
- font-size: var(--v-btn-size);
- min-width: 72px;
- padding: 0 16px;
- }
- .v-btn--stacked.v-btn--size-large {
- --v-btn-size: 1rem;
- --v-btn-height: 80px;
- font-size: var(--v-btn-size);
- min-width: 80px;
- padding: 0 18px;
- }
- .v-btn--stacked.v-btn--size-x-large {
- --v-btn-size: 1.125rem;
- --v-btn-height: 88px;
- font-size: var(--v-btn-size);
- min-width: 88px;
- padding: 0 20px;
- }
- .v-btn--stacked.v-btn--density-default {
- height: calc(var(--v-btn-height) + 0px);
- }
- .v-btn--stacked.v-btn--density-comfortable {
- height: calc(var(--v-btn-height) + -16px);
- }
- .v-btn--stacked.v-btn--density-compact {
- height: calc(var(--v-btn-height) + -24px);
- }
- .v-btn--rounded {
- border-radius: 24px;
- }
- .v-btn .v-icon {
- --v-icon-size-multiplier: 0.8571428571;
- }
- .v-btn--icon .v-icon {
- --v-icon-size-multiplier: 1;
- }
- .v-btn--stacked .v-icon {
- --v-icon-size-multiplier: 1.1428571429;
- }
- .v-btn__loader {
- align-items: center;
- display: flex;
- height: 100%;
- justify-content: center;
- left: 0;
- position: absolute;
- top: 0;
- width: 100%;
- }
- .v-btn__content,
- .v-btn__prepend,
- .v-btn__append {
- align-items: center;
- display: flex;
- transition: transform, opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
- }
- .v-btn__prepend {
- grid-area: prepend;
- margin-inline-start: calc(var(--v-btn-height) / -9);
- margin-inline-end: calc(var(--v-btn-height) / 4.5);
- }
- .v-btn__append {
- grid-area: append;
- margin-inline-start: calc(var(--v-btn-height) / 4.5);
- margin-inline-end: calc(var(--v-btn-height) / -9);
- }
- .v-btn__content {
- grid-area: content;
- justify-content: center;
- white-space: nowrap;
- }
- .v-btn__content > .v-icon--start {
- margin-inline-start: calc(var(--v-btn-height) / -9);
- margin-inline-end: calc(var(--v-btn-height) / 4.5);
- }
- .v-btn__content > .v-icon--end {
- margin-inline-start: calc(var(--v-btn-height) / 4.5);
- margin-inline-end: calc(var(--v-btn-height) / -9);
- }
- .v-btn--stacked .v-btn__content {
- white-space: normal;
- }
- .v-btn__overlay {
- background-color: currentColor;
- border-radius: inherit;
- opacity: 0;
- transition: opacity 0.2s ease-in-out;
- }
- .v-btn__overlay,
- .v-btn__underlay {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- pointer-events: none;
- }
- .v-card-actions .v-btn {
- padding: 0 8px;
- }
- .v-card-actions .v-btn ~ .v-btn:not(.v-btn-toggle .v-btn) {
- margin-inline-start: 0.5rem;
- }
- .v-banner-actions .v-btn {
- padding: 0 8px;
- }
- .v-pagination .v-btn {
- border-radius: 4px;
- }
- .v-btn__overlay {
- transition: none;
- }
- .v-pagination__item--is-active .v-btn__overlay {
- opacity: var(--v-border-opacity);
- }
- .v-snackbar-actions .v-btn {
- padding: 0 8px;
- }
|