@charset "utf-8"; #paper-question, #question-detail { height: 100%; .base { height: 100%; .layout { background: #fff; height: 100%; display: flex; flex-direction: row; &.exercise { // border-top: 20px solid #7775CA; // background: #fff; // .layout-header { // height: 60px; // top: 20px; // } border-top: none; } // &.sentence { // border-top: 20px solid #435C96; // background: #fff; // } &.examination { border-top: 20px solid #8D909C; background: #fff; .layout-header { height: 60px; top: 20px; } } .layout-header { height: 60px; line-height: 60px; position: fixed; top: 0; left: 0; right: 0; box-shadow: 0px 4px 14px 0px rgba(189, 199, 215, 0.16); text-align: center; z-index: 80; .left { position: absolute; left: 50px; .btn { display: inline-block; padding-right: 10px; line-height: 60px; } .no { font-size: 20px; display: inline-block; color: #303036; font-size: 20px; margin-right: 25px; } .title { color: #A7A7B7; display: inline-block; font-size: 20px; img { margin-top: -3px; margin-right: 5px; } } } .menu-wrap { position: absolute; right: 0; text-align: left; padding: 0 10px; white-space: nowrap; .menu-content { position: absolute; background: #fff; text-align: left; top: 50px; right: 10px; border: 1px solid #EAEDF2; padding: 10px 20px; min-width: 150px; p { line-height: 30px; height: 30px; text-align: left; margin: 0; } } } .center { position: absolute; right: 50%; transform: translateX(100%); .icon { margin-left: 20px; } } .right { position: absolute; right: 50px; .b { margin-left: 30px; .s { color: #4299FF; } } .icon { margin-left: 10px; } } } } .layout-footer { position: fixed; bottom: 0; left: 0; right: 0; height: 60px; line-height: 60px; box-shadow: 0px -4px 14px 0px rgba(189, 199, 215, 0.16); .left { width: 30%; display: inline-block; padding-left: 50px; } .right { width: 30%; display: inline-block; text-align: right; padding-right: 50px; .icon { margin-left: 10px; } } .center { width: 40%; display: inline-block; text-align: center; .item { margin: 0 10px; } } } .layout-body { background: #fff; flex: 1; overflow: hidden; margin: 60px 0; .layout-content { height: 100%; position: relative; .one { flex: 1; display: flex; flex-direction: column; width: 50%; overflow: hidden; height: 100%; } .two { flex: 1; display: flex; flex-direction: row; overflow: hidden; height: 100%; } .block { flex: 1; height: 100%; } .block-content, .block-answer, .block-text, .block-awa { box-sizing: border-box; padding: 30px 60px; color: #303036; height: 100%; overflow: hidden; overflow-y: auto; } .block-content { h2 { padding: 65px 0 20px 0px; font-size: 20px; color: #303036; } } .block-awa { background: #EFF3F7; h2 { font-size: 20px; color: #303036; margin-top: 37px; margin-bottom: 23px; } .detail { .info { font-weight: bold; font-size: 18px; color: #303036; span.b { margin-right: 80px; .s { color: #4299FF; } } } } .content-awa { padding-top: 50px; color: #686872; font-size: 16px; } .show-awa { font-size: 12px; width: 100%; height: 100%; margin: 50% 0; text-align: center; line-height: 20px; color: #A7A7B7; position: relative; >div { left: 0; position: absolute; top: 40%; text-align: center; display: inline-block; width: 100%; } } } .block-analysis { background: #EFF3F7; padding: 25px 25px 0 20px; display: flex; flex-direction: column; .tabs { overflow: visible; } .block-answer { padding: 38px 50px; } .block { background: #fff; margin-bottom: 5px; overflow: hidden; overflow-y: auto; } .detail { flex: 1; display: flex; flex-direction: column; height: 100%; .detail-block { box-sizing: border-box; flex: 1; overflow: hidden; overflow-y: auto; font-size: 16px; color: #686872; background: #fff; } .ant-carousel { height: 100%; .slick-slider { height: 100%; } .slick-list { height: 100%; } .slick-track { height: 100%; } .slick-slide { height: 100%; overflow: hidden; overflow-y: auto; } .slick-dots { li { button { background: #D0D8E2; width: 4px; } } .slick-active { button { background: #4299FF; width: 24px; } } } } .answer-block { margin-bottom: 5px; } } .other { flex: 1; background: #fff; padding: 30px 50px; overflow: hidden; overflow-y: auto; font-size: 16px; color: #686872; .other-answer { margin-bottom: 30px; } } } .two-analysis { position: absolute; height: 100%; top: 0; left: 0; width: 50%; transition: all 0.3s; transform: translateX(200%); } .two-analysis.show { transform: translateX(100%); } .fixed-analysis { height: 110px; line-height: 20px; position: absolute; width: 35px; padding: 5px; right: 0; top: 50%; transform: translateY(-50%); border: 1px solid #E7E7E7; background: #fff; z-index: 9; color: #787883; cursor: pointer; text-align: center; } } } } }