.cp-alarm {
    margin: 6px;
    width: 100%;
    .sub-title {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        font-weight: 800;
        border-bottom: 1px solid var(--calendar-border);
        padding: 0 20px;
        .extra {
            right: 20px;
            font-weight: 400;
        }
        margin-bottom: 0;
    }
    .alarm-summary {
        background-color: var(--bg-color2);
        border: 1px solid var(--bg-border-color2);

        &-time {
            margin: 24px;
            display: flex;
            padding: 0 20px;
            justify-content: start;
            align-items: center;
            img {
                width: 46px;
                height: 46px;
                margin-right: 19px;
            }
            &-name {
                font-size: 12px;
                color: var(--title-color);
            }
            &-value {
                color: var(--title-color);
                font-size: 12px;
                span {
                    font-size: 20px;
                    line-height: 25px;
                }
                &-compare {
                    display: inline-block;
                    margin-left: 36px;
                }
            }
        }
        .triangle-up {
            width: 12px;
            height: 8px;
            position: relative;
            overflow: hidden;
            display: inline-block;
            margin-left: 4px;
            &::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: #f65861;
                transform-origin: left bottom;
                transform: rotate(45deg);
            }
        }
        .triangle-down {
            width: 12px;
            height: 8px;
            position: relative;
            overflow: hidden;
            display: inline-block;
            margin-left: 4px;
            margin-bottom: -2px;
            &::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: #41ffb4;
                transform-origin: right top;
                transform: rotate(45deg);
            }
        }
    }

    .alarm-trend {
        height: 284px;
        background-color: var(--bg-color2);
        border: 1px solid var(--bg-border-color2);
    }

    .alarm-record {
        background-color: var(--bg-color2);
        border: 1px solid var(--bg-border-color2);
        min-height: 180px;


        &-table {
            padding: 10px 20px;
            height: 240px;
            overflow-y: auto;
        }

        .alarmLevel {
            img {
                margin-top: -2px;
            }
        }
    }
}
