UnisKB/ui/src/styles/app.scss

229 lines
3.9 KiB
SCSS
Raw Normal View History

2023-09-15 09:40:35 +00:00
html {
height: 100%;
box-sizing: border-box;
}
body {
font-family: Helvetica, PingFang SC, Arial, sans-serif;
font-size: 14px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
height: 100%;
margin: 0;
padding: 0;
}
#app {
height:100%;
}
:focus {
outline: none;
}
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
// 滚动条整体部分
::-webkit-scrollbar {
width: 6px; // 纵向滚动条宽度
height: 6px; // 横向滚动条高度
}
// 滑块
::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: var(--ce-webkit-scrollbar-background-color, rgba(31, 35, 41, 0.3));
}
// 轨道
::-webkit-scrollbar-track {
border-radius: 5px;
background-color: transparent;
}
// 创建表单
.create-catalog-container {
height: 100%;
margin-top: -20px;
.padding-top-30{
padding-top:30px;
}
.padding-top-40{
padding-top:40px;
}
// 表单外套
.form-div{
text-align: center;
margin: 0 auto;
width: 80%;
min-width: 300px;
form{
.el-form-item {margin-bottom: 28px;}
label{
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 22px;
color: #1F2329;
flex: none;
order: 0;
flex-grow: 0;
}
}
}
// 删除按钮样式
.delete-button-class{
cursor: pointer;
color: #646a73
}
// 添加按钮样式
.add-button-class{
cursor: pointer;
border: 0 solid;
//width: 105px;
height: 22px;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 22px;
display: flex;
align-items: center;
letter-spacing: -0.1px;
color: #3370FF;
.span-class{
vertical-align:2px;
color: #3370FF;
padding-left: 5px
}
}
button{
height: 32px;
min-width: 80px
}
.save-btn{
background-color: #3370FF;
}
.cancel-btn{
}
// 下方操作按钮区域
.footer {
border-top: 1px solid var(--el-border-color);
padding: 24px 0px 0px 0px;
display: flex;
justify-content: space-between;
flex-direction: row;
align-items: center;
flex-wrap: wrap;
margin: 0px -50px 0px;
.footer-form {
min-width: 400px;
}
.footer-center {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.footer-btn {
margin: 0px 80px 0px;
text-align: right;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-end;
}
}
.description {
padding-left: 15px;
font-size: smaller;
color: #606266;
}
}
// 自定义弹出框样式
.custom-dialog{
//标题样式
.el-dialog__header{
padding: 24px !important;
}
//关闭按钮样式
.el-dialog__headerbtn .el-dialog__close{
height: auto !important;
color: #646A73 !important;
font-size: x-large !important;
}
.el-dialog__headerbtn .el-dialog__close:hover{
background: rgba(31, 35, 41, 0.1) !important;
border-radius: 4px !important;
}
//内容间距
.el-dialog__body{
padding: 0px 24px 0px 24px;
}
.el-dialog__footer{
padding-bottom: 29px !important;
}
//下方按钮
.footer-btn{
button{
height: 32px;
min-width: 80px
}
.save-btn{
background-color: #3370FF;
}
.cancel-btn{
}
}
}
.custom-radio-group.el-radio-group{
border: 1px solid #BBBFC4;
border-radius: 5px;
height: 30px;
label{
border: 0px solid;
padding: 2px 10px 2px 4px;
}
.el-radio-button__inner{
padding: 4px;
border: 0px;
border-radius: 5px;
}
.el-radio-button{
height: auto;
}
.el-radio-button is-active{
height: auto;
}
.el-radio-button__original-radio:checked + .el-radio-button__inner{
color: #3370FF;
border: 0;
box-shadow: 0 0 0 0;
background: rgba(51, 112, 255, 0.1);
}
}