daofu-large-screen/src/styles/index.scss
2024-01-24 17:44:57 +08:00

128 lines
1.8 KiB
SCSS

@import "./variables.scss";
@import "./transition.scss";
@import "./element-plus.scss";
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
-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;
}
html {
width: 100%;
height: 100%;
box-sizing: border-box;
overflow: hidden;
}
html,
body,
div,
input,
select,
textarea,
span,
table,
th,
td {
font-family: 'PingFang-SC', "PingFangSC-Regular";
}
#app {
height: 100vh;
width: 100vw;
}
*,
*::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;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
.clearfix {
&::after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
/* 头部用户信息样式重置 */
.hidden {
display: none !important;
}
.pc-spacing {
margin: 10px;
}
.mobile-spacing {
margin: 0;
}
.mars-four-color {
width: 86px;
position: relative;
top: -68px;
left: -37px;
cursor: pointer;
color: white;
}
.mars-four-color .four-color_bg {
position: absolute;
}
.mars-four-color .four-color_name {
width: 100%;
position: absolute;
top: 8px;
text-align: center;
}
.side-bg {
display: flex;
flex-direction: column;
box-sizing: border-box;
// padding: 0 10px 10px 10px;
// height: 260px;
// border: 2px solid;
// background: linear-gradient(0deg, #07193a 0%, rgba(9, 24, 56, 0.3) 100%);
// border-image: linear-gradient(180deg,
// rgba(15, 37, 77, 0) 0%,
// rgba(64, 98, 165, 1) 100%) 2 2 2 2;
margin-bottom: 31px;
overflow: hidden;
}