2021-05-14 00:16:30 +02:00
|
|
|
/* Reusable, object-oriented CSS base components for the Zulip web app
|
2017-10-04 23:41:56 +02:00
|
|
|
(not included in the portico CSS) */
|
|
|
|
|
|
|
|
.flex {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2020-07-06 10:36:31 +02:00
|
|
|
/* Inserting this collapsed row between two flex items will make
|
|
|
|
* the flex item that comes after it break to a new row */
|
|
|
|
.break-row {
|
|
|
|
flex-basis: 100%;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
2017-10-04 23:41:56 +02:00
|
|
|
.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.light {
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-block {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-block {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box-shadow {
|
2020-08-06 02:42:07 +02:00
|
|
|
box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
|
2017-10-04 23:41:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.bg-white {
|
2017-11-13 16:34:06 +01:00
|
|
|
background-color: hsl(0, 0%, 100%);
|
2017-10-04 23:41:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.clear-float {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invisible {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2021-05-08 11:36:52 +02:00
|
|
|
/*
|
|
|
|
Consistent placeholder styling, introduced to allow us to style the
|
|
|
|
Reply box like a placeholder. Chrome uses color to set placeholder,
|
|
|
|
while Firefox uses opacity, so we need to set both properties to avoid
|
|
|
|
mixed styling.
|
|
|
|
|
|
|
|
While we usually prefer opacity for text color in Zulip, there's some
|
|
|
|
evidence Edge may have bugs in its handling of placeholder opacity
|
|
|
|
CSS: https://github.com/necolas/normalize.css/issues/741
|
|
|
|
*/
|
|
|
|
.placeholder {
|
|
|
|
color: hsl(0, 0%, 45%);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea::placeholder,
|
|
|
|
input::placeholder {
|
|
|
|
@extend .placeholder;
|
|
|
|
}
|
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
.new-style {
|
|
|
|
/* -- base button styling -- */
|
|
|
|
.button {
|
|
|
|
padding: 7px 14px;
|
|
|
|
margin: 0;
|
|
|
|
min-width: 130px;
|
|
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: normal;
|
|
|
|
text-align: center;
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
color: inherit;
|
2019-06-03 15:42:01 +02:00
|
|
|
outline: none;
|
2019-06-03 15:48:00 +02:00
|
|
|
border: 1px solid hsl(0, 0%, 80%);
|
|
|
|
border-radius: 2px;
|
2019-06-03 15:42:01 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
box-shadow: none;
|
2019-06-03 15:42:01 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
|
|
|
|
/* -- button style variations -- */
|
|
|
|
&.no-style {
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0;
|
2019-06-03 15:48:00 +02:00
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
2020-08-06 02:42:07 +02:00
|
|
|
min-width: 0;
|
2019-06-03 15:48:00 +02:00
|
|
|
width: auto;
|
|
|
|
outline: none;
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
2019-06-03 15:42:01 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.rounded {
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2019-06-03 15:42:01 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.green {
|
|
|
|
background-color: hsl(150, 31%, 53%);
|
|
|
|
}
|
2019-06-03 15:42:01 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.grey {
|
|
|
|
background-color: hsl(0, 0%, 67%);
|
|
|
|
}
|
2019-06-03 15:42:01 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.standalone {
|
|
|
|
margin-top: 10px;
|
2019-06-03 15:42:01 +02:00
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.small {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
min-width: inherit;
|
|
|
|
padding: 6px 10px;
|
2019-06-03 15:42:01 +02:00
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.small-flex {
|
|
|
|
width: auto;
|
|
|
|
min-width: inherit;
|
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-06-03 15:45:27 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2019-06-03 15:48:00 +02:00
|
|
|
border-color: hsl(0, 0%, 60%);
|
2019-06-03 15:42:01 +02:00
|
|
|
}
|
2019-06-03 15:20:31 +02:00
|
|
|
|
2019-06-03 15:42:01 +02:00
|
|
|
&:active {
|
2019-06-03 15:48:00 +02:00
|
|
|
border-color: hsl(0, 0%, 60%);
|
|
|
|
color: inherit;
|
|
|
|
background-color: hsl(0, 0%, 95%);
|
2019-06-03 15:42:01 +02:00
|
|
|
}
|
2019-06-03 15:20:31 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.sea-green {
|
|
|
|
color: hsl(156, 41%, 40%);
|
|
|
|
border-color: hsl(156, 28%, 70%);
|
2019-06-03 15:20:31 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
border-color: hsl(156, 30%, 50%);
|
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:active {
|
|
|
|
border-color: hsl(156, 30%, 40%);
|
|
|
|
color: hsl(156, 44%, 43%);
|
|
|
|
background-color: hsl(154, 33%, 96%);
|
|
|
|
}
|
2019-06-03 15:42:01 +02:00
|
|
|
}
|
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.btn-warning {
|
|
|
|
color: hsl(35, 70%, 56%);
|
|
|
|
border-color: hsl(35, 98%, 84%);
|
2019-06-03 15:42:01 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
border-color: hsl(35, 55%, 70%);
|
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:active {
|
|
|
|
color: hsl(35, 82%, 40%);
|
|
|
|
border-color: hsl(35, 55%, 70%);
|
|
|
|
background-color: hsl(33, 48%, 96%);
|
|
|
|
}
|
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.btn-danger {
|
|
|
|
color: hsl(357, 64%, 72%);
|
|
|
|
border-color: hsl(4, 56%, 82%);
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
border-color: hsl(2, 46%, 68%);
|
|
|
|
}
|
2019-05-28 00:19:00 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:active {
|
|
|
|
color: hsl(357, 55%, 63%);
|
|
|
|
border-color: hsl(2, 46%, 68%);
|
|
|
|
background-color: hsl(7, 82%, 98%);
|
|
|
|
}
|
2019-05-28 00:19:00 +02:00
|
|
|
}
|
|
|
|
|
2019-06-10 07:38:49 +02:00
|
|
|
&.btn-link {
|
|
|
|
color: hsl(208, 56%, 53%);
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: hsl(208, 56%, 38%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-30 00:26:54 +01:00
|
|
|
&:disabled {
|
2019-06-03 15:48:00 +02:00
|
|
|
cursor: not-allowed;
|
|
|
|
filter: saturate(0);
|
|
|
|
background-color: hsl(0, 0%, 93%);
|
|
|
|
color: hsl(0, 3%, 52%);
|
2019-05-28 00:19:00 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: hsl(0, 0%, 93%);
|
|
|
|
color: hsl(156, 39%, 54%);
|
|
|
|
border-color: hsl(156, 39%, 77%);
|
|
|
|
}
|
2019-05-28 00:19:00 +02:00
|
|
|
}
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
2019-05-28 00:19:00 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
/* -- tab switcher -- */
|
2019-05-28 00:19:00 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
.tab-switcher {
|
|
|
|
font-weight: initial;
|
|
|
|
margin: 2px 4px;
|
|
|
|
display: inline-block;
|
2019-05-28 00:19:00 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
.ind-tab {
|
|
|
|
display: inline-block;
|
|
|
|
width: 90px;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0 -0.5px;
|
2019-06-03 15:48:00 +02:00
|
|
|
text-align: center;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2020-03-27 01:32:21 +01:00
|
|
|
vertical-align: bottom; /* See https://stackoverflow.com/a/43266155/ */
|
2019-06-03 15:48:00 +02:00
|
|
|
padding: 3px 10px;
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
cursor: pointer;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.selected) {
|
|
|
|
border: 1px solid hsl(0, 0%, 80%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.first {
|
2020-08-06 02:42:07 +02:00
|
|
|
border-radius: 5px 0 0 5px;
|
2019-06-03 15:48:00 +02:00
|
|
|
border-right: 1px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.middle {
|
|
|
|
border-right: 1px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.last {
|
2020-08-06 02:42:07 +02:00
|
|
|
border-radius: 0 5px 5px 0;
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
position: relative;
|
|
|
|
background-color: hsl(0, 0%, 53%);
|
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
border: 1px solid hsl(0, 0%, 47%);
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
pointer-events: none;
|
|
|
|
color: hsl(0, 0%, 80%);
|
|
|
|
border-color: hsl(0, 0%, 87%);
|
|
|
|
}
|
2019-05-28 00:19:00 +02:00
|
|
|
}
|
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.large .ind-tab {
|
|
|
|
width: 100%;
|
2019-05-28 00:19:00 +02:00
|
|
|
}
|
2019-05-28 00:15:21 +02:00
|
|
|
|
2019-06-03 16:04:02 +02:00
|
|
|
&.allow-overflow {
|
|
|
|
display: flex;
|
2019-05-28 00:10:42 +02:00
|
|
|
|
2019-06-03 16:04:02 +02:00
|
|
|
.ind-tab {
|
|
|
|
display: flex;
|
|
|
|
text-overflow: initial;
|
|
|
|
white-space: initial;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
2019-05-28 00:13:34 +02:00
|
|
|
}
|
2020-04-20 22:41:03 +02:00
|
|
|
|
|
|
|
.stream_sorter_toggle {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2019-05-28 00:10:42 +02:00
|
|
|
}
|
|
|
|
|
2017-10-04 23:41:56 +02:00
|
|
|
/* -- unified overlay design component -- */
|
2021-04-14 17:18:29 +02:00
|
|
|
div.overlay {
|
2017-10-04 23:41:56 +02:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2020-04-23 23:49:51 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-10-04 23:41:56 +02:00
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
|
|
|
background-color: hsla(0, 0%, 13%, 0.8);
|
|
|
|
z-index: 105;
|
|
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0;
|
2020-02-27 06:23:13 +01:00
|
|
|
visibility: hidden;
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2020-02-27 06:23:13 +01:00
|
|
|
transition: all 0.2s ease-in;
|
2017-10-04 23:41:56 +02:00
|
|
|
overflow: hidden;
|
|
|
|
|
2019-05-28 00:05:20 +02:00
|
|
|
.overlay-content {
|
|
|
|
transform: translateY(20px);
|
|
|
|
transition: transform 0.2s ease-in;
|
|
|
|
z-index: 102;
|
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-05-28 00:05:20 +02:00
|
|
|
&.show {
|
|
|
|
opacity: 1;
|
|
|
|
pointer-events: all;
|
2020-02-27 06:23:13 +01:00
|
|
|
visibility: visible;
|
2020-03-18 12:59:14 +01:00
|
|
|
transition: opacity 0.2s ease-out;
|
2019-05-28 00:00:06 +02:00
|
|
|
|
2019-05-28 00:05:20 +02:00
|
|
|
.overlay-content {
|
2020-08-06 02:42:07 +02:00
|
|
|
transform: translateY(0);
|
2019-05-28 00:05:20 +02:00
|
|
|
transition-timing-function: ease-out;
|
|
|
|
}
|
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.input-append {
|
|
|
|
font-size: 90%;
|
2020-08-04 23:58:56 +02:00
|
|
|
letter-spacing: -0.3em;
|
2020-09-23 13:10:03 +02:00
|
|
|
display: block;
|
2017-10-04 23:41:56 +02:00
|
|
|
}
|
|
|
|
|
2020-08-04 23:58:56 +02:00
|
|
|
.input-append input[type="text"],
|
|
|
|
.new-style input[type="text"] {
|
2017-10-04 23:41:56 +02:00
|
|
|
border-radius: 5px;
|
|
|
|
box-shadow: none;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0;
|
2017-10-04 23:41:56 +02:00
|
|
|
}
|
|
|
|
|
2019-05-27 22:04:10 +02:00
|
|
|
.clear_search_button {
|
|
|
|
&:hover {
|
|
|
|
color: hsl(0, 0%, 0%);
|
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2020-10-30 00:26:54 +01:00
|
|
|
&:disabled {
|
2019-05-27 22:04:10 +02:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-05-27 22:04:10 +02:00
|
|
|
&,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
2020-10-30 00:26:54 +01:00
|
|
|
&:disabled:hover {
|
2019-05-27 22:04:10 +02:00
|
|
|
position: relative;
|
|
|
|
right: 20px;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
text-align: center;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-left: 4px;
|
|
|
|
color: hsl(0, 0%, 80%);
|
|
|
|
text-shadow: none;
|
|
|
|
outline: none !important;
|
|
|
|
box-shadow: none;
|
|
|
|
z-index: 5;
|
|
|
|
|
2021-06-24 18:46:59 +02:00
|
|
|
#set_user_status_modal & {
|
2019-05-27 22:04:10 +02:00
|
|
|
margin-left: -26px;
|
|
|
|
right: 0;
|
|
|
|
padding-top: 6px;
|
|
|
|
}
|
2019-04-28 22:32:38 +02:00
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.grey-box {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0;
|
2017-10-04 23:41:56 +02:00
|
|
|
padding: 5px 10px;
|
2018-10-12 07:22:46 +02:00
|
|
|
background-color: hsl(0, 0%, 98%);
|
|
|
|
border: 1px solid hsl(0, 0%, 87%);
|
2017-10-04 23:41:56 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
2018-01-13 19:38:30 +01:00
|
|
|
|
|
|
|
.white-box {
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
2018-10-12 07:22:46 +02:00
|
|
|
border: 1px solid hsl(0, 0%, 87%);
|
2018-01-13 19:38:30 +01:00
|
|
|
}
|
2018-12-15 02:24:37 +01:00
|
|
|
|
|
|
|
.guest-avatar {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: " ";
|
|
|
|
background-color: hsl(0, 0%, 47%);
|
|
|
|
position: absolute;
|
|
|
|
bottom: -30%;
|
|
|
|
right: -30%;
|
|
|
|
width: 50%;
|
|
|
|
height: 50%;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
}
|
2019-10-24 05:38:18 +02:00
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width < $md_min) {
|
2019-10-24 05:38:18 +02:00
|
|
|
/* Override Bootstrap's responsive grid to display input at full width */
|
|
|
|
.input-append .stream-list-filter {
|
|
|
|
/* Input width = 100% - 10px margin x2 - 6px padding x2 - 1px border x2. */
|
|
|
|
width: calc(100% - 34px);
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2021-06-08 18:42:06 +02:00
|
|
|
.input-append .topic-list-filter {
|
|
|
|
/* Input width = 100% - 11px margin x2 - 6px padding x2 - 1px border x2. */
|
|
|
|
width: calc(100% - 36px);
|
|
|
|
margin-left: 11px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
2020-05-12 11:02:13 +02:00
|
|
|
|
2020-06-13 17:32:03 +02:00
|
|
|
.stream-selection-header-colorblock {
|
2020-05-12 11:02:13 +02:00
|
|
|
/* box-shadow: 0px 2px 3px hsl(0, 0%, 80%); */
|
2020-08-06 02:42:07 +02:00
|
|
|
box-shadow: inset 0 2px 1px -2px hsl(0, 0%, 20%),
|
|
|
|
inset 2px 0 1px -2px hsl(0, 0%, 20%),
|
|
|
|
inset 0 -2px 1px -2px hsl(0, 0%, 20%);
|
2020-05-12 11:02:13 +02:00
|
|
|
width: 10px;
|
2020-08-06 02:42:07 +02:00
|
|
|
border-radius: 3px 0 0 3px;
|
|
|
|
border-bottom: 0;
|
2020-06-05 16:08:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.stream_header_colorblock {
|
2020-06-13 17:32:03 +02:00
|
|
|
@extend .stream-selection-header-colorblock;
|
2020-05-12 11:02:13 +02:00
|
|
|
margin-bottom: 5px;
|
2021-01-16 15:39:34 +01:00
|
|
|
z-index: 1;
|
2020-05-12 11:02:13 +02:00
|
|
|
}
|
|
|
|
|
2020-05-12 14:42:41 +02:00
|
|
|
.edit-controls .fa-angle-right,
|
|
|
|
.topic_stream_edit_header .fa-angle-right {
|
2020-05-12 11:02:13 +02:00
|
|
|
font-size: 0.9em;
|
|
|
|
-webkit-text-stroke: 0.05em;
|
|
|
|
position: relative;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0 5px;
|
2020-05-12 11:02:13 +02:00
|
|
|
top: 9px;
|
|
|
|
}
|
2020-05-20 20:42:59 +02:00
|
|
|
|
2021-06-17 19:39:35 +02:00
|
|
|
/* Standard loading indicators generated by the loading.ts API */
|
2020-05-20 20:42:59 +02:00
|
|
|
.loading_indicator_spinner {
|
|
|
|
/* If you change these, make sure to adjust the constants in
|
|
|
|
loading.make_indicator as well */
|
|
|
|
height: 38px;
|
|
|
|
width: 38px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading_indicator_text {
|
|
|
|
/* If you change these, make sure to adjust the constants in
|
|
|
|
loading.make_indicator as well */
|
|
|
|
margin-left: 5px;
|
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: 300;
|
|
|
|
line-height: 38px;
|
|
|
|
}
|
2020-06-15 20:37:38 +02:00
|
|
|
|
|
|
|
.upgrade-tip {
|
2021-05-19 15:28:31 +02:00
|
|
|
width: max-content;
|
|
|
|
|
2020-06-15 20:37:38 +02:00
|
|
|
&::before {
|
|
|
|
content: "\f135";
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: hsl(0, 0%, 20%);
|
|
|
|
border: 1px solid hsl(49, 20%, 60%);
|
2020-08-06 02:42:07 +02:00
|
|
|
box-shadow: 0 0 4px hsla(199, 79%, 56%, 0.2);
|
2020-06-15 20:37:38 +02:00
|
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.upgrade-tip,
|
|
|
|
.tip {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
background-color: hsl(46, 63%, 95%);
|
|
|
|
border: 1px solid hsl(49, 20%, 84%);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 10px;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 10px 0;
|
2020-06-15 20:37:38 +02:00
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.5;
|
|
|
|
color: hsl(0, 0%, 40%);
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
display: inline;
|
|
|
|
margin-right: 8px;
|
|
|
|
|
2021-04-03 03:37:00 +02:00
|
|
|
font-family: FontAwesome;
|
2020-06-15 20:37:38 +02:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tip::before {
|
|
|
|
content: "\f0a2";
|
|
|
|
}
|
2021-04-09 09:20:15 +02:00
|
|
|
|
|
|
|
/* We are mostly consistent in how we style
|
|
|
|
unread counts, except for starred messages.
|
|
|
|
This is the common section.
|
|
|
|
*/
|
|
|
|
.unread_count {
|
|
|
|
float: right;
|
|
|
|
padding: 0 4px;
|
|
|
|
height: 16px;
|
|
|
|
line-height: 16px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: normal;
|
|
|
|
letter-spacing: 0.6px;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: hsl(105, 2%, 50%);
|
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
}
|
2021-04-25 18:22:36 +02:00
|
|
|
|
2021-05-14 00:16:30 +02:00
|
|
|
/* Implement the web app's default-hidden convention for alert
|
2021-04-25 18:22:36 +02:00
|
|
|
elements. Portico pages lack this CSS and thus show them by
|
|
|
|
default. */
|
|
|
|
.alert {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.show {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&#organization-status {
|
|
|
|
margin: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.stream_create_info {
|
|
|
|
margin: 10px 10px 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bankruptcy_unread_count {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
}
|
2021-02-09 11:16:52 +01:00
|
|
|
|
|
|
|
.white_zulip_icon_without_text {
|
|
|
|
display: inline-block;
|
|
|
|
background-image: url(../../static/images/logo/white-zulip-logo-without-text.svg);
|
|
|
|
background-size: cover;
|
|
|
|
}
|
2021-06-15 16:13:15 +02:00
|
|
|
|
2021-06-21 00:52:53 +02:00
|
|
|
.only-visible-for-spectators {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-06-15 16:13:15 +02:00
|
|
|
.spectator-view {
|
|
|
|
/* Add this class to elements which a
|
|
|
|
* spectator cannot use. */
|
|
|
|
.hidden-for-spectators {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.only-visible-for-spectators {
|
|
|
|
display: unset;
|
|
|
|
}
|
|
|
|
}
|
2021-06-24 11:59:35 +02:00
|
|
|
|
|
|
|
.animated-purple-button {
|
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
transition: all 80ms linear;
|
|
|
|
box-shadow: none;
|
|
|
|
/* This color just passes WCAG AA */
|
|
|
|
background-color: hsl(240, 96%, 68%);
|
|
|
|
cursor: pointer;
|
|
|
|
border: none;
|
|
|
|
border-radius: 4px;
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
/* This color passes WCAG AAA */
|
|
|
|
background-color: hsl(240, 41%, 50%);
|
|
|
|
box-shadow: 0 1px 4px hsl(0, 0%, 0%, 0.3);
|
|
|
|
}
|
|
|
|
}
|