/* color palette from <https://github.com/vuejs/theme> */
|
:root {
|
--vt-c-white: #ffffff;
|
--vt-c-white-soft: #f8f8f8;
|
--vt-c-white-mute: #f2f2f2;
|
|
--vt-c-black: #181818;
|
--vt-c-black-soft: #222222;
|
--vt-c-black-mute: #282828;
|
|
--vt-c-indigo: #2c3e50;
|
|
--vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
|
--vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
|
--vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
|
--vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
|
|
--vt-c-text-light-1: var(--vt-c-indigo);
|
--vt-c-text-light-2: rgba(60, 60, 60, 0.66);
|
--vt-c-text-dark-1: var(--vt-c-white);
|
--vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
|
}
|
|
/* semantic color variables for this project */
|
:root {
|
--color-background: var(--vt-c-white);
|
--color-background-soft: var(--vt-c-white-soft);
|
--color-background-mute: var(--vt-c-white-mute);
|
|
--color-border: var(--vt-c-divider-light-2);
|
--color-border-hover: var(--vt-c-divider-light-1);
|
|
--color-heading: var(--vt-c-text-light-1);
|
--color-text: var(--vt-c-text-light-1);
|
|
--section-gap: 160px;
|
}
|
|
@media (prefers-color-scheme: dark) {
|
:root {
|
--color-background: var(--vt-c-black);
|
--color-background-soft: var(--vt-c-black-soft);
|
--color-background-mute: var(--vt-c-black-mute);
|
|
--color-border: var(--vt-c-divider-dark-2);
|
--color-border-hover: var(--vt-c-divider-dark-1);
|
|
--color-heading: var(--vt-c-text-dark-1);
|
--color-text: var(--vt-c-text-dark-2);
|
}
|
}
|
|
*,
|
*::before,
|
*::after {
|
box-sizing: border-box;
|
margin: 0;
|
font-weight: normal;
|
}
|
|
|
body {
|
min-height: 100vh;
|
color: var(--color-text);
|
background: var(--color-background);
|
transition:
|
color 0.5s,
|
background-color 0.5s;
|
line-height: 1.6;
|
font-family:
|
Inter,
|
-apple-system,
|
BlinkMacSystemFont,
|
'Segoe UI',
|
Roboto,
|
Oxygen,
|
Ubuntu,
|
Cantarell,
|
'Fira Sans',
|
'Droid Sans',
|
'Helvetica Neue',
|
sans-serif;
|
font-size: 15px;
|
text-rendering: optimizeLegibility;
|
-webkit-font-smoothing: antialiased;
|
-moz-osx-font-smoothing: grayscale;
|
}
|
|
/*basic.css - Written by douchaoyang in September 2015*/
|
body,
|
h1,
|
h2,
|
h3,
|
h4,
|
h5,
|
h6,
|
hr,
|
p,
|
blockquote,
|
dl,
|
dt,
|
dd,
|
ul,
|
ol,
|
li,
|
pre,
|
form,
|
fieldset,
|
legend,
|
button,
|
input,
|
textarea,
|
th,
|
td {
|
margin: 0;
|
padding: 0;
|
}
|
|
body,
|
button,
|
input,
|
select,
|
textarea {
|
font-family: "Microsoft Yahei", arial;
|
}
|
|
body {
|
overflow: hidden;
|
}
|
|
em,
|
strong,
|
th,
|
i {
|
font-style: normal;
|
font-weight: normal;
|
}
|
|
h1,
|
h2,
|
h3,
|
h4,
|
h5,
|
h6 {
|
font-size: 100%;
|
font-weight: normal;
|
}
|
|
a {
|
text-decoration: none;
|
cursor: pointer;
|
outline: none;
|
}
|
|
table {
|
border-collapse: collapse;
|
border-spacing: 0;
|
}
|
|
ol,
|
ul,
|
li {
|
list-style: none;
|
}
|
|
fieldset,
|
img {
|
border: 0;
|
}
|
|
.clearfix:after {
|
content: ".";
|
display: block;
|
height: 0;
|
clear: both;
|
visibility: hidden;
|
overflow: hidden;
|
}
|
|
.clearfix {
|
*zoom: 1;
|
}
|
|
/*basic end*/
|
::-webkit-scrollbar {
|
/* 滚动条整体样式 */
|
width: 3px;
|
height: 10px;
|
}
|
|
::-webkit-scrollbar-thumb {
|
/* 滚动条里面小方块 */
|
border-radius: 10px;
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
background: #02b0bd;
|
}
|
|
::-webkit-scrollbar-track {
|
/* 滚动条里面轨道 */
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
border-radius: 10px;
|
background: #003d64;
|
}
|
|
ul,
|
ol {
|
list-style: none;
|
padding: 0;
|
}
|
|
.posR {
|
position: relative;
|
}
|
|
.pos-full {
|
position: absolute;
|
left: 0;
|
top: 0;
|
right: 0;
|
bottom: 0;
|
}
|
|
.yc-table.yc-table {
|
--el-table-border-color: transparent;
|
/* --el-table-border: 1px solid var(--el-table-border-color); */
|
/* --el-table-text-color: var(--el-text-color-regular); */
|
--el-table-header-text-color: #fff;
|
--el-table-row-hover-bg-color: #8BD3D6;
|
/* --el-table-current-row-bg-color: var(--el-color-primary-light-9); */
|
--el-table-header-bg-color: #13797E;
|
/* --el-table-fixed-box-shadow: var(--el-box-shadow-light);
|
--el-table-bg-color: var(--el-fill-color-blank); */
|
--el-table-tr-bg-color: #143135;
|
/* --el-table-expanded-cell-bg-color: var(--el-fill-color-blank);
|
--el-table-fixed-left-column: inset 10px 0 10px -10px rgba(0, 0, 0, 0.15);
|
--el-table-fixed-right-column: inset -10px 0 10px -10px rgba(0, 0, 0, 0.15); */
|
/* --el-table-index: var(--el-index-normal); */
|
/*--el-table-bg-color: #143135;*/
|
--el-table-bg-color: radial-gradient(#14313510, #143135);
|
--el-table-text-color: #fff;
|
}
|
|
.yc-table.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
|
background: #144E50;
|
}
|
|
.yc-table.el-table .el-table__cell {
|
text-align: center;
|
}
|
|
.yc-table.el-table--striped .el-table__body tr.hover-row.current-row>td.el-table__cell,
|
.yc-table.el-table--striped .el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,
|
.yc-table.el-table--striped .el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,
|
.yc-table.el-table--striped .el-table__body tr.hover-row>td.el-table__cell {
|
background: var(--el-table-row-hover-bg-color);
|
}
|
|
.yc-pagination.yc-pagination {
|
--el-pagination-font-size: 14px;
|
--el-pagination-bg-color: transparent;
|
--el-pagination-text-color: #aaa;
|
/* --el-pagination-border-radius: 2px; */
|
--el-pagination-button-color: var(--el-text-color-primary);
|
--el-pagination-button-width: 12px;
|
--el-pagination-button-height: 32px;
|
--el-pagination-button-disabled-color: var(--el-pagination-text-color);
|
--el-pagination-button-disabled-bg-color: transparent;
|
--el-pagination-button-bg-color: red;
|
--el-pagination-hover-color: #01BCCD;
|
--el-pagination-font-size-small: 12px;
|
--el-pagination-button-width-small: 24px;
|
--el-pagination-button-height-small: 24px;
|
--el-pagination-item-gap: 16px;
|
|
--input-bg-color: #011A21;
|
align-items: center;
|
color: var(--el-pagination-text-color);
|
display: flex;
|
font-size: var(--el-pagination-font-size);
|
justify-content: center;
|
|
}
|
|
.yc-pagination .el-pagination__sizes,
|
.yc-pagination .el-pagination__total {
|
color: var(--el-pagination-hover-color);
|
}
|
|
.yc-pagination .el-select__wrapper {
|
background-color: var(--input-bg-color);
|
border-radius: var(--el-border-radius-base);
|
box-shadow: 0 0 0 1px var(--el-pagination-hover-color) inset;
|
}
|
|
.yc-pagination .el-select__placeholder {
|
color: var(--el-pagination-text-color);
|
}
|
|
.yc-pagination.yc-pagination li,
|
.yc-pagination.yc-pagination button,
|
.yc-pagination .el-select__caret {
|
color: var(--el-pagination-text-color);
|
}
|
|
.yc-pagination .el-pagination__goto {
|
color: var(--el-pagination-hover-color);
|
}
|
|
.yc-pagination .el-input__wrapper {
|
background-color: var(--input-bg-color);
|
box-shadow: 0 0 0 1px var(--el-pagination-hover-color) inset;
|
/* padding: 1px 11px; */
|
}
|
|
.yc-pagination .el-input__wrapper .el-input__inner {
|
color: var(--el-pagination-text-color);
|
|
}
|
|
.yc-select.yc-select {
|
--el-select-border-color-hover: red;
|
/* --el-select-disabled-color: blue; */
|
/* --el-select-disabled-border: green; */
|
/* --el-select-font-size: var(--el-font-size-base); */
|
/* --el-select-close-hover-color: var(--el-text-color-secondary); */
|
/* --el-select-input-color: red; */
|
/* --el-select-multiple-input-color: var(--el-text-color-regular); */
|
/* --el-select-input-focus-border-color: red; */
|
--el-select-input-font-size: 14px;
|
--el-select-width: 100%;
|
}
|
|
.yc-select .el-select__wrapper {
|
background-color: #143135;
|
box-shadow: 0 0 0 1px #00EBFF inset;
|
}
|
|
.yc-select .el-select__placeholder {
|
color: #fff;
|
}
|
|
.yc-select .el-select__suffix .el-select__caret {
|
color: #00EBFF;
|
}
|
|
.yc-datepicker .el-input__wrapper {
|
/* background: transparent; */
|
background-color: #143135;
|
box-shadow: 0 0 0 1px #00ebff inset;
|
}
|
|
.yc-datepicker .el-input__prefix {
|
color: #00ebff;
|
}
|
|
.yc-datepicker .el-input__inner {
|
color: #fff;
|
}
|
|
/* 日历 */
|
.yc-calendar.yc-calendar {
|
--el-calendar-border: none;
|
--el-calendar-header-border-bottom: var(--el-calendar-border);
|
--el-calendar-selected-bg-color: #35ffd2;
|
--el-calendar-cell-width: 26px;
|
background-color: transparent;
|
border: 1px solid #00fea1;
|
border-radius: 6px;
|
overflow: hidden;
|
}
|
|
.yc-calendar .el-calendar__header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
font-size: 12px;
|
padding: 0;
|
background: rgba(28, 155, 108, 0.3);
|
}
|
|
.yc-calendar .el-calendar__body {
|
padding: 4px;
|
}
|
|
.yc-calendar .el-calendar-table thead th {
|
color: #00fea1;
|
font-weight: normal;
|
padding: 2px 0;
|
}
|
|
.yc-calendar .el-calendar-table td {
|
vertical-align: middle;
|
text-align: center;
|
}
|
|
.yc-calendar .el-calendar-table .el-calendar-day {
|
box-sizing: border-box;
|
height: var(--el-calendar-cell-width);
|
width: var(--el-calendar-cell-width);
|
border-radius: 50%;
|
padding: 0;
|
display: inline-flex;
|
justify-content: center;
|
align-items: center;
|
font-size: 14px;
|
}
|
|
.yc-calendar .el-calendar-table td.is-selected {
|
background-color: transparent;
|
}
|
|
.yc-calendar .el-calendar-table td.is-selected .el-calendar-day {
|
background-color: var(--el-calendar-selected-bg-color);
|
color: #000;
|
}
|
|
.yc-calendar .el-calendar-table .el-calendar-day:hover {
|
background-color: var(--el-calendar-selected-bg-color);
|
cursor: pointer;
|
color: #000;
|
}
|
|
.yc-tabs.yc-tabs {
|
background: transparent;
|
border: 1px solid #0ff;
|
}
|
.yc-tabs .el-tab-pane {
|
height: 100%;
|
}
|
|
.yc-tabs.el-tabs--border-card > .el-tabs__header {
|
background-color: transparent;
|
border-bottom: 1px solid #0ff;
|
}
|
.yc-tabs.el-tabs--border-card > .el-tabs__header .el-tabs__item {
|
color: #0ff;
|
}
|
|
.yc-tabs.el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
|
background-color: #0ff;
|
border-left-color: transparent;
|
border-right-color: transparent;
|
color: #000;
|
}
|
|
.yc-transfer.yc-transfer {
|
--el-transfer-border-color: #0ff;
|
--el-transfer-border-radius: 6px;
|
--el-transfer-panel-width: 300px;
|
--el-transfer-panel-header-height: 40px;
|
--el-transfer-panel-header-bg-color: rgb(12, 43, 43);
|
--el-transfer-panel-footer-height: 40px;
|
--el-transfer-panel-body-height: 100%;
|
--el-transfer-item-height: 30px;
|
--el-transfer-filter-height: 32px;
|
font-size: 14px;
|
height: 100%;
|
}
|
.yc-transfer .el-transfer-panel {
|
border-radius: var(--el-transfer-border-radius);
|
background: #0f2c41;
|
box-sizing: border-box;
|
display: inline-block;
|
max-height: 100%;
|
height: 100%;
|
overflow: hidden;
|
position: relative;
|
text-align: left;
|
vertical-align: middle;
|
width: var(--el-transfer-panel-width);
|
display: inline-flex;
|
flex-direction: column;
|
}
|
.yc-transfer .el-transfer-panel .el-transfer-panel__header {
|
align-items: center;
|
background: var(--el-transfer-panel-header-bg-color);
|
border: 1px solid var(--el-transfer-border-color);
|
border-top-left-radius: var(--el-transfer-border-radius);
|
border-top-right-radius: var(--el-transfer-border-radius);
|
box-sizing: border-box;
|
color: #0ff;
|
display: flex;
|
height: var(--el-transfer-panel-header-height);
|
margin: 0;
|
padding-left: 15px;
|
}
|
.yc-transfer .el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span,
|
.yc-transfer .el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label {
|
color: #0ff;
|
font-size: 16px;
|
font-weight: normal;
|
}
|
.yc-transfer .el-transfer-panel__body {
|
flex: 1;
|
border-bottom: 1px solid var(--el-transfer-border-color);
|
border-bottom-left-radius: var(--el-transfer-border-radius);
|
border-bottom-right-radius: var(--el-transfer-border-radius);
|
border-left: 1px solid var(--el-transfer-border-color);
|
border-right: 1px solid var(--el-transfer-border-color);
|
/* height: var(--el-transfer-panel-body-height); */
|
height: auto;
|
overflow: hidden;
|
}
|
.yc-transfer .el-transfer-panel__list.is-filterable {
|
overflow-y: auto;
|
height: calc(100% - var(--el-transfer-filter-height) - 40px);
|
padding-top: 0;
|
}
|
.yc-transfer .el-transfer-panel__item.el-checkbox {
|
color: #fff;
|
}
|
.yc-transfer .el-input__wrapper {
|
align-items: center;
|
background-color: transparent;
|
background-image: none;
|
border-radius: var(--el-transfer-border-radius);
|
box-shadow: 0 0 0 1px #0ff inset;
|
cursor: text;
|
display: inline-flex;
|
flex-grow: 1;
|
justify-content: center;
|
padding: 1px 11px;
|
transform: translateZ(0);
|
transition: var(--el-transition-box-shadow);
|
}
|
.yc-transfer .el-input__wrapper .el-input__inner {
|
border-radius: calc(var(--el-transfer-filter-height) / 2);
|
box-sizing: border-box;
|
display: inline-block;
|
font-size: 12px;
|
height: var(--el-transfer-filter-height);
|
width: 100%;
|
color: #fff;
|
}
|
|
.pointer.pointer.pointer {
|
cursor: pointer;
|
}
|