@import './variables.scss'; @import './mixin.scss'; @import './transition.scss'; @import './element-ui.scss'; @import './sidebar.scss'; @import './btn.scss'; /* 新疆语 */ /* @font-face{ font-family: 'UKIJ Tuz Tom';font-style:normal;font-weight:normal;src: url('ukij/UkijTuzTom.eot?#iefix');src: local('UKIJ Tuz Tom'), local('UKIJ Tuz Tom'), url('ukij/UkijTuzTom.ttf') ; } */ body { height: 100%; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-family: Arial, PingFang SC, Microsoft YaHei, Helvetica Neue, Helvetica, Hiragino Sans GB; } 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; min-height: 50vh; } .components-container { margin: 30px 50px; position: relative; } .pagination-container { } .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; } } //refine vue-multiselect plugin .multiselect { line-height: 16px; } .multiselect--active { z-index: 1000 !important; } .grid-box{ padding: 20px; cursor: pointer } .grid-box .title{ font-weight: 700; font-size: 18px; text-overflow:ellipsis;white-space:nowrap; width: 100%;overflow:hidden; } .grid-box .summary{ color: #666; text-overflow:ellipsis;white-space:nowrap; width: 100%;overflow:hidden; line-height: 28px; } .grid-box .cat{ color: #4377fb } // 题目及答题样式表 .qu-box{ margin-bottom: 20px; } .sub-box{ margin: 20px 0px 20px 0px; } .qu-box > .split{ margin-bottom: 20px; height: 10px; border-bottom: #eee 3px dotted; } .qu-box > .score-bar{ display: flex; background: #eee; line-height: 25px; padding: 10px; margin-bottom: 20px } .qu-box > .score-bar > .mark{ width: 50px; display: flex; justify-content: flex-end; align-items: center; } .qu-box > .score-bar > .mark > .active{ color: #ff0000; } .qu-item{ display: flex; margin-bottom: 20px; } .qu-item > .sub{ width: 20px; font-weight: 700; color: #5794f7; font-size: 16px; font-style: italic; display: flex; align-items: flex-start; line-height: 24px; } .qu-item > .num{ display: inline-block; background: url(../assets/web/images/quesbg.png) no-repeat 100% 100%; background-size: contain; height: 30px; width: 30px; line-height: 25px; color: #fff; font-size: 14px; text-align: center; margin-right: 15px; flex-shrink: 0; } .qu-item > .content{ flex-grow: 1; align-items: flex-start; } .qu-item > .content p{ line-height: 24px; margin-top: -0px; } .qu-answer { } .qu-answer > .item{ display: flex; border: #eee 1px solid; border-radius: 5px; line-height: 20px; margin: 15px 0px 15px 0px; padding: 10px; cursor: pointer; font-size: 14px; } .qu-answer > .active{ border: #5794f7 1px solid; } .qu-answer > .item > .tag{ width: 10px; font-weight: 700; color: #0a84ff; display: flex; align-items: center; } .qu-answer > .item > .content{ flex-grow: 1; padding-left: 10px; } .qu-answer > .item > .right{ width: 50px; flex-shrink: 0; } .as-box{ border: #eee 1px solid; border-radius: 5px; line-height: 24px; margin: 5px 0px 10px 0px; padding: 10px; font-size: 14px; color: #555; background: #f5f5f5; } // 答题卡样式 .card-box{ display: flex; flex-wrap: wrap; align-content: flex-start; margin-left: -5px; margin-top: 10px; } .card-box .item{ width: 30px; height: 40px; background: #eee; border-radius: 2px; font-size: 12px; align-items: center; cursor: pointer; margin:5px 5px 10px 5px } .card-box .item .num{ text-align: center; color: #555; font-weight: 700; padding: 3px; height: 20px; line-height: 14px !important; } .card-box .item .current{ border-radius: 2px; background: #FFBA00; color: #fff !important; } .card-box .item .flag{ text-align: center; border-top: #fff 1px solid; padding: 3px; display: flex; align-items: center; justify-content: center; background: #eee; } .card-box .item .right{ border-radius: 2px; background: #1890ff; color: #fff !important; } .card-box .item .error{ border-radius: 2px; background: #FF4B50; color: #fff !important; } // 试卷预览、试卷编辑、阅卷页面左右结构 .list-box{ display: flex; padding-bottom: 20px; border-bottom: #eee 3px dotted; margin-bottom: 20px } .list-qu{ flex-grow: 1; padding-right: 20px; } .list-opt{ width: 200px; text-align: center; font-size: 12px; line-height: 36px; flex-shrink: 0; } .list-sub-box{ display: flex; margin-bottom: 20px; border: #efefef 1px solid; border-radius: 5px; padding: 10px; margin-right: -20px; } .list-sub-qu{ flex-grow: 1; padding-right: 20px; } .list-sub-opt{ width: 200px; text-align: center; font-size: 12px; line-height: 36px; flex-shrink: 0; } .el-dialog{ display: flex; display: -ms-flex; /* 兼容IE */ flex-direction: column; -ms-flex-direction: column; /* 兼容IE */ margin:0 !important; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); max-height:calc(100% - 30px); max-width:calc(100% - 30px); } .el-dialog .el-dialog__body{ max-height: 100%; flex: 1; -ms-flex: 1 1 auto; /* 兼容IE */ overflow-y: auto; overflow-x: hidden; }