229 lines
4.0 KiB
SCSS
229 lines
4.0 KiB
SCSS
@import './variables.scss';
|
|
@import './mixin.scss';
|
|
@import './transition.scss';
|
|
@import './element-ui.scss';
|
|
@import './sidebar.scss';
|
|
|
|
body {
|
|
height: 100%;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
//font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
|
|
font-family: Menlo,Monaco,Consolas,"Courier New",monospace;;
|
|
.el-tooltip__popper .popper__arrow {
|
|
border-width: 0;
|
|
}
|
|
}
|
|
>>>::-webkit-scrollbar {
|
|
/*滚动条整体样式*/
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
>>>::-webkit-scrollbar-thumb {
|
|
/*滚动条里面小方块*/
|
|
height: 30px;
|
|
background-color: #c0c0c0;
|
|
-webkit-border-radius: 7px;
|
|
outline: 2px solid #fff;
|
|
outline-offset: -2px;
|
|
border: 2px solid #fff;
|
|
}
|
|
>>>::-webkit-scrollbar-thumb:hover {
|
|
background-color: #999;
|
|
}
|
|
>>>::-webkit-scrollbar-track {
|
|
/*滚动条里面轨道*/
|
|
/*box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2);*/
|
|
/*background : #ffffff;*/
|
|
/*border-radius: 10px;*/
|
|
}
|
|
>>>::-webkit-scrollbar-track-piece {
|
|
background-color: #fff;
|
|
-webkit-border-radius: 3px;
|
|
}
|
|
|
|
label {
|
|
font-weight: 700;
|
|
}
|
|
|
|
html {
|
|
font-size: 1rem!important;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#app {
|
|
height: 100%;
|
|
}
|
|
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
a:focus,
|
|
a:active {
|
|
outline: none;
|
|
}
|
|
|
|
a,
|
|
a:focus,
|
|
a:hover {
|
|
cursor: pointer;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
div:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.clearfix {
|
|
&:after {
|
|
visibility: hidden;
|
|
display: block;
|
|
font-size: 0;
|
|
content: " ";
|
|
clear: both;
|
|
height: 0;
|
|
}
|
|
}
|
|
|
|
// main-container global css
|
|
.app-container {
|
|
padding: 20px;
|
|
}
|
|
|
|
.fade-enter,
|
|
.fade-leave-active {
|
|
opacity: 0;
|
|
}
|
|
.fade-enter-active,
|
|
.fade-leave-active {
|
|
transition: opacity 0.5s;
|
|
}
|
|
.al-icon-picker-popper.el-popover {
|
|
max-width: 100%;
|
|
padding: 4px 3px 15px 15px;
|
|
}
|
|
.al-icon-picker-popper {
|
|
.el-card {
|
|
margin: 10px 12px 0 0;
|
|
}
|
|
.el-scrollbar__wrap {
|
|
overflow-x: hidden;
|
|
margin-right: 0!important;
|
|
&::-webkit-scrollbar {
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
}
|
|
.el-scrollbar__bar.is-vertical{
|
|
width: 6px!important;
|
|
}
|
|
.el-tabs .el-tabs__header {
|
|
margin: 0;
|
|
}
|
|
.el-card__body {
|
|
padding: 0;
|
|
}
|
|
.el-tabs .el-tabs__item {
|
|
padding: 0 12px!important;
|
|
}
|
|
.al-icon-picker-item {
|
|
display: block;
|
|
padding: 8px 0;
|
|
font-size: 20px;
|
|
text-align: center;
|
|
transition: transform .1s;
|
|
cursor: pointer;
|
|
}
|
|
.al-icon-picker-item:hover {
|
|
transform: scale(1.5);
|
|
}
|
|
}
|
|
.al-card-border {
|
|
border: 1px solid #ededed;
|
|
}
|
|
.al-select {
|
|
.el-scrollbar__wrap {
|
|
&::-webkit-scrollbar {
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
}
|
|
.el-scrollbar__bar.is-vertical{
|
|
width: 6px!important;
|
|
}
|
|
}
|
|
.al-file-sort-item {
|
|
.al-file-sort-item-icon {
|
|
font-weight: 600;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
.al-file-sort-item.active {
|
|
color: #40a9ff;
|
|
}
|
|
|
|
.al-file-sort-item:not(.active) .al-file-sort-item-icon {
|
|
visibility: hidden;
|
|
}
|
|
|
|
input:-webkit-autofill , textarea:-webkit-autofill, select:-webkit-autofill {
|
|
background-color:transparent;
|
|
background-image: none;
|
|
transition: background-color 50000s ease-in-out 0s;
|
|
}
|
|
|
|
input {
|
|
|
|
background-color:transparent;
|
|
|
|
}
|
|
|
|
.file-history-popover {
|
|
.el-popconfirm {
|
|
width: 310px;
|
|
}
|
|
}
|
|
.dark-file-history-popover {
|
|
background-color: #202021;
|
|
color: #b7b7b7;
|
|
border: 1px solid #2e2e30;
|
|
.el-popconfirm {
|
|
width: 310px;
|
|
}
|
|
}
|
|
|
|
.dark-file-history-list.el-table--enable-row-hover {
|
|
.el-table__body tr:hover>td {
|
|
background-color: #2e2e30;
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
.dark-file-history-list.el-table {
|
|
background-color: #202021;
|
|
tr,th,td {
|
|
background-color: #202021;
|
|
color: #b7b7b7;
|
|
border-bottom: 1px solid #3e3e3e;
|
|
}
|
|
|
|
.dark-button {
|
|
background: #3e3e3e;
|
|
border: 1px solid #3e3e3e;
|
|
color: #ffffff;
|
|
}
|
|
.dark-button:hover {
|
|
color: #409EFF;
|
|
background-color: #181818;
|
|
}
|
|
}
|
|
.dark-file-history-list.el-table::before {
|
|
background-color: #3e3e3e;
|
|
}
|