about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/metadata.scss
blob: 280848959e97cdd86668bc1d881d31af6bb376f5 (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
.account__header__fields {
  $meta-table-border: lighten($ui-base-color, 8%);
  padding: 0;
  margin: 15px -15px -15px -15px;
  border: 0 none;
  border-top: 1px solid $meta-table-border;
  border-bottom: 1px solid $meta-table-border;
  font-size: 14px;
  line-height: 20px;

  dl {
    display: flex;
    border-bottom: 1px solid $meta-table-border;
  }

  dt,
  dd {
    box-sizing: border-box;
    padding: 14px;
    text-align: center;
    max-height: 48px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  dt {
    padding-left: 15px;
    font-weight: 500;
    text-align: center;
    width: 120px;
    flex: 0 0 auto;
    color: $secondary-text-color;
    background: darken($ui-base-color, 8%);
  }

  dd {
    flex: 1 1 auto;
    color: $darker-text-color;
  }

  a {
    color: $highlight-text-color;
    text-decoration: none;

    &:hover,
    &:focus,
    &:active {
      text-decoration: underline;
    }
  }

  dl:last-child {
    border-bottom: 0;
  }
}