about summary refs log tree commit diff
path: root/app/javascript/styles/custom.scss
blob: 6a18fd6289af7ad019dd896149e9da3e8cffecab (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
@import 'application';

.muted {
  .status__content p, .status__content a {
    color: lighten($ui-base-color, 35%);
  }

  .status__display-name strong {
    color: lighten($ui-base-color, 35%);
  }
}

.status time:after,
.detailed-status__datetime span:after {
  font: normal normal normal 14px/1 FontAwesome;
  content: "\00a0\00a0\f08e";
}

.compose-form__buttons button.active:last-child {
  color:$ui-secondary-color;
  background-color: $ui-highlight-color;
  border-radius:3px;
}

.about-body .mascot {
  display:none;
}

.screenshot-with-signup {
  min-height:300px;
}

.screenshot-with-signup .closed-registrations-message,
.screenshot-with-signup form {
  background-color: rgba(0,0,0,0.7);
  margin:auto;
}

.screenshot-with-signup .closed-registrations-message .clock {
  font-size:150%;
}

.drawer .drawer__inner {
  overflow: visible;
}

.column {
  // trying to fix @mdhughes safari problem
  max-height:100vh;
}



.media-gallery {
  height:auto !important;
  max-height:250px;
  position:relative;
  margin-top:20px;
  margin-left:-68px;
  width: calc(100% + 80px);
}

.media-gallery:before{
  content: "";
  display: block;
  padding-top: 100%;
}

.media-gallery__item,
.media-gallery .media-spoiler{
  left: 0;
  right: 0;
  top: 0;
  bottom: 0 !important;
  position:absolute;
}

.media-spoiler-video:before {
  content:"";
  display:block;
  padding-top:100%;
}

.media-spoiler-video,
.status__video-player,
.detailed-status > .media-spoiler,
.status > .media-spoiler {
  height:auto !important;
  max-height:250px;
  position:relative;
  margin-top:20px;
  margin-left:-68px;
  width: calc(100% + 80px) !important;
}

.status__video-player-video {
  transform:unset;
}

.detailed-status > .media-spoiler,
.status > .media-spoiler {
  height:250px !important;
  vertical-align:middle;
}