aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/components/_activityLog.scss
blob: dbe805f215e4b4a3e6c53c459b31ac301af6f316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
$message-info-icon-size: 16px;

@mixin status-icon-class {
    @extend .body-1-light;
    width: $message-info-icon-size;
    height: $message-info-icon-size;
    margin-left: 8px;
    color: $white;
    border-radius: $message-info-icon-size / 2;
    display: inline-block;
    text-align: center;
}

.activity-log-view {
    .list-editor-view .list-editor-view-header {
        border: none;
        .list-editor-view-title {
            @extend .heading-1;
            color: $blue;
        }
    }
    .list-editor-view-list {
        border: 1px solid $light-gray;
        border-bottom: none;
        overflow-y: hidden;
    }
    .activity-list-item {
        display: flex;
        height: 36px;
        @extend .body-1;
        &.header {
            @extend .body-1-semibold;
            background-color: $tlv-light-gray;
            color: $text-black;
        }
    }

    .activity-status {
        .svg-icon-wrapper {
            float: right;
        }

        .status-icon.false:after {
            @include status-icon-class;
            float: right;
            background-color: $red;
            content: '!';
        }
    }

    .message-further-info-icon {
        @include status-icon-class;
        background-color: $gray;
    }

    .table-cell {
        border-right: 1px solid $light-gray;
        border-bottom: 1px solid $light-gray;
        &:last-child {
            border-right: none;
        }
        flex-basis: 20%;
        display: flex;
        padding: 0 20px;
        justify-content: center;
        flex-direction: column;
        &.activity-comment {
            min-width: 0;
            span {
                @include ellipsis(100%);
            }
        }
    }

    .date-header {
        cursor: pointer;
        display: flex;
        align-items: center;
        .header-sort-arrow {
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            margin-left: 9px;
            &.up {
                border-bottom: 5px solid $black;
            }
            &.down {
                border-top: 5px solid $black;
            }
        }
    }

    .date-cell {
        display: flex;
        justify-content: space-between;
    }
}