jsy-app/static/scss/app.css

215 lines
3.0 KiB
CSS
Raw Permalink Normal View History

2024-09-18 10:30:10 +08:00
/* 徽标数 */
2024-09-18 18:52:48 +08:00
.u-badge {
border-radius: 5px !important;
}
.u-badge--not-dot {
padding: 4px !important;
}
.u-badge--success {
background-color: #39ac4f !important;
}
2024-09-18 10:30:10 +08:00
/* tabs标签 */
2024-09-18 18:52:48 +08:00
.u-tabs__wrapper__nav__line {
background-color: #39ac4f !important;
}
2024-09-18 10:30:10 +08:00
/* 按钮 */
2024-09-20 18:13:41 +08:00
2024-09-18 18:52:48 +08:00
.u-button {
width: fit-content !important;
}
.u-button--square {
border-radius: 5px !important;
}
2024-09-20 18:13:41 +08:00
.u-button--large {width: 100% !important;
height: 38px !important;
}
2024-09-19 15:26:06 +08:00
.u-button--normal {
height: 28px !important;
}
2024-09-18 18:52:48 +08:00
.u-button--small {
height: 25px !important;
}
2024-09-19 15:26:06 +08:00
.u-button--success {
2024-09-18 18:52:48 +08:00
background-color: #39ac4f !important;
border-color: #39ac4f !important;
2024-09-18 10:30:10 +08:00
}
2024-09-19 17:44:14 +08:00
.u-button--plain {
background-color: transparent !important;
2024-09-19 15:26:06 +08:00
}
2024-09-19 17:44:14 +08:00
2024-09-19 15:26:06 +08:00
/* 卡片线 */
2024-09-19 17:44:14 +08:00
.u-collapse>.u-line {
border: none !important;
}
2024-09-18 10:30:10 +08:00
/* 列表 */
2024-09-19 17:44:14 +08:00
.u-collapse-item>.u-line {
border-bottom: none !important;
2024-09-18 10:30:10 +08:00
}
/* fixed */
2024-09-18 18:52:48 +08:00
.fixed {
display: flex;
align-items: center;
flex-direction: row;
}
2024-09-19 17:44:14 +08:00
2024-09-19 15:26:06 +08:00
/* 按钮 */
2024-09-19 17:44:14 +08:00
.btn {
color: #39ac4f;
padding: 0 5px;
border: 1px solid #39ac4f;
width: fit-content;
height: 28px;
border-radius: 5px;
}
.btn text {
margin-right: 2px;
}
.btn.active {
background-color: #39ac4f;
color: #fff;
}
2024-09-30 15:34:20 +08:00
.btn.activeing {
background-color: #39ac4f;
color: #fff;
}
2024-09-19 17:44:14 +08:00
2024-09-18 18:52:48 +08:00
/* 字体颜色 */
.font-red {
color: #e60012;
}
.font-orange {
color: #ffa200;
}
.font-green {
color: #39ac4f;
}
/* 卡片 */
.card,
.card-grey {
margin-bottom: 10px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 1px 9px rgb(209, 209, 209, 0.5);
}
2024-09-19 17:44:14 +08:00
.card-grey {
background-color: #f3f3f3;
2024-09-19 15:26:06 +08:00
box-shadow: none;
2024-09-18 18:52:48 +08:00
}
2024-09-19 15:26:06 +08:00
.card-grey .card-title {
padding: 10px;
border-bottom: 1px solid #dedede;
}
2024-09-19 11:32:03 +08:00
2024-09-19 15:26:06 +08:00
.card-grey .card-title .icon {
color: #39ac4f;
}
2024-09-19 11:32:03 +08:00
2024-09-19 15:26:06 +08:00
.card-grey .card-title .u-row {
margin-bottom: 0 !important;
}
2024-09-19 17:44:14 +08:00
2024-09-20 18:13:41 +08:00
/* 首页阀门列表 */
2024-09-19 15:26:06 +08:00
.control {
padding: 10px;
}
2024-09-20 18:13:41 +08:00
.valve {
display: flex;
2024-09-19 17:44:14 +08:00
align-items: center;
2024-09-20 18:13:41 +08:00
flex-direction: column;
}
2024-09-19 17:44:14 +08:00
.valve>view {
display: flex;
justify-content: center;
}
.valve .btn-img {
width: 130px;
margin: 10px;
position: relative;
}
.valve .btn-img .text,
.valve .btn-img .text5 {
position: absolute;
z-index: 2;
width: -webkit-fill-available;
height: -webkit-fill-available;
}
.valve .btn-img .text>view,
.valve .btn-img .text5>view {
position: absolute;
font-weight: bold;
font-size: 14px;
}
.valve .btn-img .text .left,
.valve .btn-img .text5 .left {
left: 0;
top: 24%;
}
.valve .btn-img .text5 .left {
top: 41%;
}
.valve .btn-img .text .top,
.valve .btn-img .text5 .top {
top: -12px;
left: 33%;
}
.valve .btn-img .text5 .top {
top: 0px;
}
.valve .btn-img .text .middle,
.valve .btn-img .text5 .middle {
font-size: 18px;
top: 36%;
left: 50%;
transform: translate(-50%, -50%);
color: #e60012;
}
.valve .btn-img .text5 .middle {
top: 50%;
}
.valve .btn-img .text .right,
.valve .btn-img .text5 .right {
right: 0;
top: 24%;
}
.valve .btn-img .text5 .right {
top: 41%;
}
.valve .btn-img .text .bottom,
.valve .btn-img .text5 .bottom {
bottom: -4px;
left: 33%;
}
2024-09-20 18:13:41 +08:00
.valve .btn-img .text5 .bottom {
bottom: 0px;
}