You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dianshang-qianduan/src/assets/styles/index.scss

392 lines
7.1 KiB
SCSS

@import "./variables.module.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./btn.scss";
@import "./ruoyi.scss";
@import "./dialog.scss";
@import "./student-training.scss";
body {
height: 100%;
margin: 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;
// color: #ffffff;
}
label {
font-weight: 700;
}
html {
height: 100%;
box-sizing: border-box;
}
#app {
height: 100%;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
.no-padding {
padding: 0px !important;
}
.padding-content {
padding: 4px 0;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
div:focus {
outline: none;
}
.fr {
float: right;
}
.fl {
float: left;
}
.pr-5 {
padding-right: 5px;
}
.pl-5 {
padding-left: 5px;
}
.block {
display: block;
}
.pointer {
cursor: pointer;
}
.inlineBlock {
display: block;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
aside {
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);
}
}
}
//main-container全局样式
.app-container {
padding: 20px;
}
.components-container {
margin: 30px 50px;
position: relative;
}
.pagination-container {
margin-top: 30px;
background-color: transparent !important;
// .el-pagination__total,
// .el-pagination__goto,
// .el-pagination__classifier {
// color: #ffffff !important;
// }
}
.text-center {
text-align: center;
}
.sub-navbar {
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;
}
&.draft {
background: #d0d0d0;
}
&.deleted {
background: #d0d0d0;
}
}
.link-type,
.link-type:focus {
color: #337ab7;
cursor: pointer;
&:hover {
color: rgb(32, 160, 255);
}
}
.filter-container {
padding-bottom: 10px;
.filter-item {
display: inline-block;
vertical-align: middle;
margin-bottom: 10px;
}
}
.app-container {
margin: 10px;
box-shadow: 0px 0px 13px 0px #0452c6;
border-radius: 10px;
padding: 25px;
overflow-y: auto;
}
.app-container3 {
margin: 10px;
box-shadow: 0px 0px 13px 0px #0452c6;
border-radius: 10px;
padding: 25px 25px 3px;
}
.dialog-footer {
text-align: center;
.el-button:nth-child(1) {
background: url("../../assets/images/确定222.png") no-repeat !important;
background-size: 100% 100% !important;
}
.el-button:nth-child(2) {
background: url("../../assets/images/取消.png") no-repeat !important;
background-size: 100% 100% !important;
}
.el-button--large.is-round {
padding: 12px 20px 12px 40px !important;
}
.el-button {
width: 89px;
height: 31px;
padding: 12px 20px 12px 40px !important;
font-size: 15px;
border: none;
color: #080138;
}
}
.app-container2 {
margin: 10px;
// box-shadow: 0px 0px 13px 0px #0452C6;
// background: #FFFFFF;
border-radius: 10px;
padding: 10px;
// padding: 25px 25px 10px 25px;
}
.app-container4 {
margin: 10px;
// box-shadow: 0px 0px 13px 0px #0452C6;
background: #ffffff;
border-radius: 10px;
padding: 10px;
// padding: 25px 25px 10px 25px;
}
.dialogClass {
background: url("@/assets/images/弹框.png") !important;
background-size: 100% 100% !important;
.el-dialog__header {
padding: 5px 0px;
margin-right: 5px !important;
.gbImg {
cursor: pointer;
width: 51px;
height: 31px;
background-size: 100% 100%;
}
}
.xtImg {
margin-left: 18px;
width: 530px;
}
}
.my-header {
display: flex;
flex-direction: row;
justify-content: space-between;
gap: 16px;
text-align: center;
span {
color: #ffffff;
padding: 38px 20px 0;
}
}
.main-but {
margin: 0px 20px 0;
display: flex;
.el-button:nth-child(1) {
width: 150px;
height: 50px;
background: url("@/assets/images/011.png");
color: #ffffff;
border-color: #ffffff00;
background-size: 100% 100%;
}
.el-button:nth-child(2) {
width: 150px;
height: 50px;
background: url("@/assets/images/022.png");
color: #ffffff;
border-color: #ffffff00;
background-size: 100% 100%;
}
}
.taskfooter {
text-align: center;
margin-top: 20px;
.el-button:nth-child(1) {
width: 99px;
height: 31px;
background-image: url("@/assets/images/submit.png");
color: #080138;
font-size: 14px;
line-height: 31px;
padding-left: 30px;
cursor: pointer;
}
.el-button:nth-child(2) {
width: 99px;
height: 31px;
background-image: url("@/assets/images/retrain.png");
color: #080138;
font-size: 14px;
line-height: 31px;
padding-left: 30px;
margin-left: 20px;
cursor: pointer;
}
}
.caseBacktitle {
font-weight: bold;
margin-top: 10px;
display: flex;
align-items: center;
span {
margin-left: 10px;
}
}
.training-step-area {
margin-top: 16px;
padding: 18px;
border: 1px solid rgba(4, 82, 198, 0.24);
border-radius: 8px;
background: rgba(255, 255, 255, 0.96);
&::before {
content: "实训步骤";
display: inline-flex;
align-items: center;
height: 28px;
margin-bottom: 12px;
padding: 0 12px;
border-left: 3px solid #1688f0;
color: #123d64;
background: rgba(22, 136, 240, 0.08);
font-size: 15px;
font-weight: 700;
}
}
.online {
display: flex;
align-items: center;
}
.handren {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 10px;
.left {
.el-button {
min-width: 170px;
height: 50px;
background: url("@/assets/images/11.png") no-repeat !important;
background-size: 100% 100% !important;
padding-left: 40px !important;
color: #ffffff;
cursor: pointer;
border-color: #ffffff00;
padding: 8px 5px 8px 47px;
}
}
#brtn {
width: 150px;
height: 50px;
background: #409eff !important;
border-color: #ffffff00;
padding: 8px 5px 8px 5px !important;
}
}