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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-12-02 05:59:26 +01:00
|
|
|
kbd {
|
|
|
|
display: inline-block;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
2021-12-02 05:59:26 +01:00
|
|
|
border-radius: 4px;
|
|
|
|
font-weight: 600;
|
|
|
|
white-space: nowrap;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 98%);
|
|
|
|
color: hsl(0deg 0% 20%);
|
2021-12-02 05:59:26 +01:00
|
|
|
margin: 0.25em 0.1em;
|
|
|
|
padding: 0.1em 0.4em;
|
2023-03-20 22:08:47 +01:00
|
|
|
text-shadow: 0 1px 0 hsl(0deg 0% 100%);
|
2021-12-02 05:59:26 +01:00
|
|
|
/* Prevent selection */
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
2021-11-23 19:01:36 +01:00
|
|
|
@media (width < $sm_min) {
|
|
|
|
.hide-sm {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2022-09-29 19:37:26 +02:00
|
|
|
#settings_page .save-button-controls {
|
|
|
|
display: block;
|
|
|
|
margin: 10px 0 0;
|
|
|
|
}
|
2021-11-23 19:01:36 +01:00
|
|
|
}
|
|
|
|
|
2017-10-04 23:41:56 +02:00
|
|
|
.light {
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-block {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-block {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box-shadow {
|
2023-03-20 22:08:47 +01:00
|
|
|
box-shadow: 0 0 10px hsl(0deg 0% 0% / 10%);
|
2017-10-04 23:41:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.clear-float {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invisible {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2021-11-12 06:29:37 +01:00
|
|
|
.order-1 {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.order-2 {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.order-3 {
|
|
|
|
order: 3;
|
|
|
|
}
|
|
|
|
|
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 {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 45%);
|
2021-05-08 11:36:52 +02:00
|
|
|
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
|
|
|
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2019-06-03 15:48:00 +02:00
|
|
|
color: inherit;
|
2019-06-03 15:42:01 +02:00
|
|
|
outline: none;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
2019-06-03 15:48:00 +02:00
|
|
|
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 {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(150deg 31% 53%);
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
2019-06-03 15:42:01 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.grey {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 67%);
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
2019-06-03 15:42:01 +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:45:27 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(0deg 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 {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(0deg 0% 60%);
|
2019-06-03 15:48:00 +02:00
|
|
|
color: inherit;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 95%);
|
2019-06-03 15:42:01 +02:00
|
|
|
}
|
2019-06-03 15:20:31 +02:00
|
|
|
|
2023-11-18 08:44:06 +01:00
|
|
|
&.add-subscription-button {
|
|
|
|
&:focus-visible {
|
|
|
|
border: 1px solid;
|
|
|
|
border-color: var(
|
|
|
|
--color-border-add-subscription-button-focus
|
|
|
|
) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.sea-green {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(156deg 41% 40%);
|
|
|
|
border-color: hsl(156deg 28% 70%);
|
2019-06-03 15:20:31 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(156deg 30% 50%);
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:active {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(156deg 30% 40%);
|
|
|
|
color: hsl(156deg 44% 43%);
|
|
|
|
background-color: hsl(154deg 33% 96%);
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
2019-06-03 15:42:01 +02:00
|
|
|
}
|
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.btn-warning {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(35deg 70% 56%);
|
|
|
|
border-color: hsl(35deg 98% 84%);
|
2019-06-03 15:42:01 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(35deg 55% 70%);
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:active {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(35deg 82% 40%);
|
|
|
|
border-color: hsl(35deg 55% 70%);
|
|
|
|
background-color: hsl(33deg 48% 96%);
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
|
|
|
}
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&.btn-danger {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(357deg 64% 72%);
|
|
|
|
border-color: hsl(4deg 56% 82%);
|
2017-10-04 23:41:56 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(2deg 46% 68%);
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
2019-05-28 00:19:00 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:active {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(357deg 55% 63%);
|
|
|
|
border-color: hsl(2deg 46% 68%);
|
|
|
|
background-color: hsl(7deg 82% 98%);
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
2019-05-28 00:19:00 +02:00
|
|
|
}
|
|
|
|
|
2019-06-10 07:38:49 +02:00
|
|
|
&.btn-link {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(208deg 56% 53%);
|
2019-06-10 07:38:49 +02:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(208deg 56% 38%);
|
2019-06-10 07:38:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-30 00:26:54 +01:00
|
|
|
&:disabled {
|
2019-06-03 15:48:00 +02:00
|
|
|
cursor: not-allowed;
|
|
|
|
filter: saturate(0);
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 93%);
|
|
|
|
color: hsl(0deg 3% 52%);
|
2019-05-28 00:19:00 +02:00
|
|
|
|
2019-06-03 15:48:00 +02:00
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 93%);
|
|
|
|
color: hsl(156deg 39% 54%);
|
|
|
|
border-color: hsl(156deg 39% 77%);
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
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;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2019-06-03 15:48:00 +02:00
|
|
|
cursor: pointer;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.selected) {
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.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;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 53%);
|
|
|
|
color: hsl(0deg 0% 100%);
|
|
|
|
border: 1px solid hsl(0deg 0% 47%);
|
2019-06-03 15:48:00 +02:00
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
2024-04-12 13:40:37 +02:00
|
|
|
cursor: default;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 80%);
|
|
|
|
border-color: hsl(0deg 0% 87%);
|
2019-06-03 15:48:00 +02:00
|
|
|
}
|
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;
|
|
|
|
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 13% / 80%);
|
2017-10-04 23:41:56 +02:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2023-10-12 08:10:54 +02:00
|
|
|
|
|
|
|
.overlay-scroll-container {
|
|
|
|
max-height: 60vh;
|
|
|
|
padding: 15px;
|
|
|
|
}
|
2023-10-16 17:49:57 +02:00
|
|
|
|
|
|
|
.overlay-container {
|
|
|
|
background-color: var(--color-background-modal);
|
|
|
|
}
|
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 {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 0%);
|
2019-05-27 22:04:10 +02:00
|
|
|
}
|
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;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 80%);
|
2019-05-27 22:04:10 +02:00
|
|
|
text-shadow: none;
|
|
|
|
outline: none !important;
|
|
|
|
box-shadow: none;
|
|
|
|
z-index: 5;
|
|
|
|
|
2023-03-15 19:39:06 +01: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;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 98%);
|
|
|
|
border: 1px solid hsl(0deg 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 {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
|
|
|
border: 1px solid hsl(0deg 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: " ";
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 47%);
|
2018-12-15 02:24:37 +01:00
|
|
|
position: absolute;
|
|
|
|
bottom: -30%;
|
|
|
|
right: -30%;
|
|
|
|
width: 50%;
|
|
|
|
height: 50%;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
}
|
2019-10-24 05:38:18 +02:00
|
|
|
|
2022-11-21 11:39:51 +01:00
|
|
|
.dependent-settings-block {
|
|
|
|
margin: 15px 0 -5px 23px;
|
|
|
|
}
|
|
|
|
|
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-10-16 21:57:26 +02:00
|
|
|
|
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
|
|
|
|
2021-10-25 22:34:46 +02:00
|
|
|
.topic-list-filter {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& input {
|
2021-10-25 22:34:46 +02:00
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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%); */
|
2023-07-21 23:08:07 +02:00
|
|
|
box-shadow:
|
|
|
|
inset 0 2px 1px -2px hsl(0deg 0% 20%),
|
2023-03-20 22:08:47 +01:00
|
|
|
inset 2px 0 1px -2px hsl(0deg 0% 20%),
|
|
|
|
inset 0 -2px 1px -2px hsl(0deg 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
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2022-06-01 16:52:40 +02:00
|
|
|
.upgrade-tip,
|
|
|
|
.upgrade-or-sponsorship-tip {
|
2023-01-26 08:59:18 +01:00
|
|
|
width: fit-content;
|
2021-05-19 15:28:31 +02:00
|
|
|
|
2020-06-15 20:37:38 +02:00
|
|
|
&::before {
|
|
|
|
content: "\f135";
|
2023-01-26 08:59:18 +01:00
|
|
|
margin-right: 6px;
|
2020-06-15 20:37:38 +02:00
|
|
|
}
|
2022-06-01 16:52:40 +02:00
|
|
|
}
|
2020-06-15 20:37:38 +02:00
|
|
|
|
2022-06-01 16:52:40 +02:00
|
|
|
.upgrade-tip:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 20%);
|
|
|
|
border: 1px solid hsl(49deg 20% 60%);
|
|
|
|
box-shadow: 0 0 4px hsl(199deg 79% 56% / 20%);
|
2020-06-15 20:37:38 +02:00
|
|
|
|
2022-06-01 16:52:40 +02:00
|
|
|
text-decoration: none;
|
2020-06-15 20:37:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.upgrade-tip,
|
2022-06-01 16:52:40 +02:00
|
|
|
.upgrade-or-sponsorship-tip,
|
2020-06-15 20:37:38 +02:00
|
|
|
.tip {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(46deg 63% 95%);
|
|
|
|
border: 1px solid hsl(49deg 20% 84%);
|
2020-06-15 20:37:38 +02:00
|
|
|
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;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 40%);
|
2020-06-15 20:37:38 +02:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
display: inline;
|
|
|
|
|
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";
|
2023-01-26 08:59:18 +01:00
|
|
|
margin-right: 8px;
|
2020-06-15 20:37:38 +02:00
|
|
|
}
|
2021-04-09 09:20:15 +02:00
|
|
|
|
2021-09-16 18:51:42 +02:00
|
|
|
.demo-organization-warning {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
background-color: hsl(4deg 35% 90%);
|
|
|
|
border: 1px solid hsl(3deg 57% 33% / 40%);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 10px 0;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.5;
|
|
|
|
color: hsl(4deg 58% 33%);
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.convert-demo-organization-button {
|
|
|
|
&:focus {
|
|
|
|
outline: 1px solid hsl(200deg 100% 25%);
|
|
|
|
outline-offset: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
border-radius: 4px;
|
2023-10-02 19:19:10 +02:00
|
|
|
background-color: var(--color-background-unread-counter);
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 100%);
|
2021-04-09 09:20:15 +02:00
|
|
|
}
|
2021-04-25 18:22:36 +02:00
|
|
|
|
2022-08-05 22:45:20 +02:00
|
|
|
.unread_mention_info:not(:empty) {
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-left: 2px;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2023-04-25 13:37:16 +02:00
|
|
|
.masked_unread_count {
|
|
|
|
float: right;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
border-radius: 50%;
|
2023-11-29 20:15:44 +01:00
|
|
|
background-color: var(--color-masked-unread-marker);
|
2023-04-25 13:37:16 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
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 {
|
2021-11-05 03:33:16 +01:00
|
|
|
margin: 10px 10px 0;
|
2021-04-25 18:22:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.bankruptcy_unread_count {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
}
|
2021-02-09 11:16:52 +01: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 {
|
2022-03-01 20:55:24 +01:00
|
|
|
display: revert;
|
2021-06-15 16:13:15 +02:00
|
|
|
}
|
|
|
|
}
|
2021-06-24 11:59:35 +02:00
|
|
|
|
|
|
|
.animated-purple-button {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 100%);
|
2021-06-24 11:59:35 +02:00
|
|
|
transition: all 80ms linear;
|
|
|
|
box-shadow: none;
|
|
|
|
/* This color just passes WCAG AA */
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(240deg 96% 68%);
|
2021-06-24 11:59:35 +02:00
|
|
|
cursor: pointer;
|
|
|
|
border: none;
|
|
|
|
border-radius: 4px;
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
/* This color passes WCAG AAA */
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(240deg 41% 50%);
|
|
|
|
box-shadow: 0 1px 4px hsl(0deg 0% 0% / 30%);
|
2021-06-24 11:59:35 +02:00
|
|
|
}
|
2021-07-14 06:23:56 +02:00
|
|
|
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(240deg 41% 50%);
|
|
|
|
box-shadow: 0 1px 4px 0 hsl(235deg 18% 7%);
|
2021-07-14 06:23:56 +02:00
|
|
|
outline: none;
|
|
|
|
}
|
2021-06-24 11:59:35 +02:00
|
|
|
}
|
2020-10-05 16:09:25 +02:00
|
|
|
|
|
|
|
.color_animated_button {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 90%);
|
|
|
|
color: hsl(0deg 0% 0%);
|
2022-01-20 10:30:09 +01:00
|
|
|
border-radius: 4px;
|
2020-10-05 16:09:25 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& span {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 0%);
|
2020-10-05 16:09:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(240deg 96% 68%);
|
|
|
|
color: hsl(0deg 0% 100%);
|
2020-10-05 16:09:25 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& span {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 100%);
|
2020-10-05 16:09:25 +02:00
|
|
|
transition: all 0.2s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
padding: 6px 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
}
|
2022-06-20 17:22:48 +02:00
|
|
|
|
|
|
|
.table-striped {
|
|
|
|
table-layout: auto;
|
|
|
|
border-collapse: separate;
|
2023-07-24 16:59:11 +02:00
|
|
|
border-spacing: 0;
|
2023-07-24 18:19:58 +02:00
|
|
|
margin-bottom: 20px;
|
|
|
|
width: 100%;
|
2022-06-20 17:22:48 +02:00
|
|
|
|
2023-08-08 16:39:52 +02:00
|
|
|
&:not(.table-bordered) {
|
|
|
|
thead th {
|
|
|
|
border-top: 1px solid hsl(0deg 0% 0% / 20%) !important;
|
|
|
|
border-bottom: 1px solid hsl(0deg 0% 0% / 20%) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody tr:first-child td {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
2023-07-24 16:07:52 +02:00
|
|
|
}
|
|
|
|
|
2023-08-08 16:45:13 +02:00
|
|
|
& thead th:not(.actions) {
|
2023-05-08 18:26:44 +02:00
|
|
|
min-width: 100px;
|
2023-08-08 16:45:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
& thead th {
|
2022-06-20 17:22:48 +02:00
|
|
|
color: inherit;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2022-06-20 17:22:48 +02:00
|
|
|
|
|
|
|
&.active::after,
|
|
|
|
&[data-sort]:hover::after {
|
|
|
|
content: " \f0d8";
|
|
|
|
white-space: pre;
|
|
|
|
display: inline-block;
|
2023-05-08 18:26:44 +02:00
|
|
|
position: absolute;
|
2022-06-20 17:22:48 +02:00
|
|
|
padding-top: 3px;
|
|
|
|
font: normal normal normal 12px/1 FontAwesome;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 100ms ease-out;
|
|
|
|
|
|
|
|
&.descend::after {
|
|
|
|
content: " \f0d7";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-sort]:hover {
|
|
|
|
cursor: pointer;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 95%) !important;
|
2022-06-20 17:22:48 +02:00
|
|
|
transition: background-color 100ms ease-in-out;
|
|
|
|
|
|
|
|
&:not(.active)::after {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-24 16:19:43 +02:00
|
|
|
tbody > tr:nth-child(odd) > td {
|
|
|
|
background-color: hsl(0deg 0% 98%);
|
|
|
|
}
|
|
|
|
|
2022-06-20 17:22:48 +02:00
|
|
|
/* Force the actions column to use the minimum space necessary */
|
|
|
|
.actions {
|
|
|
|
width: 1%;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2023-07-24 15:56:23 +02:00
|
|
|
|
|
|
|
& th,
|
|
|
|
td {
|
|
|
|
padding: 4px 5px;
|
|
|
|
}
|
2023-07-24 18:19:58 +02:00
|
|
|
|
|
|
|
& th {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
& td {
|
|
|
|
border-top: 1px solid hsl(0deg 0% 87%);
|
|
|
|
}
|
2022-06-20 17:22:48 +02:00
|
|
|
}
|
2022-09-29 19:37:26 +02:00
|
|
|
|
2023-07-24 13:16:31 +02:00
|
|
|
.table-bordered {
|
|
|
|
border: 1px solid hsl(0deg 0% 87%);
|
|
|
|
border-collapse: separate;
|
|
|
|
border-left: 0;
|
|
|
|
border-radius: 4px;
|
2023-07-24 16:59:11 +02:00
|
|
|
border-spacing: 0;
|
2023-07-24 18:19:58 +02:00
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 20px;
|
2023-07-24 13:16:31 +02:00
|
|
|
|
|
|
|
& th,
|
|
|
|
td {
|
|
|
|
border-left: 1px solid hsl(0deg 0% 87%);
|
2023-07-24 18:19:58 +02:00
|
|
|
border-top: 1px solid hsl(0deg 0% 87%);
|
2023-07-24 15:56:23 +02:00
|
|
|
padding: 4px 5px;
|
2023-07-24 18:19:58 +02:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
thead tr:first-child th {
|
|
|
|
border-top: 0;
|
2023-07-24 13:16:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
thead tr:first-child > th:first-child {
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
thead tr:first-child > th:last-child {
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody:last-child tr:last-child > td:first-child {
|
|
|
|
border-bottom-left-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody:last-child tr:last-child > td:last-child {
|
|
|
|
border-bottom-right-radius: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-26 12:33:52 +01:00
|
|
|
#stream_settings .save-button-controls,
|
2023-11-27 11:36:07 +01:00
|
|
|
#settings_page .save-button-controls,
|
|
|
|
#user_group_settings .save-button-controls {
|
2022-12-01 15:16:22 +01:00
|
|
|
display: inline;
|
|
|
|
margin-left: 15px;
|
|
|
|
|
|
|
|
&.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-09-29 19:37:26 +02:00
|
|
|
.save-discard-widget-button {
|
|
|
|
border-radius: 5px;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
2022-09-29 19:37:26 +02:00
|
|
|
padding: 3px 14px 4px 11px;
|
|
|
|
text-decoration: none;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 47%);
|
2022-09-29 19:37:26 +02:00
|
|
|
min-width: 80px;
|
|
|
|
/* Limit the height of the button */
|
|
|
|
line-height: 1.2;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 61%);
|
2022-09-29 19:37:26 +02:00
|
|
|
|
2023-01-06 14:44:34 +01:00
|
|
|
.discard-button.save-discard-widget-button-text {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 18%);
|
2022-09-29 19:37:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.primary {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(156deg 30% 50%);
|
|
|
|
color: hsl(0deg 0% 100%);
|
|
|
|
border: 1px solid hsl(155deg 30% 50%);
|
2022-09-29 19:37:26 +02:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(166deg 35% 57%);
|
|
|
|
border: 1px solid hsl(166deg 35% 57%);
|
2022-09-29 19:37:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.save-discard-widget-button-icon {
|
2023-03-27 07:42:23 +02:00
|
|
|
font-weight: 400;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 100%);
|
2022-09-29 19:37:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.saving {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(156deg 14% 40%);
|
|
|
|
border-color: hsl(156deg 14% 40%);
|
2022-09-29 19:37:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-01 15:16:22 +01:00
|
|
|
&.save-button {
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
|
|
.save-discard-widget-button-loading {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.saving {
|
|
|
|
.save-discard-widget-button-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.save-discard-widget-button-loading {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-29 19:37:26 +02:00
|
|
|
.save-discard-widget-button-icon {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 3px;
|
|
|
|
font-size: 15px;
|
2023-03-27 07:42:23 +02:00
|
|
|
font-weight: 400;
|
2022-09-29 19:37:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.save-discard-widget-button-text {
|
|
|
|
vertical-align: middle;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-24 11:27:42 +01:00
|
|
|
|
|
|
|
.stream-privacy-type-icon {
|
2023-04-13 04:33:24 +02:00
|
|
|
position: relative;
|
2023-04-13 15:54:29 +02:00
|
|
|
top: 0.06rem;
|
2023-04-13 04:33:24 +02:00
|
|
|
padding-right: 1px;
|
2023-04-25 01:24:50 +02:00
|
|
|
width: 12px;
|
2023-04-13 04:33:24 +02:00
|
|
|
|
|
|
|
&.zulip-icon-globe,
|
|
|
|
&.zulip-icon-hashtag {
|
2023-02-24 11:27:42 +01:00
|
|
|
font-size: 0.75em;
|
|
|
|
}
|
|
|
|
|
2023-04-25 01:24:50 +02:00
|
|
|
&.zulip-icon-lock,
|
|
|
|
&.zulip-icon-users {
|
2023-04-12 13:20:31 +02:00
|
|
|
font-size: 0.8em;
|
2023-02-24 11:27:42 +01:00
|
|
|
}
|
|
|
|
}
|
2023-03-08 11:58:11 +01:00
|
|
|
|
2023-04-14 21:02:53 +02:00
|
|
|
/* This includes css needed to display messages in an overlay. */
|
|
|
|
.overlay-messages-container {
|
|
|
|
position: relative;
|
|
|
|
height: 95%;
|
2023-05-24 03:59:36 +02:00
|
|
|
background-color: var(--color-background-modal);
|
2023-04-14 21:02:53 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 0;
|
|
|
|
width: 58%;
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: 1200px;
|
|
|
|
max-height: 1000px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
@media (width < $md_min) {
|
|
|
|
height: 95%;
|
|
|
|
max-width: none;
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlay-messages-header {
|
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
text-align: center;
|
|
|
|
border-bottom: 1px solid hsl(0deg 0% 87%);
|
|
|
|
|
|
|
|
& h1 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1.1em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.exit {
|
|
|
|
font-weight: 400;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
color: hsl(0deg 0% 67%);
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.exit-sign {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
margin-left: 3px;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
line-height: 1;
|
|
|
|
font-weight: 600;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlay-messages-list {
|
|
|
|
padding: 10px 25px;
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
.no-overlay-messages {
|
|
|
|
display: block;
|
|
|
|
margin-top: calc(45vh - 30px - 1.5em);
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1.5em;
|
|
|
|
color: hsl(0deg 0% 67%);
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlay-messages-container .overlay-message-row {
|
|
|
|
padding: 5px 0;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlay-message-info-box {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
&.active {
|
2023-09-12 13:01:36 +02:00
|
|
|
outline: 2px solid var(--color-outline-focus);
|
2023-05-15 07:43:37 +02:00
|
|
|
border-radius: 7px;
|
2023-04-14 21:02:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.message_row {
|
|
|
|
border-radius: 0 0 7px 7px;
|
|
|
|
border: 1px solid var(--color-message-list-border);
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.messagebox-content {
|
2023-06-28 17:02:41 +02:00
|
|
|
grid-template: auto / auto max-content;
|
|
|
|
grid-template-areas:
|
|
|
|
"message controls"
|
|
|
|
"message . ";
|
|
|
|
/* to space from restore draft button */
|
|
|
|
column-gap: 5px;
|
2023-04-14 21:02:53 +02:00
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
.message_content {
|
2023-06-07 19:27:02 +02:00
|
|
|
cursor: pointer;
|
2023-06-28 17:02:41 +02:00
|
|
|
grid-area: message;
|
2023-04-14 21:02:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.message_top_line {
|
2023-06-28 17:02:41 +02:00
|
|
|
grid-area: controls;
|
2023-04-14 21:02:53 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.messagebox {
|
|
|
|
cursor: auto;
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 0 0 7px 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlay_message_controls {
|
2023-06-09 20:42:03 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 10px;
|
2023-04-14 21:02:53 +02:00
|
|
|
font-size: 0.9em;
|
|
|
|
|
|
|
|
[data-tippy-root] {
|
|
|
|
width: max-content;
|
|
|
|
word-wrap: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.restore-overlay-message {
|
|
|
|
cursor: pointer;
|
|
|
|
color: hsl(170deg 48% 54%);
|
|
|
|
opacity: 0.7;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.delete-overlay-message {
|
|
|
|
cursor: pointer;
|
|
|
|
color: hsl(357deg 52% 57%);
|
|
|
|
opacity: 0.7;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.message_header {
|
|
|
|
/* We don't need these effects applied for message list in the drafts overlay. */
|
|
|
|
box-shadow: none !important;
|
|
|
|
border: 0 !important;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-05-07 14:42:54 +02:00
|
|
|
|
|
|
|
.dropdown-widget-button {
|
|
|
|
background-color: hsl(0deg 0% 100%);
|
|
|
|
padding: 4px 6px;
|
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
|
|
|
border-radius: 4px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
outline: none;
|
2023-07-19 16:09:53 +02:00
|
|
|
color: var(--color-text-default);
|
2023-05-07 14:42:54 +02:00
|
|
|
|
2023-11-27 11:45:01 +01:00
|
|
|
&:disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
background-color: hsl(0deg 0% 93%);
|
|
|
|
}
|
2023-05-07 14:42:54 +02:00
|
|
|
}
|
2023-06-23 13:22:29 +02:00
|
|
|
|
2023-11-23 08:06:12 +01:00
|
|
|
.dropdown-current-value-not-in-options,
|
2023-07-19 16:09:53 +02:00
|
|
|
.setting-disabled-option {
|
|
|
|
color: hsl(38deg 46% 54%);
|
|
|
|
|
|
|
|
& i {
|
|
|
|
/* Values set to match text alignment in stream dropdown. */
|
|
|
|
padding: 0 5px 0 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-15 12:23:06 +02:00
|
|
|
.empty-list-message,
|
|
|
|
.empty-table-message {
|
2023-08-24 19:07:11 +02:00
|
|
|
background-color: inherit;
|
|
|
|
color: var(--color-text-default);
|
|
|
|
font-size: 1.5em;
|
2023-10-15 12:23:06 +02:00
|
|
|
padding: 3em 1em !important;
|
2023-08-24 19:07:11 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2023-06-23 13:22:29 +02:00
|
|
|
.filter_text_input {
|
|
|
|
padding: 4px 6px;
|
|
|
|
color: hsl(0deg 0% 33%);
|
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
2023-07-21 23:08:07 +02:00
|
|
|
transition:
|
|
|
|
border linear 0.2s,
|
|
|
|
box-shadow linear 0.2s;
|
2023-06-23 13:22:29 +02:00
|
|
|
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border-color: hsl(206deg 80% 62% / 80%);
|
|
|
|
outline: 0;
|
2023-07-21 23:08:07 +02:00
|
|
|
box-shadow:
|
|
|
|
inset 0 1px 1px hsl(0deg 0% 0% / 7.5%),
|
2023-06-23 13:22:29 +02:00
|
|
|
0 0 8px hsl(206deg 80% 62% / 60%);
|
|
|
|
}
|
|
|
|
}
|
2023-06-14 11:41:48 +02:00
|
|
|
|
|
|
|
/* Icon-based tab picker used for topics popover. */
|
|
|
|
.tabs-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
2023-10-08 21:10:35 +02:00
|
|
|
padding: 1px;
|
|
|
|
height: 33px;
|
|
|
|
gap: 2px;
|
2023-10-16 18:01:34 +02:00
|
|
|
background-color: var(--color-background-tab-picker-container);
|
2023-06-14 11:41:48 +02:00
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
& i {
|
|
|
|
z-index: 2;
|
2023-10-16 18:01:34 +02:00
|
|
|
color: var(--color-tab-picker-icon);
|
2023-10-08 21:10:35 +02:00
|
|
|
font-size: 16px;
|
2023-06-14 11:41:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.selected-tab {
|
2023-10-08 21:10:35 +02:00
|
|
|
background-color: var(--color-background-tab-picker-selected-tab);
|
2023-10-16 18:01:34 +02:00
|
|
|
outline: 1px solid var(--color-outline-tab-picker-tab-option);
|
2023-10-08 21:10:35 +02:00
|
|
|
outline-offset: -1px;
|
2023-06-14 11:41:48 +02:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-option {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
2023-10-08 21:10:35 +02:00
|
|
|
height: 31px;
|
2023-06-14 11:41:48 +02:00
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
&:hover:not(.selected-tab) {
|
2023-10-08 21:10:35 +02:00
|
|
|
background-color: var(
|
|
|
|
--color-background-tab-picker-tab-option-hover
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active:not(.selected-tab) {
|
2023-10-16 18:01:34 +02:00
|
|
|
outline: 1px solid var(--color-outline-tab-picker-tab-option);
|
2023-10-08 21:10:35 +02:00
|
|
|
outline-offset: -1px;
|
2023-06-14 11:41:48 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-08 22:54:17 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Use the "tab-picker-vertical" class in conjunction
|
|
|
|
* for a vertical tab picker.
|
|
|
|
*/
|
|
|
|
.tab-picker {
|
|
|
|
position: relative;
|
|
|
|
display: grid;
|
|
|
|
grid-auto-flow: column;
|
|
|
|
grid-auto-columns: 1fr;
|
|
|
|
gap: var(--grid-gap-tab-picker);
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 5px;
|
|
|
|
/* Using max-content ensures equal width tabs. */
|
|
|
|
min-width: max-content;
|
|
|
|
padding: 1px;
|
|
|
|
background-color: var(--color-background-tab-picker-container);
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
input[type="radio"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-option-content {
|
|
|
|
z-index: 2;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
/* Avoids layout shift while showing a border when pressed. */
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 3px 7px;
|
|
|
|
color: var(--color-text-dropdown-menu);
|
|
|
|
|
|
|
|
& .zulip-icon {
|
|
|
|
/* Clear inherited position. */
|
|
|
|
position: static;
|
|
|
|
color: var(--color-icon-purple);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-option:not(:checked) + .tab-option-content {
|
|
|
|
&:hover,
|
|
|
|
&:focus-visible {
|
|
|
|
background-color: var(
|
|
|
|
--color-background-tab-picker-tab-option-hover
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var(
|
|
|
|
--color-background-tab-picker-tab-option-active
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-option {
|
|
|
|
&:nth-of-type(1):checked ~ .slider {
|
|
|
|
--tab-selected-tab-picker: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-of-type(2):checked ~ .slider {
|
|
|
|
--tab-selected-tab-picker: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-of-type(3):checked ~ .slider {
|
|
|
|
--tab-selected-tab-picker: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-of-type(4):checked ~ .slider {
|
|
|
|
--tab-selected-tab-picker: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-of-type(5):checked ~ .slider {
|
|
|
|
--tab-selected-tab-picker: 4;
|
|
|
|
}
|
|
|
|
/* If a tab picker with more than 5 tabs is required,
|
|
|
|
extend this using the same pattern as above. */
|
|
|
|
}
|
|
|
|
|
|
|
|
.slider {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
|
|
|
inset: 0;
|
|
|
|
grid-column: 1 / 2;
|
|
|
|
grid-row: 1 / 2;
|
|
|
|
/* Move along X-axis: own width + gap between two tabs. */
|
|
|
|
transform: translateX(
|
|
|
|
calc(
|
|
|
|
(100% + var(--grid-gap-tab-picker)) *
|
|
|
|
var(--tab-selected-tab-picker)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
transition: transform 0.25s cubic-bezier(0.64, 0, 0.78, 0);
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: 1px solid var(--color-outline-tab-picker-tab-option);
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: var(--color-background-tab-picker-selected-tab);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Detect if a user has enabled a setting on their device
|
|
|
|
to minimize the amount of non-essential motion. */
|
|
|
|
@media (prefers-reduced-motion) {
|
|
|
|
.slider {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-option:not(:checked) + .tab-option-content:active {
|
|
|
|
border-color: var(--color-outline-tab-picker-tab-option);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Related to vertical tab picker. */
|
|
|
|
&.tab-picker-vertical {
|
|
|
|
grid-auto-flow: row;
|
|
|
|
grid-auto-rows: 1fr;
|
|
|
|
|
|
|
|
.slider {
|
|
|
|
/* Move along Y-axis: own height + gap between two tabs. */
|
|
|
|
transform: translateY(
|
|
|
|
calc(
|
|
|
|
(100% + var(--grid-gap-tab-picker)) *
|
|
|
|
var(--tab-selected-tab-picker)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|