summaryrefslogtreecommitdiffstats
path: root/client/components/notifications/notificationsDrawer.styl
blob: f99e1299e826fff2508aab9fc5f185fc33ddf122 (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
belize = #2980b9

section#notifications-drawer
  position: fixed
  top: 28px
  right: 0
  width: 400px
  background-color: #fafafa
  box-shadow: 0 1px 2px rgba(0,0,0,0.15)
  border-radius: 2px
  max-height: calc(100vh - 28px - 36px)
  color: black
  padding-top 36px

  a:hover
    color: belize !important

  .header
    position: fixed
    top 28px
    right 0
    width calc(400px - 32px)
    padding: 8px 16px
    background: #ededed
    border-bottom: 1px solid #dbdbdb
    z-index 2

    .toggle-read
      position absolute
      left 16px
      top calc(50% - 8px)
      color belize

    h5
      text-align: center
      margin: 0

    .close
      position: absolute
      top: calc(50% - 12px)
      right: 12px
      font-size: 24px
      height: 24px
      line-height: 24px
      opacity 1

  .all-read,
  .remove-read
    color belize
    background-color: #fafafa
    margin 8px 16px 12px
    display inline-block

  .remove-read
    float right

    &:hover
      color #eb4646 !important

      i.fa
        color inherit


  ul.notifications
    display: block
    padding: 0px 16px
    margin: 0
    height: calc(100vh - 102px)
    overflow-y: scroll