.formula-header { height: 36px; line-height: 36px; padding-left: 30px; padding-right: 30px; font-size: 12px; background-color: #fffafa; } .formula-header input { height: 23px; line-height: 23px; padding: 0 5px; border-radius: 4px; border: 1px solid #DCDFE6; color: #606266; outline: 0; box-sizing: border-box; -webkit-box-sizing: border-box; } .formula-header input:focus { border: 1px solid #c3c3c3; } .formula-header select { height: 23px; line-height: 23px; padding: 0 5px; border-radius: 4px; border: 1px solid #DCDFE6; color: #606266; outline: 0; box-sizing: border-box; -webkit-box-sizing: border-box; } .formula-header-code { width: 100px; } .formula-header-name { width: 120px; } .formula-body { position: absolute; left: 0px; right: 0px; top: 36px; bottom: 0px; font-size: 14px; overflow-x: hidden; overflow-y: scroll; } .formula-body-inner { position: relative; margin-left: 50px; margin-right: 50px; top: 0px; bottom: 0px; } .formula { position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; } .area-logic { position: relative; font-size: 13px; font-weight: bold; color: gray; } .logic { position: relative; margin-left: 30px; overflow: hidden; } .math-body { position: relative; height: 22px; padding-top: 15px; padding-bottom: 5px; margin-left: 50px; margin-right: 50px; border-bottom: 1px solid #e8e8e8; } .math-caption { } .logic-condition { height: 26px; line-height: 26px; margin-left: 30px; padding-top: 5px; border-bottom: 1px solid #e8e8e8; } .logic-body { position: relative; } .valuation-body { height: 30px; margin-left: 60px; border-bottom: 1px solid #e8e8e8; } .indicator-if { position: absolute; top: 0px; left: 0px; height: 20px; width: 25px; border-bottom: 1px solid #d6d4d4; } .indicator-line { position: absolute; top: 0px; left: 0px; bottom: 0px; width: 25px; border-left: 1px solid #d6d4d4; } .indicator-else { position: absolute; top: 0px; left: 0px; height: 20px; width: 25px; border-left: 1px solid #d6d4d4; border-bottom: 1px solid #d6d4d4; border-bottom-left-radius: 4px; } .logic-input-condition { position: absolute; left: 70px; top: 2px; right: 200px; height: 20px; line-height: 22px; outline: 0; color: gray; font-size: 13px; font-weight: bold; font-family: Courier New; padding-top: 5px; padding-bottom: 0px; border: none; } .logic-input-valuation { position: absolute; left: 100px; top: 2px; right: 200px; height: 20px; line-height: 22px; outline: 0; color: #323334; font-size: 13px; font-family: Courier New; padding-top: 5px; padding-bottom: 0px; border: none; } .math-input { position: absolute; left: 12px; top: 10px; right: 20px; bottom: 1px; outline: 0; border: none; border-radius: 8; padding-left: 10px; color: #323334; font-size: 13px; font-family: Courier New; } .formula-body input::-webkit-input-placeholder { color: #d0cfcf; font-weight: normal; } .formula-body input::-webkit-input-placeholder { /* WebKit, Blink, Edge */ color: #d0cfcf; font-weight: normal; } .formula-body :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #d0cfcf; font-weight: normal; } .area-logic ::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #d0cfcf; font-weight: normal; } .formula-body input:-ms-input-placeholder { /* Internet Explorer 10-11 */ color: #d0cfcf; font-weight: normal; } .logic-btn-group { position: absolute; width: 180px; top: 0px; right: 0px; bottom: 0px; padding-top: 5px; } .logic-btn { float: left; height: 20px; line-height: 20px; padding-left: 10px; padding-right: 10px; background-color: #fffafa; border-top: 1px solid #d6d6d6; border-bottom: 1px solid #d6d6d6; border-left: 1px solid #d6d6d6; color: #2d2727; font-size: 12px; font-weight: normal; cursor: pointer; } .logic-btn:hover { background-color: #eaeaea; } .logic-btn:first-of-type { border-top-left-radius: 4px; border-bottom-left-radius: 4px; } .logic-btn:last-of-type { border-right: 1px solid #d6d6d6; border-top-right-radius: 4; border-bottom-right-radius: 4px; } .editor-body { position: absolute; left: 100px; top: 37px; right: 30px; bottom: 0px; padding-left: 20px; font-size: 14px; color: #545151; } .link-line { position: absolute; top: 28px; left: 90px; width: 20px; height: 35px; border-left: 1px solid #ece0e0; border-bottom: 1px solid #ece0e0; border-bottom-left-radius: 4px; } .editor-line { height: 30px; line-height: 30px; padding-top: 5px; border-bottom: 1px solid #ece0e0; }