init dev-push code ui base design

This commit is contained in:
leonard
2025-07-22 09:58:38 +07:00
parent ffdf5ccb66
commit eedbf94d56
214 changed files with 42170 additions and 28040 deletions

View File

@ -1,40 +1,54 @@
.v-btn {
background-color: #144985;
background-color: #1677ff;
&:not(.v-btn--round) {
border-radius: 6px;
}
&-radius {
&__20 {
border-radius: 20px !important;
}
&__50per {
border-radius: 50% !important;
}
}
&__full {
width: 100%;
}
&__round {
min-width: 100px !important;
padding: 8px 25px !important;
border-radius: 20px !important;
}
&__excel {
background-color: #47535c !important;
}
&-bg {
&__transparent {
background-color: transparent !important;
}
&__blue {
background-color: $--color-primary__blue;
}
&__white-blue {
background-color: $--color-white;
color: $--color-primary__blue;
}
}
&__transparent {
border: 0;
background-color: transparent !important;
}
&.v-btn--icon.v-btn--tile {
border-radius: 4px;
}
@ -42,16 +56,18 @@
@each $theme in dark, light {
@include theme($theme);
.v-application.#{$theme}-mode {
.v-btn-bg__w-g5 {
background-color: $--theme-color-w-g5;
i {
color: $--theme-color-g5-w;
}
}
.v-btn {
background-color: map-deep-get(
$config,
background-color: map-deep-get($config,
#{$theme},
"v-btn-backgroundColor"
);
@ -59,8 +75,7 @@
&.v-btn--disabled {
opacity: 0.4;
background-color: map-deep-get(
$config,
background-color: map-deep-get($config,
#{$theme},
"v-btn-backgroundColor"
) !important;
@ -71,5 +86,69 @@
}
}
}
.basic-button {
color: map-deep-get($config, #{$theme}, "basic-button-color");
background: map-deep-get($config, #{$theme}, "basic-button-background");
}
.search-button {
color: map-deep-get($config, #{$theme}, "search-btn-color");
}
.v-dialog {
.ant-btn-icon-only {
color: map-deep-get(
$config,
#{$theme},
"icon-color"
);
}
}
.ant-btn {
&.ant-btn-primary {
background: map-deep-get($config, #{$theme}, "ant-btn-primary-bg");
border-color:map-deep-get($config, #{$theme}, "ant-btn-primary-bg");
color:map-deep-get($config, #{$theme}, "ant-btn-primary-color");
}
&.ant-btn-default {
background:map-deep-get($config, #{$theme}, "ant-btn-default-bg");
color:map-deep-get($config, #{$theme}, "ant-btn-default-color");
}
&.ant-btn-danger {
&.ant-btn-background-ghost {
color:map-deep-get($config, #{$theme}, "ant-btn-danger-color");
border-color:map-deep-get($config, #{$theme}, "ant-btn-danger-border");
background: map-deep-get($config, #{$theme}, "ant-btn-danger-bg") !important;
}
}
}
}
}
.v-application {
.ant-btn {
border-radius: 6px;
&.ant-btn-lg {
border-radius: 8px;
}
&.ant-btn-default {
border:none !important
}
}
}
.v-dialog {
.ant-btn-icon-only {
border: none;
width: 16px;
height: 16px;
background:none;
}
}

View File

@ -3,13 +3,43 @@
}
@each $theme in dark, light {
// @include theme($theme);
.v-application.#{$theme}-mode {
.v-card {
color: map-deep-get($config, #{$theme}, "card-default-color");
background-color: map-deep-get($config, #{$theme}, "cardBackground");
.v-card__subtitle {
font-size: 14px;
font-weight: 400;
color: map-deep-get($config, #{$theme}, "card-subtitle");
}
.v-card__title {
font-size: 20px;
font-weight: 600;
line-height: 28px;
color: map-deep-get($config, #{$theme}, "card-title-color") !important;
}
.card-text-info {
font-family: "Oxanium", sans-serif;
font-weight: 500;
font-size: 24px;
line-height: 24px;
letter-spacing: 0;
color: map-deep-get($config, #{$theme}, "card-text-info-color");
}
.card-text-title {
font-weight: 400;
font-size: 14px;
line-height: 22px;
letter-spacing: 0;
color: map-deep-get($config, #{$theme}, "card-text-title-color");
}
}
}
}
}

View File

@ -11,9 +11,10 @@
width: 100%;
border-radius: 10px;
}
&-content-area {
width: 100%;
border: 0;
border: 0 !important;
}
// &-body-container {
@ -33,6 +34,7 @@
}
&-rside-area {
.tui-grid-header-area,
.tui-grid-summary-area {
margin-right: $scrollbar-width;
@ -40,27 +42,41 @@
}
&-border-line-top,
&-border-line-bottom,
&-border-line-right {
&-border-line-bottom {
border: 0 !important;
}
&-cell {
border-width: 1px !important;
}
&-cell-header {
border-top: 0;
font-weight: 400;
}
&-cell-header,
&-cell-content,
&-cell.tui-grid-cell-summary {
font-family: "Spoqa Han Sans Neo";
// font-family: "Spoqa Han Sans Neo";
font-size: 0.875rem;
font-weight: 400;
line-height: 1.25rem;
letter-spacing: 0.0178571429em;
}
&-cell-content {
font-weight: 400;
}
}
.tui-grid-table{
.tui-grid-cell-header,
.tui-grid-cell-has-input .tui-grid-cell-content {
padding: 8px;
}
}
.treeGrid {
.tui-grid {
&-header-area {
@ -73,22 +89,58 @@
}
}
}
.tui-grid-scrollbar-right-top{
z-index:5;
.tui-grid-scrollbar-right-top {
z-index: 5;
}
@each $theme in dark, light {
@include theme($theme);
.v-application.#{$theme}-mode {
.tui-grid {
&-table {
border: 1px solid;
border-color: map-deep-get($config,
#{$theme},
"scrollbar-track"
);
.tui-grid-cell {
border-color: map-deep-get($config,
#{$theme},
"tui-grid-cell-borderColor-darkmode"
);
border-style: map-deep-get($config,
#{$theme},
"tui-grid-cell-borderStyle-darkmode"
);
}
}
&-border-line-right{
opacity: 0;
}
&-body-container{
border-right: 1px solid;
border-right-color: map-deep-get($config,
#{$theme},
"tui-grid-cell-borderColor"
);
width: auto !important;
}
&-container,
&-summary-area {
font-family: Inter;
// color: #000000E0;
& ::-webkit-scrollbar {
width: $scrollbar-width !important;
height: $scrollbar-width !important;
-webkit-appearance: initial;
background-color: map-deep-get(
$config,
background-color: map-deep-get($config,
#{$theme},
"scrollbar-track"
) !important;
@ -96,8 +148,7 @@
}
& ::-webkit-scrollbar-track {
background-color: map-deep-get(
$config,
background-color: map-deep-get($config,
#{$theme},
"scrollbar-track"
) !important;
@ -109,6 +160,16 @@
background-color: map-deep-get($config, #{$theme}, "scrollbar-thumb");
border-radius: 3px;
}
.tui-grid-cell {
&.tui-grid-cell-summary {
color: map-deep-get($config,
#{$theme},
"tui-grid-cell-color"
);
}
}
}
&-rside-area {
@ -121,26 +182,28 @@
}
&-scrollbar-right-top {
background-color: map-deep-get(
$config,
#{$theme},
"tui-grid-header-backgroundColor"
);
border-left-color: map-deep-get(
$config,
#{$theme},
"tui-grid-border-horziontal-color"
);
border-right-color: map-deep-get(
$config,
#{$theme},
"tui-grid-border-horziontal-color"
);
border-bottom-color: map-deep-get(
$config,
#{$theme},
"tui-grid-border-vertical-color"
);
background-color: rgba(0, 0, 0, 0);
border: none;
// background-color: map-deep-get(
// $config,
// #{$theme},
// "tui-grid-header-backgroundColor"
// );
// border-left-color: map-deep-get(
// $config,
// #{$theme},
// "tui-grid-border-horziontal-color"
// );
// border-right-color: map-deep-get(
// $config,
// #{$theme},
// "tui-grid-border-horziontal-color"
// );
// border-bottom-color: map-deep-get(
// $config,
// #{$theme},
// "tui-grid-border-vertical-color"
// );
}
&-scrollbar-right-bottom {
@ -162,25 +225,63 @@
border-color: transparent !important;
}
&-body-area {
overflow: auto !important;
}
// &-body-area {
// overflow: auto !important;
// }
&-container,
&-layer-state,
&-body-area,
&-summary-area,
&-cell {
background-color: map-deep-get(
$config,
background-color: map-deep-get($config,
#{$theme},
"tui-grid-cell-backgroundColor"
);
border-color: map-deep-get(
$config,
border-color: map-deep-get($config,
#{$theme},
"tui-grid-border-vertical-color"
);
&-current-row{
td {
.custom-radio {
.radio-mark{
border-color: #1677ff;
background-color: #fff;
&::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: 11px;
width: 11px;
border-radius: 50%;
background-color: #1677ff;
}
}
}
}
}
}
&-cell {
&:last-child {
padding-right: 1px;
border-right: 1px solid ;
border-right-color: map-deep-get($config,
#{$theme},
"tui-grid-cell-borderColor"
);
.tui-grid-cell-content {
border-right: 1px solid ;
border-right-color: map-deep-get($config,
#{$theme},
"tui-grid-cell-borderColor"
);
}
}
}
&-cell-summary {
@ -189,17 +290,27 @@
&-header-area,
&-cell-header {
background-color: map-deep-get(
$config,
// font-family: inherit;
font-weight: 600;
font-style: Semi Bold;
background-color: map-deep-get($config,
#{$theme},
"tui-grid-header-backgroundColor"
);
border-color: map-deep-get(
$config,
border-color: map-deep-get($config,
#{$theme},
"tui-grid-border-vertical-color"
);
color: map-deep-get($config, #{$theme}, "activate");
color: map-deep-get($config,
#{$theme},
"tui-grid-header-color"
);
}
&-header-area {
background-color: none;
border: none;
}
&-row-odd,
@ -209,9 +320,8 @@
}
&:hover {
> .tui-grid-cell {
background-color: map-deep-get(
$config,
>.tui-grid-cell {
background-color: map-deep-get($config,
#{$theme},
"tui-grid-cell-hover-backgroundColor"
);
@ -221,33 +331,33 @@
}
}
}
}
&-cell {
&.row-insert {
background-color: map-deep-get(
$config,
background-color: map-deep-get($config,
#{$theme},
"tui-grid-cell-insert-color"
);
}
&.row-modify {
background-color: map-deep-get(
$config,
background-color: map-deep-get($config,
#{$theme},
"tui-grid-cell-modify-color"
);
}
&.row-removed {
background-color: map-deep-get(
$config,
background-color: map-deep-get($config,
#{$theme},
"tui-grid-cell-removed-color"
);
}
&.row-disabled {
color: map-deep-get(
$config,
color: map-deep-get($config,
#{$theme},
"tui-grid-cell-disabled-color"
);
@ -256,9 +366,9 @@
color: map-deep-get($config, #{$theme}, "tui-grid-cell-disabled-color");
}
}
&.row-selected {
background-color: map-deep-get(
$config,
background-color: map-deep-get($config,
#{$theme},
"tui-grid-cell-selected-color"
);
@ -284,15 +394,14 @@
align-items: center;
position: relative;
.tui-grid-tree-depth
{
.tui-grid-tree-depth {
width: 16px;
height: 16px;
position: relative;
left: 0 !important;
margin-right: 6px;
}
}
&-btn-tree {
@ -303,6 +412,7 @@
margin-right: 6px;
top: 0;
left: 0 !important;
i {
margin-top: 0;
}
@ -311,15 +421,19 @@
&-tree-icon {
margin-top: 0;
top: 0;
i {
width: 16px;
height: 16px;
margin-left: 0;
background-repeat: no-repeat;
background-position: 0 0;
@if $theme == dark {
@if $theme ==dark {
background-image: url("data:image/svg+xml,%3Csvg id='ico_tree_item' xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E .cls-1, .cls-4 %7B fill: none; %7D .cls-1 %7B stroke: %23fff; opacity: 0.3; %7D .cls-2 %7B fill: %23fff; %7D .cls-3 %7B stroke: none; %7D %3C/style%3E%3C/defs%3E%3Cg id='사각형_703' data-name='사각형 703' class='cls-1'%3E%3Crect class='cls-3' width='16' height='16' rx='3'/%3E%3Crect class='cls-4' x='0.5' y='0.5' width='15' height='15' rx='2.5'/%3E%3C/g%3E%3Crect id='사각형_1384' data-name='사각형 1384' class='cls-2' width='8' height='1' rx='0.5' transform='translate(4 4.5)'/%3E%3Crect id='_1386' data-name=' 1386' class='cls-2' width='8' height='1' rx='0.5' transform='translate(4 7.5)'/%3E%3Crect id='_1387' data-name=' 1387' class='cls-2' width='8' height='1' rx='0.5' transform='translate(4 10.5)'/%3E%3C/svg%3E%0A");
} @else {
}
@else {
background-image: url("data:image/svg+xml,%3Csvg id='ico_tree_item' xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cdefs%3E%3Cstyle%3E .cls-2%7Bfill:%23a4aac3%7D %3C/style%3E%3C/defs%3E%3Cg id='사각형_703' data-name='사각형 703' style='stroke:%23a4aac3;fill:none'%3E%3Crect width='16' height='16' rx='3' style='stroke:none'/%3E%3Crect x='.5' y='.5' width='15' height='15' rx='2.5' style='fill:none'/%3E%3C/g%3E%3Crect id='사각형_1384' data-name='사각형 1384' class='cls-2' width='8' height='1' rx='.5' transform='translate(4 4.5)'/%3E%3Crect id='_1386' data-name=' 1386' class='cls-2' width='8' height='1' rx='.5' transform='translate(4 7.5)'/%3E%3Crect id='_1387' data-name=' 1387' class='cls-2' width='8' height='1' rx='.5' transform='translate(4 10.5)'/%3E%3C/svg%3E%0A");
}
}
@ -331,10 +445,13 @@
width: 16px;
height: 16px;
background-position: 0 0;
@if $theme == dark {
background-image: url("data:image/svg+xml,%3Csvg id='btn_tree_item_close' xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: %230d0f17; stroke: %23fff; opacity: 0.3; %7D .cls-2 %7B fill: %23fff; %7D .cls-3 %7B stroke: none; %7D .cls-4 %7B fill: none; %7D %3C/style%3E%3C/defs%3E%3Cg id='사각형_703' data-name='사각형 703' class='cls-1'%3E%3Crect class='cls-3' width='16' height='16' rx='3'/%3E%3Crect class='cls-4' x='0.5' y='0.5' width='15' height='15' rx='2.5'/%3E%3C/g%3E%3Crect id='사각형_1384' data-name='사각형 1384' class='cls-2' width='8' height='2' rx='1' transform='translate(4 7)'/%3E%3C/svg%3E%0A");
} @else {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg data-name='사각형 703' style='fill:%23f1f3f9;stroke:%23a4aac3'%3E%3Crect width='16' height='16' rx='3' style='stroke:none'/%3E%3Crect x='.5' y='.5' width='15' height='15' rx='2.5' style='fill:none'/%3E%3C/g%3E%3Crect data-name='사각형 1384' width='8' height='2' rx='1' transform='translate(4 7)' style='fill:%23a4aac3'/%3E%3C/svg%3E ");
@if $theme ==dark {
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%224%22%20fill%3D%22%23212224%22/%3E%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2215%22%20height%3D%2215%22%20rx%3D%223.5%22%20stroke%3D%22white%22%20stroke-opacity%3D%220.06%22/%3E%3Cpath%20d%3D%22M12.5998%208H2.99979%22%20stroke%3D%22white%22%20stroke-opacity%3D%220.85%22/%3E%3C/svg%3E");
}
@else {
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%224%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2215%22%20height%3D%2215%22%20rx%3D%223.5%22%20stroke%3D%22black%22%20stroke-opacity%3D%220.06%22/%3E%3Cpath%20d%3D%22M12.5997%208H2.99973%22%20stroke%3D%22black%22%20stroke-opacity%3D%220.88%22/%3E%3C/svg%3E");
}
}
}
@ -346,10 +463,13 @@
width: 16px;
height: 16px;
background-position: 0 0;
@if $theme == dark {
background-image: url("data:image/svg+xml,%3Csvg id='btn_tree_item_open' xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cdefs%3E%3Cstyle%3E .cls-2%7Bfill:%23fff%7D %3C/style%3E%3C/defs%3E%3Cg id='사각형_703' data-name='사각형 703' style='fill:%230d0f17;stroke:%23fff;opacity:.3'%3E%3Crect width='16' height='16' rx='3' style='stroke:none'/%3E%3Crect x='.5' y='.5' width='15' height='15' rx='2.5' style='fill:none'/%3E%3C/g%3E%3Crect id='사각형_1384' data-name='사각형 1384' class='cls-2' width='8' height='2' rx='1' transform='translate(4 7)'/%3E%3Crect id='_1385' data-name=' 1385' class='cls-2' width='2' height='8' rx='1' transform='translate(7 4)'/%3E%3C/svg%3E%0A");
} @else {
background-image: url("data:image/svg+xml,%3Csvg id='btn_tree_item_open' xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cdefs%3E%3Cstyle%3E .cls-2%7Bfill:%23a4aac3%7D %3C/style%3E%3C/defs%3E%3Cg id='사각형_703' data-name='사각형 703' style='fill:%23f1f3f9;stroke:%23a4aac3'%3E%3Crect width='16' height='16' rx='3' style='stroke:none'/%3E%3Crect x='.5' y='.5' width='15' height='15' rx='2.5' style='fill:none'/%3E%3C/g%3E%3Crect id='사각형_1384' data-name='사각형 1384' class='cls-2' width='8' height='2' rx='1' transform='translate(4 7)'/%3E%3Crect id='_1385' data-name=' 1385' class='cls-2' width='2' height='8' rx='1' transform='translate(7 4)'/%3E%3C/svg%3E ");
@if $theme ==dark {
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%224%22%20fill%3D%22%23212224%22/%3E%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2215%22%20height%3D%2215%22%20rx%3D%223.5%22%20stroke%3D%22white%22%20stroke-opacity%3D%220.06%22/%3E%3Cpath%20d%3D%22M7.7998%203.00073V12.6007%22%20stroke%3D%22white%22%20stroke-opacity%3D%220.85%22/%3E%3Cpath%20d%3D%22M12.5999%207.80078L2.99985%207.80078%22%20stroke%3D%22white%22%20stroke-opacity%3D%220.85%22/%3E%3C/svg%3E");
}
@else {
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%224%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2215%22%20height%3D%2215%22%20rx%3D%223.5%22%20stroke%3D%22black%22%20stroke-opacity%3D%220.06%22/%3E%3Cpath%20d%3D%22M7.7998%203.00073V12.6007%22%20stroke%3D%22black%22%20stroke-opacity%3D%220.88%22/%3E%3Cpath%20d%3D%22M12.5997%207.80078L2.99973%207.80078%22%20stroke%3D%22black%22%20stroke-opacity%3D%220.88%22/%3E%3C/svg%3E");
}
}
}
@ -373,4 +493,4 @@
padding-left: 0 !important;
}
}
}
}

View File

@ -1,40 +1,82 @@
.v-select__custom {
&.v-text-field.v-text-field--solo:not(.v-text-field--solo-flat)
> .v-input__control
> .v-input__slot {
&.v-text-field.v-text-field--solo:not(.v-text-field--solo-flat)>.v-input__control>.v-input__slot {
box-shadow: none;
}
&.v-text-field.v-text-field--solo .v-input__control {
min-height: 36px;
height: 36px;
min-height: 32px;
height: 32px;
}
&.v-input input {
min-height: 36px;
height: 36px;
min-height: 32px;
height: 32px;
}
.v-input--selection-controls {
margin-top: 0;
padding-top: 0;
}
.v-input__slot {
overflow: hidden;
position: relative;
height: 36px;
height: 32px;
}
&.v-text-field .v-input__control {
border-color: #d9d9d9;
}
&.select-large {
.v-input__slot,
.v-input__control {
height: 40px !important;
// border: solid 1px #D9D9D9;
border-radius: 8px !important;
}
}
legend {
width: 0;
}
}
.v-input__custom {
.v-input__slot {
&:before,
&:after {
display: none;
}
}
.v-input__slot {
overflow: hidden;
position: relative;
}
&.input-large {
border-radius: 8px !important;
input {
max-height: 40px;
height: 40px;
}
}
&.v-text-field .v-input__control {
border-color: #d9d9d9;
}
&.surface-name {
fieldset {
max-width: 345px;
}
}
}
.v-text-field .v-input__append-inner,
@ -45,20 +87,21 @@
.v-select__widget {
&.v-text-field.v-text-field--solo:not(.v-text-field--solo-flat)
> .v-input__control
> .v-input__slot {
&.v-text-field.v-text-field--solo:not(.v-text-field--solo-flat)>.v-input__control>.v-input__slot {
box-shadow: none;
}
&.v-text-field.v-text-field--solo .v-input__control {
min-height: 30px !important;
height: 30px !important;
}
&.v-input input {
min-height: 30px !important;
height: 30px !important;
}
&.v-text-field--outlined > .v-input__control > .v-input__slot {
&.v-text-field--outlined>.v-input__control>.v-input__slot {
align-items: stretch;
min-height: 30px;
}
@ -67,6 +110,7 @@
margin-top: 0;
padding-top: 0;
}
.v-input__slot {
overflow: hidden;
position: relative;
@ -79,20 +123,23 @@
width: 110px;
height: 30px;
flex: 0 0 auto;
&.v-text-field.v-text-field--solo .v-input__control {
min-height: 30px;
height: 30px;
}
}
}
.v-text-field > .v-input__control > .v-input__slot:after,
.v-text-field > .v-input__control > .v-input__slot:before {
.v-text-field>.v-input__control>.v-input__slot:after,
.v-text-field>.v-input__control>.v-input__slot:before {
display: none;
}
.v-input__slot {
margin-bottom: 0 !important;
}
.v-input {
margin-top: 0 !important;
padding-top: 0 !important;
@ -104,25 +151,117 @@
}
}
.v-main {
.ant-input,
.ant-input-affix-wrapper>input,
.ant-select-selection {
border-radius: 6px;
}
}
.custom-radio {
display: inline-flex;
align-items: center;
cursor: pointer;
position: relative;
padding-left: 28px;
margin: 10px;
font-size: 16px;
}
.custom-radio input[type="radio"] {
position: absolute;
opacity: 0;
cursor: pointer;
}
/* Custom radio appearance */
.radio-mark {
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
height: 18px;
width: 18px;
background-color: white;
border: 2px solid #ccc;
border-radius: 50%;
transition: all 0.2s ease;
}
/* Show selected state */
.custom-radio input[type="radio"]:checked~.radio-mark {
border-color: #1677ff;
background-color: #fff;
}
.custom-radio input[type="radio"]:checked~.radio-mark::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: 11px;
width: 11px;
border-radius: 50%;
background-color: #1677ff;
}
/* Light mode: use Vuetify default */
.checkbox-light .v-icon {
color: #D9D9D9 !important;
}
/* Dark mode: override tick color to black */
.checkbox-dark .v-icon {
color: #424242 !important;
}
@each $theme in dark, light {
@include theme($theme);
.v-application.#{$theme}-mode {
.v-textarea {
.v-input__slot{
border: map-deep-get($config,
#{$theme},
"v-input-textarea-border"
);
fieldset {
background-color: map-deep-get($config,
#{$theme},
"v-input-textarea-bg"
);
}
}
}
.v-input {
border-radius: 4px;
border-radius: 6px;
border-color: #d9d9d9;
color: map-deep-get($config,
#{$theme},
"v-input-backgroundColor"
);
&:not(.v-input--radio-group, .v-input--checkbox) {
.v-input__slot {
background-color: map-deep-get(
$config,
background-color: map-deep-get($config,
#{$theme},
"v-input-backgroundColor"
);
}
}
.v-input__slot {
fieldset {
color: map-deep-get(
$config,
color: map-deep-get($config,
#{$theme},
"v-input-fieldset-color"
) !important;
@ -130,8 +269,7 @@
&:hover {
fieldset {
color: map-deep-get(
$config,
color: map-deep-get($config,
#{$theme},
"v-input-fieldset-hover-color"
) !important;
@ -144,15 +282,14 @@
}
&--is-readonly {
border-color: map-deep-get(
$config,
border-color: map-deep-get($config,
#{$theme},
"v-input-readonly-border-color"
);
&:not(.v-input--radio-group, .v-input--checkbox) {
.v-input__slot {
background-color: map-deep-get(
$config,
background-color: map-deep-get($config,
#{$theme},
"v-input-readonly-backgroundColor"
) !important;
@ -161,20 +298,20 @@
}
&--is-disabled {
border-color: map-deep-get(
$config,
border-color: map-deep-get($config,
#{$theme},
"v-input-readonly-border-color"
);
&:not(.v-input--radio-group, .v-input--checkbox) {
.v-input__slot {
background-color: map-deep-get(
$config,
background-color: map-deep-get($config,
#{$theme},
"v-input-disabled-backgroundColor"
) !important;
}
}
input {
color: map-deep-get($config, #{$theme}, "v-input-disabled-color");
}
@ -184,22 +321,23 @@
.v-select {
.v-label {
color: map-deep-get($config, #{$theme}, "v-select-label-color");
position: static !important;
}
&.v-input--is-disabled {
.v-label {
color: map-deep-get($config, #{$theme}, "v-input-disabled-color");
}
.v-icon.v-icon--disabled {
color: map-deep-get(
$config,
color: map-deep-get($config,
#{$theme},
"v-input-disabled-color"
) !important;
}
.v-select__selection--disabled {
color: map-deep-get(
$config,
color: map-deep-get($config,
#{$theme},
"v-input-disabled-color"
) !important;
@ -211,6 +349,7 @@
.v-label {
color: map-deep-get($config, #{$theme}, "non-activate");
}
&.v-item--active {
.v-label {
color: map-deep-get($config, #{$theme}, "activate");
@ -241,17 +380,19 @@
.v-input--checkbox {
.v-icon {
@if $theme == dark {
@if $theme ==dark {
color: rgba(255, 255, 255, 0.6);
} @else {
}
@else {
color: #aaaaaa;
}
}
}
.v-textarea{
textarea{
.v-textarea {
textarea {
padding: 10px;
}
}
}
}

View File

@ -1,20 +1,20 @@
// .v-tabs {
// height: 38px;
// flex: 0;
// & + .v-tabs-items {
// height: calc(100% - 38px) !important;
// width: 100%;
// background-color: transparent !important;
// }
// &-bar {
// height: 38px;
// background-color: transparent !important;
// border-bottom: 1px solid $--color-hover_d;
// }
// .v-tab {
// margin: 0 !important;
// }
// }
.v-tabs {
.v-tab {
padding: 16px 0;
font-size: 14px;
position: relative;
z-index: 2;
transform: translateY(1px);
letter-spacing: 0;
+.v-tab {
margin-left: 32px;
}
min-width:auto;
}
}
@each $theme in dark, light {
.v-application.#{$theme}-mode {
@ -22,67 +22,112 @@
position: relative;
z-index: 2;
.v-tabs-bar{
background-color: rgba(0, 0, 0, 0)
}
.v-slide-group__content {
border-bottom: 1px solid map-deep-get($config,
#{$theme},
"v-tabs-items-border-color"
);
}
.v-slide-group__wrapper {
background-color: map-deep-get($config,
#{$theme},
"card-default-backgroundColor"
);
overflow: visible !important;
contain: initial !important;
}
.v-tab {
border: 1px solid transparent;
border-radius: 6px 6px 0 0;
border-bottom-color: map-deep-get(
$config,
#{$theme},
"v-tabs-active-border-color"
);
background-color: map-deep-get(
$config,
#{$theme},
"v-tabs-backgroundColor"
);
padding: 16px 0;
font-size: 14px;
// border-radius: 6px 6px 0 0;
// border-bottom-color: map-deep-get(
// $config,
// #{$theme},
// "v-tabs-active-border-color"
// );
// background-color: map-deep-get(
// $config,
// #{$theme},
// "v-tabs-backgroundColor"
// );
position: relative;
z-index: 2;
transform: translateY(1px);
letter-spacing: 0;
+ .v-tab {
margin-left: 4px;
margin-left: 32px;
}
&::before {
background-color: transparent;
}
}
&:hover {
color: map-deep-get(
$config,
#{$theme},
"v-tabs-hover-color"
) !important
}
&:not(.v-tab--active){
color: map-deep-get($config, #{$theme}, "router-tab-item-color") !important;
}
}
.v-tab--active {
border-top-color: map-deep-get(
$config,
#{$theme},
"v-tabs-active-border-color"
);
border-right-color: map-deep-get(
$config,
#{$theme},
"v-tabs-active-border-color"
);
border-left-color: map-deep-get(
$config,
#{$theme},
"v-tabs-active-border-color"
);
border-bottom-color: map-deep-get(
$config,
#{$theme},
"v-tabs-active-backgroundColor"
);
// border-top-color: map-deep-get(
// $config,
// #{$theme},
// "v-tabs-active-border-color"
// );
// border-right-color: map-deep-get(
// $config,
// #{$theme},
// "v-tabs-active-border-color"
// );
// border-left-color: map-deep-get(
// $config,
// #{$theme},
// "v-tabs-active-border-color"
// );
// border-bottom-color: map-deep-get(
// $config,
// #{$theme},
// "v-tabs-active-backgroundColor"
// );
background-color: map-deep-get(
$config,
#{$theme},
"v-tabs-active-backgroundColor"
);
}
.v-tabs-slider {
border-bottom: 1px solid;
border-bottom-color: map-deep-get($config,
#{$theme},
"v-tabs-active-border-color"
);
}
}
.v-tabs-items {
position: relative;
z-index: 1;
border-top: 1px
solid
map-deep-get($config, #{$theme}, "v-tabs-active-border-color");
background-color: map-deep-get($config,
#{$theme},
"card-default-backgroundColor"
);
// border-top: 1px
// solid
// map-deep-get($config, #{$theme}, "v-tabs-active-border-color");
}
}
}

View File

@ -1,6 +1,7 @@
.txt {
&__bar {
display: flex;
&:before {
content: "";
display: inline-block;
@ -11,6 +12,7 @@
position: relative;
top: 3px;
}
&.log {
&:before {
background-color: $--color-primary__green;
@ -44,15 +46,23 @@
}
.custom-title-4 {
font-size: 1.125rem !important;
font-size: 1.25rem !important;
font-weight: 700 !important;
line-height: 1.25 !important;
}
.custom-title-4-new {
font-size: 1.25rem !important;
font-weight: 600 !important;
line-height: 1.25 !important;
}
.custom-title-6 {
font-size: 1.0rem !important;
font-weight: 700 !important;
line-height: 1.25 !important;
}
.custom-title-8 {
font-size: 0.75rem !important;
font-weight: 700 !important;
@ -94,5 +104,24 @@
.text-color--sub {
color: map-deep-get($config, #{$theme}, "text-subcolor");
}
.h1-title {
font-weight: 600;
font-size: 24px;
line-height: 32px;
letter-spacing: 0;
color: map-deep-get($config, #{$theme}, "h1-title");
}
.v-dialog {
.custom-title-4 {
font-size: 16px !important;
font-weight: 600 !important;
color: map-deep-get($config, #{$theme}, "card-title-color");
line-height: 24px !important;
}
}
}
}