mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
Ever since we started bundling the app with webpack, there’s been less and less overlap between our ‘static’ directory (files belonging to the frontend app) and Django’s interpretation of the ‘static’ directory (files served directly to the web). Split the app out to its own ‘web’ directory outside of ‘static’, and remove all the custom collectstatic --ignore rules. This makes it much clearer what’s actually being served to the web, and what’s being bundled by webpack. It also shrinks the release tarball by 3%. Signed-off-by: Anders Kaseorg <[email protected]>
46 lines
946 B
CSS
46 lines
946 B
CSS
$active_color: hsl(106, 74%, 44%);
|
|
$idle_color: hsl(29, 84%, 51%);
|
|
|
|
.user_circle_green,
|
|
.user_circle_idle,
|
|
.user_circle_empty,
|
|
.user_circle_empty_line {
|
|
border-radius: 50%;
|
|
border: 1px solid;
|
|
float: left;
|
|
position: relative;
|
|
top: 5px;
|
|
}
|
|
|
|
.user_circle_green {
|
|
background-color: $active_color;
|
|
border-color: $active_color;
|
|
}
|
|
|
|
.user_circle_idle {
|
|
border-color: $idle_color;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
hsla(0, 0%, 100%, 0) 50%,
|
|
$idle_color 50%
|
|
);
|
|
}
|
|
|
|
.user_circle_empty {
|
|
background-color: transparent;
|
|
border-color: hsl(0, 0%, 50%);
|
|
}
|
|
|
|
.user_circle_empty_line {
|
|
border-color: hsl(0, 0%, 50%);
|
|
|
|
&::after {
|
|
content: "";
|
|
background: hsl(0, 0%, 50%);
|
|
height: 1.5px; /* 1px is too thin, 2px is too thick */
|
|
width: 6px;
|
|
display: block;
|
|
margin: 3.25px auto 0; /* (total height - line height) / 2 = 3.25px */
|
|
}
|
|
}
|