- 웹훅 URL을 https://admin.youtooplay.com/webhook로 변경 - Nginx 리버스 프록시 설정 파일 추가 - 배포 가이드 업데이트
This commit is contained in:
70
@core/scss/template/libs/vuetify/components/_alert.scss
Normal file
70
@core/scss/template/libs/vuetify/components/_alert.scss
Normal file
@@ -0,0 +1,70 @@
|
||||
@use "@core/scss/base/mixins";
|
||||
@use "@configured-variables" as variables;
|
||||
@use "@core/scss/template/mixins" as templateMixins;
|
||||
|
||||
/* 👉 Alert
|
||||
/ ℹ️ custom icon styling */
|
||||
|
||||
$alert-prepend-icon-font-size: 1.125rem !important;
|
||||
|
||||
.v-alert:not(.v-alert--prominent) {
|
||||
.v-alert__prepend {
|
||||
padding: 0.125rem;
|
||||
border-radius: 1rem;
|
||||
background-color: #fff;
|
||||
|
||||
.v-icon {
|
||||
block-size: $alert-prepend-icon-font-size;
|
||||
font-size: $alert-prepend-icon-font-size;
|
||||
inline-size: $alert-prepend-icon-font-size;
|
||||
}
|
||||
}
|
||||
|
||||
.v-alert-title {
|
||||
margin-block-end: 0.25rem;
|
||||
}
|
||||
|
||||
.v-alert__close {
|
||||
.v-btn--icon {
|
||||
.v-icon {
|
||||
block-size: 1.25rem;
|
||||
font-size: 1.25rem;
|
||||
inline-size: 1.25rem;
|
||||
}
|
||||
|
||||
.v-btn__overlay,
|
||||
.v-ripple__container {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
.v-alert {
|
||||
|
||||
&:not(.v-alert--prominent).text-#{$color-name},
|
||||
&:not(.v-alert--prominent).bg-#{$color-name} {
|
||||
.v-alert__prepend {
|
||||
border: 2px solid rgb(var(--v-theme-#{$color-name}-light));
|
||||
color: rgba(var(--v-theme-#{$color-name})) !important;
|
||||
|
||||
@include mixins.elevation(2);
|
||||
}
|
||||
}
|
||||
|
||||
&--variant-outlined:not(.v-alert--prominent),
|
||||
&--variant-tonal:not(.v-alert--prominent),
|
||||
&--variant-plain:not(.v-alert--prominent) {
|
||||
&.bg-#{$color-name},
|
||||
&.text-#{$color-name} {
|
||||
.v-alert__prepend {
|
||||
border: none;
|
||||
background-color: rgb(var(--v-theme-#{$color-name}));
|
||||
box-shadow: 0 0 0 2px rgba(var(--v-theme-#{$color-name}), 0.16);
|
||||
color: #fff !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
27
@core/scss/template/libs/vuetify/components/_avatar.scss
Normal file
27
@core/scss/template/libs/vuetify/components/_avatar.scss
Normal file
@@ -0,0 +1,27 @@
|
||||
@use "@core/scss/base/mixins";
|
||||
|
||||
// 👉 Avatar
|
||||
body {
|
||||
.v-avatar {
|
||||
.v-icon {
|
||||
block-size: 1.5rem;
|
||||
inline-size: 1.5rem;
|
||||
}
|
||||
|
||||
&.v-avatar--variant-tonal:not([class*="text-"]) {
|
||||
.v-avatar__underlay {
|
||||
--v-activated-opacity: 0.08;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.v-avatar-group {
|
||||
> * {
|
||||
&:hover {
|
||||
transform: translateY(-5px) scale(1);
|
||||
|
||||
@include mixins.elevation(6);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
25
@core/scss/template/libs/vuetify/components/_badge.scss
Normal file
25
@core/scss/template/libs/vuetify/components/_badge.scss
Normal file
@@ -0,0 +1,25 @@
|
||||
@use "@configured-variables" as variables;
|
||||
|
||||
// 👉 Badge
|
||||
.v-badge {
|
||||
.v-badge__badge .v-icon {
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
|
||||
&.v-badge--bordered:not(.v-badge--dot) {
|
||||
.v-badge__badge {
|
||||
&::after {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.v-badge--tonal {
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
.v-badge__badge.bg-#{$color-name} {
|
||||
background-color: rgba(var(--v-theme-#{$color-name}), 0.16) !important;
|
||||
color: rgb(var(--v-theme-#{$color-name})) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
278
@core/scss/template/libs/vuetify/components/_button.scss
Normal file
278
@core/scss/template/libs/vuetify/components/_button.scss
Normal file
@@ -0,0 +1,278 @@
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
@use "sass:list";
|
||||
@use "sass:map";
|
||||
@use "@core/scss/template/mixins" as templateMixins;
|
||||
@use "@configured-variables" as variables;
|
||||
|
||||
/* 👉 Button
|
||||
Above map but opacity values as key and variant as value */
|
||||
|
||||
body .v-btn {
|
||||
// ℹ️ This is necessary because as we have darker overlay on hover for elevated variant, button text doesn't get dimmed
|
||||
// This style is already applied to `.v-icon`
|
||||
.v-btn__content {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
transition: all 0.135s ease; /* Add transition */
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-1px); /* Add transition */
|
||||
}
|
||||
|
||||
// box-shadow
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
&:not(.v-btn--disabled) {
|
||||
&.bg-#{$color-name}.v-btn--variant-elevated {
|
||||
&,
|
||||
&:hover {
|
||||
@include templateMixins.custom-elevation(var(--v-theme-#{$color-name}), "sm");
|
||||
}
|
||||
|
||||
&:focus,
|
||||
&:active {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Default (elevated) button
|
||||
&--variant-elevated,
|
||||
&--variant-flat {
|
||||
// We want a darken color on hover
|
||||
&:not(.v-btn--loading, .v-btn--disabled) {
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
&.bg-#{$color-name} {
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
background-color: rgb(var(--v-theme-#{$color-name}-darken-1)) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&--variant-outlined,
|
||||
&--variant-tonal {
|
||||
// We want a darken color on hover
|
||||
&:not(.v-btn--loading, .v-btn--disabled) {
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
&.text-#{$color-name} {
|
||||
&:hover {
|
||||
@include templateMixins.custom-elevation(var(--v-theme-#{$color-name}), "sm");
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
border-color: rgba(var(--v-theme-#{$color-name}-darken-1));
|
||||
background-color: rgba(var(--v-theme-#{$color-name}-darken-1));
|
||||
color: #fff !important;
|
||||
|
||||
.v-btn__underlay {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&--variant-text {
|
||||
.v-btn__overlay {
|
||||
--v-hover-opacity: 0.08;
|
||||
}
|
||||
|
||||
&:active,
|
||||
&:focus {
|
||||
.v-btn__overlay {
|
||||
opacity: var(--v-selected-opacity);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Text button
|
||||
&:not(.v-btn--icon, .v-tab) {
|
||||
&.v-btn--variant-text,
|
||||
&.v-btn--variant-plain {
|
||||
&.v-btn--size-default {
|
||||
padding-inline: 0.75rem;
|
||||
}
|
||||
|
||||
&.v-btn--size-small {
|
||||
padding-inline: 0.5rem;
|
||||
}
|
||||
|
||||
&.v-btn--size-large {
|
||||
padding-inline: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Button border-radius
|
||||
&:not(.v-btn--icon).v-btn--size-x-small {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
&:not(.v-btn--icon).v-btn--size-small {
|
||||
border-radius: 4px;
|
||||
line-height: 1.125rem;
|
||||
padding-block: 0;
|
||||
padding-inline: 0.75rem;
|
||||
|
||||
.v-icon {
|
||||
--v-icon-size-multiplier: 0.821;
|
||||
}
|
||||
|
||||
.v-btn__prepend,
|
||||
.v-btn__content > .v-icon--start {
|
||||
margin-inline: 0 0.375rem;
|
||||
}
|
||||
|
||||
.v-btn__append,
|
||||
.v-btn__content > .v-icon--end {
|
||||
margin-inline: 0.375rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.v-btn--icon).v-btn--size-default {
|
||||
.v-btn__content,
|
||||
.v-btn__append,
|
||||
.v-btn__prepend {
|
||||
.v-icon {
|
||||
--v-icon-size-multiplier: 0.7113;
|
||||
|
||||
block-size: 1.125rem;
|
||||
font-size: 1.125rem;
|
||||
inline-size: 1.125rem;
|
||||
}
|
||||
|
||||
.v-icon--start {
|
||||
margin-inline: 0 8px;
|
||||
}
|
||||
|
||||
.v-icon--end {
|
||||
margin-inline: 8px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.v-btn--icon).v-btn--size-large {
|
||||
--v-btn-height: 3rem;
|
||||
|
||||
border-radius: 8px;
|
||||
line-height: 1.625rem;
|
||||
padding-block: 0;
|
||||
padding-inline: 1.5rem;
|
||||
|
||||
.v-icon {
|
||||
--v-icon-size-multiplier: 0.7848;
|
||||
}
|
||||
|
||||
.v-btn__prepend,
|
||||
.v-btn__content > .v-icon--start {
|
||||
margin-inline: 0 0.625rem;
|
||||
}
|
||||
|
||||
.v-btn__append,
|
||||
.v-btn__content > .v-icon--end {
|
||||
margin-inline: 0.625rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.v-btn--icon).v-btn--size-x-large {
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
// icon buttons
|
||||
&.v-btn--icon.v-btn--density-default {
|
||||
block-size: var(--v-btn-height);
|
||||
inline-size: var(--v-btn-height);
|
||||
|
||||
&.v-btn--size-default {
|
||||
.v-icon {
|
||||
--v-icon-size-multiplier: 0.978 !important;
|
||||
|
||||
block-size: 1.375rem;
|
||||
font-size: 1.375rem;
|
||||
inline-size: 1.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.v-btn--size-small {
|
||||
--v-btn-height: 2.125rem;
|
||||
|
||||
.v-icon {
|
||||
block-size: 1.25rem;
|
||||
font-size: 1.25rem;
|
||||
inline-size: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.v-btn--size-large {
|
||||
--v-btn-height: 2.625rem;
|
||||
|
||||
.v-icon {
|
||||
block-size: 1.5rem;
|
||||
font-size: 1.5rem;
|
||||
inline-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Button group
|
||||
&-group.v-btn-toggle {
|
||||
.v-btn {
|
||||
block-size: 54px !important;
|
||||
inline-size: 54px !important;
|
||||
|
||||
&.v-btn--density-comfortable {
|
||||
block-size: 46px !important;
|
||||
inline-size: 46px !important;
|
||||
}
|
||||
|
||||
&.v-btn--density-compact {
|
||||
block-size: 38px !important;
|
||||
inline-size: 38px !important;
|
||||
}
|
||||
|
||||
&.v-btn--icon .v-icon {
|
||||
block-size: 1.375rem;
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
|
||||
font-size: 1.375rem;
|
||||
inline-size: 1.375rem;
|
||||
}
|
||||
|
||||
&.v-btn--icon.v-btn--active {
|
||||
.v-icon {
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.v-btn-group {
|
||||
align-items: center;
|
||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
||||
border-radius: 0.5rem;
|
||||
block-size: 54px;
|
||||
|
||||
.v-btn.v-btn--active {
|
||||
.v-btn__overlay {
|
||||
--v-activated-opacity: 0.08;
|
||||
}
|
||||
}
|
||||
|
||||
&.v-btn-group--density-compact {
|
||||
border-radius: 0.25rem;
|
||||
block-size: 38px;
|
||||
}
|
||||
|
||||
&.v-btn-group--density-comfortable {
|
||||
border-radius: 0.375rem;
|
||||
block-size: 46px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
3
@core/scss/template/libs/vuetify/components/_cards.scss
Normal file
3
@core/scss/template/libs/vuetify/components/_cards.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
.v-card-subtitle {
|
||||
color: rgba(var(--v-theme-on-background), 0.55);
|
||||
}
|
||||
63
@core/scss/template/libs/vuetify/components/_checkbox.scss
Normal file
63
@core/scss/template/libs/vuetify/components/_checkbox.scss
Normal file
@@ -0,0 +1,63 @@
|
||||
@use "sass:list";
|
||||
@use "sass:map";
|
||||
@use "@styles/variables/vuetify";
|
||||
@use "@configured-variables" as variables;
|
||||
|
||||
// 👉 Checkbox
|
||||
.v-checkbox {
|
||||
// We adjusted it to vertically align the label
|
||||
|
||||
.v-selection-control--disabled {
|
||||
--v-disabled-opacity: 0.45;
|
||||
}
|
||||
|
||||
// Remove extra space below the label
|
||||
.v-input__details {
|
||||
min-block-size: unset !important;
|
||||
padding-block-start: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
// 👉 checkbox size and box shadow
|
||||
.v-checkbox-btn {
|
||||
// 👉 Checkbox icon opacity
|
||||
.v-selection-control__input {
|
||||
> .v-icon {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
> .custom-checkbox-indeterminate {
|
||||
color: rgb(var(--v-theme-primary));
|
||||
}
|
||||
}
|
||||
|
||||
&.v-selection-control--dirty {
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
.v-selection-control__wrapper.text-#{$color-name} {
|
||||
.v-selection-control__input {
|
||||
/* ℹ️ Using filter: drop-shadow() instead of box-shadow because box-shadow creates white background for SVG; */
|
||||
.v-icon {
|
||||
filter: drop-shadow(0 2px 4px rgba(var(--v-theme-#{$color-name}), 0.4));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// checkbox icon size
|
||||
.v-checkbox,
|
||||
.v-checkbox-btn {
|
||||
&.v-selection-control {
|
||||
.v-selection-control__input {
|
||||
svg {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.v-label {
|
||||
color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity));
|
||||
line-height: 1.375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
122
@core/scss/template/libs/vuetify/components/_chip.scss
Normal file
122
@core/scss/template/libs/vuetify/components/_chip.scss
Normal file
@@ -0,0 +1,122 @@
|
||||
// 👉 Chip
|
||||
.v-chip {
|
||||
line-height: 1.25rem;
|
||||
|
||||
.v-chip__close {
|
||||
margin-inline: 4px -6px !important;
|
||||
|
||||
.v-icon {
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
.v-chip__content {
|
||||
.v-icon {
|
||||
block-size: 20px;
|
||||
font-size: 20px;
|
||||
inline-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.v-chip--variant-elevated) {
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
||||
}
|
||||
|
||||
&.v-chip--variant-elevated {
|
||||
background-color: rgba(var(--v-theme-on-surface), var(--v-activated-opacity));
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
||||
}
|
||||
|
||||
&:not([class*="text-"]) {
|
||||
--v-activated-opacity: 0.08;
|
||||
}
|
||||
|
||||
// common style for all sizes
|
||||
&.v-chip--size-default,
|
||||
&.v-chip--size-small {
|
||||
.v-icon--start {
|
||||
margin-inline: -6px 4px !important;
|
||||
}
|
||||
|
||||
.v-icon--end {
|
||||
margin-inline: 4px -6px !important;
|
||||
}
|
||||
|
||||
.v-avatar--start {
|
||||
margin-inline-end: 4px !important;
|
||||
}
|
||||
|
||||
.v-avatar--end {
|
||||
margin-inline-start: 4px !important;
|
||||
}
|
||||
}
|
||||
|
||||
// small size
|
||||
&:not(.v-chip--pill).v-chip--size-small {
|
||||
--v-chip-height: 24px;
|
||||
|
||||
font-size: 13px;
|
||||
padding-inline: 0.625rem;
|
||||
|
||||
&.v-chip--label {
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.v-avatar {
|
||||
--v-avatar-height: 16px;
|
||||
}
|
||||
|
||||
.v-chip__close {
|
||||
font-size: 16px;
|
||||
max-block-size: 16px;
|
||||
max-inline-size: 16px;
|
||||
}
|
||||
|
||||
.v-chip__content {
|
||||
.v-icon {
|
||||
block-size: 16px;
|
||||
font-size: 16px;
|
||||
inline-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// extra small size
|
||||
&:not(.v-chip--pill).v-chip--size-x-small {
|
||||
--v-chip-height: 20px;
|
||||
|
||||
&.v-chip--label {
|
||||
border-radius: 0.25rem;
|
||||
padding-inline: 0.625rem;
|
||||
}
|
||||
|
||||
font-size: 13px;
|
||||
|
||||
.v-avatar {
|
||||
--v-avatar-height: 16px;
|
||||
}
|
||||
|
||||
.v-chip__close {
|
||||
font-size: 16px;
|
||||
max-block-size: 16px;
|
||||
max-inline-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
// default size
|
||||
&:not(.v-chip--pill).v-chip--size-default {
|
||||
padding-inline: 0.75rem;
|
||||
|
||||
.v-avatar {
|
||||
--v-avatar-height: 20px;
|
||||
}
|
||||
|
||||
.v-avatar--start {
|
||||
margin-inline: -6px 4px;
|
||||
}
|
||||
|
||||
.v-avatar--end {
|
||||
margin-inline: 4px -6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
24
@core/scss/template/libs/vuetify/components/_dialog.scss
Normal file
24
@core/scss/template/libs/vuetify/components/_dialog.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
@use "@layouts/styles/mixins" as layoutsMixins;
|
||||
|
||||
// 👉 Dialog
|
||||
body .v-dialog {
|
||||
// dialog custom close btn
|
||||
.v-dialog-close-btn {
|
||||
border-radius: 0.25rem;
|
||||
inset-block-start: 0;
|
||||
inset-inline-end: 0;
|
||||
transform: translate(0.5rem, -0.5rem);
|
||||
|
||||
@include layoutsMixins.rtl {
|
||||
transform: translate(-0.5rem, -0.5rem);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transform: translate(0.3125rem, -0.3125rem);
|
||||
|
||||
@include layoutsMixins.rtl {
|
||||
transform: translate(-0.3125rem, -0.3125rem);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
@use "@core/scss/base/mixins";
|
||||
@use "@layouts/styles/mixins" as layoutsMixins;
|
||||
|
||||
// 👉 Expansion panels
|
||||
body .v-layout .v-application__wrap .v-expansion-panels {
|
||||
.v-expansion-panel {
|
||||
margin-block-start: 0 !important;
|
||||
|
||||
// expansion panel arrow font size
|
||||
.v-expansion-panel-title {
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
||||
font-weight: 500;
|
||||
|
||||
.v-expansion-panel-title__icon {
|
||||
transition: transform 0.2s ease-in-out;
|
||||
|
||||
.v-icon {
|
||||
block-size: 1.25rem !important;
|
||||
font-size: 1.25rem !important;
|
||||
inline-size: 1.25rem !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.v-expansion-panel-title,
|
||||
.v-expansion-panel-title--active,
|
||||
.v-expansion-panel-title:hover,
|
||||
.v-expansion-panel-title:focus,
|
||||
.v-expansion-panel-title:focus-visible,
|
||||
.v-expansion-panel-title--active:focus,
|
||||
.v-expansion-panel-title--active:hover {
|
||||
.v-expansion-panel-title__overlay {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Set Elevation when panel open
|
||||
&:not(.v-expansion-panels--variant-accordion) {
|
||||
&.v-expansion-panel--active {
|
||||
.v-expansion-panel__shadow {
|
||||
@include mixins.elevation(6);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// custom style for expansion panels
|
||||
&.expansion-panels-width-border {
|
||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
||||
border-radius: 0.375rem;
|
||||
|
||||
.v-expansion-panel-title {
|
||||
background-color: rgb(var(--v-theme-grey-light));
|
||||
border-block-end: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
||||
margin-block-end: -1px;
|
||||
}
|
||||
|
||||
.v-expansion-panel-text {
|
||||
.v-expansion-panel-text__wrapper {
|
||||
padding: 1.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.expansion-panels-width-border) {
|
||||
.v-expansion-panel {
|
||||
&:not(:last-child) {
|
||||
margin-block-end: 0.5rem;
|
||||
}
|
||||
|
||||
&:not(:first-child)::after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
// ℹ️ we have to use below style of increase the specificity and override the default style
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
&:first-child:not(:last-child),
|
||||
&:not(:first-child, :last-child),
|
||||
&:not(:first-child) {
|
||||
border-radius: 0.375rem !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
316
@core/scss/template/libs/vuetify/components/_field.scss
Normal file
316
@core/scss/template/libs/vuetify/components/_field.scss
Normal file
@@ -0,0 +1,316 @@
|
||||
@use "sass:map";
|
||||
@use "@configured-variables" as variables;
|
||||
@use "@core/scss/template/mixins" as templateMixins;
|
||||
|
||||
$v-input-density: (
|
||||
comfortable: (
|
||||
icon-size: 1.125rem,
|
||||
font-size: 0.9375rem,
|
||||
line-height: 1.5rem,
|
||||
),
|
||||
default: (
|
||||
icon-size: 1.25rem,
|
||||
font-size: 1.0625rem,
|
||||
line-height: 1.5rem,
|
||||
),
|
||||
compact: (
|
||||
icon-size: 1rem,
|
||||
font-size: 0.8125rem,
|
||||
line-height: 1.375rem,
|
||||
),
|
||||
);
|
||||
|
||||
// 👉 VInput
|
||||
.v-input {
|
||||
// 👉 VField
|
||||
.v-field {
|
||||
.v-field__loader {
|
||||
.v-progress-linear {
|
||||
.v-progress-linear__background {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.v-field--variant-solo,
|
||||
&.v-field--variant-filled {
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
|
||||
}
|
||||
|
||||
// Color for text field
|
||||
.v-field__input {
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
||||
}
|
||||
|
||||
// Make field border width 2px when error
|
||||
&.v-field--error {
|
||||
.v-field__outline {
|
||||
--v-field-border-width: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
// Label
|
||||
&.v-field--variant-outlined {
|
||||
.v-label {
|
||||
&.v-field-label--floating {
|
||||
line-height: 0.9375rem;
|
||||
margin-block: 0;
|
||||
margin-inline: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.v-field--focused, .v-field--error):hover .v-field__outline {
|
||||
--v-field-border-opacity: 0.6 !important;
|
||||
}
|
||||
|
||||
// Shadow on focus
|
||||
&.v-field--variant-outlined.v-field--focused:not(.v-field--error, .v-field--success) {
|
||||
.v-field__outline {
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
&.text-#{$color-name} {
|
||||
@include templateMixins.custom-elevation(var(--v-theme-#{$color-name}), "sm");
|
||||
}
|
||||
}
|
||||
|
||||
&:not([class*="text-"]) {
|
||||
@include templateMixins.custom-elevation(var(--v-theme-primary), "sm");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Give hint messages color based on theme color
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
&:has( .v-field.v-field--focused .v-field__outline.text-#{$color-name}) {
|
||||
.v-messages {
|
||||
color: rgb(var(--v-theme-#{$color-name}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Loop through each density setting in the map
|
||||
@each $density, $settings in $v-input-density {
|
||||
&.v-input--density-#{$density} {
|
||||
.v-input__append,
|
||||
.v-input__prepend,
|
||||
.v-input__details,
|
||||
.v-field .v-field__append-inner,
|
||||
.v-field .v-field__prepend-inner,
|
||||
.v-field .v-field__clearable {
|
||||
> .v-icon {
|
||||
block-size: map.get($settings, icon-size);
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
||||
font-size: map.get($settings, icon-size);
|
||||
inline-size: map.get($settings, icon-size);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.v-field {
|
||||
.v-field__input {
|
||||
font-size: map.get($settings, font-size);
|
||||
line-height: map.get($settings, line-height);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 👉 TextField, Select, AutoComplete, ComboBox, Textarea
|
||||
// ℹ️ We added .v-application to increase the specificity of the selector
|
||||
|
||||
// Styles related to our custom input components
|
||||
body {
|
||||
.app-text-field,
|
||||
.app-select,
|
||||
.app-autocomplete,
|
||||
.app-combobox,
|
||||
.app-textarea,
|
||||
.app-file-input,
|
||||
.app-picker-field {
|
||||
color: rgba(var(--v-theme-on-surface));
|
||||
|
||||
// making padding 0 for help text
|
||||
.v-text-field,
|
||||
.v-file-input {
|
||||
.v-input__details {
|
||||
padding-inline-start: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Placeholder
|
||||
.v-input {
|
||||
.v-field {
|
||||
// Placeholder transition
|
||||
input,
|
||||
.v-field__input {
|
||||
&::placeholder {
|
||||
transition: transform 0.2s ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
&.v-field--focused {
|
||||
input,
|
||||
.v-field__input {
|
||||
&::placeholder {
|
||||
transform: translateX(4px) !important;
|
||||
|
||||
[dir="rtl"] & {
|
||||
transform: translateX(-4px) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// padding for different density
|
||||
&.v-input--density-default {
|
||||
.v-field {
|
||||
border-radius: 8px;
|
||||
|
||||
.v-field__input {
|
||||
--v-field-padding-start: 20px;
|
||||
--v-field-padding-end: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.v-input--density-comfortable {
|
||||
.v-field {
|
||||
.v-field__input {
|
||||
--v-field-padding-start: 14px;
|
||||
--v-field-padding-end: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.v-input--density-compact {
|
||||
.v-field {
|
||||
border-radius: 4px;
|
||||
|
||||
.v-field__input {
|
||||
--v-field-padding-start: 12px;
|
||||
--v-field-padding-end: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Disabled state
|
||||
&:has(.v-input.v-input--disabled) {
|
||||
.v-label {
|
||||
color: rgba(var(--v-theme-on-surface), 0.4);
|
||||
}
|
||||
|
||||
.v-input {
|
||||
.v-field.v-field--disabled {
|
||||
background-color: rgba(var(--v-theme-on-surface), var(--v-hover-opacity));
|
||||
opacity: 1;
|
||||
|
||||
.v-field__outline {
|
||||
--v-field-border-opacity: 0.24;
|
||||
}
|
||||
|
||||
.v-field__input {
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-disabled-opacity));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Apply color to label
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
.v-label {
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
||||
|
||||
&:has(+ .v-input .v-field.v-field--focused .v-field__outline.text-#{$color-name}) {
|
||||
color: rgb(var(--v-theme-#{$color-name}));
|
||||
}
|
||||
|
||||
&:has(+ .v-input .v-field.v-field--error) {
|
||||
color: rgb(var(--v-theme-error));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin style-selectable-component($component-name) {
|
||||
.app-#{$component-name} {
|
||||
.v-#{$component-name}__selection {
|
||||
line-height: 24px;
|
||||
margin-block: 0 !important;
|
||||
}
|
||||
|
||||
// Vertical alignment of placeholder & text
|
||||
.v-#{$component-name} .v-field .v-field__input > input {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
// Chips
|
||||
|
||||
.v-#{$component-name}.v-#{$component-name}--chips.v-input--dirty {
|
||||
.v-#{$component-name}__selection {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.v-field__input {
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
&.v-input--density-compact {
|
||||
.v-field__input {
|
||||
padding-inline-start: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.v-input--density-comfortable {
|
||||
.v-field__input {
|
||||
padding-inline-start: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.v-input--density-default {
|
||||
.v-field__input {
|
||||
padding-inline-start: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include style-selectable-component("autocomplete");
|
||||
@include style-selectable-component("select");
|
||||
@include style-selectable-component("combobox");
|
||||
|
||||
// AutoComplete
|
||||
@at-root {
|
||||
.app-autocomplete__content {
|
||||
.v-list-item--active {
|
||||
.v-autocomplete__mask {
|
||||
background: rgba(92, 82, 192, 60%);
|
||||
}
|
||||
}
|
||||
|
||||
.v-theme--dark {
|
||||
.v-list-item:not(.v-list-item--active) {
|
||||
.v-autocomplete__mask {
|
||||
background: rgba(59, 64, 92, 60%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.app-inner-list {
|
||||
// Hide checkboxes
|
||||
.v-selection-control {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Hide resizer
|
||||
::-webkit-resizer {
|
||||
background: transparent;
|
||||
}
|
||||
30
@core/scss/template/libs/vuetify/components/_list.scss
Normal file
30
@core/scss/template/libs/vuetify/components/_list.scss
Normal file
@@ -0,0 +1,30 @@
|
||||
// 👉 List
|
||||
.v-list-item {
|
||||
--v-hover-opacity: 0.06 !important;
|
||||
|
||||
.v-checkbox-btn.v-selection-control--density-compact {
|
||||
margin-inline-end: 0.5rem;
|
||||
}
|
||||
|
||||
.v-list-item__overlay {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.v-list-item__prepend {
|
||||
.v-icon {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.v-list-item--active {
|
||||
&.v-list-group__header {
|
||||
color: rgb(var(--v-theme-primary));
|
||||
}
|
||||
|
||||
&:not(.v-list-group__header) {
|
||||
.v-list-item-subtitle {
|
||||
color: rgb(var(--v-theme-primary));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
@core/scss/template/libs/vuetify/components/_menu.scss
Normal file
33
@core/scss/template/libs/vuetify/components/_menu.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
// Style list differently when it's used in a components like select, menu etc
|
||||
.v-menu {
|
||||
// Adjust padding of list item inside menu
|
||||
.v-list-item {
|
||||
padding-block: 8px !important;
|
||||
padding-inline: 20px !important;
|
||||
}
|
||||
}
|
||||
|
||||
// 👉 Menu
|
||||
// Menu custom style
|
||||
.v-menu.v-overlay {
|
||||
.v-overlay__content {
|
||||
.v-list {
|
||||
.v-list-item {
|
||||
margin-block-end: 0.125rem;
|
||||
min-block-size: 2.375rem;
|
||||
|
||||
&:first-child {
|
||||
margin-block-start: 0;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-block-end: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.v-list-item--density-default:not(.v-list-item--nav).v-list-item--one-line {
|
||||
padding-block: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
17
@core/scss/template/libs/vuetify/components/_otp-input.scss
Normal file
17
@core/scss/template/libs/vuetify/components/_otp-input.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
// otp input
|
||||
.v-otp-input {
|
||||
justify-content: unset !important;
|
||||
|
||||
.v-otp-input__content {
|
||||
max-inline-size: 100%;
|
||||
|
||||
.v-field.v-field--focused {
|
||||
.v-field__outline {
|
||||
.v-field__outline__start,
|
||||
.v-field__outline__end {
|
||||
border-color: rgb(var(--v-theme-primary)) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
167
@core/scss/template/libs/vuetify/components/_pagination.scss
Normal file
167
@core/scss/template/libs/vuetify/components/_pagination.scss
Normal file
@@ -0,0 +1,167 @@
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
@use "@core/scss/template/mixins" as templateMixins;
|
||||
@use "@configured-variables" as variables;
|
||||
|
||||
// 👉 Pagination
|
||||
.v-pagination {
|
||||
// button size
|
||||
.v-pagination__next,
|
||||
.v-pagination__prev {
|
||||
.v-btn--icon {
|
||||
&.v-btn--size-small {
|
||||
.v-icon {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.v-btn--size-default {
|
||||
.v-icon {
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.v-btn--size-large {
|
||||
.v-icon {
|
||||
font-size: 1.375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// common style for all components
|
||||
.v-pagination__item,
|
||||
.v-pagination__next,
|
||||
.v-pagination__last,
|
||||
.v-pagination__first,
|
||||
.v-pagination__prev {
|
||||
.v-btn {
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
transform: none;
|
||||
|
||||
&--size-default {
|
||||
--v-btn-size: 13px;
|
||||
}
|
||||
|
||||
&--size-large {
|
||||
--v-btn-size: 15px;
|
||||
}
|
||||
|
||||
&.v-btn--disabled {
|
||||
opacity: 0.45;
|
||||
}
|
||||
|
||||
&--variant-tonal {
|
||||
.v-btn__underlay {
|
||||
--v-activated-opacity: 0.06;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.v-btn__overlay {
|
||||
--v-hover-opacity: 0.1;
|
||||
}
|
||||
|
||||
.v-btn__underlay {
|
||||
--v-activated-opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Disable scale animation for button
|
||||
.v-pagination__item {
|
||||
.v-btn {
|
||||
transform: scale(1) !important;
|
||||
|
||||
/* We disabled transition because it looks ugly 🤮 */
|
||||
transition-duration: 0s;
|
||||
|
||||
&:active {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.v-pagination__list {
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
&:has(.v-pagination__item.v-pagination__item--is-active .v-btn.text-#{$color-name}) {
|
||||
.v-pagination__item {
|
||||
.v-btn {
|
||||
&:hover {
|
||||
color: rgb(var(--v-theme-#{$color-name})) !important;
|
||||
|
||||
.v-btn__overlay {
|
||||
--v-hover-opacity: 0.16;
|
||||
|
||||
background-color: rgb(var(--v-theme-#{$color-name}));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.v-pagination__item--is-active {
|
||||
.v-btn {
|
||||
&:not([class*="text-"]) {
|
||||
color: rgb(var(--v-theme-primary));
|
||||
|
||||
&:not(.v-btn--variant-outlined) {
|
||||
.v-btn__underlay {
|
||||
--v-activated-opacity: 0;
|
||||
}
|
||||
|
||||
.v-btn__overlay {
|
||||
--v-border-opacity: 0.16;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.v-btn__overlay {
|
||||
--v-hover-opacity: 0.16;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.v-btn--variant-outlined {
|
||||
border-color: rgb(var(--v-theme-primary));
|
||||
|
||||
.v-btn__overlay {
|
||||
--v-border-opacity: 0.16;
|
||||
--v-hover-opacity: 0.16;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// box-shadow
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
&:not(.v-btn--disabled) {
|
||||
&.text-#{$color-name} {
|
||||
&,
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
@include templateMixins.custom-elevation(var(--v-theme-#{$color-name}), "sm");
|
||||
|
||||
color: rgb(var(--v-theme-#{$color-name})) !important;
|
||||
}
|
||||
|
||||
.v-btn__underlay {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.v-btn__content {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&.v-btn--variant-outlined {
|
||||
background-color: rgb(var(--v-theme-#{$color-name}));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
13
@core/scss/template/libs/vuetify/components/_progress.scss
Normal file
13
@core/scss/template/libs/vuetify/components/_progress.scss
Normal file
@@ -0,0 +1,13 @@
|
||||
// @use "@core/scss/template/mixins" as templateMixins;
|
||||
@use "@configured-variables" as variables;
|
||||
|
||||
// 👉 Progress
|
||||
// .v-progress-linear {
|
||||
// .v-progress-linear__determinate {
|
||||
// @each $color-name in variables.$theme-colors-name {
|
||||
// &.bg-#{$color-name} {
|
||||
// // @include templateMixins.custom-elevation(var(--v-theme-#{$color-name}), "sm");
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
54
@core/scss/template/libs/vuetify/components/_radio.scss
Normal file
54
@core/scss/template/libs/vuetify/components/_radio.scss
Normal file
@@ -0,0 +1,54 @@
|
||||
@use "@core/scss/base/mixins";
|
||||
@use "@configured-variables" as variables;
|
||||
|
||||
// 👉 Radio
|
||||
.v-radio,
|
||||
.v-radio-btn {
|
||||
// 👉 radio icon opacity
|
||||
.v-selection-control__input > .v-icon {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.v-selection-control--disabled {
|
||||
--v-disabled-opacity: 0.45;
|
||||
}
|
||||
|
||||
&.v-selection-control--dirty {
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
.v-selection-control__wrapper.text-#{$color-name} {
|
||||
.v-selection-control__input {
|
||||
/* ℹ️ Using filter: drop-shadow() instead of box-shadow because box-shadow creates white background for SVG; */
|
||||
.v-icon {
|
||||
filter: drop-shadow(0 2px 4px rgba(var(--v-theme-#{$color-name}), 0.4));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.v-selection-control {
|
||||
.v-selection-control__input {
|
||||
svg {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.v-label {
|
||||
color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 👉 Radio, Checkbox
|
||||
|
||||
.v-input.v-radio-group > .v-input__control > .v-label {
|
||||
margin-inline-start: 0;
|
||||
}
|
||||
|
||||
.v-radio-group {
|
||||
.v-selection-control-group {
|
||||
.v-radio:not(:last-child) {
|
||||
margin-inline-end: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
14
@core/scss/template/libs/vuetify/components/_rating.scss
Normal file
14
@core/scss/template/libs/vuetify/components/_rating.scss
Normal file
@@ -0,0 +1,14 @@
|
||||
// 👉 Rating
|
||||
.v-rating {
|
||||
.v-rating__wrapper {
|
||||
.v-btn {
|
||||
&:hover {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.v-icon {
|
||||
--v-icon-size-multiplier: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
26
@core/scss/template/libs/vuetify/components/_slider.scss
Normal file
26
@core/scss/template/libs/vuetify/components/_slider.scss
Normal file
@@ -0,0 +1,26 @@
|
||||
// 👉 Slider
|
||||
.v-slider {
|
||||
.v-slider-track__background--opacity {
|
||||
opacity: 0.16;
|
||||
}
|
||||
}
|
||||
|
||||
.v-slider-thumb {
|
||||
.v-slider-thumb__surface::after {
|
||||
border-radius: 50%;
|
||||
background-color: #fff;
|
||||
block-size: calc(var(--v-slider-thumb-size) - 9px);
|
||||
inline-size: calc(var(--v-slider-thumb-size) - 9px);
|
||||
}
|
||||
|
||||
.v-slider-thumb__label {
|
||||
background-color: rgb(var(--v-tooltip-background));
|
||||
color: rgb(var(--v-theme-surface));
|
||||
font-weight: 500;
|
||||
line-height: 1.25rem;
|
||||
|
||||
&::before {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
10
@core/scss/template/libs/vuetify/components/_snackbar.scss
Normal file
10
@core/scss/template/libs/vuetify/components/_snackbar.scss
Normal file
@@ -0,0 +1,10 @@
|
||||
// 👉 snackbar
|
||||
.v-snackbar {
|
||||
.v-snackbar__actions {
|
||||
.v-btn {
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
}
|
||||
}
|
||||
68
@core/scss/template/libs/vuetify/components/_switch.scss
Normal file
68
@core/scss/template/libs/vuetify/components/_switch.scss
Normal file
@@ -0,0 +1,68 @@
|
||||
@use "@configured-variables" as variables;
|
||||
@use "@core/scss/template/mixins" as templateMixins;
|
||||
@use "@core/scss/base/mixins";
|
||||
|
||||
// 👉 switch
|
||||
.v-switch {
|
||||
&.v-switch--inset {
|
||||
.v-selection-control {
|
||||
.v-switch__track {
|
||||
transition: all 0.1s;
|
||||
}
|
||||
|
||||
&.v-selection-control--disabled {
|
||||
--v-disabled-opacity: 0.45;
|
||||
}
|
||||
|
||||
&.v-selection-control--dirty {
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
.v-switch__track.bg-#{$color-name} {
|
||||
@include templateMixins.custom-elevation(var(--v-theme-#{$color-name}), "sm");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.v-selection-control--dirty) {
|
||||
.v-switch__track {
|
||||
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 16%) inset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.v-selection-control__wrapper {
|
||||
block-size: 36px;
|
||||
}
|
||||
|
||||
.v-selection-control__input {
|
||||
transform: translateX(-6px) !important;
|
||||
|
||||
--v-selection-control-size: 0.875rem;
|
||||
|
||||
.v-switch__thumb {
|
||||
@include mixins.elevation(2);
|
||||
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.v-selection-control--dirty {
|
||||
.v-selection-control__input {
|
||||
transform: translateX(6px) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.v-label {
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
||||
line-height: 1.375rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
.v-switch.v-input,
|
||||
.v-checkbox-btn,
|
||||
.v-radio-btn,
|
||||
.v-radio {
|
||||
--v-input-control-height: auto;
|
||||
|
||||
flex: unset;
|
||||
}
|
||||
43
@core/scss/template/libs/vuetify/components/_table.scss
Normal file
43
@core/scss/template/libs/vuetify/components/_table.scss
Normal file
@@ -0,0 +1,43 @@
|
||||
@use "@layouts/styles/mixins" as layoutMixins;
|
||||
|
||||
// 👉 Table
|
||||
.v-table {
|
||||
th {
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity)) !important;
|
||||
font-size: 0.8125rem;
|
||||
letter-spacing: 0.2px;
|
||||
line-height: 24px;
|
||||
text-transform: uppercase;
|
||||
|
||||
.v-data-table-header__content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
.v-data-table-footer {
|
||||
row-gap: 8px !important;
|
||||
}
|
||||
}
|
||||
|
||||
// 👉 Datatable
|
||||
.v-data-table,
|
||||
.v-table {
|
||||
table {
|
||||
thead,
|
||||
tbody {
|
||||
tr {
|
||||
th,
|
||||
td {
|
||||
&:first-child:has(.v-checkbox-btn) {
|
||||
padding-inline: 15px 0 !important;
|
||||
}
|
||||
|
||||
@include layoutMixins.rtl {
|
||||
padding-inline: 20px 16px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
94
@core/scss/template/libs/vuetify/components/_tabs.scss
Normal file
94
@core/scss/template/libs/vuetify/components/_tabs.scss
Normal file
@@ -0,0 +1,94 @@
|
||||
@use "@configured-variables" as variables;
|
||||
@use "@core/scss/template/mixins" as templateMixins;
|
||||
|
||||
// 👉 Tabs
|
||||
.v-tabs {
|
||||
&.v-tabs--vertical {
|
||||
--v-tabs-height: 38px !important;
|
||||
|
||||
&:not(.v-tabs-pill) {
|
||||
block-size: 100%;
|
||||
border-inline-end: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
||||
}
|
||||
}
|
||||
|
||||
&.v-tabs--horizontal:not(.v-tabs-pill) {
|
||||
border-block-end: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
||||
|
||||
.v-tab__slider {
|
||||
block-size: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
.v-btn {
|
||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
||||
transform: none !important;
|
||||
|
||||
.v-icon {
|
||||
block-size: 1.125rem !important;
|
||||
font-size: 1.125rem !important;
|
||||
inline-size: 1.125rem !important;
|
||||
}
|
||||
|
||||
&:hover:not(.v-tab--selected) {
|
||||
color: rgb(var(--v-theme-primary));
|
||||
|
||||
.v-btn__content {
|
||||
.v-tab__slider {
|
||||
opacity: var(--v-activated-opacity);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.v-btn--stacked {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
.v-icon {
|
||||
block-size: 1.5rem !important;
|
||||
font-size: 1.5rem !important;
|
||||
inline-size: 1.5rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
.v-btn__overlay,
|
||||
.v-ripple__container {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
.v-tab__slider {
|
||||
inset-inline-end: 0;
|
||||
inset-inline-start: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 👉 Tab Pill
|
||||
.v-tabs.v-tabs-pill {
|
||||
.v-slide-group__content {
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
.v-tab-item--selected.v-tab--selected.text-#{$color-name} {
|
||||
@include templateMixins.custom-elevation(var(--v-theme-#{$color-name}), "sm");
|
||||
|
||||
background-color: rgba(var(--v-theme-#{$color-name}));
|
||||
color: rgb(var(--v-theme-on-primary)) !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.v-slide-group,
|
||||
.v-slide-group__container {
|
||||
box-sizing: content-box;
|
||||
padding: 1rem;
|
||||
margin: -1rem;
|
||||
}
|
||||
|
||||
.v-tab.v-btn:not(.v-tab--selected) {
|
||||
&:hover {
|
||||
background-color: rgba(var(--v-theme-primary), var(--v-activated-opacity));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
.v-textarea {
|
||||
textarea {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
& .v-field--active textarea {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
}
|
||||
99
@core/scss/template/libs/vuetify/components/_timeline.scss
Normal file
99
@core/scss/template/libs/vuetify/components/_timeline.scss
Normal file
@@ -0,0 +1,99 @@
|
||||
@use "@configured-variables" as variables;
|
||||
|
||||
// 👉 Timeline
|
||||
.v-timeline {
|
||||
// timeline items
|
||||
.v-timeline-item {
|
||||
&:not(:last-child) {
|
||||
.v-timeline-item__body {
|
||||
margin-block-end: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.app-timeline-title {
|
||||
line-height: 1.375rem;
|
||||
}
|
||||
|
||||
.app-timeline-meta {
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.025rem;
|
||||
line-height: 1.125rem;
|
||||
}
|
||||
|
||||
.app-timeline-text {
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
// timeline icon only
|
||||
&.v-timeline-icon-only {
|
||||
.v-timeline-divider__dot {
|
||||
.v-timeline-divider__inner-dot {
|
||||
background: rgb(var(--v-theme-background));
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.v-timeline--variant-outlined) .v-timeline-divider__dot {
|
||||
background: none !important;
|
||||
|
||||
.v-timeline-divider__inner-dot {
|
||||
box-shadow: 0 0 0 0.1875rem rgb(var(--v-theme-on-surface-variant));
|
||||
|
||||
@each $color-name in variables.$theme-colors-name {
|
||||
|
||||
&.bg-#{$color-name} {
|
||||
box-shadow: 0 0 0 0.1875rem rgba(var(--v-theme-#{$color-name}), 0.12);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.v-timeline--variant-outlined {
|
||||
.v-timeline-item {
|
||||
.v-timeline-divider {
|
||||
.v-timeline-divider__dot {
|
||||
background: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.v-timeline-divider__after {
|
||||
border: 1.5px dashed rgba(var(--v-border-color), var(--v-border-opacity));
|
||||
background: none;
|
||||
}
|
||||
|
||||
.v-timeline-divider__before {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// we have to override the default bg-color of the timeline dot in the card
|
||||
.v-card:not(.v-card--variant-text, .v-card--variant-plain, .v-card--variant-outlined) & {
|
||||
&.v-timeline-icon-only {
|
||||
.v-timeline-divider__dot {
|
||||
.v-timeline-divider__inner-dot {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
background: rgb(var(--v-theme-surface));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.v-card.v-card--variant-tonal & {
|
||||
&.v-timeline-icon-only {
|
||||
.v-timeline-divider__dot {
|
||||
.v-timeline-divider__inner-dot {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
.v-icon {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// 👉 Tooltip
|
||||
.v-tooltip {
|
||||
.v-overlay__content {
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
25
@core/scss/template/libs/vuetify/components/index.scss
Normal file
25
@core/scss/template/libs/vuetify/components/index.scss
Normal file
@@ -0,0 +1,25 @@
|
||||
@use "alert";
|
||||
@use "avatar";
|
||||
@use "button";
|
||||
@use "badge";
|
||||
@use "cards";
|
||||
@use "chip";
|
||||
@use "dialog";
|
||||
@use "expansion-panels";
|
||||
@use "list";
|
||||
@use "menu";
|
||||
@use "pagination";
|
||||
@use "progress";
|
||||
@use "rating";
|
||||
@use "snackbar";
|
||||
@use "slider";
|
||||
@use "table";
|
||||
@use "tabs";
|
||||
@use "timeline";
|
||||
@use "tooltip";
|
||||
@use "otp-input";
|
||||
@use "field";
|
||||
@use "checkbox";
|
||||
@use "textarea";
|
||||
@use "radio";
|
||||
@use "switch";
|
||||
Reference in New Issue
Block a user