aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/users/user-notifications.component.scss
blob: fa9c55ec9dafc92a1707c9a1c081e540c630451d (plain) (blame)
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
@import '_variables';
@import '_mixins';

.no-notification {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.notification {
  display: flex;
  align-items: center;
  font-size: inherit;
  padding: 15px 5px 15px 10px;
  border-bottom: 1px solid $separator-border-color;
  word-break: break-word;

  &.unread {
    background-color: rgba(0, 0, 0, 0.05);
  }

  my-global-icon {
    width: 24px;
    margin-right: 11px;
    margin-left: 3px;

    @include apply-svg-color(#333);
  }

  .avatar {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    border-radius: 5px;
    margin-right: 10px;
  }

  .message {
    flex-grow: 1;

    a {
      font-weight: $font-semibold;
    }
  }

  .from-date {
    font-size: 0.85em;
    color: pvar(--greyForegroundColor);
    padding-left: 5px;
    min-width: 70px;
    text-align: right;
    margin-left: auto;
  }
}