about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/components/metadata.scss
blob: d56de19ea1eae2f49ff997bfd1594a45ff2a2467 (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
.account__metadata {
  width: 100%;
  font-size: 15px;
  line-height: 20px;
  overflow: hidden;
  border-collapse: collapse;

  a {
    text-decoration: none;

    &:hover{
      text-decoration: underline;
    }
  }

  tr {
    border-top: 1px solid lighten($ui-base-color, 8%);
    text-align: center;
  }

  th, td {
    padding: 14px 20px;
    vertical-align: middle;

    & > div {
      max-height: 40px;
      overflow-y: auto;
      white-space: pre-wrap;
      text-overflow: ellipsis;
    }
  }

  th {
    color: $ui-primary-color;
    background: lighten($ui-base-color, 13%);
    max-width: 120px;

    a {
      color: $primary-text-color;
    }
  }

  td {
    flex: auto;
    color: $primary-text-color;
    background: $ui-base-color;

    a {
      color: $ui-highlight-color;
    }
  }
}