UNPKG

node-red-contrib-ewelink-cube

Version:

Node-RED integration with eWeLink Cube

367 lines (329 loc) 7.22 kB
.power-select { width: 100%; margin-top: 14px; } .card .el-input__inner { width: 100% !important; cursor: pointer; } .brightness-wrap { position: relative; height: 48px; margin-bottom: 12px; } .brightness-value { position: absolute; top: 63%; left: 10%; transform: translateX(-50%); font-size: 20px; color: #fff; pointer-events: none; } .brightness-wrap .el-slider__bar { height: 48px; background-color: #1890ff; overflow: hidden; } .brightness-wrap .el-slider-rail { background-color: #f2f2f6; width: 100%; } .brightness-wrap .el-slider__runway { background: #f2f2f6; height: 48px; overflow: hidden; border-radius: 18px; } .brightness-wrap .el-slider__button-wrapper { display: none; } .brightness-wrap .el-slider:hover .el-slider__runway { background-color: #f2f2f6; } .brightness-wrap .el-slider:hover .el-slider__runway { background-color: #f2f2f6; } .toggle { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .toggle:last-child { margin-bottom: 0; } .toggle-label { width: 15%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .toggle-select { width: 85%; } .percentage { margin-top: 12px; position: relative; } .percentage-wrap { display: flex; justify-content: space-between; align-items: center; } .percentage-slider { width: 100%; } .percentage-word { display: flex; justify-content: space-between; align-items: center; } .el-slider { height: 30px !important; } .percentage-value { height: 30px; line-height: 30px; margin: 5px 0 0 8px; } .color-temperature { height: 48px; margin: 12px 0; padding: 0 10px; border-radius: 18px; background: linear-gradient(90deg, #ffa205, #fbfdff, #aad3ff); } .color-temperature .el-slider { height: 48px !important; } .color-temperature .el-slider__button-wrapper { height: 48px; } .color-temperature .el-slider:hover .el-slider__button-wrapper { height: 48px; background-color: transparent; overflow: hidden; } .color-temperature .el-slider__bar { display: none; } .color-temperature .el-slider__runway { height: 48px; background-color: transparent !important; } .card { width: 92%; box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2); background: white; border-radius: 12px; padding: 16px; margin-bottom: 12px; } .card-header { display: flex; justify-content: space-between; align-items: center; height: 100%; } .require { position: absolute; left: -8px; top: 10px; color: red; font-size: 20px; } .red-ui-editor .card input[readonly] { cursor: pointer !important; background-color: #fff; color: #606266; } .color-header { display: flex; justify-content: space-between; align-items: center; height: 100%; } .color-header .color-input { display: flex; justify-content: flex-start; } .color-header .color-input .title { margin-right: 6px; line-height: 22px; } .color-header .color-input .color-circle { width: 20px; height: 20px; border-radius: 50%; margin-right: 10px; } .color-header .color-input .el-input { width: 60px; margin-right: 10px; margin-top: -7px; } .color-header .color-input .el-input__inner { width: 50px; height: 26px; } .color-header .color-input .rgb-input { position: relative; display: flex; justify-content: space-between; align-items: center; width: 66px; height: 26px; margin-right: 20px; } .color-header .color-input .rgb-input .btn { position: absolute; right: -8px; top: 0; height: 26px; width: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; } .color-header .color-input .rgb-input .btn .up { display: flex; align-items: center; justify-content: center; height: 10px; width: 20px; font-size: 12px; background-color: #f5f7fa !important; } .color-header .color-input .rgb-input .btn .down { display: flex; align-items: center; height: 10px; width: 20px; justify-content: center; font-size: 12px; background-color: #f5f7fa !important; } .rgb-background-wrap { width: 456px; height: 120px; position: relative; cursor: pointer; margin: 12px 0; background: url("/resources/node-red-contrib-ewelink-cube/img/rgb-background.png") no-repeat; border-radius: 15px; } .rgb-background-wrap .trigger-circle { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); background: url("/resources/node-red-contrib-ewelink-cube/img/trigger-circle.png"); background-position: center; background-size: 130%; pointer-events: none; } .disable { pointer-events: none; opacity: 0.3; cursor: not-allowed; } .irrigation { position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .irrigation .capacity { width: 20%; } .irrigation .time { width: 20%; } .irrigation .volume { width: 80%; } .irrigation .irrigation-unit { position: absolute; right: 10px; top: 8px; } .irrigation label { width: 20%; } .irrigation .irrigation-time { width: 80%; } .irrigation .irrigation-time .el-input__prefix { display: none; } .irrigation .el-input-number__decrease, .irrigation .el-input-number__increase { display: none; } .irrigation .el-input__inner { text-align: left; } .el-input-number__decrease, .el-input-number__increase { display: none; } .card .el-input__inner { text-align: left !important; } .capability-selector .cap-selector.error .el-input input { border-color: #d6615f; } .capability-selector .config-item { display: flex; justify-content: flex-start; align-items: center; margin-bottom: 12px; } .capability-selector .config-item:last-of-type { margin-bottom: 0; } .capability-selector .config-item > span { width: 90px; } .capability-selector .config-item .operation-area { flex: 1; position: relative; } .capability-selector .config-item .operation-area > .el-input { width: 100%; } .capability-selector .config-item .operation-area > .el-input input { width: 100%; } .capability-selector .config-item .operation-area > .el-input.error input { border-color: #d6615f; } .capability-selector .config-item .operation-area .config-selector.error .el-input input { border-color: #d6615f; } .ihost .item { display: flex; justify-content: space-between; align-items: center; } .ihost .item .name { min-width: 24%; } .ihost .flex-left { display: flex; justify-content: flex-start; align-items: center; } .ihost .flex-left .name { min-width: 24%; } .ihost .flex-left .el-input__icon { display: none; } .ihost-time-select .el-time-spinner__wrapper:nth-child(1) { display: none !important; } .ihost-time-select .el-time-spinner.has-seconds .el-time-spinner__wrapper { width: 50% !important; }/*# sourceMappingURL=index.css.map */