about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/landing_strip.scss
blob: 86614b89bc5802fe91ecd41bf4b6d879236dcad8 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
.landing-strip,
.memoriam-strip {
  background: rgba(darken($ui-base-color, 7%), 0.8);
  color: $darker-text-color;
  font-weight: 400;
  padding: 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;

  strong,
  a {
    font-weight: 500;

    @each $lang in $cjk-langs {
      &:lang(#{$lang}) {
        font-weight: 700;
      }
    }
  }

  a {
    color: inherit;
    text-decoration: underline;
  }

  .logo {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    margin-right: 15px;
  }

  @media screen and (max-width: 740px) {
    margin-bottom: 0;
  }
}

.memoriam-strip {
  background: rgba($base-shadow-color, 0.7);
}

.moved-strip {
  padding: 14px;
  border-radius: 4px;
  background: rgba(darken($ui-base-color, 7%), 0.8);
  color: $secondary-text-color;
  font-weight: 400;
  margin-bottom: 20px;

  strong,
  a {
    font-weight: 500;

    @each $lang in $cjk-langs {
      &:lang(#{$lang}) {
        font-weight: 700;
      }
    }
  }

  a {
    color: inherit;
    text-decoration: underline;

    &.mention {
      text-decoration: none;

      span {
        text-decoration: none;
      }

      &:focus,
      &:hover,
      &:active {
        text-decoration: none;

        span {
          text-decoration: underline;
        }
      }
    }
  }

  &__message {
    margin-bottom: 15px;

    .fa {
      margin-right: 5px;
      color: $darker-text-color;
    }
  }

  &__card {
    .detailed-status__display-avatar {
      position: relative;
      cursor: pointer;
    }

    .detailed-status__display-name {
      margin-bottom: 0;
      text-decoration: none;

      span {
        color: $highlight-text-color;
        font-weight: 400;
      }
    }
  }
}