UNPKG

ttk-app-core

Version:
217 lines (214 loc) 6.17 kB
@input-placeholder-color:#d9d9d9; @lineBorderColor: #ECECEC; .ttk-scm-tj-init-setting{ width: 100%; height: 100%; padding-top:12px; padding-bottom: 12px; // padding-bottom: 50px; background-color:#fff; &-form{ display: flex; flex-direction: column; // justify-content: center; align-items: center; flex:1; overflow-y:auto; padding-top:12px; // padding-bottom: 12px; &>div{ width:100%; margin-right:auto; margin-left:auto; } .step-container{ width: 500px; } .ant-checkbox-inner{ border-color:#1EB5AD!important; } .ant-checkbox-checked .ant-checkbox-inner{ background:#1EB5AD!important; } .mk-datepicker:hover .ant-input,.mk-input:hover .ant-input{ border-color: #1EB5AD; outline: 0; box-shadow: 0 0 0 2px rgba(30, 181, 173, 0.2); } .has-error .mk-input:hover .ant-input,.has-error .ant-input:focus{ border-color: #ff4d4f; outline: 0; box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2); } .ant-input:focus { border-color: #1EB5AD; outline: 0; box-shadow: 0 0 0 2px rgba(30, 181, 173, 0.2); } .ant-select-open .ant-select-selection{ border-color: #1EB5AD; outline: 0; box-shadow: 0 0 0 2px rgba(30, 181, 173, 0.2); } .has-error .ant-select-selection:hover{ border-color: #ff4d4f; outline: 0; box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2); } .ant-select-selection:hover, .ant-select-selection:focus{ border-color: #1EB5AD; outline: 0; box-shadow: 0 0 0 2px rgba(30, 181, 173, 0.2); } &-bar { display: flex; justify-content: space-between; margin-bottom: 20px; text-align: center; width: 400px; height: 80px; position: relative; &-step-icon{ width: 50px; height: 50px; border:1px solid #666666; background: #ffffff; border-radius: 100%; text-align: center; line-height: 50px; font-size: 28px; font-weight: 400; color: #666666; margin:0 auto 5px; cursor: default; } &-step-description{ color:#666; } &-line{ position: absolute; width: 95px; height: 1px; background-image: linear-gradient(to right, #ccc 0%, #ccc 50%, transparent 50%); background-size: 10px 1px; background-repeat: repeat-x; } &-line.active{ background-image: linear-gradient(to right, #1EB5AD 0%, #1EB5AD 50%, transparent 50%); background-size: 10px 1px; background-repeat: repeat-x; } &-line:nth-of-type(1){ top:25px; left:72px; } &-line:nth-of-type(2){ top:25px; right:65px; } } .protocol:hover{ text-decoration: underline; } } .ttk-scm-tj-init-setting-form-bar{ width: 400px; height: 80px; margin-bottom: 0; } &-footer { // border-top: 1px solid #e8e8e8; // position: absolute; width: 100%; // left: 0; // bottom: 0; // padding-top: 10px; height: 50px; display: flex; // background: #fff; // border-radius: 0 0 4px 4px; justify-content: center; align-items:center; // margin-top:12px; &-btnGroup { &-item { margin: 0 4px; width: 59.39px; } &-item:nth-child(3) { width: 78px; } } } .ant-form-item-label{ width: 130px; } .ipport-row{ display: flex; .ant-form-item:first-child{ width:60% } .ant-form-item:last-child{ width:40% } .port-row{ .ant-form-item-label{ width: 70px; } .ant-form-item-control-wrapper{ width: 60px; } } } .test-row{ display: flex; .ant-form-item:last-child{ margin-left: 10px; } } .ant-select-selection.ant-select-selection--single{ width: 163px; } .step3 div{ text-align: center } .tj-init-setting-more { width: 100%; border-top: 1px dashed @lineBorderColor; display: flex; justify-content: center; margin-top: 10px; :hover { color: @primary-color; } >span { display: inline-block; width: 70px; height: 26px; line-height: 26px; background-color: #F9F8FA; border-radius: 3px; cursor: pointer; padding-left: 10px; position: relative; span, i { margin-right: 5px; line-height: 26px; display: inline-block; height: 26px; position: absolute; } span { left: 10px; } i { right: 2px; font-size: 20px !important; opacity: 0.7; } } } .ant-select-selection.ant-select-selection--single{ width: 298px; } }