about summary refs log tree commit diff
path: root/app/assets/stylesheets/stream_entries.scss
blob: 5fc6e66cd22bf70495c1ebcbf8c93bb10e847d45 (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129

.activity-stream {
  clear: both;
  box-shadow: 4px 3px 0 rgba(0, 0, 0, 0.1);

  .entry {
    border-bottom: 1px solid #d9e1e8;
    background: #fff;
    border-left: 2px solid #fff;

    &.entry-reblog {
      border-left: 2px solid $tertiary-color;

      .content {
        a {
          color: $tertiary-color;
        }
      }
    }

    &.entry-predecessor, &.entry-successor {

      .content {
        a {

        }
      }
    }

    &.entry-follow, &.entry-favourite {
      .content {
        padding-top: 10px;
        padding-bottom: 10px;
      }
    }

    &:last-child {
      border-bottom: 0;
      border-radius: 0 0 4px 0;
    }
  }

  .entry__container {
    display: flex;
  }

  .avatar {
    width: 48px;
    padding: 15px;

    img {
      width: 48px;
      height: 48px;
      display: block;
      border-radius: 48px;
    }
  }

  .entry__container__container {
    flex-grow: 1;
  }

  .header {
    margin-bottom: 5px;
    padding: 15px;
    padding-bottom: 0;
    padding-left: 8px;

    .name {
      text-decoration: none;
      color: #9baec8;

      strong {
        color: #282c37;
        font-weight: 500;
      }

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

  .pre-header {
    border-bottom: 1px solid #d9e1e8;
    color: #2b90d9;
    padding: 5px 10px;
    padding-left: 8px;
    clear: both;

    .name {
      color: #2b90d9;
      font-weight: 500;
      text-decoration: none;

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

  .content {
    font-size: 14px;
    padding: 0 10px;
    padding-left: 8px;
    padding-bottom: 25px;
    color: #282c37;

    a {
      color: #2b90d9;
      text-decoration: none;

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

  .time {
    text-decoration: none;
    color: #9baec8;

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