$color: #c0c4cc; $bgColor: #232526; .layout { .global_alarm_push { /* 滚动条样式 */ ::-webkit-scrollbar { width: 1px; } ::-webkit-scrollbar-thumb { background-color: #303133; border-radius: 3px; } } #global_alarm_push { display: none; text-align: left; color: $color; position: relative; .close_btn { position: absolute; color: $color; text-align: center; height: 25px; line-height: 25px; font-size: 20px; width: 100%; border-bottom: 1px solid $color; display: flex; .close_layer { flex: 3; cursor: pointer; } .move_layer { flex: 1; border-right: 1px solid #606266; } } .main_box { position: absolute; flex: 1; top: 25px; height: 570px; max-height: 570px; overflow-y: auto; .alarm_content { padding: 5px 10px; p { margin: 4px 0; color: #909399; b { color: $color; } .suojin { text-indent: 10px; } .el-link { padding-bottom: 4px; } } } .alarm_content:not(:last-child) { border-bottom: 1px solid #606266; } } } .open_layer { position: fixed; color: red; font-size: 20px; bottom: 45%; z-index: 9999999; right: 2px; border: 1px solid #606266; border-right: none; border-radius: 3px; color: $color; background-color: #232526; height: 30px; width: 50px; line-height: 30px; cursor: pointer; } /deep/ .layui-layer { border-radius: 8px 8px 3px 3px; background-color: $bgColor !important; } // title /deep/ .layui-layer .layui-layer-title { height: 55px; line-height: 55px; font-size: 18px; background-color: transparent; color: $color; border-bottom: none; padding: 0; } }