diff --git a/components/ACheckbox.vue b/components/ACheckbox.vue index a3ec5f0f..47764c3c 100644 --- a/components/ACheckbox.vue +++ b/components/ACheckbox.vue @@ -234,10 +234,6 @@ watch( background-color: v-bind(color); } - &:focus + .slider { - box-shadow: 0 0 1px v-bind(color); - } - &:checked + .slider:before { transform: translateX(20px); } @@ -290,4 +286,15 @@ watch( } } } + +.custom-checkbox input:checked:disabled ~ .checkmark-lab { + background-color: var(--a-grey-dark) !important; + + &:after { + display: block; + border-color: var(--a-white) !important; + } +} + + diff --git a/components/ADropdown.vue b/components/ADropdown.vue index 54dcb513..6581e78f 100644 --- a/components/ADropdown.vue +++ b/components/ADropdown.vue @@ -3,8 +3,7 @@ import { ref, onMounted, onBeforeUnmount, nextTick } from "vue"; import AButton from "./AButton.vue"; import ACard from "./ACard.vue"; import { useColor } from "../stores/color"; -import { defineProps, computed, PropType, withDefaults } from "vue"; -import type { Colors } from "../stores/color"; +import { defineProps, computed, withDefaults } from "vue"; import { useElementBounding, onClickOutside } from "@vueuse/core"; interface DropdownProps { diff --git a/components/AInput.vue b/components/AInput.vue index 8a4dd129..d54475d5 100644 --- a/components/AInput.vue +++ b/components/AInput.vue @@ -14,7 +14,15 @@ export interface AInputProps { label?: string | null; full?: boolean; required?: boolean; - type?: "text" | "phone" | "password" | "time" | "search" | "number" | "email" | "color"; + type?: + | "text" + | "phone" + | "password" + | "time" + | "search" + | "number" + | "email" + | "color"; modelValue?: Array | string; } @@ -426,5 +434,21 @@ const preventClear = (event: KeyboardEvent) => { align-items: center; padding: 0 16px 0 0; } + + @media screen and (max-width: 768px) { + height: 50px; + + // PHONE + &.a-input-phone { + .phone-label { + top: 7px; + } + } + + // LABEL + label { + top: 7px; + } + } } diff --git a/components/ALinearBreadCrumb.vue b/components/ALinearBreadCrumb.vue new file mode 100644 index 00000000..c3f2cc96 --- /dev/null +++ b/components/ALinearBreadCrumb.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/components/AModal.vue b/components/AModal.vue index 1adb0076..16516aae 100644 --- a/components/AModal.vue +++ b/components/AModal.vue @@ -300,7 +300,7 @@ defineExpose({ // HEADER .a-card-head { display: flex; - padding: 16px; + padding: 16px 44px 16px 16px; border-bottom: 1px solid var(--a-grey-light); min-height: 87px; diff --git a/components/ATabs.vue b/components/ATabs.vue index 166ab5cb..f9daf2ab 100644 --- a/components/ATabs.vue +++ b/components/ATabs.vue @@ -15,6 +15,7 @@ export interface ATabsProps { slow?: boolean; modelValue?: string | number; color?: Colors; + shadow?: string; } export interface ATabsEmits { @@ -28,12 +29,13 @@ const props = withDefaults(defineProps(), { selected: undefined, modelValue: undefined, color: "tertiary", + shadow: "#fafafa", }); const mainColor = computed(() => props.color); const color = useColor(mainColor); -const colorLight = useColor(mainColor, "lightest"); +// const colorLight = useColor(mainColor, "lightest"); const activeValue = computed({ get() { @@ -51,7 +53,7 @@ function toggle(value: string) {