2024-04-02 11:02:16 +07:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100;200;300;400;500;600;700;800;900&display=swap');
|
|
|
|
|
|
|
|
|
|
$typography-font-family: 'Noto Sans Thai', sans-serif !default;
|
|
|
|
|
|
|
|
|
|
$primary: var(--brand-1);
|
|
|
|
|
$secondary: var(--brand-2);
|
|
|
|
|
$accent: #9c27b0;
|
|
|
|
|
|
2024-07-04 14:49:05 +07:00
|
|
|
$dark: var(--gray-10);
|
|
|
|
|
$dark-page: var(--gray-11);
|
2024-04-02 11:02:16 +07:00
|
|
|
|
|
|
|
|
$positive: #00bd9d;
|
2024-10-24 11:32:29 +07:00
|
|
|
$negative: var(--red-8);
|
2024-06-18 01:59:14 +00:00
|
|
|
$info: var(--blue-6);
|
2024-04-02 11:02:16 +07:00
|
|
|
$warning: #ffc224;
|
2024-10-24 11:32:29 +07:00
|
|
|
$danger: var(--orange-7);
|
2024-04-02 11:02:16 +07:00
|
|
|
|
2024-06-24 07:59:24 +00:00
|
|
|
$disabled: var(--stone-4);
|
2024-09-24 11:25:39 +07:00
|
|
|
$input-border: var(--gray-2);
|
2024-06-21 08:49:20 +00:00
|
|
|
|
2024-04-02 11:02:16 +07:00
|
|
|
$separator-color: var(--border-color);
|
|
|
|
|
$separator-dark-color: var(--border-color);
|
|
|
|
|
|
|
|
|
|
.q-separator {
|
|
|
|
|
transition: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-field__control {
|
2024-07-05 11:16:52 +07:00
|
|
|
background: var(--surface-1);
|
2024-04-02 11:02:16 +07:00
|
|
|
color: $primary;
|
2024-10-18 13:20:57 +07:00
|
|
|
|
2024-11-22 18:02:03 +07:00
|
|
|
&:has(:where(input:disabled, textarea:disabled)) {
|
2024-11-25 14:18:06 +07:00
|
|
|
background: var(--surface-tab);
|
2024-10-18 13:20:57 +07:00
|
|
|
}
|
2024-04-02 11:02:16 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-field--outlined .q-field__control {
|
|
|
|
|
border-radius: var(--radius-2);
|
|
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
|
transition: none;
|
|
|
|
|
border-color: var(--border-color);
|
|
|
|
|
border-radius: var(--radius-2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover::before {
|
|
|
|
|
border-color: var(--border-color);
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-04-02 17:55:26 +07:00
|
|
|
|
2024-04-03 15:01:01 +07:00
|
|
|
.q-menu,
|
|
|
|
|
.q-card {
|
2024-04-02 17:55:26 +07:00
|
|
|
box-shadow: var(--shadow-2) !important;
|
|
|
|
|
}
|
2024-04-03 15:01:01 +07:00
|
|
|
|
|
|
|
|
.q-dialog__backdrop {
|
2024-04-03 17:09:32 +07:00
|
|
|
background-color: hsla(0 0% 60% / 0.4) !important;
|
2024-04-03 15:01:01 +07:00
|
|
|
}
|
2024-04-09 17:54:49 +07:00
|
|
|
|
|
|
|
|
.q-field--dense .q-field__label {
|
|
|
|
|
font-family: 'Noto Sans Thai', sans-serif;
|
|
|
|
|
}
|
2024-04-10 23:12:24 +07:00
|
|
|
|
|
|
|
|
.q-field__inner {
|
|
|
|
|
font-family: 'Noto Sans Thai', sans-serif;
|
|
|
|
|
}
|
2024-04-18 18:20:41 +07:00
|
|
|
|
|
|
|
|
div.fullscreen.q-drawer__backdrop {
|
|
|
|
|
background-color: hsla(0 0% 60% / 0.4) !important;
|
|
|
|
|
}
|
2024-06-07 12:19:38 +00:00
|
|
|
|
|
|
|
|
.q-field--dense .q-field__label {
|
|
|
|
|
font-family: 'Noto Sans Thai', sans-serif;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-field__inner {
|
|
|
|
|
font-family: 'Noto Sans Thai', sans-serif;
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-02 04:34:01 +00:00
|
|
|
.dp__menu.dp__menu_index.dp--menu-wrapper {
|
2024-06-07 12:19:38 +00:00
|
|
|
font-family: 'Noto Sans Thai', sans-serif;
|
|
|
|
|
}
|
2024-06-13 15:17:13 +07:00
|
|
|
|
2024-07-01 03:51:05 +00:00
|
|
|
.dp__overlay_cell.dp__overlay_cell_pad {
|
|
|
|
|
font-family: 'Noto Sans Thai', sans-serif;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-06 13:26:55 +07:00
|
|
|
.dp__overlay_cell_active.dp__overlay_cell_pad {
|
|
|
|
|
font-family: 'Noto Sans Thai', sans-serif;
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-13 15:17:13 +07:00
|
|
|
.disabled,
|
|
|
|
|
.disabled *,
|
|
|
|
|
[disabled],
|
2024-08-16 15:34:12 +07:00
|
|
|
[disabled] * :not(:deep(.q-checkbox)) {
|
2024-06-18 11:44:59 +00:00
|
|
|
color: hsl(var(--text-mute)) !important;
|
2024-06-13 15:17:13 +07:00
|
|
|
}
|
2024-06-21 08:49:20 +00:00
|
|
|
|
|
|
|
|
.bg-disabled {
|
|
|
|
|
background: $disabled;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-disabled {
|
|
|
|
|
color: $disabled;
|
|
|
|
|
}
|
2024-06-27 04:43:55 +00:00
|
|
|
|
2024-09-24 11:25:39 +07:00
|
|
|
.input-border,
|
|
|
|
|
.input-border *,
|
|
|
|
|
[input-border],
|
|
|
|
|
[input-border] * :not(:deep(.q-checkbox)) {
|
|
|
|
|
color: hsl(var(--text-mute)) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg-input-border {
|
|
|
|
|
background: $input-border;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-input-border {
|
|
|
|
|
color: $input-border;
|
|
|
|
|
}
|
|
|
|
|
|
2024-10-24 11:32:29 +07:00
|
|
|
.danger,
|
|
|
|
|
.danger *,
|
|
|
|
|
[danger],
|
|
|
|
|
[danger] * :not(:deep(.q-checkbox)) {
|
|
|
|
|
color: (var(--danger)) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg-danger {
|
|
|
|
|
background: $danger;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-danger {
|
|
|
|
|
color: $danger;
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-27 04:43:55 +00:00
|
|
|
.q-field--outlined.q-field--readonly .q-field__control:before {
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
}
|
2024-07-18 04:51:09 +00:00
|
|
|
|
2024-10-16 11:36:22 +07:00
|
|
|
.q-field__native:not(textarea) {
|
2024-07-18 04:51:09 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
2024-07-19 10:34:48 +00:00
|
|
|
|
|
|
|
|
// q-tree
|
|
|
|
|
.q-tree__node-header.relative-position.row.no-wrap.items-center {
|
|
|
|
|
padding-block: 0px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-tree__node-header:before {
|
|
|
|
|
color: hsl(var(--text-mute));
|
|
|
|
|
}
|
|
|
|
|
|
2024-11-25 14:18:06 +07:00
|
|
|
.q-tree__node-header.relative-position.row.no-wrap.items-center:has(
|
|
|
|
|
.clickable-node
|
|
|
|
|
):hover {
|
2024-07-19 10:34:48 +00:00
|
|
|
background-color: hsla(var(--info-bg) / 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
2024-11-25 14:18:06 +07:00
|
|
|
.q-tree__node-header.relative-position.row.no-wrap.items-center:has(
|
|
|
|
|
.clickable-node.active-node
|
|
|
|
|
) {
|
2024-07-19 10:34:48 +00:00
|
|
|
background-color: hsla(var(--info-bg) / 0.1);
|
|
|
|
|
}
|
2024-07-23 02:26:15 +00:00
|
|
|
|
2024-07-23 07:25:11 +00:00
|
|
|
.q-tree__node-header {
|
|
|
|
|
padding-left: 0px !important;
|
2024-07-23 02:26:15 +00:00
|
|
|
}
|
2024-07-25 02:47:58 +00:00
|
|
|
|
2024-11-25 14:18:06 +07:00
|
|
|
.q-tree__node.relative-position.q-tree__node--child:not(:first-child)
|
|
|
|
|
.q-tree__node-header:before {
|
2024-07-25 02:47:58 +00:00
|
|
|
top: -32px !important;
|
|
|
|
|
}
|
2024-09-04 15:00:10 +07:00
|
|
|
|
|
|
|
|
.q-tree.q-tree--standard.text-transparent {
|
|
|
|
|
color: hsl(var(--text-mute)) !important;
|
|
|
|
|
}
|
2024-09-18 11:45:07 +07:00
|
|
|
|
|
|
|
|
.q-field__control {
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2024-11-21 11:42:59 +07:00
|
|
|
|
|
|
|
|
i.q-icon.mdi.mdi-alert.q-table__bottom-nodata-icon {
|
|
|
|
|
color: #ffc224 !important;
|
|
|
|
|
}
|
2024-12-25 11:59:49 +07:00
|
|
|
|
|
|
|
|
i.q-icon.mdi.mdi-chevron-down-circle.q-expansion-item__toggle-icon {
|
|
|
|
|
color: hsl(var(--text-mute));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
i.q-icon.mdi.mdi-chevron-down-circle.q-expansion-item__toggle-icon.q-expansion-item__toggle-icon--rotated {
|
|
|
|
|
color: var(--brand-1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-item.q-item-type.row.no-wrap.q-item--dense.q-item--clickable.q-link.cursor-pointer.q-focusable.q-hoverable.surface-1
|
|
|
|
|
.q-focus-helper {
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
}
|
2025-09-17 13:07:55 +07:00
|
|
|
|
|
|
|
|
.clear-btn {
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
&:hover {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|