@bgcolor: #F5F5F5; @txtcolor: #000000; @divbgcolor: #FFFFFF; @menubgcolor: #007AFF; @primarycolor: #007AFF; @dangercolor: #d9534f; @colorbgtxtcolor: #FFFFFF; @bordercolor: #E5E5E5; * { margin: 0px; padding: 0px; box-sizing: border-box; } html { -webkit-text-size-adjust: none; font-size: 84px; } div { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } body { margin: 0px; font-family: Helvetica; background-color: @bgcolor; } input:focus, textarea:focus { outline: none; } input::-webkit-input-placeholder { color: #cccccc; } input::-moz-placeholder { color: #cccccc; } input:-moz-placeholder { color: #cccccc; } input:-ms-input-placeholder { color: #cccccc; } input::-webkit-search-cancel-button { display: none; } /*移除search搜索小叉叉*/ .content { background-color: @bgcolor; font-size: 0.17rem; color: @txtcolor; width: 100%; height: 100%; position: absolute; line-height: 0.32rem; clear: both; overflow: visible; a { text-decoration: none; color: @txtcolor; } img { max-width: 100%; vertical-align: middle; } .d0-0 { box-sizing: border-box; float: left; display: block; } .d0-1 { box-sizing: border-box; clear: both; display: block; } .d1-1 { width: 100%; .d0-0; } .d2-1 { width: 50%; .d0-0; } .d3-1 { width: 33.3%; .d0-0; } .d3-2 { width: 66.6%; .d0-0; } .d4-1 { width: 25%; .d0-0; } .d4-3 { width: 75%; .d0-0; } .d5-1 { width: 20%; .d0-0; } .d5-2 { width: 40%; .d0-0; } .d5-3 { width: 60%; .d0-0; } .d5-4 { width: 80%; .d0-0; } .d6-1 { width: 16.6%; .d0-0; } .d6-5 { width: 83.4%; .d0-0; } .d10-1 { width: 10%; .d0-0; } .d10-3 { width: 30%; .d0-0; } .d10-7 { width: 70%; .d0-0; } .d10-9 { width: 90%; .d0-0; } .d20-1 { width: 5%; .d0-0; } .d20-19 { width: 95%; .d0-0; } .d30-1 { width: 3.3%; .d0-0; } .maskbox, .whitemask { position: absolute; opacity: 0.5; background-color: #000000; width: 100%; height: 100%; top: 0px; left: 0px; z-index: 9998; display: block; overflow: hidden; } .whitemask { background-color: #FFFFFF; opacity: 1; z-index: 99999; } .whitemask .header { position: static; } .modal { position: absolute; z-index: 99999; width: 100%; display: none; .alert { background-color: #FFFFFF; border-top-left-radius: 0.1rem; border-top-right-radius: 0.1rem; ul { list-style: none; display: block; li { border-top: solid 0.01rem #eeeeee; line-height: 0.60rem; text-align: left; padding: 0rem 0.2rem; font-size: 0.18rem; font-weight: 540; clear: both; overflow: hidden; .iconfont { font-size: 0.2rem; } } } } } .pages { width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; } .pagecontent { width: 100%; height: 100%; // position: absolute; // left: 0px; padding-top: 0.56rem; padding-bottom: 0.6rem; overflow: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; background-color: #f5f5f5; } .pagecontent::-webkit-scrollbar { //display: none } .split { border-left: 1px solid #DDDDDD; font-size: 1px; margin-top: 0.15rem; height: 0.4rem; width: 0px!important; content: ""; } .pullright { float: right!important; } .btn { display: inline-block; padding: 0.06rem 0.12rem; margin-bottom: 0; font-size: 0.17rem; font-weight: normal; line-height: 0.28rem; text-align: center; white-space: nowrap; vertical-align: middle; touch-action: manipulation; cursor: pointer; user-select: none; border: 0.01rem solid transparent; border-radius: 0.08rem; border-color: @bordercolor; color: @txtcolor; outline: none; &.btn-default, &.btn-toolip { background-color: #F3F3F3; color: #757575; border-color: #F3F3F3; } &:focus { outline: 0; } &.btn-toolip { position: relative; &:after { position: absolute; content: ""; width: 0; height: 0; left: 7%; top: -0.1rem; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 0.1rem solid #F3F3F3!important; } } &.btn-primary { color: #FFFFFF; background-color: #007AFF; border-color: #007AFF; &:active { background-color: #1884fb; border-color: #1884fb; } } &.btn-sucess { color: #FFFFFF; background-color: #18B8A0; border-color: #18B8A0; &:active { background-color: #1884fb; border-color: #1884fb; } } &.btn-hold { color: #FFFFFF; background-color: #7dc6fd; border-color: #7dc6fd; &:active { background-color: #1884fb; border-color: #1884fb; } } &.btn-unhold { color: #FFFFFF; background-color: #ff7b77; border-color: #ff7b77; &:active { background-color: #1884fb; border-color: #1884fb; } } &.btn-secondary { color: #999; background-color: #fff; border-color: #999; } &.btn-secondarys{ color: #007AFF; background-color: #fff; border-color: #007AFF; } &.btn-danger { color: @colorbgtxtcolor; background-color: @dangercolor; border-color: #d43f3a; } &.btn-block { display: block; width: 100%; } } .header { background-color: #33ccff; line-height: 0.36rem; font-size: 0.18rem; text-align: center; color: @colorbgtxtcolor; padding: 0.1rem 0.05rem; overflow: auto; position: fixed; top: 0px; left: 0px; width: 100%; height: 0.56rem; overflow: hidden; z-index: 9; } .whitebox { background-color: @divbgcolor; padding: 0.1rem 0.16rem; margin: 0px; clear: both; display: block; text-align: center; color: @txtcolor; margin-bottom: 0.08rem; position: relative; overflow: hidden; //三角形角标暂无用 // .order_corner_mark { // width: 1.4rem; // height: 1.4rem; // color: #fff; // position: absolute; // transform: rotateZ(-45deg); // &:after { // content: ''; // border-width: 1.6rem; // width: 0; // border-style: dashed dashed solid dashed; // border-color: transparent transparent #d75d5a transparent; // display: block; // position: absolute; // top: -2.8rem; // z-index: -2; // } // &.right{ // &:after { // border-color:#18B8A0; // } // } // &.wrong{ // &:after { // border-color:#ff7a78; // } // } // } .corner_mark { width: 0.6rem; height: 0.6rem; position: absolute; content: ''; top: 0.15rem; left: 0rem; span { position: absolute; font-size: 0.18rem; top:0; left:0.1rem; } &.right { color: #18B8A0; } &.wrong { color: #ff7a78; } } .order_top_mark { position: absolute; width: 0.36rem; height: 0.32rem; text-align: center; color: #FFFFFF; font-size: 0.12rem; right: 0.2rem; top:0rem; line-height: 0.23rem; &:after { content: ''; width: 0; border-left: 0.18rem solid transparent; border-right: 0.18rem solid transparent; border-bottom: 0.1rem solid #FFFFFF; position: absolute; margin-top: 0.23rem; margin-left: -0.24rem; } &.easy { background-color: #18B8A0; } &.mid { background-color: #ff9600; } &.hard { background-color: #e00000; } } .sheetorder { border-radius: 0.48rem; width: 0.48rem; height: 0.48rem; line-height: 0.48rem; display: inline-block; vertical-align: baseline; text-align: center; margin: 0.15rem; &.sheetorder-default { background-color: #FFFFFF; border: 0.01rem solid #E0DFE4; color: #333333; } &.sheetorder-danger { background-color: #ff7a78; color: #FFFFFF; border: 0.01rem solid #ff7a78; } &.sheetorder-right { background-color: #18b8a0; border: 0.01rem solid #18b8a0; color: #FFFFFF; } &.sheetorder-sign { background-color: #007AFF; border: 0.01rem solid #007AFF; color: #FFFFFF; } &.sheetorder-usersign { background-color: #ff7a78; border: 0.01rem solid #ff7a78; color: #FFFFFF; } } } .box { border-radius: 0.12rem; background-color: @divbgcolor; padding: 0.1rem 0.08rem; margin: 0.1rem 0.16rem 0rem 0.16rem; border: 0.01rem solid @bordercolor; clear: both; overflow: auto; display: block; &:active { background-color: #f9f9f9; } } .title { &.largetitle { font-size: 0.58rem; line-height: 0.6rem; } &.emptytitle { font-size: 0.18rem; line-height: 0.3rem; color: #a2a2a2; } &.bigertitle { font-size: 0.2rem; line-height: 0.42rem; } &.bigtitle { font-size: 0.19rem; line-height: 0.4rem; } &.midtitle { font-size: 0.18rem; line-height: 0.36rem; } &.smalltitle { font-size: 0.14rem; line-height: 0.22rem; } &.headertitle { font-size: 0.21rem; line-height: 0.4rem; } .titleheader { border: 0.04rem solid #007AFF; border-radius: 0.04rem; width: 0px; background-color: #007AFF; height: 0.26rem; margin-right: 0.1rem; display: inline-block; vertical-align: text-top; } } .navbar { line-height: 0.26rem; font-size: 0.14rem; border-top: 0.01rem solid #e5e5e5; position: fixed; left: 0px; width: 100%; bottom: 0px; text-align: center; padding: 0.08rem 0.1rem 0rem 0.1rem; background-color: @divbgcolor; z-index: 9; overflow: hidden; .icon { width: 0.22rem; font-size: 0.32rem; } } .border { &.border-right { border-right: 0.01rem solid @bordercolor; } &.border-left { border-left: 0.01rem solid @bordercolor; } &.border-top { border-top: 0.01rem solid @bordercolor; } &.border-bottom { border-bottom: 0.01rem solid @bordercolor; } &.noborder { border: 0px; } } .txt { &.txt-left { text-align: left; } &.txt-right { text-align: right; } &.txt-center { text-align: center; } } .iconfont { font-size: 0.4rem; } .imgfont { display: inline-block; vertical-align: middle; &.getback { font-size: 0.3rem; line-height: 0.4rem; color: #ffffff; float: left; margin-left: 0.05rem; &:active { color: #f9f9f9; } } &.getback a { color: #ffffff; } &.titleright { float: right; margin-right: 0.08rem; } } .talkinglist { border-top: 0.01rem solid #DDDDDD; padding-top: 0.1rem; padding-bottom: 0.1rem; &:nth-child(1) { border-top: 0px!important; } } .addtalkingbtn { border-radius: 0.36rem; width: 0.36rem; height: 0.36rem; line-height: 0.36rem; display: inline-block; position: fixed; right: 0.2rem; bottom: 0.2rem; color: #007AFF; background-color: #FFFFFF; } .note { .delbtn { position: absolute; right: 0rem; top: 0.1rem; width: 0.92rem; height: 0.92rem; background-color: #FF5500; color: #FFFFFF; line-height: 0.92rem; } } .label-switch { display: inline-block; vertical-align: middle; width: 0.48rem; border-radius: 0.08rem; box-sizing: border-box; height: 0.24rem; position: relative; cursor: pointer; -webkit-align-self: center; align-self: center; .radio, .rcheckbox, .acheckbox { font-family: "iconfont"; width: 0.26rem; border-radius: 0.26rem; box-sizing: border-box; z-index: 0; border: none; cursor: pointer; position: relative; &:after { font-family: "iconfont"; content: "\e645"; text-align: center; color: #000000; height: 0.26rem; width: 0.26rem; line-height: 0.26rem; border-radius: 0.26rem; background: #fff; position: absolute; z-index: 2; top: 0.01rem; left: 0.01rem; border: solid #EEEEEE 0.01rem; } &.small { width: 0.20rem; border-radius: 0.20rem; line-height: 0.20rem; &:after { height: 0.20rem; width: 0.20rem; line-height: 0.20rem; border-radius: 0.20rem; } } } .acheckbox { &:after { border-radius: 0.06rem; } } .checkbox { width: 0.26rem; border-radius: 0.08rem; box-sizing: border-box; height: 1.6rem; background: #e5e5e5; z-index: 0; margin: 0; padding: 0; -webkit-appearance: none; -moz-appearance: none; -ms-appearance: none; appearance: none; border: none; cursor: pointer; position: relative; -webkit-transition-duration: 300ms; transition-duration: 300ms; &:before { content: ""; text-align: center; position: absolute; left: 0.01rem; top: 0.01rem; width: 0.48rem; border-radius: 0.12rem; box-sizing: border-box; height: 0.24rem; line-height: 0.24rem; background: #fff; z-index: 1; -webkit-transition-duration: 300ms; transition-duration: 300ms; -webkit-transform: scale(1); transform: scale(1); border: 0.01rem solid @bordercolor; } &:after { content: ""; text-align: center; height: 0.24rem; width: 0.24rem; line-height: 0.24rem; border-radius: 0.24rem; background: #fff; position: absolute; z-index: 2; top: 0.01rem; left: 0.01rem; box-shadow: 0 0.01rem 0.02rem rgba(0, 0, 0, 0.4); -webkit-transform: translateX(0px); transform: translateX(0px); -webkit-transition-duration: 300ms; transition-duration: 300ms; } } input[type="checkbox"] { display: none; &:checked+.checkbox { background: #4cd964; &:before { -webkit-transform: scale(1); transform: scale(1); background: #4cd964; } &:after { -webkit-transform: translateX(0.24rem); transform: translateX(0.24rem); } } &:checked+.rcheckbox, &:checked+.acheckbox { background: #007AFF; &:after { background: #007AFF; content: "\e645"; color: #FFFFFF; line-height: 0.26rem; text-align: center; border-color: #007AFF; } &.small { &:after { line-height: 0.20rem; } } } } input[type="radio"] { display: none; &:checked+.radio { background: #007AFF; &:after { background: #007AFF; content: "\e645"; color: #FFFFFF; line-height: 0.26rem; text-align: center; border-color: #007AFF; } &.small { &:after { line-height: 0.20rem; } } } } } .setting { position: fixed; right: 0.1rem; bottom: 0.68rem; border: 0.01rem solid #DDDDDD; border-radius: 0.05rem; padding: 0px; background-color: #FFFFFF; -webkit-box-shadow: 0 0 0.1rem #ccc; -moz-box-shadow: 0 0 0.1rem #ccc; box-shadow: 0 0 0.1rem #ccc; ul { list-style: none; display: block; li { border-top: solid 0.01rem #eeeeee; line-height: 0.60rem; text-align: left; padding: 0rem 0.2rem; font-size: 0.18rem; font-weight: 540; clear: both; overflow: hidden; .iconfont { font-size: 0.2rem; } } } } .menulist { padding: 0px; ul { list-style: none; display: block; li { content: ''; border-bottom: solid 0.01rem #eeeeee; line-height: 0.60rem; text-align: left; padding: 0.05rem 0.2rem 0rem 0.2rem; font-size: 0.19rem; clear: both; overflow: hidden; .iconfont { font-size: 0.28rem; line-height: 0.60rem; display: inline-block; vertical-align: top; } .answer { line-height: 0.32rem; padding: 0.14rem 0rem; margin-left: 0.5rem; } &.danger { color: #FF7B77; } &.right { color: #18B8A0; } .selector,.checkboxer { border-radius: 0.36rem; width: 0.36rem; height: 0.36rem; line-height: 0.36rem; display: inline-block; vertical-align: baseline; text-align: center; float: left; margin-top: 0.13rem; &.selector-default { background-color: #FFFFFF; border: 0.01rem solid #5AB6FC; color: #5AB6FC; } &.selector-danger { background-color: #FF7B77; color: #FFFFFF; border: 0.01rem solid #FF7B77; } &.selector-right { background-color: #18B8A0; color: #FFFFFF; border: 0.01rem solid #18B8A0; } &.selector-other { background-color: #FFFFFF; border: 0.01rem solid #666; color: #666; } &.selector-selected { background-color: #5bb8ff; color: #FFFFFF; border: 0.01rem solid #5bb8ff; } } .checkboxer{ border-radius: 0.06rem; } &:active { background-color: #FAFAFA; } } } } /*用户登陆*/ .userlogin-defaultbg { text-align: center; padding-top: 0.5rem; } .userlogin-h { margin-left: 0.2rem; margin-right: 0.2rem; padding-left: 0.02rem; padding-right: 0.02rem; margin-top: 0.5rem; font-size: 0.2rem; border-bottom: 1px #e5e5e5 solid; color: #000; &:hover { border-bottom: 1px #007aff solid; } } .user-input { border: none; outline: medium; width: 80%; height: 0.3rem; font-size: 0.2rem; } .edituserdate-input { border: none; outline: medium; width: 100%; text-align: right; font-size: 0.18rem; padding-top: 0.19rem; color: #333333; } .icon-corners-right { /*列表右尖角*/ color: #d6d6d6 !important; font-size: 0.2rem !important; font-weight: 100 !important; } /*my exam*/ .myexamtitle { text-align: left; border-bottom: 0.01rem solid #eeeeee; color: #007AFF; padding-top: 0.15rem; padding-left: 0.15rem; font-size: 0.2rem; line-height: 0.4rem; } .myexamli { line-height: 0.26rem !important; padding-top: 0.18rem !important; padding-bottom: 0.1rem !important; font-size: 0.18rem !important; } .myexamli_p { color: #999; font-size: 0.14rem; } .myexam_btn { border-radius: 0.08rem; border-color: #fe6a6a; color: #FFFFFF; background-color: #fe6a6a; line-height: 0.18rem; margin-top: 0.05rem; } /*index-popup*/ .tb-table { background-color: #fff; margin: 0.25rem 0.15rem 0.15rem 0.15rem; border: 0.01rem solid #ddd; border-radius: 0.08rem; text-align: center; font-size: 0.2rem; } .tb-height { height: 0.5rem; line-height: 0.5rem; } .tb-topboder { border-top: 0.01rem solid #ddd; } .tb-rightboder { border-right: 0.01rem solid #ddd; } /*选项卡样式*/ .tab-box{ background-color: #fff; position: relative; margin-bottom: 0.08rem; clear: both; display: block; overflow: hidden; padding:0rem 0.16rem; } .tab-title{ text-align: center; font-size: 0.2rem; color: #000; padding:0.12rem 0rem 0.1rem 0rem; } .tab-title-hover{ color: #007aff; border-bottom: 0.03rem solid #007aff; } /*充值购买*/ .buy-box{ background-color: #fff; border-radius: 0.1rem; margin: 0rem 0.1rem; position: relative; margin-bottom: 0.08rem; clear: both; display: block; overflow: hidden; border: 0.01rem solid #fff; } .buy-box-selected{ position:absolute; bottom: 0; right: 0; color: #007aff; display: none; } .buy-box-hover{ background-color: #eff6fe; border: 0.01rem solid #007aff; } .buy-box-hover .buy-box-selected{ display: block; } .buy-title{ font-size: 0.2rem; padding:0.1rem 0rem 0.1rem 0.1rem; &.buy-title p{ padding-top: 0.12rem; font-size: 0.17rem; color: #999; line-height: 0.26rem; } } .buy-price{ font-size: 0.22rem; color: #ec6f43; padding-right: 0.1rem; &.buy-price p{ padding-top: 0.25rem; font-size: 0.17rem; color: #999; line-height: 0.26rem; text-decoration:line-through; } } .buy-navbar-title{ font-size: 0.2rem; color: #000; line-height: 0.56rem; border-right:0.01rem solid #dddddd ; text-align: left; &.buy-navbar-title span{ color: #ec6f43; } } .buy-navbar-submit{ background-color: #007aff; color: #fff; font-size: 0.2rem; text-align: center; line-height: 0.56rem; } .notice { /*右上角数字标*/ width: 0.2rem; height: 0.2rem; line-height: 0.22rem; font-size: 0.14rem; color: #fff; text-align: center; background-color: #ff0000; border-radius: 50%; position: absolute; right: -0.08rem; top: -0.08rem; } .newmessage { font-size: 0.18rem; padding: 0.15rem 0.15rem; } /*视频*/ .course-title{ font-size: 0.28rem; color: #333; text-align: left; padding-top: 0.2rem ; } .course-img{ padding-top: 0.2rem; max-width: 100%; } .course-buy{ font-size: 0.19rem; color: #000; padding-bottom: 0.2rem; span{ color:#ff9600; } } .course-show{ max-width: 100%; padding-bottom: 0.2rem; font-size: 0.18rem; color: #333; line-height: 0.3rem; } .msgbox { &.msg-system { color: #FFFFFF; background-color: #5b5c5c; opacity: 0.9; position: fixed; bottom: 0.4rem; font-size: 0.16rem; line-height: 0.28rem; border-radius: 0.28rem; z-index: 9999; max-width: 80%; padding: 0.1rem 0.18rem; text-align: center; } &.msg-alert { width: 80%; max-width: 3.24rem; border-radius: 0.08rem; background-color: #FFFFFF; position: fixed; top: 50%; z-index: 9999; .msg-content { padding: 0.25rem 0.1rem; font-size: 0.18rem; text-align: center; line-height: 0.36rem; border-bottom: 0.01rem solid #eeeeee; .txt { font-size: 0.14rem; line-height: 0.24rem; padding-left: 0.1rem; padding-right: 0.1rem; color: #757575; } } .msg-btn { width: 100%; font-size: 0.18rem; text-align: center; line-height: 0.48rem; &a, a { color: #007AFF; } &:active { background-color: #EEEEEE; border-bottom-left-radius: 0.08rem; border-bottom-right-radius: 0.08rem; } .ok { border-left: 0.01rem solid #EEEEEE; &:active { background-color: #EEEEEE; color: #007AFF; border-bottom-right-radius: 0.08rem; } } .cancel { &:active { background-color: #EEEEEE; border-bottom-left-radius: 0.08rem; } } } } } } #paper { background-color: #E5E5E5; } .downs{ padding: 0.06rem 0.3rem; line-height: 0.3rem; margin-top: 0.06rem; color: #fff; background-color: #68e67d; border-radius: 0.08rem; float: right; } .downs:active{ background-color: #42e25c; }