sh_real_name_system_web/src/assets/styles/index.scss

247 lines
3.7 KiB
SCSS
Raw Normal View History

2025-08-04 16:09:05 +08:00
@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
body {
2025-11-17 11:13:17 +08:00
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;
2025-08-04 16:09:05 +08:00
}
label {
2025-11-17 11:13:17 +08:00
font-weight: 700;
2025-08-04 16:09:05 +08:00
}
html {
2025-11-17 11:13:17 +08:00
height: 100%;
box-sizing: border-box;
2025-08-04 16:09:05 +08:00
}
#app {
2025-11-17 11:13:17 +08:00
height: 100%;
2025-08-04 16:09:05 +08:00
}
*,
*:before,
*:after {
2025-11-17 11:13:17 +08:00
box-sizing: inherit;
2025-08-04 16:09:05 +08:00
}
.no-padding {
2025-11-17 11:13:17 +08:00
padding: 0px !important;
2025-08-04 16:09:05 +08:00
}
.padding-content {
2025-11-17 11:13:17 +08:00
padding: 4px 0;
2025-08-04 16:09:05 +08:00
}
a:focus,
a:active {
2025-11-17 11:13:17 +08:00
outline: none;
2025-08-04 16:09:05 +08:00
}
a,
a:focus,
a:hover {
2025-11-17 11:13:17 +08:00
cursor: pointer;
color: inherit;
text-decoration: none;
2025-08-04 16:09:05 +08:00
}
div:focus {
2025-11-17 11:13:17 +08:00
outline: none;
2025-08-04 16:09:05 +08:00
}
.fr {
2025-11-17 11:13:17 +08:00
float: right;
2025-08-04 16:09:05 +08:00
}
.fl {
2025-11-17 11:13:17 +08:00
float: left;
2025-08-04 16:09:05 +08:00
}
.pr-5 {
2025-11-17 11:13:17 +08:00
padding-right: 5px;
2025-08-04 16:09:05 +08:00
}
.pl-5 {
2025-11-17 11:13:17 +08:00
padding-left: 5px;
2025-08-04 16:09:05 +08:00
}
.block {
2025-11-17 11:13:17 +08:00
display: block;
2025-08-04 16:09:05 +08:00
}
.pointer {
2025-11-17 11:13:17 +08:00
cursor: pointer;
2025-08-04 16:09:05 +08:00
}
.inlineBlock {
2025-11-17 11:13:17 +08:00
display: block;
2025-08-04 16:09:05 +08:00
}
.clearfix {
2025-11-17 11:13:17 +08:00
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: ' ';
clear: both;
height: 0;
}
2025-08-04 16:09:05 +08:00
}
aside {
2025-11-17 11:13:17 +08:00
background: #eef1f6;
padding: 8px 24px;
margin-bottom: 20px;
border-radius: 2px;
display: block;
line-height: 32px;
font-size: 16px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
color: #2c3e50;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
a {
color: #337ab7;
cursor: pointer;
&:hover {
color: rgb(32, 160, 255);
}
2025-08-04 16:09:05 +08:00
}
}
//main-container全局样式
.app-container {
2025-11-17 11:13:17 +08:00
height: calc(100vh - 84px);
padding: 20px;
// box-sizing: border-box;
// display: flex;
// flex-direction: column;
overflow-y: auto;
2025-08-04 16:09:05 +08:00
}
.components-container {
2025-11-17 11:13:17 +08:00
margin: 30px 50px;
position: relative;
2025-08-04 16:09:05 +08:00
}
.pagination-container {
2025-11-17 11:13:17 +08:00
margin-top: 30px;
2025-08-04 16:09:05 +08:00
}
.text-center {
2025-11-17 11:13:17 +08:00
text-align: center;
2025-08-04 16:09:05 +08:00
}
.sub-navbar {
2025-11-17 11:13:17 +08:00
height: 50px;
line-height: 50px;
position: relative;
width: 100%;
text-align: right;
padding-right: 20px;
transition: 600ms ease position;
background: linear-gradient(
90deg,
rgba(32, 182, 249, 1) 0%,
rgba(32, 182, 249, 1) 0%,
rgba(33, 120, 241, 1) 100%,
rgba(33, 120, 241, 1) 100%
);
.subtitle {
font-size: 20px;
color: #fff;
}
2025-08-04 16:09:05 +08:00
2025-11-17 11:13:17 +08:00
&.draft {
background: #d0d0d0;
}
2025-08-04 16:09:05 +08:00
2025-11-17 11:13:17 +08:00
&.deleted {
background: #d0d0d0;
}
2025-08-04 16:09:05 +08:00
}
.link-type,
.link-type:focus {
2025-11-17 11:13:17 +08:00
color: #337ab7;
cursor: pointer;
2025-08-04 16:09:05 +08:00
2025-11-17 11:13:17 +08:00
&:hover {
color: rgb(32, 160, 255);
}
2025-08-04 16:09:05 +08:00
}
.filter-container {
2025-11-17 11:13:17 +08:00
padding-bottom: 10px;
2025-08-04 16:09:05 +08:00
2025-11-17 11:13:17 +08:00
.filter-item {
display: inline-block;
vertical-align: middle;
margin-bottom: 10px;
}
2025-08-04 16:09:05 +08:00
}
.dialog-setting-btn {
2025-11-17 11:13:17 +08:00
display: flex;
margin-top: 10px;
padding-top: 10px;
justify-content: flex-end;
border-top: 1px solid #e5e5e5;
}
.title-right {
2025-11-17 11:13:17 +08:00
font-size: 14px;
font-weight: bold;
font-family: 'PingFang SC';
}
.mt-10 {
2025-11-17 11:13:17 +08:00
margin-top: 10px;
}
2025-08-08 10:18:07 +08:00
.cursor-blue {
2025-11-17 11:13:17 +08:00
color: #409eff;
cursor: pointer;
2025-08-08 10:18:07 +08:00
}
2025-08-08 14:36:51 +08:00
.dialog-footer-btn {
2025-11-17 11:13:17 +08:00
display: flex;
justify-content: flex-end;
margin-top: 20px;
padding: 12px 0;
border-top: 1px solid #e5e5e5;
2025-08-08 14:36:51 +08:00
}
2025-08-12 18:24:29 +08:00
.tip-text {
2025-11-17 11:13:17 +08:00
padding-left: 12px;
font-size: 14px;
color: $red;
2025-08-12 18:24:29 +08:00
}
2025-08-28 16:11:20 +08:00
.files-content {
2025-11-17 11:13:17 +08:00
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.contract-img-item-box {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
2025-08-28 16:11:20 +08:00
}