aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/components/_userNotifications.scss
blob: 74cafae438cacaf4f0be25d90faf3274a106f7d5 (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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.onboarding-notifications {
  margin-left: 10px;
  .notifications-icon {
    display: flex;
    @extend .clickable;
    .notifications-count {
      color: $white;
      font-size: 11px;
      text-align: center;
      width: 16px;
      height: 16px;
      background-color: $orange;
      border-radius: 50%;
      position: relative;
      right: 7px;
      top: -2px;
      &.hidden-count {
        background-color: transparent;
        color: transparent;
      }
    }
  }
  .onboarding-overlay {
    width: 520px;
    right: 39px;
    margin-top: 18px;
    .arrow-up {
      margin-left: 487px;
    }

    .user-notifications {
      .notifications-title {
        color: $blue;
        @extend .heading-5-semibold;
        @extend .text-uppercase !optional;
        padding: 13px 20px 10px 20px;
        border-bottom: 1px solid $tlv-light-gray;
      }
      .notifications-list {
        max-height: 600px;
        overflow-y: auto;
        .notification {
          border-bottom: 1px solid $tlv-light-gray;
          padding: 16px 20px 18px 20px;
          display: flex;
          &.unread {
            background-color: lighten($gray, 38%);
            .item-name {
              display: flex;
              @include base-font-bold;
            }
            .unread-circle-icon {
              width: 8px;
              height: 8px;
              border-radius: 50%;
              background-color: $blue;
              align-self: center;
              margin-bottom: 3px;
              margin-left: 9px;
            }
          }
          .notification-data {
            width: 366px;
            margin-right: 30px;
            color: $dark-gray;
            .item-name {
              @extend .body-2-semibold;
              @extend .text-uppercase !optional;
              margin-bottom: 6px;
            }
            .flex-items {
              display: flex;
              margin: 6px 0 11px 0;
              @extend .body-3;
              line-height: 20px;
              @extend .text-uppercase !optional;
              color: $gray;
              .separator {
                border-left: 1px solid $dark-gray;
                margin: 5px 8px;
              }
            }
            .description {
              @extend .body-3;
              margin: 11px 0 8px 0;
              .more-less {
                font-size: $icon-font-size;
                color: $blue;
              }
            }
            .date {
              font-size: $icon-font-size;
              @include base-font-regular;
              color: $gray;
              margin-top: 8px;
            }
          }

          .notification-action .action-button {
            @extend .clickable;
            width: 74px;
            height: 28px;
            color: $white;
            background-color: $blue;
            border-radius: 2px;
            text-align: center;
            line-height: 2;
            margin-top: 4px;
            &.active {
              background-color: #0091c7;
              border: solid 1px #006186;
            }
            &:hover {
              background-color: #1ec2ff;
              border: solid 1px #0091c8;
            }
          }
        }
      }
    }
  }
}