jsy-app/static/scss/app.css

203 lines
2.8 KiB
CSS
Raw 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-18 18:52:48 +08:00
.u-button {
width: fit-content !important;
}
.u-button--square {
border-radius: 5px !important;
}
2024-09-19 17:44:14 +08:00
2024-09-19 15:26:06 +08:00
.u-button--normal {
height: 28px !important;
}
2024-09-19 17:44:14 +08:00
2024-09-18 18:52:48 +08:00
.u-button--small {
height: 25px !important;
}
2024-09-19 17:44:14 +08:00
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-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-19 15:26:06 +08:00
/* 首页阀门 */
.control {
padding: 10px;
}
2024-09-19 17:44:14 +08:00
.valve{display: flex;
align-items: center;
flex-direction: column;}
.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%;
}
.valve .btn-img .text5 .bottom{bottom: 0px;}