summaryrefslogtreecommitdiffhomepage
path: root/frontend/src/App/notification.scss
blob: 226c9bb7183d578ccb96c8982bb42bfa42e75422 (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
@function theme-color($key: "primary") {
  @return map-get($theme-colors, $key);
}

.notification-btn {
  &.new-item {
    &::after {
      position: absolute;
      background-color: red;
      content: "";
      border-radius: 50%;
      height: 6px;
      width: 6px;
      right: 10%;
      top: 10%;
    }
  }

  .dropdown-menu {
    max-width: 20rem;
    max-height: 40rem;
    overflow-y: scroll;
  }

  $content-width: 16rem;

  .notification-center-progress {
    width: $content-width;
    max-width: $content-width;

    .progress-name {
      word-wrap: break-word;
      white-space: normal;
    }
  }

  .notification-center-notification {
    word-wrap: break-word;
    white-space: normal;
    width: $content-width;
    max-width: $content-width;
  }
}