| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- $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;
- padding: 0 3px;
- overflow-y: auto;
- .alarm_content {
- padding: 5px;
- margin: 5px 0;
- border-radius: 3px;
- border: 1px solid rgba(96, 98, 102, 0.5);
- box-shadow: 0 2px 12px 0 rgba(255, 255, 255, 0.1);
- position: relative;
- .alarm_count {
- position: absolute;
- top: 3px;
- right: 3px;
- /deep/ .el-badge__content{
- background-color: red;
- }
- }
- p {
- margin: 4px 0;
- color: #909399;
- b {
- color: $color;
- }
- .suojin {
- text-indent: 10px;
- }
- .el-link {
- padding-bottom: 4px;
- }
- }
- }
- .alarm_content:hover {
- border: 1px solid #606266;
- box-shadow: 0 2px 12px 0 rgba(255, 255, 255, 0.5);
- }
- }
- }
- .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;
- }
- }
|