@import '../../style/index';

.@{prefix-cls}-alarm {
    height: 800px;
    padding: 10px;
    padding-top: 0;
    &-ldb {
        height: 768px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 10px;
        &-item {
            background: var(--bg-color2);
            padding: 10px;
            display: flex;
            flex-direction: column;
        }
        &-item2 {
            display: flex;
            flex-direction: column;
            gap: 10px;
            & > div {
                padding: 10px;
                flex: 1;
                background: var(--bg-color2);
            }
        }
    }
    .black-rank {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-left: 50px;
        padding-right: 20px;
        color: var(--info-color);
        background: url('../../imgs/rank-bg.png') no-repeat;
        background-size: 100% 100%;
        &-name {
            font-size: 16px;
        }
        &-progress {
            width: 200px;
            height: 4px;
            position: relative;
            background-color: rgba(255, 255, 255, 0.2);
            border-right: 2px;
            &--active {
                position: absolute;
                top: 0;
                left: 0;
                bottom: 0;
                background: linear-gradient(90deg, #1b89ff, #51f2ff);
                border-radius: 2px;
            }
        }
        &-rank {
            font-size: 24px;
            color: #4debff;
            margin-right: 4px;
        }
        &-total {
            margin-left: 4px;
        }
    }
}
