congming_huose-apk/unpackage/dist/dev/mp-weixin/common/main.wxss

297 lines
2.5 KiB
Plaintext
Raw Normal View History

2025-11-08 11:30:06 +08:00
2025-11-08 11:30:06 +08:00
/*每个页面公共css */
/* 全站统一缩小原生 <switch>(无 size 属性,用 transformorigin 靠右以适配常见列表行尾开关) */
switch {
-webkit-transform: scale(0.78);
transform: scale(0.78);
-webkit-transform-origin: 100% 50%;
transform-origin: 100% 50%;
}
/* 设备详情:数据字纯黑,与灰色标题区分(不加粗) */
.device-detail .info-card .info-content .info-status-row .info-status:not(.red):not(.green) {
color: #000000 !important;
}
.device-detail .info-card .info-content .info-status-row .info-status.red {
color: #e74c3c !important;
}
.device-detail .info-card .info-content .info-status-row .info-status.green {
color: #27ae60 !important;
}
.device-detail .onebox .devicename .cu,
.device-detail .moshi .lt .cu {
color: #000000;
}
.device-detail .onebox .room .lt > view:not(.xi) {
color: #000000;
}
.device-detail .dlyanchi .lt > view + view,
.device-detail .yanchi .bot .lt > view + view {
color: #000000 !important;
}
.device-detail .accel-indicator {
color: #000000 !important;
}
.device-detail .device-info .value {
color: #000000 !important;
}
/* 设备详情:说明/标题/行标签 #787878与纯黑数据区分 */
.device-detail .info-card .info-content .info-title,
.device-detail .onebox .xi,
.device-detail .moshi .lt .xi,
.device-detail .onebox .devicename .xi,
.device-detail .onebox .room .lt .xi,
.device-detail .mcname,
.device-detail .mckaiguan .lt,
.device-detail .tongzhi .lt,
.device-detail .yanchi .top .lt,
.device-detail .dlyanchi .lt > view:first-child,
.device-detail .yanchi .bot .lt > view:first-child,
.device-detail .accel-title,
.device-detail .accel-desc {
color: #787878 !important;
}
/* 全站底部弹层自下滑入子组件中写animation: appSheetSlideUp 0.42s cubic-bezier(0.25, 0.8, 0.25, 1); */
@-webkit-keyframes appSheetSlideUp {
from {
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
to {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes appSheetSlideUp {
from {
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
to {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
2025-11-08 11:30:06 +08:00