~cytrogen/masto-fe

ref: 95b389e89d984644f986bf984f9bc38080f6fb32 masto-fe/app/javascript/flavours/glitch/styles/components/directory.scss -rw-r--r-- 1.2 KiB
95b389e8 — Cytrogen Convert mastodon flavour SCSS to CSS custom properties (Phase 7) 13 days ago
                                                                                
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
.scrollable .account-card {
  margin: 10px;
  background: var(--ui-base-color-lighten-8);
}

.scrollable .account-card__title__avatar {
  img,
  .account__avatar {
    border-color: var(--ui-base-color-lighten-8);
  }
}

.scrollable .account-card__bio::after {
  background: linear-gradient(
    to left,
    var(--ui-base-color-lighten-8),
    transparent
  );
}

.filter-form {
  background: var(--ui-base-color);

  &__column {
    padding: 10px 15px;
    padding-bottom: 0;
  }

  .radio-button {
    display: block;
  }
}

.radio-button {
  font-size: 14px;
  position: relative;
  display: inline-block;
  padding: 6px 0;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;

  input[type='radio'],
  input[type='checkbox'] {
    display: none;
  }

  &__input {
    display: inline-block;
    position: relative;
    border: 1px solid var(--ui-primary-color);
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-inline-end: 10px;
    top: -1px;
    border-radius: 50%;
    vertical-align: middle;

    &.checked {
      border-color: var(--ui-highlight-color-lighten-4);
      background: var(--ui-highlight-color-lighten-4);
    }
  }
}