summaryrefslogtreecommitdiff
path: root/_sass/misc/common-list.scss
blob: d9d4f909e12eaa7c6a925e232bad3b92dfa84722 (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
/**
 * Common list
 */
.common-list {
  @include relative-font-size(1.0);
  min-width: 200px;

  ul {
    list-style: none;
    margin: 0;
  }

  li {
    border-bottom: solid 1px #00000018;

    &:last-child {
      border-bottom: none;
    }

    a {
      display: flex;
      justify-content: space-between;
      padding: 8px 12px;
      text-decoration: none;
      font-weight: normal;
      color: $text-color;
      transition: background 0.2s;

      &:hover {
        background: mix($theme-color, #eaeaea, 20%);
      }
    }

    span {
      @include relative-font-size(0.8);
      display: inline-block;
      border-radius: 10px;
      align-self: center;
      background: #000000bd;
      padding: 0px 8px;
      margin-left: 20px;
      color: $white-color;
    }
  }
}