/*每个页面公共css */ /* 全站统一缩小原生 (无 size 属性,用 transform;origin 靠右以适配常见列表行尾开关) */ 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); } }