123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473 |
- @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;
- }
|