rax-medical/src/assets/css/global.scss

207 lines
3.7 KiB
SCSS
Raw Normal View History

2023-11-10 17:45:10 +08:00
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
2023-12-14 18:29:40 +08:00
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
2023-11-10 17:45:10 +08:00
2023-12-15 18:08:45 +08:00
span,
p,
h3,
ul,
li {
word-wrap: break-word;
margin: 0;
list-style: none;
}
2023-11-10 17:45:10 +08:00
2023-12-15 18:08:45 +08:00
#app {
width: 100%;
height: 100%;
}
2023-11-10 17:45:10 +08:00
}
* {
box-sizing: border-box;
}
2023-12-14 18:29:40 +08:00
[class^='icon-'] {
font-family: "iconfont" !important;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
2023-12-15 18:08:45 +08:00
.main-color {
color: $main-color;
}
.text-color {
color: $text-color;
}
.text1-color {
color: $text1-color;
}
.text2-color {
color: $text2-color;
}
.text3-color {
color: $text3-color;
}
.f14 {
font-size: 14px;
}
.f16 {
font-size: 16px;
}
.f18 {
font-size: 18px;
}
.f20 {
font-size: 20px;
}
2023-11-10 17:45:10 +08:00
::-webkit-scrollbar {
width: 5px;
height: 5px;
background: transparent;
border-radius: 0;
}
::-webkit-scrollbar-track-piece {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
border: 0;
background-color: rgba($main-color, .5);
border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
border: 0;
background-color: $main-color;
}
2023-12-14 18:29:40 +08:00
// 验证弹窗
#plugin-slider-verify_containe {
width: 0;
height: 0;
2023-12-15 18:08:45 +08:00
2023-12-14 18:29:40 +08:00
#slider-verify {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
background: white;
}
2023-12-15 18:08:45 +08:00
}
// 选择医院
.el-select.select-hospital {
width: auto;
.el-input__wrapper {
padding: 1px 12px;
border-radius: 20px;
.el-input__inner {
color: $main-color;
font-size: 14px;
font-weight: 600;
}
}
}
.custom-tabs {
position: relative;
width: 100%;
height: 40px;
display: flex;
margin-bottom: 20px;
&::after {
content: '';
position: absolute;
width: 100%;
height: 1px;
bottom: 0;
background: $border-color;
}
.tabs-item {
cursor: pointer;
position: relative;
line-height: 40px;
font-size: 16px;
color: $main-color;
font-weight: 400;
& ~ .tabs-item {
margin-left: 15px;
}
&.active {
font-weight: 600;
&::after {
content: '';
position: absolute;
height: 3px;
left: 0;
right: 0;
bottom: 0;
background: $main-color;
}
}
}
2023-12-17 16:05:38 +08:00
}
.table-page {
width: 100%;
height: 100%;
.search-part {
width: 100%;
height: 40px;
display: flex;
align-items: center;
&>* ~ * {
margin-left: 20px;
}
.search-cell {
display: flex;
align-items: center;
.label {
flex-shrink: 0;
margin-right: 10px;
}
}
}
.button-part {
width: 100%;
height: 40px;
margin-top: 20px;
display: flex;
align-items: center;
&>* ~ * {
margin-left: 20px;
}
}
.table-part {
width: 100%;
height: calc(100% - 170px);
margin-top: 10px;
.el-table {
.el-table__header {
th {
background: rgba($main-color, .05);
}
}
}
}
.pagination-part {
width: 100%;
height: 50px;
margin-top: 20px;
.el-pagination {
justify-content: flex-end;
}
}
2023-11-10 17:45:10 +08:00
}