UNPKG

tfp

Version:

A Web UI framework for TaskBuilder

465 lines (401 loc) 8.04 kB
page, body { background-color: #F6F6F6; } .wx-flexbox { width: 100%; height: 42px; display: flex; box-sizing: border-box; background: #F6F6F6; overflow: hidden; padding: 0 4px; } .wx-flexbox .wx-panel { background-color: #ffffff; margin: 4px 0 0 0; } .wx-flexbox>.wx-panel:nth-child(1) { flex-grow: 0; flex-shrink: 0; } .wx-flexbox>.wx-panel:nth-child(2) { flex-grow: 1; flex-shrink: 0; } .wx-flexbox>.wx-panel:nth-child(3) { flex-grow: 2; flex-shrink: 0; } .wx-flexbox>.wx-panel:nth-child(4) { flex-grow: 3; flex-shrink: 0; } .wx-flexbox .wx-label { width: 100%; } .wx-flexbox .wx-pre { width: 100%; } .wx-flexbox .wx-text { width: 100%; } .wx-flexbox .wx-textarea { width: 100%; } .wx-flexbox .wx-password { width: 100%; } .wx-flexbox .wx-select { width: 100%; } .wx-flexbox .wx-time, .wx-flexbox .wx-date { width: 100%; } .wx-flexbox .wx-switch { margin: 3px; } .wx-label { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; display: inline-block; height: 38px; line-height: 38px; box-sizing: border-box; text-align: center; } .wx-pre { box-sizing: border-box; display: inherit; padding: 0; margin: 0; outline: none; vertical-align: middle; text-align: inherit; overflow: inherit; white-space: inherit; text-overflow: inherit; border: 0px; resize: none; } .wx-text, .wx-password { height: 38px; line-height: 38px; box-sizing: border-box; display: inherit; padding: 0; margin: 0; outline: none; vertical-align: middle; text-align: inherit; overflow: inherit; white-space: inherit; text-overflow: inherit; border: 0px; } .wx-textarea { box-sizing: border-box; display: inherit; padding: 0; margin: 0; outline: none; vertical-align: middle; text-align: inherit; overflow: inherit; white-space: inherit; text-overflow: inherit; border: 0px; resize: none; } .wx-date, .wx-time { height: 38px; line-height: 38px; box-sizing: border-box; display: inherit; padding: 0; margin: 0; outline: none; vertical-align: middle; text-align: inherit; overflow: inherit; white-space: inherit; text-overflow: inherit; border: 0px; } .wx-date .wx-date-picker, .wx-time .wx-time-picker { width: 100%; height: 38px; } .wx-date .wx-date-picker:after { font-family: "wxfpicon" !important; font-size: 20px; color: #666666; content: '\e781'; width: 24px; height: 24px; float: right; margin: 0px 8px; } .wx-time .wx-time-picker:after { font-family: "wxfpicon" !important; font-size: 20px; color: #666666; content: '\e783'; width: 24px; height: 24px; float: right; margin: 0px 8px; } .wx-select { height: 38px; line-height: 38px; box-sizing: border-box; display: inherit; padding: 0; margin: 0; outline: none; vertical-align: middle; text-align: inherit; overflow: inherit; white-space: inherit; text-overflow: inherit; border: 0px; } .wx-select .wx-select-picker { width: 100%; height: 38px; } .wx-select .wx-select-picker:after { font-family: "wxfpicon" !important; font-size: 20px; color: #666666; content: '\e785'; width: 24px; height: 24px; float: right; margin: 0px 8px; } .wx-form { width: 100%; } .wx-panel { width: 100%; } .wx-inlineblock { display: inline-block; } .wx-block { display: block; } .wx-lineheight { line-height: 38px; } .wx-radio, .wx-checkbox { box-sizing: border-box; display: inherit; padding: 0; margin: 0; outline: none; vertical-align: middle; text-align: inherit; overflow: inherit; white-space: inherit; text-overflow: inherit; border: 0px; } .wx-radio .wx-radio-box, .wx-checkbox .wx-checkbox-box { margin: 0 5px; } .wx-radio .wx-radio-text, .wx-checkbox .wx-checkbox-text { line-height: 38px; } .wx-grid { width: 100%; } .wx-griddatarow{ width: 100%; } .wx-grid-last { text-align: center; color: #999999; padding: 5px 0; height: 24px; display: block; } .wx-radio .wx-radio-input { display: inline-block; width: 22px; height: 22px; border: 1px solid #cccccc; border-radius: 50%; box-sizing: border-box; vertical-align: middle; outline: 0; padding: 0px 5px; background-color: #ffffff; color: #ffffff; } .wx-radio .wx-radio-label { display: inline-block; line-height: 38px; margin: 0 0 0 5px; } .wx-checkbox .wx-checkbox-input { display: inline-block; width: 22px; height: 22px; border: 1px solid #cccccc; border-radius: 5px; box-sizing: border-box; vertical-align: middle; outline: 0; padding: 0px 5px; background-color: #ffffff; color: #ffffff; } .wx-checkbox .wx-checkbox-label { display: inline-block; line-height: 38px; margin: 0 0 0 5px; } .wx-switch { width: 52px; height: 32px; outline: 0; border: 1px solid #DFDFDF; border-radius: 16px; box-sizing: border-box; background-color: #07C160; cursor: pointer; } .wx-switch .wx-switch-wrapper { width: 50px; height: 30px; border-radius: 15px; box-sizing: border-box; transition: background-color 0.1s, border 0.1s; background-color: #FFFFFF; } .wx-switch[checked] .wx-switch-wrapper { background-color: transparent; } .wx-switch .wx-switch-input { float: left; width: 30px; height: 30px; border-radius: 15px; border: 1px solid #DFDFDF; box-shadow: 0 1px 2px rgb(0 0 0 / 40%); background-color: #FFFFFF; } .wx-switch[checked] .wx-switch-input { float: right; margin: 0px 1px; } .wx-button { background-color: #f8f8f8; border-radius: 4px; box-sizing: border-box; color: #000; cursor: pointer; justify-content: center; line-height: 30px; overflow: hidden; padding: 8px 24px; position: relative; text-align: center; text-decoration: none; font-size: 16px; font-weight: 700; } .wx-button label { overflow: hidden; display: flex; flex-direction: column; justify-content: center; text-align: center; font-size: 16px; font-weight: 700; } .wx-button .lodding { width: 20%; text-align: center; flex-direction: column; justify-self: center; position: absolute; left: 30%; top: 35%; } .wx-button .lodding .loddingImg { width: auto; height: 80%; margin: auto 0; cursor: pointer; } .wx-button[disabled][type=primary], .wx-button[disabled][type=default], .wx-button[disabled][type=warn] { background-color: #fafafa; color: rgba(0, 0, 0, .18); } .wx-button[type=primary][plain][disabled], .wx-button[type=default][plain][disabled], .wx-button[type=warn][plain][disabled] { background-color: transparent; border-color: rgba(0, 0, 0, .2); color: rgba(0, 0, 0, .2); } .wx-button[plain] { background-color: transparent; border: 1px solid #353535; color: #353535; } .wx-button[disabled] { color: hsla(0, 0%, 100%, .6); } .wx-button[size=mini] { display: inline-block; line-height: 2; padding: 0 .75em; width: auto; } .wx-button[type=default] { background-color: #f2f2f2; color: #06ae56; } .wx-button[type=default][plain] { background-color: transparent; border: 1px solid #353535; color: #353535; } .wx-button[type=primary] { background-color: #07c160; color: #fff; } .wx-button[type=primary][plain] { background-color: transparent; border: 1px solid #1aad19; color: #1aad19; } .wx-button[type=warn] { background-color: #f2f2f2; color: #fa5151; } .wx-button[type=warn][plain] { background-color: transparent; border: 1px solid #e64340; color: #e64340; } .wx-button:not([size=mini]) { margin-left: auto; margin-right: auto; width: 184px; }