2023-05-20 16:30:21 +02:00
|
|
|
html {
|
2023-11-09 00:35:32 +01:00
|
|
|
overflow: hidden scroll;
|
2023-05-20 16:30:21 +02:00
|
|
|
overscroll-behavior-y: none;
|
2023-05-27 18:36:43 +02:00
|
|
|
width: calc(100% - var(--disabled-scrollbar-width));
|
2023-05-20 16:30:21 +02:00
|
|
|
}
|
|
|
|
|
2013-08-23 07:31:38 +02:00
|
|
|
body,
|
|
|
|
html {
|
2014-01-15 20:13:41 +01:00
|
|
|
height: 100%;
|
2017-07-31 20:03:54 +02:00
|
|
|
touch-action: manipulation;
|
2013-08-13 12:52:26 +02:00
|
|
|
}
|
|
|
|
|
2023-03-24 00:09:48 +01:00
|
|
|
.column-middle,
|
|
|
|
#main_div {
|
|
|
|
background-color: var(--color-background);
|
|
|
|
}
|
|
|
|
|
2019-09-20 06:43:04 +02:00
|
|
|
#app-loading.loaded {
|
2013-11-25 23:05:08 +01:00
|
|
|
display: none !important; /* We are now loaded, by definition. */
|
|
|
|
}
|
|
|
|
|
2012-09-10 20:31:53 +02:00
|
|
|
body {
|
2023-05-27 18:36:43 +02:00
|
|
|
width: 100%;
|
2021-06-11 23:14:08 +02:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: calc(20 / 14);
|
2023-03-27 12:47:59 +02:00
|
|
|
font-family: "Source Sans 3 VF", sans-serif;
|
2023-05-13 08:28:23 +02:00
|
|
|
color: var(--color-text-default);
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: var(--color-background);
|
2019-04-14 15:21:40 +02:00
|
|
|
transition: background-color 200ms linear;
|
2023-05-28 11:51:00 +02:00
|
|
|
|
2023-05-29 07:03:33 +02:00
|
|
|
/* Implementation for fluid layout width setting. */
|
|
|
|
.header-main,
|
|
|
|
.app .app-main,
|
|
|
|
#compose-container {
|
|
|
|
max-width: 1400px;
|
|
|
|
}
|
|
|
|
|
2023-05-28 11:51:00 +02:00
|
|
|
&.fluid_layout_width {
|
|
|
|
.header-main,
|
|
|
|
.app .app-main,
|
|
|
|
#compose-container {
|
2023-05-29 07:03:33 +02:00
|
|
|
max-width: inherit;
|
2023-05-28 11:51:00 +02:00
|
|
|
}
|
|
|
|
}
|
2013-07-17 00:52:18 +02:00
|
|
|
}
|
|
|
|
|
2022-11-25 22:06:11 +01:00
|
|
|
:root {
|
|
|
|
color-scheme: light;
|
2022-08-04 14:13:31 +02:00
|
|
|
|
2023-03-07 01:18:07 +01:00
|
|
|
/*
|
|
|
|
This is the header, aka the navbar.
|
|
|
|
*/
|
|
|
|
--header-height: 40px;
|
2023-03-06 03:31:58 +01:00
|
|
|
|
2023-11-09 00:29:56 +01:00
|
|
|
/*
|
|
|
|
At 600px, the header starts taking up more than 5%
|
|
|
|
of the screen. We make it shorter to leave more space
|
|
|
|
to see the rest of the app. */
|
|
|
|
@media (height < $short_navbar_cutoff_height) {
|
2023-03-07 01:18:07 +01:00
|
|
|
--header-height: 30px;
|
|
|
|
}
|
|
|
|
|
2022-05-16 19:24:49 +02:00
|
|
|
/*
|
|
|
|
Height of the search box, which appears in the header.
|
2023-11-09 00:29:56 +01:00
|
|
|
On very short screens, the search box's height becomes
|
2022-05-16 19:24:49 +02:00
|
|
|
the height of its parent (i.e. the header height).
|
|
|
|
*/
|
|
|
|
--search-box-height: 28px;
|
2023-09-27 19:23:05 +02:00
|
|
|
--search-box-width: 150px;
|
2022-05-16 19:24:49 +02:00
|
|
|
|
2023-11-09 00:29:56 +01:00
|
|
|
@media (height < $short_navbar_cutoff_height) {
|
2022-05-16 19:24:49 +02:00
|
|
|
--search-box-height: var(--header-height);
|
|
|
|
}
|
|
|
|
|
2023-09-27 19:23:05 +02:00
|
|
|
@media (width < $md_min) {
|
|
|
|
--search-box-width: 40px;
|
|
|
|
}
|
|
|
|
|
2023-05-21 20:52:46 +02:00
|
|
|
/*
|
|
|
|
Since #navbar_alerts_wrapper can take variable height depending upon
|
|
|
|
window width / language, we sync its height in navbar_alerts.js
|
|
|
|
*/
|
|
|
|
--navbar-alerts-wrapper-height: 0px;
|
|
|
|
--navbar-fixed-height: calc(
|
|
|
|
var(--header-height) + var(--navbar-alerts-wrapper-height)
|
|
|
|
);
|
2023-09-27 19:37:37 +02:00
|
|
|
/* Keep content from colliding with the search box. */
|
|
|
|
--navbar-content-righthand-offset: 5px;
|
2023-05-21 20:52:46 +02:00
|
|
|
|
2023-03-07 01:18:07 +01:00
|
|
|
/*
|
|
|
|
We have a 10px gutter below the header,
|
|
|
|
which often needs to be respected by both
|
|
|
|
the elements above it and below it on
|
|
|
|
the y-axis, due to absolute positioning.
|
|
|
|
*/
|
|
|
|
--header-padding-bottom: 10px;
|
|
|
|
|
|
|
|
/*
|
|
|
|
Our sidebars (and anything that top-align
|
|
|
|
with them) go beneath the header.
|
|
|
|
*/
|
|
|
|
--left-sidebar-collapse-widget-gutter: 10px;
|
|
|
|
--left-sidebar-width: 270px;
|
|
|
|
--right-sidebar-width: 250px;
|
2023-11-15 17:53:34 +01:00
|
|
|
--left-sidebar-header-icon-width: 15px;
|
2023-04-08 02:48:02 +02:00
|
|
|
|
2023-06-14 20:40:08 +02:00
|
|
|
/*
|
2023-06-30 19:27:06 +02:00
|
|
|
Message box elements and values.
|
2023-06-14 20:40:08 +02:00
|
|
|
*/
|
2023-06-30 19:27:06 +02:00
|
|
|
--message-box-avatar-width: 35px;
|
|
|
|
--message-box-avatar-height: var(--message-box-avatar-width);
|
2023-06-14 20:40:08 +02:00
|
|
|
--message-box-line-height: 1.214;
|
2023-07-17 22:43:21 +02:00
|
|
|
--message-box-icon-width: 26px;
|
|
|
|
--message-box-icon-height: 25px;
|
2023-06-14 20:40:08 +02:00
|
|
|
|
2023-08-28 18:27:46 +02:00
|
|
|
/*
|
|
|
|
Reaction container UI scaling.
|
|
|
|
*/
|
|
|
|
--scale-message-reaction-active: 0.96;
|
|
|
|
|
2023-05-12 10:56:55 +02:00
|
|
|
/*
|
|
|
|
Left position of unread marker. Only needs to be tracked if it is negative so that
|
|
|
|
it doesn't leak through message header.
|
|
|
|
*/
|
|
|
|
--unread-marker-left: -1px;
|
|
|
|
|
2023-05-25 18:09:39 +02:00
|
|
|
/*
|
|
|
|
Compose-recipient box minimum height. Used in a flexbox context to
|
|
|
|
allow elements like DM pills to stack without breaking out of their
|
|
|
|
flex item.
|
|
|
|
*/
|
|
|
|
--compose-recipient-box-min-height: 30.5px;
|
|
|
|
|
2023-05-27 18:36:43 +02:00
|
|
|
/*
|
|
|
|
Width to be reserved for document scrollbar when scrolling is disabled.
|
|
|
|
Using `scrollbar-gutter` would be more appropriate but doesn't has wide
|
|
|
|
support and doesn't work for `fixed` elements.
|
|
|
|
*/
|
|
|
|
--disabled-scrollbar-width: 0px;
|
|
|
|
|
2023-05-29 13:31:58 +02:00
|
|
|
/*
|
|
|
|
Right offset of simplebar scrollbar for `.column-right` when browser has
|
|
|
|
overlay scrollbars which don't occupy any space. Currently only
|
|
|
|
known to present on Mac (all browsers) and Firefox (all OS?). This seems
|
|
|
|
more than enough to differentiate right sidebar scrollbar and browser
|
|
|
|
scrollbar even if the browser scrollbar is wider.
|
|
|
|
*/
|
|
|
|
--browser-overlay-scrollbar-width: 10px;
|
|
|
|
|
2023-09-06 23:04:07 +02:00
|
|
|
/* This is a rough estimate for height occupied by Recent Conversations filters.
|
2023-05-29 20:59:27 +02:00
|
|
|
We expect `resize.js` to update this once UI is initialized. */
|
|
|
|
--recent-topics-filters-height: 50px;
|
|
|
|
|
2023-06-23 22:28:29 +02:00
|
|
|
/* Overlay heights for streams modal */
|
2023-10-16 18:22:03 +02:00
|
|
|
--overlay-container-height: 95vh;
|
|
|
|
--overlay-container-max-height: 1000px;
|
2023-06-23 22:28:29 +02:00
|
|
|
/* .subscriptions-header */
|
2023-10-16 18:22:03 +02:00
|
|
|
--subscriptions-overlay-header-height: 45px;
|
2023-06-23 22:28:29 +02:00
|
|
|
/* .display-type */
|
2023-10-16 18:22:03 +02:00
|
|
|
--subscriptions-overlay-display-type-height: 44px;
|
2023-10-12 07:38:37 +02:00
|
|
|
/* .settings-sticky-footer */
|
2023-10-16 18:22:03 +02:00
|
|
|
--subscriptions-overlay-sticky-footer-height: 60px;
|
2023-06-23 22:28:29 +02:00
|
|
|
|
2023-05-30 20:31:39 +02:00
|
|
|
/*
|
|
|
|
Maximum height of the compose box when it is not in expanded state. This
|
|
|
|
is equal to the height of `#bottom_whitespace`. We expect resize.js to
|
|
|
|
replace it with its pixel calculation since even if `vh` has great support,
|
|
|
|
it can change depending on browser / OS on mobile devices.
|
|
|
|
*/
|
|
|
|
--max-unexpanded-compose-height: 40vh;
|
|
|
|
|
2023-10-09 22:39:13 +02:00
|
|
|
/*
|
|
|
|
Maximum height of the subscribers list in stream settings so that
|
|
|
|
it doesn't cause the container to have a second scrollbar.
|
|
|
|
This value will be overridden when stream settings is opened.
|
|
|
|
*/
|
|
|
|
--stream-subscriber-list-max-height: 100%;
|
|
|
|
|
2023-04-08 02:48:02 +02:00
|
|
|
/* Colors used across the app */
|
2023-06-08 16:03:33 +02:00
|
|
|
--color-date: hsl(0deg 0% 15% / 75%);
|
2023-04-08 02:48:02 +02:00
|
|
|
--color-background-private-message-header: hsl(46deg 35% 93%);
|
|
|
|
--color-background-private-message-content: hsl(45deg 20% 96%);
|
2023-03-24 00:09:48 +01:00
|
|
|
--color-background-stream-message-content: hsl(0deg 0% 100%);
|
2023-05-12 01:04:26 +02:00
|
|
|
--color-message-list-border: hsl(0deg 0% 0% / 16%);
|
|
|
|
--color-message-header-contents-border: hsl(0deg 0% 0% / 10%);
|
2023-05-08 20:31:18 +02:00
|
|
|
--color-private-message-header-border: hsl(0deg 0% 0% / 10%);
|
2023-05-15 07:17:56 +02:00
|
|
|
--color-message-header-contents-border-bottom: hsl(0deg 0% 0% / 5%);
|
|
|
|
--color-private-message-header-border-bottom: hsl(0deg 0% 0% / 7%);
|
2023-04-08 02:48:02 +02:00
|
|
|
--color-message-header-icon-non-interactive: hsl(0deg 0% 0% / 30%);
|
|
|
|
--color-message-header-icon-interactive: hsl(0deg 0% 0%);
|
2023-03-24 00:09:48 +01:00
|
|
|
--color-background: hsl(0deg 0% 94%);
|
2023-08-16 06:17:00 +02:00
|
|
|
--color-background-widget-input: hsl(0deg 0% 100%);
|
2022-05-16 19:24:49 +02:00
|
|
|
--color-background-navbar: hsl(0deg 0% 97%);
|
2023-03-24 00:09:48 +01:00
|
|
|
--color-background-active-narrow-filter: hsl(202deg 56% 91%);
|
|
|
|
--color-background-hover-narrow-filter: hsl(120deg 12.3% 71.4% / 38%);
|
|
|
|
--color-navbar-bottom-border: hsl(0deg 0% 80%);
|
2023-05-13 08:30:13 +02:00
|
|
|
--color-unread-marker: hsl(217deg 64% 59%);
|
2023-11-29 20:15:44 +01:00
|
|
|
--color-masked-unread-marker: hsl(0deg 0% 80%);
|
2023-05-14 14:39:06 +02:00
|
|
|
--color-failed-message-send-icon: hsl(3.88deg 98.84% 66.27%);
|
2023-05-23 19:45:04 +02:00
|
|
|
--color-background-modal: hsl(0deg 0% 98%);
|
2023-08-25 16:07:32 +02:00
|
|
|
--color-unmuted-or-followed-topic-list-item: hsl(0deg 0% 20%);
|
2023-09-12 13:01:36 +02:00
|
|
|
--color-outline-focus: hsl(215deg 47% 50%);
|
2022-05-16 19:24:49 +02:00
|
|
|
--color-background-search: hsl(0deg 0% 100%);
|
|
|
|
--color-background-search-option-hover: hsl(0deg 0% 94%);
|
|
|
|
--color-search-box-hover-shadow: hsl(0deg 0% 0% / 10%);
|
|
|
|
--color-search-shadow-wide: hsl(0deg 0% 0% / 25%);
|
|
|
|
--color-search-shadow-tight: hsl(0deg 0% 0% / 10%);
|
|
|
|
--color-search-dropdown-top-border: hsla(0deg 0% 0% / 10%);
|
2023-07-17 17:26:24 +02:00
|
|
|
--color-background-image-loader: hsl(0deg 0% 0% / 10%);
|
2023-07-17 18:01:16 +02:00
|
|
|
--color-icon-purple: hsl(240deg 35% 60%);
|
|
|
|
--color-background-dropdown-menu: hsl(0deg 0% 100%);
|
|
|
|
--color-border-popover-menu: hsl(0deg 0% 0% / 10%);
|
|
|
|
--color-hotkey-hint: hsl(227deg 78% 59%);
|
|
|
|
--color-background-hover-dropdown-menu: hsl(220deg 12% 5% / 5%);
|
|
|
|
--color-background-active-dropdown-menu: hsl(220deg 12% 5% / 7%);
|
|
|
|
--color-border-dropdown-menu: hsl(0deg 0% 0% / 40%);
|
|
|
|
--color-border-personal-menu-avatar: hsl(0deg 0% 0% / 10%);
|
2023-10-02 19:19:10 +02:00
|
|
|
--color-background-unread-counter: hsl(105deg 2% 50%);
|
2023-11-04 01:01:59 +01:00
|
|
|
/* There's no alpha channel here, but this keeps
|
|
|
|
the variable names in line. */
|
|
|
|
--color-background-unread-counter-no-alpha: var(
|
|
|
|
--color-background-unread-counter
|
|
|
|
);
|
2023-10-12 19:10:12 +02:00
|
|
|
--color-background-unread-counter-dot: var(
|
|
|
|
--color-background-unread-counter
|
|
|
|
);
|
2023-10-02 19:19:10 +02:00
|
|
|
--color-background-unread-counter-popover-menu: hsl(200deg 100% 40%);
|
2023-10-16 21:21:44 +02:00
|
|
|
--color-border-unread-counter: var(--color-background-unread-counter);
|
|
|
|
--color-border-unread-counter-popover-menu: inherit;
|
2023-10-16 18:01:34 +02:00
|
|
|
--color-background-tab-picker-container: hsl(0deg 0% 0% / 7%);
|
2023-10-08 21:10:35 +02:00
|
|
|
--color-background-tab-picker-selected-tab: hsl(0deg 0% 100%);
|
2023-10-16 18:01:34 +02:00
|
|
|
--color-outline-tab-picker-tab-option: hsl(0deg 0% 0% / 30%);
|
2023-10-08 21:10:35 +02:00
|
|
|
--color-background-tab-picker-tab-option-hover: hsl(0deg 0% 100% / 60%);
|
2023-11-23 08:53:22 +01:00
|
|
|
--color-background-popover: hsl(0deg 0% 100%);
|
2023-04-08 15:19:10 +02:00
|
|
|
|
2023-10-05 18:09:38 +02:00
|
|
|
/* Compose box colors */
|
2023-11-02 16:26:32 +01:00
|
|
|
--color-compose-send-button-icon-color: hsl(0deg 0% 100%);
|
2023-11-10 20:19:26 +01:00
|
|
|
--color-compose-send-button-background: hsl(240deg 96% 68%);
|
|
|
|
--color-compose-send-button-background-interactive: hsl(240deg 41% 50%);
|
2023-11-02 16:26:32 +01:00
|
|
|
--color-compose-send-button-focus-border: hsl(232deg 20% 10%);
|
|
|
|
--color-compose-send-button-focus-shadow: hsl(230deg 100% 20%);
|
2023-11-14 15:46:37 +01:00
|
|
|
--color-compose-send-control-button: hsl(240deg 30% 50% / 80%);
|
|
|
|
--color-compose-send-control-button-background: transparent;
|
|
|
|
--color-compose-send-control-button-interactive: hsl(240deg 30% 50%);
|
|
|
|
--color-compose-send-control-button-background-interactive: hsl(
|
2023-11-02 19:07:32 +01:00
|
|
|
240deg 100% 30% / 5%
|
|
|
|
);
|
2023-11-14 15:46:37 +01:00
|
|
|
--color-compose-send-control-button-focus-shadow: var(
|
2023-11-02 19:07:32 +01:00
|
|
|
--color-compose-send-button-focus-shadow
|
|
|
|
);
|
2023-10-05 18:09:38 +02:00
|
|
|
--color-compose-collapsed-reply-button-area-background: hsl(0deg 0% 100%);
|
|
|
|
--color-compose-collapsed-reply-button-area-background-interactive: var(
|
|
|
|
--color-compose-collapsed-reply-button-area-background
|
|
|
|
);
|
|
|
|
--color-compose-collapsed-reply-button-area-border: hsl(0deg 0% 80%);
|
|
|
|
--color-compose-collapsed-reply-button-area-border-interactive: hsl(
|
|
|
|
0deg 0% 60%
|
|
|
|
);
|
|
|
|
--color-compose-embedded-button-text-color: hsl(231deg 20% 55%);
|
|
|
|
--color-compose-embedded-button-text-color-hover: hsl(231deg 20% 30%);
|
|
|
|
--color-compose-embedded-button-background: transparent;
|
|
|
|
--color-compose-embedded-button-background-hover: hsl(
|
|
|
|
231deg 100% 90% / 50%
|
|
|
|
);
|
|
|
|
|
2023-05-12 12:20:12 +02:00
|
|
|
/* Text colors */
|
2023-05-13 08:28:23 +02:00
|
|
|
--color-text-default: hsl(0deg 0% 20%);
|
2023-06-08 16:25:14 +02:00
|
|
|
--color-text-message-default: hsl(0deg 0% 15%);
|
2023-05-13 08:30:13 +02:00
|
|
|
--color-text-message-view-header: hsl(0deg 0% 20% / 100%);
|
2023-05-12 12:20:12 +02:00
|
|
|
--color-text-message-header: hsl(0deg 0% 15%);
|
|
|
|
--color-text-dropdown-input: hsl(0deg 0% 13.33%);
|
2023-05-17 05:00:57 +02:00
|
|
|
--color-text-self-direct-mention: hsl(240deg 52% 45% / 100%);
|
|
|
|
--color-text-self-group-mention: hsl(183deg 52% 26% / 100%);
|
2023-04-08 15:19:10 +02:00
|
|
|
--color-text-show-more-less-button: hsl(240deg 52% 53%);
|
2022-05-16 19:24:49 +02:00
|
|
|
--color-text-search: hsl(0deg 0% 35%);
|
|
|
|
--color-text-search-hover: hsl(0deg 0% 0%);
|
|
|
|
--color-text-search-placeholder: hsl(0deg 0% 50%);
|
2023-07-17 18:01:16 +02:00
|
|
|
--color-text-dropdown-menu: hsl(0deg 0% 15%);
|
|
|
|
--color-text-full-name: hsl(0deg 0% 15%);
|
|
|
|
--color-text-item: hsl(0deg 0% 40%);
|
2023-11-01 07:09:03 +01:00
|
|
|
--color-text-personal-menu-no-status: hsl(0deg 0% 50%);
|
|
|
|
--color-text-personal-menu-some-status: hsl(0deg 0% 40%);
|
2023-11-08 19:21:17 +01:00
|
|
|
--color-text-sidebar-heading: hsl(0deg 0% 43%);
|
2023-05-17 04:11:18 +02:00
|
|
|
|
2023-06-16 19:31:01 +02:00
|
|
|
/* Icon colors */
|
|
|
|
--color-icon-bot: hsl(180deg 8% 65% / 100%);
|
2023-07-17 22:35:29 +02:00
|
|
|
--color-message-action-visible: hsl(216deg 43% 20% / 50%);
|
|
|
|
--color-message-action-interactive: hsl(216deg 43% 20% / 100%);
|
2023-08-17 21:34:27 +02:00
|
|
|
--color-message-star-action: hsl(41deg 100% 47% / 100%);
|
2023-09-15 18:20:00 +02:00
|
|
|
/* The gray on the filter icons is the same as
|
|
|
|
what's set on ul.filters, but with 70% opacity. */
|
2023-10-10 21:00:28 +02:00
|
|
|
--color-left-sidebar-navigation-icon: hsl(0deg 0% 20% / 70%);
|
2023-09-15 18:29:22 +02:00
|
|
|
--color-vdots-hint: hsl(0deg 0% 0% / 30%);
|
|
|
|
--color-vdots-visible: hsl(0deg 0% 0% / 53%);
|
|
|
|
--color-vdots-hover: hsl(0deg 0% 0%);
|
2023-10-16 21:21:44 +02:00
|
|
|
--color-left-sidebar-header-vdots-visible: var(
|
|
|
|
--color-left-sidebar-navigation-icon
|
|
|
|
);
|
2023-10-16 18:01:34 +02:00
|
|
|
--color-tab-picker-icon: hsl(200deg 100% 40%);
|
2023-06-16 19:31:01 +02:00
|
|
|
|
2023-08-25 17:32:19 +02:00
|
|
|
/* Reaction container colors */
|
2023-08-28 18:27:46 +02:00
|
|
|
--color-message-reaction-border: hsl(0deg 0% 0% / 12%);
|
|
|
|
--color-message-reaction-border-reacted: hsl(0deg 0% 0% / 40%);
|
|
|
|
--color-message-reaction-background: hsl(0deg 0% 100%);
|
|
|
|
--color-message-reaction-background-reacted: hsl(0deg 0% 100%);
|
|
|
|
--color-message-reaction-background-hover: hsl(210deg 30% 96%);
|
|
|
|
--color-message-reaction-shadow-inner: hsl(210deg 50% 50% / 15%);
|
|
|
|
--color-message-reaction-text: hsl(210deg 20% 25% / 100%);
|
|
|
|
--color-message-reaction-text-reacted: hsl(210deg 20% 20% / 100%);
|
|
|
|
--color-message-reaction-button-text: hsl(210deg 20% 20% / 60%);
|
|
|
|
--color-message-reaction-button-text-hover: var(
|
|
|
|
--color-message-reaction-text
|
|
|
|
);
|
|
|
|
--color-message-reaction-button-background: inherit;
|
|
|
|
--color-message-reaction-button-background-hover: var(
|
|
|
|
--color-message-reaction-background
|
|
|
|
);
|
|
|
|
--color-message-reaction-button-border: transparent;
|
|
|
|
--color-message-reaction-button-border-hover: var(
|
|
|
|
--color-message-reaction-border
|
|
|
|
);
|
|
|
|
--font-weight-message-reaction: 600;
|
2023-08-25 17:32:19 +02:00
|
|
|
|
2023-07-25 03:06:25 +02:00
|
|
|
/* Message feed loading indicator colors */
|
|
|
|
--color-zulip-logo: hsl(0deg 0% 0% / 34%);
|
|
|
|
--color-zulip-logo-loading: hsl(0deg 0% 27%);
|
2023-10-04 19:07:01 +02:00
|
|
|
--color-recent-view-loading-spinner: hsl(0deg 0% 27%);
|
2023-07-25 03:06:25 +02:00
|
|
|
--color-zulip-logo-z: hsl(0deg 0% 100%);
|
|
|
|
|
|
|
|
/* Message collapsing/condensing button colors */
|
|
|
|
--color-show-more-less-button-background: hsl(240deg 44% 56% / 8%);
|
|
|
|
--color-show-more-less-button-background-hover: hsl(240deg 44% 56% / 15%);
|
|
|
|
--color-show-more-less-button-background-active: hsl(240deg 44% 56% / 20%);
|
|
|
|
|
2023-05-17 04:11:18 +02:00
|
|
|
/* Mention pill colors */
|
|
|
|
--color-background-direct-mention: hsl(240deg 52% 95%);
|
|
|
|
--color-background-group-mention: hsl(180deg 40% 94%);
|
2023-05-17 05:00:57 +02:00
|
|
|
--color-background-text-direct-mention: hsl(240deg 70% 70% / 20%);
|
|
|
|
--color-background-text-hover-direct-mention: hsl(240deg 70% 70% / 30%);
|
|
|
|
--color-background-text-group-mention: hsl(183deg 60% 45% / 18%);
|
|
|
|
--color-background-text-hover-group-mention: hsl(183deg 60% 45% / 30%);
|
2023-08-09 07:23:30 +02:00
|
|
|
|
|
|
|
/* Inbox view constants - Values from Figma design */
|
|
|
|
--height-inbox-search: 26px;
|
|
|
|
--width-inbox-search: 346px;
|
2023-11-05 07:56:09 +01:00
|
|
|
--width-inbox-filters-dropdown: 150px;
|
2023-10-20 13:09:34 +02:00
|
|
|
--color-background-inbox-no-unreads-illustration: hsl(147deg 57% 25%);
|
2023-10-17 07:26:38 +02:00
|
|
|
--color-background-inbox: var(--color-background);
|
2023-10-05 14:26:45 +02:00
|
|
|
--color-icon-search-inbox: hsl(0deg 0% 0%);
|
|
|
|
--color-inbox-search-text: hsl(0deg 0% 0%);
|
|
|
|
--color-border-inbox-search: hsl(229.09deg 21.57% 10% / 30%);
|
|
|
|
--color-border-inbox-search-hover: hsl(229.09deg 21.57% 10% / 60%);
|
2023-10-17 07:54:53 +02:00
|
|
|
--color-background-inbox-search: hsl(0deg 0% 100%);
|
2023-10-17 07:26:38 +02:00
|
|
|
--color-background-inbox-search-hover: hsl(0deg 0% 100%);
|
|
|
|
--color-background-inbox-search-focus: hsl(0deg 0% 100%);
|
2023-10-05 14:26:45 +02:00
|
|
|
--color-border-inbox-search-focus: hsl(229.09deg 21.57% 10% / 80%);
|
|
|
|
--color-box-shadow-inbox-search-focus: hsl(228deg 9.8% 20% / 30%);
|
2023-08-09 07:23:30 +02:00
|
|
|
--color-background-inbox-row: hsl(0deg 0% 100%);
|
|
|
|
--color-background-inbox-row-hover: linear-gradient(
|
|
|
|
0deg,
|
|
|
|
hsl(0deg 0% 0% / 5%) 0%,
|
|
|
|
hsl(0deg 0% 0% / 5%) 100%
|
|
|
|
),
|
|
|
|
hsl(0deg 0% 100%);
|
|
|
|
--color-background-btn-inbox-selected: hsl(0deg 0% 0% / 5%);
|
|
|
|
--color-background-btn-inbox-focus: hsl(0deg 0% 80%);
|
2023-10-05 15:22:07 +02:00
|
|
|
--color-icons-inbox: hsl(0deg 0% 0%);
|
|
|
|
--color-background-icon-close-hover: hsl(0deg 0% 0% / 5%);
|
2023-10-13 12:03:50 +02:00
|
|
|
|
|
|
|
/* Navbar dropdown menu constants - Values from Figma design */
|
|
|
|
--box-shadow-navbar-dropdown-menu: 0 2.78px 4.11px 0 hsl(0deg 0% 0% / 6%),
|
|
|
|
0 5.5113px 8.5783px 0 hsl(0deg 0% 0% / 7%),
|
|
|
|
0 8.438px 13.9271px 0 hsl(0deg 0% 0% / 8%),
|
|
|
|
0 12.177px 21.4737px 0 hsl(0deg 0% 0% / 9%),
|
|
|
|
0 18.7257px 35.4802px 0 hsl(0deg 0% 0% / 9%),
|
|
|
|
0 41px 80px 0 hsl(0deg 0% 0% / 13%);
|
2023-10-13 12:51:35 +02:00
|
|
|
--box-shadow-gear-menu: 0 2.7798px 4.1129px 0 hsl(0deg 0% 0% / 10%),
|
|
|
|
0 5.5113px 8.5783px 0 hsl(0deg 0% 0% / 9%),
|
|
|
|
0 8.4377px 13.9271px 0 hsl(0deg 0% 0% / 11%),
|
|
|
|
0 12.177px 21.4737px 0 hsl(0deg 0% 0% / 11%),
|
|
|
|
0 18.7257px 35.4802px 0 hsl(0deg 0% 0% / 15%),
|
|
|
|
0 41px 80px 0 hsl(0deg 0% 0% / 20%);
|
|
|
|
--color-navbar-icon: hsl(240deg 20% 50%);
|
|
|
|
--color-gear-menu-lighter-text: hsl(0deg 0% 40%);
|
|
|
|
--color-gear-menu-blue-text: hsl(217deg 100% 50%);
|
2023-10-19 19:23:10 +02:00
|
|
|
--color-header-button-hover: hsl(0deg 0% 0% / 5%);
|
2023-10-26 19:16:08 +02:00
|
|
|
/* This is a technique for directing CSS to do
|
|
|
|
the color mixing ordinarily handled by the
|
|
|
|
alpha channel in hsl(); here, the alpha value
|
|
|
|
is omitted from the hsl() syntax and instead
|
|
|
|
used as the percentage for mixing over top of
|
|
|
|
the navbar background. This is needed so that
|
|
|
|
elements like the unread-count dot can make
|
|
|
|
use of the color, but neither compound alpha
|
|
|
|
values or apply alpha values over different
|
|
|
|
colors, such as the background color on the
|
|
|
|
unread dot.
|
|
|
|
|
|
|
|
The second color value aligns with
|
|
|
|
--color-background-navbar. We use the value
|
|
|
|
directly so that this gets compiled down to
|
|
|
|
an rgb() value by PostCSS Preset Env. */
|
|
|
|
--color-header-button-hover-no-alpha: color-mix(
|
|
|
|
in srgb,
|
|
|
|
hsl(0deg 0% 0%) 5%,
|
|
|
|
hsl(0deg 0% 97%)
|
|
|
|
);
|
2023-10-19 19:23:10 +02:00
|
|
|
--color-header-button-focus: hsl(0deg 0% 0% / 8%);
|
2023-10-26 19:16:08 +02:00
|
|
|
/* The second color value aligns with
|
|
|
|
--color-background-navbar */
|
|
|
|
--color-header-button-focus-no-alpha: color-mix(
|
|
|
|
in srgb,
|
|
|
|
hsl(0deg 0% 0%) 8%,
|
|
|
|
hsl(0deg 0% 97%)
|
|
|
|
);
|
2023-10-22 14:23:15 +02:00
|
|
|
--color-fill-hover-copy-icon: hsl(200deg 100% 40%);
|
|
|
|
--color-fill-user-invite-copy-icon: hsl(0deg 0% 46.7%);
|
2023-11-06 10:45:30 +01:00
|
|
|
--icon-chevron-down: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.52977 5.52973C3.78947 5.27004 4.21053 5.27004 4.47023 5.52973L8 9.05951L11.5298 5.52973C11.7895 5.27004 12.2105 5.27004 12.4702 5.52973C12.7299 5.78943 12.7299 6.21049 12.4702 6.47019L8.47023 10.4702C8.21053 10.7299 7.78947 10.7299 7.52977 10.4702L3.52977 6.47019C3.27008 6.21049 3.27008 5.78943 3.52977 5.52973Z' fill='%23333333'/%3E%3C/svg%3E%0A");
|
2023-11-15 00:08:18 +01:00
|
|
|
|
|
|
|
/* Button colors on modals and message editing. */
|
2023-11-30 02:34:59 +01:00
|
|
|
/* Don't define light theme colors for modal here
|
|
|
|
since the modal is also used on billing pages and
|
|
|
|
this file is not imported on billing pages. */
|
2022-08-04 14:13:31 +02:00
|
|
|
}
|
|
|
|
|
2023-03-06 03:45:31 +01:00
|
|
|
%dark-theme {
|
2023-03-20 22:08:47 +01:00
|
|
|
--color-date: hsl(0deg 0% 100% / 75%);
|
2023-04-24 21:21:59 +02:00
|
|
|
--color-background-private-message-header: hsl(46deg 15% 20%);
|
2023-05-13 08:30:13 +02:00
|
|
|
--color-background-private-message-content: hsl(46deg 7% 16%);
|
|
|
|
--color-background-stream-message-content: hsl(0deg 0% 15%);
|
2023-04-08 02:48:02 +02:00
|
|
|
--color-message-header-icon-non-interactive: hsl(0deg 0% 100% / 30%);
|
|
|
|
--color-message-header-icon-interactive: hsl(0deg 0% 100%);
|
2023-03-24 00:09:48 +01:00
|
|
|
--color-message-header-contents-border: hsl(0deg 0% 0% / 60%);
|
2023-05-08 20:31:18 +02:00
|
|
|
--color-private-message-header-border: hsl(0deg 0% 0% / 48%);
|
2023-05-15 07:17:56 +02:00
|
|
|
--color-message-header-contents-border-bottom: hsl(0deg 0% 0% / 50%);
|
|
|
|
--color-private-message-header-border-bottom: hsl(0deg 0% 0% / 37%);
|
2023-05-13 08:30:13 +02:00
|
|
|
--color-message-list-border: hsl(0deg 0% 0% / 40%);
|
2023-03-24 00:09:48 +01:00
|
|
|
--color-background: hsl(0deg 0% 11%);
|
2023-08-16 06:17:00 +02:00
|
|
|
--color-background-widget-input: hsl(225deg 6% 10%);
|
2023-03-24 00:09:48 +01:00
|
|
|
--color-background-navbar: hsl(0deg 0% 13%);
|
|
|
|
--color-background-active-narrow-filter: hsl(200deg 17% 18%);
|
|
|
|
--color-background-hover-narrow-filter: hsl(136deg 25% 73% / 20%);
|
|
|
|
--color-navbar-bottom-border: hsl(0deg 0% 0% / 60%);
|
2023-05-13 08:30:13 +02:00
|
|
|
--color-unread-marker: hsl(217deg 64% 59%);
|
2023-11-29 20:15:44 +01:00
|
|
|
--color-masked-unread-marker: hsl(0deg 0% 30%);
|
2023-05-23 19:45:04 +02:00
|
|
|
--color-background-modal: hsl(212deg 28% 18%);
|
2023-08-25 16:07:32 +02:00
|
|
|
--color-unmuted-or-followed-topic-list-item: hsl(236deg 33% 90%);
|
2023-09-16 10:48:22 +02:00
|
|
|
--color-recipient-bar-controls-spinner: hsl(0deg 0% 100%);
|
2022-05-16 19:24:49 +02:00
|
|
|
--color-background-search: hsl(0deg 0% 20%);
|
|
|
|
--color-background-search-option-hover: hsl(0deg 0% 30%);
|
|
|
|
--color-search-box-hover-shadow: hsl(0deg 0% 0% / 30%);
|
|
|
|
--color-search-dropdown-top-border: hsla(0deg 0% 0% / 35%);
|
2023-07-17 17:26:24 +02:00
|
|
|
--color-background-image-loader: hsl(0deg 0% 100% / 10%);
|
2023-07-17 18:01:16 +02:00
|
|
|
--color-background-dropdown-menu: hsl(0deg 0% 17%);
|
|
|
|
--color-border-popover-menu: hsl(0deg 0% 0% / 40%);
|
|
|
|
--color-hotkey-hint: hsl(225deg 100% 84%);
|
|
|
|
--color-background-hover-dropdown-menu: hsl(220deg 12% 95% / 5%);
|
|
|
|
--color-background-active-dropdown-menu: hsl(220deg 12% 95% / 7%);
|
|
|
|
--color-border-dropdown-menu: hsl(0deg 0% 0%);
|
|
|
|
--color-border-personal-menu-avatar: hsl(0deg 0% 100% / 20%);
|
2023-10-02 19:19:10 +02:00
|
|
|
--color-background-unread-counter: hsl(105deg 2% 50% / 50%);
|
2023-11-03 15:52:59 +01:00
|
|
|
/* When unreads are hovered on the condensed
|
|
|
|
views, they should not have an alpha.
|
|
|
|
|
|
|
|
The second color aligns with dark mode's
|
|
|
|
--color-background. We use the value
|
|
|
|
directly so that this gets compiled down to
|
|
|
|
an rgb() value by PostCSS Preset Env. */
|
|
|
|
--color-background-unread-counter-no-alpha: color-mix(
|
|
|
|
in srgb,
|
|
|
|
hsl(105deg 2% 50%) 50%,
|
|
|
|
hsl(0deg 0% 11%)
|
|
|
|
);
|
2023-10-12 19:10:12 +02:00
|
|
|
--color-background-unread-counter-dot: hsl(105deg 2% 50% / 90%);
|
2023-10-02 19:19:10 +02:00
|
|
|
--color-background-unread-counter-popover-menu: hsl(105deg 2% 50% / 50%);
|
2023-10-16 21:21:44 +02:00
|
|
|
--color-border-unread-counter: hsl(105deg 2% 50%);
|
|
|
|
--color-border-unread-counter-popover-menu: var(
|
|
|
|
--color-border-unread-counter
|
|
|
|
);
|
2023-10-16 18:01:34 +02:00
|
|
|
--color-background-tab-picker-container: hsl(0deg 0% 0% / 30%);
|
2023-10-08 21:10:35 +02:00
|
|
|
--color-background-tab-picker-selected-tab: hsl(0deg 0% 100% / 7%);
|
2023-10-16 18:01:34 +02:00
|
|
|
--color-outline-tab-picker-tab-option: hsl(0deg 0% 100% / 12%);
|
2023-10-08 21:10:35 +02:00
|
|
|
--color-background-tab-picker-tab-option-hover: hsl(0deg 0% 100% / 5%);
|
2023-04-08 15:19:10 +02:00
|
|
|
|
2023-10-05 18:09:38 +02:00
|
|
|
/* Compose box colors */
|
2023-11-02 16:26:32 +01:00
|
|
|
--color-compose-send-button-focus-shadow: hsl(0deg 0% 100% / 80%);
|
2023-11-14 15:46:37 +01:00
|
|
|
--color-compose-send-control-button: hsl(240deg 30% 70%);
|
|
|
|
--color-compose-send-control-button-background: transparent;
|
|
|
|
--color-compose-send-control-button-interactive: var(
|
|
|
|
--color-compose-send-control-button
|
2023-11-02 19:07:32 +01:00
|
|
|
);
|
2023-11-14 15:46:37 +01:00
|
|
|
--color-compose-send-control-button-background-interactive: hsl(
|
2023-11-02 19:07:32 +01:00
|
|
|
235deg 100% 70% / 11%
|
|
|
|
);
|
2023-11-14 15:46:37 +01:00
|
|
|
--color-compose-send-control-button-focus-shadow: var(
|
2023-11-02 19:07:32 +01:00
|
|
|
--color-compose-send-button-focus-shadow
|
|
|
|
);
|
2023-10-05 18:09:38 +02:00
|
|
|
--color-compose-collapsed-reply-button-area-background: hsl(
|
|
|
|
0deg 0% 0% / 20%
|
|
|
|
);
|
|
|
|
--color-compose-collapsed-reply-button-area-background-interactive: hsl(
|
|
|
|
0deg 0% 0% / 15%
|
|
|
|
);
|
|
|
|
--color-compose-collapsed-reply-button-area-border: hsl(0deg 0% 0% / 60%);
|
|
|
|
--color-compose-collapsed-reply-button-area-border-interactive: var(
|
|
|
|
--color-compose-collapsed-reply-button-area-border
|
|
|
|
);
|
|
|
|
--color-compose-embedded-button-text-color: hsl(231deg 30% 65%);
|
|
|
|
--color-compose-embedded-button-text-color-hover: hsl(231deg 30% 70%);
|
|
|
|
--color-compose-embedded-button-background: transparent;
|
|
|
|
--color-compose-embedded-button-background-hover: hsl(
|
|
|
|
235deg 100% 70% / 11%
|
|
|
|
);
|
2023-11-23 08:53:22 +01:00
|
|
|
--color-background-popover: hsl(212deg 32% 14%);
|
2023-10-05 18:09:38 +02:00
|
|
|
|
2023-05-12 12:20:12 +02:00
|
|
|
/* Text colors */
|
2023-05-13 08:28:23 +02:00
|
|
|
--color-text-default: hsl(0deg 0% 100% / 75%);
|
2023-06-08 16:25:14 +02:00
|
|
|
/* Unlike the light theme, the dark theme renders message
|
|
|
|
text in the default color. */
|
|
|
|
--color-text-message-default: var(--color-text-default);
|
2023-05-13 08:30:13 +02:00
|
|
|
--color-text-message-view-header: hsl(0deg 0% 100% / 80%);
|
|
|
|
--color-text-message-header: hsl(0deg 0% 100% / 80%);
|
|
|
|
--color-text-sender-name: hsl(0deg 0% 100% / 85%);
|
2023-05-12 12:20:12 +02:00
|
|
|
--color-text-dropdown-input: hsl(0deg 0% 95%);
|
2023-05-17 05:00:57 +02:00
|
|
|
--color-text-other-mention: hsl(0deg 0% 100% / 80%);
|
|
|
|
--color-text-self-direct-mention: hsl(240deg 100% 88% / 100%);
|
|
|
|
--color-text-self-group-mention: hsl(184deg 52% 63% / 100%);
|
2023-04-08 15:19:10 +02:00
|
|
|
--color-text-show-more-less-button: hsl(240deg 30% 65%);
|
2022-05-16 19:24:49 +02:00
|
|
|
--color-text-search: hsl(0deg 0% 100% / 75%);
|
|
|
|
--color-text-search-hover: hsl(0deg 0% 100%);
|
|
|
|
--color-text-search-placeholder: hsl(0deg 0% 100% / 50%);
|
2023-07-17 18:01:16 +02:00
|
|
|
--color-text-dropdown-menu: hsl(0deg 0% 100% / 80%);
|
|
|
|
--color-text-full-name: hsl(0deg 0% 100%);
|
|
|
|
--color-text-item: hsl(0deg 0% 50%);
|
2023-11-01 07:09:03 +01:00
|
|
|
--color-text-personal-menu-no-status: hsl(0deg 0% 100% 35%);
|
|
|
|
--color-text-personal-menu-some-status: hsl(0deg 0% 100% 50%);
|
2023-11-08 19:21:17 +01:00
|
|
|
/* 75% opacity of --color-text-default against --color-background.
|
|
|
|
We use color-mix here to avoid defining a separate, compounding
|
|
|
|
`opacity` property, and also to preserve a record of the
|
|
|
|
relationship of the color of sidebar headings to other colors. */
|
|
|
|
--color-text-sidebar-heading: color-mix(
|
|
|
|
in srgb,
|
|
|
|
hsl(0deg 0% 75%) 75%,
|
|
|
|
hsl(0deg 0% 11%)
|
|
|
|
);
|
2023-05-17 04:11:18 +02:00
|
|
|
|
2023-06-16 19:31:01 +02:00
|
|
|
/* Icon colors */
|
|
|
|
--color-icon-bot: hsl(180deg 5% 50% / 100%);
|
2023-07-17 22:35:29 +02:00
|
|
|
--color-message-action-visible: hsl(217deg 41% 90% / 50%);
|
|
|
|
--color-message-action-interactive: hsl(217deg 41% 90% / 100%);
|
2023-10-10 21:00:28 +02:00
|
|
|
--color-left-sidebar-navigation-icon: hsl(0deg 0% 100% / 56%);
|
2023-09-15 18:29:22 +02:00
|
|
|
--color-vdots-hint: hsl(0deg 0% 100% / 30%);
|
|
|
|
--color-vdots-visible: hsl(236deg 33% 80%);
|
|
|
|
--color-vdots-hover: hsl(0deg 0% 100%);
|
2023-10-16 21:21:44 +02:00
|
|
|
--color-left-sidebar-header-vdots-visible: var(
|
|
|
|
--color-left-sidebar-navigation-icon
|
|
|
|
);
|
2023-10-16 18:01:34 +02:00
|
|
|
--color-tab-picker-icon: hsl(0deg 0% 80%);
|
2023-06-16 19:31:01 +02:00
|
|
|
|
2023-08-25 17:32:19 +02:00
|
|
|
/* Reaction container colors */
|
2023-08-28 18:27:46 +02:00
|
|
|
--color-message-reaction-border: hsl(0deg 0% 100% / 15%);
|
|
|
|
--color-message-reaction-border-reacted: hsl(0deg 0% 100% / 50%);
|
|
|
|
--color-message-reaction-background: hsl(0deg 0% 0% / 30%);
|
|
|
|
--color-message-reaction-background-reacted: hsl(0deg 0% 0% / 80%);
|
|
|
|
--color-message-reaction-background-hover: hsl(0deg 0% 100% / 10%);
|
|
|
|
/* No shadow in dark mode. */
|
|
|
|
--color-message-reaction-shadow-inner: transparent;
|
|
|
|
--color-message-reaction-text: hsl(0deg 0% 100% / 75%);
|
|
|
|
--color-message-reaction-text-reacted: hsl(0deg 0% 100% / 85%);
|
|
|
|
--color-message-reaction-button-text: var(--color-message-reaction-text);
|
|
|
|
--color-message-reaction-button-text-hover: var(
|
|
|
|
--color-message-reaction-text-reacted
|
2023-08-25 17:58:20 +02:00
|
|
|
);
|
2023-08-28 18:27:46 +02:00
|
|
|
--color-message-reaction-button-background: inherit;
|
2023-08-25 17:58:20 +02:00
|
|
|
--color-message-reaction-button-background-hover: var(
|
2023-08-28 18:27:46 +02:00
|
|
|
--color-message-reaction-background-hover
|
2023-08-25 17:58:20 +02:00
|
|
|
);
|
2023-08-28 18:27:46 +02:00
|
|
|
--color-message-reaction-button-border: transparent;
|
2023-08-25 17:58:20 +02:00
|
|
|
--color-message-reaction-button-border-hover: var(
|
2023-08-28 18:27:46 +02:00
|
|
|
--color-message-reaction-border
|
2023-08-25 17:58:20 +02:00
|
|
|
);
|
2023-08-28 18:27:46 +02:00
|
|
|
--font-weight-message-reaction: 550;
|
2023-08-25 17:32:19 +02:00
|
|
|
|
2023-07-25 03:06:25 +02:00
|
|
|
/* Message feed loading indicator colors */
|
|
|
|
--color-zulip-logo: hsl(0deg 0% 100% / 50%);
|
|
|
|
--color-zulip-logo-loading: hsl(0deg 0% 100%);
|
2023-10-04 19:07:01 +02:00
|
|
|
--color-recent-view-loading-spinner: hsl(0deg 0% 100% / 60%);
|
2023-07-25 03:06:25 +02:00
|
|
|
--color-zulip-logo-z: hsl(214deg 27% 18%);
|
|
|
|
|
|
|
|
/* Message collapsing/condensing button colors */
|
|
|
|
--color-show-more-less-button-background: hsla(240deg 44% 56% / 15%);
|
|
|
|
--color-show-more-less-button-background-hover: hsl(240deg 44% 56% / 25%);
|
|
|
|
--color-show-more-less-button-background-active: hsl(240deg 44% 56% / 15%);
|
|
|
|
|
2023-05-17 04:11:18 +02:00
|
|
|
/* Mention pill colors */
|
|
|
|
--color-background-direct-mention: hsl(240deg 13% 20%);
|
|
|
|
--color-background-group-mention: hsl(180deg 13% 15%);
|
2023-05-17 05:00:57 +02:00
|
|
|
--color-background-text-direct-mention: hsl(240deg 52% 60% / 25%);
|
|
|
|
--color-background-text-hover-direct-mention: hsl(240deg 52% 60% / 45%);
|
|
|
|
--color-background-text-group-mention: hsl(183deg 52% 40% / 20%);
|
|
|
|
--color-background-text-hover-group-mention: hsl(183deg 52% 40% / 30%);
|
2023-08-09 07:23:30 +02:00
|
|
|
|
|
|
|
/* Inbox view */
|
2023-10-17 07:26:38 +02:00
|
|
|
--color-background-inbox: var(--color-background);
|
2023-10-20 13:09:34 +02:00
|
|
|
--color-background-inbox-no-unreads-illustration: hsl(147deg 40% 55%);
|
2023-10-05 14:26:45 +02:00
|
|
|
--color-icon-search-inbox: hsl(0deg 0% 100%);
|
|
|
|
--color-inbox-search-text: hsl(0deg 0% 95%);
|
|
|
|
--color-border-inbox-search: hsl(0deg 0% 100% / 20%);
|
|
|
|
--color-border-inbox-search-hover: hsl(0deg 0% 100% / 40%);
|
2023-10-17 07:26:38 +02:00
|
|
|
--color-background-inbox-search: hsl(225deg 6% 10%);
|
2023-10-05 14:26:45 +02:00
|
|
|
--color-background-inbox-search-hover: hsl(225deg 6% 8%);
|
|
|
|
--color-background-inbox-search-focus: hsl(225deg 6% 7%);
|
|
|
|
--color-border-inbox-search-focus: hsl(0deg 0% 100% / 50%);
|
|
|
|
--color-box-shadow-inbox-search-focus: hsl(0deg 0% 100% / 40%);
|
2023-08-09 07:23:30 +02:00
|
|
|
--color-background-inbox-row: hsl(0deg 0% 14%);
|
|
|
|
--color-background-inbox-row-hover: linear-gradient(
|
|
|
|
0deg,
|
|
|
|
hsl(0deg 0% 100% / 5%) 0%,
|
|
|
|
hsl(0deg 0% 100% / 5%) 100%
|
|
|
|
),
|
|
|
|
hsl(0deg 0% 14.12%);
|
|
|
|
--color-background-btn-inbox-selected: hsl(0deg 0% 100% / 5%);
|
|
|
|
--color-background-btn-inbox-focus: hsl(0deg 0% 20%);
|
2023-10-05 15:22:07 +02:00
|
|
|
--color-icons-inbox: hsl(0deg 0% 100%);
|
|
|
|
--color-background-icon-close-hover: hsl(0deg 0% 100% / 5%);
|
2023-10-13 12:03:50 +02:00
|
|
|
|
|
|
|
/* Navbar dropdown menu constants - Values from Figma design */
|
|
|
|
--box-shadow-navbar-dropdown-menu: 0 2.78px 4.12px 0 hsl(0deg 0% 0% / 10%),
|
|
|
|
0 5.5113px 8.5783px 0 hsl(0deg 0% 0% / 9%),
|
|
|
|
0 8.4377px 13.9271px 0 hsl(0deg 0% 0% / 11%),
|
|
|
|
0 12.177px 21.4737px 0 hsl(0deg 0% 0% / 11%),
|
|
|
|
0 18.7257px 35.4802px 0 hsl(0deg 0% 0% / 15%),
|
|
|
|
0 41px 80px 0 hsl(0deg 0% 0% / 20%);
|
2023-10-13 12:51:35 +02:00
|
|
|
--color-navbar-icon: hsl(240deg 35% 60%);
|
|
|
|
--color-gear-menu-lighter-text: hsl(0deg 0% 50%);
|
|
|
|
--color-gear-menu-blue-text: hsl(217deg 100% 65%);
|
2023-10-19 19:23:10 +02:00
|
|
|
--color-header-button-hover: hsl(0deg 0% 100% / 4%);
|
2023-10-26 19:16:08 +02:00
|
|
|
/* The second color value aligns with
|
|
|
|
--color-background-navbar */
|
|
|
|
--color-header-button-hover-no-alpha: color-mix(
|
|
|
|
in srgb,
|
|
|
|
hsl(0deg 0% 100%) 4%,
|
|
|
|
hsl(0deg 0% 13%)
|
|
|
|
);
|
2023-10-19 19:23:10 +02:00
|
|
|
--color-header-button-focus: hsl(0deg 0% 100% / 7%);
|
2023-10-26 19:16:08 +02:00
|
|
|
/* The second color value aligns with
|
|
|
|
--color-background-navbar */
|
|
|
|
--color-header-button-focus-no-alpha: color-mix(
|
|
|
|
in srgb,
|
|
|
|
hsl(0deg 0% 100%) 7%,
|
|
|
|
hsl(0deg 0% 13%)
|
|
|
|
);
|
2023-10-22 14:23:15 +02:00
|
|
|
--color-fill-user-invite-copy-icon: hsl(236deg 33% 90%);
|
2023-11-06 10:45:30 +01:00
|
|
|
--icon-chevron-down: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.52977 5.52973C3.78947 5.27004 4.21053 5.27004 4.47023 5.52973L8 9.05951L11.5298 5.52973C11.7895 5.27004 12.2105 5.27004 12.4702 5.52973C12.7299 5.78943 12.7299 6.21049 12.4702 6.47019L8.47023 10.4702C8.21053 10.7299 7.78947 10.7299 7.52977 10.4702L3.52977 6.47019C3.27008 6.21049 3.27008 5.78943 3.52977 5.52973Z' fill='%23FFFFFFBF'/%3E%3C/svg%3E%0A");
|
2023-11-15 00:08:18 +01:00
|
|
|
|
|
|
|
/* Button colors on modals and message editing. */
|
|
|
|
--color-exit-button-text: hsl(0deg 0% 100%);
|
|
|
|
--color-exit-button-border: hsl(0deg 0% 0% / 60%);
|
|
|
|
--color-exit-button-background: hsl(211deg 29% 14%);
|
|
|
|
--color-exit-button-background-interactive: hsl(211deg 29% 17%);
|
2022-08-04 14:13:31 +02:00
|
|
|
}
|
|
|
|
|
2023-07-28 16:34:01 +02:00
|
|
|
@media screen {
|
|
|
|
:root.dark-theme {
|
|
|
|
@extend %dark-theme;
|
|
|
|
}
|
2023-03-06 03:45:31 +01:00
|
|
|
}
|
|
|
|
|
2023-07-28 16:34:01 +02:00
|
|
|
@media screen and (prefers-color-scheme: dark) {
|
2022-08-04 14:13:31 +02:00
|
|
|
:root.color-scheme-automatic {
|
2023-03-06 03:45:31 +01:00
|
|
|
@extend %dark-theme;
|
2022-08-04 14:13:31 +02:00
|
|
|
}
|
2022-11-25 22:06:11 +01:00
|
|
|
}
|
|
|
|
|
2013-08-23 07:31:38 +02:00
|
|
|
input,
|
|
|
|
button,
|
|
|
|
select,
|
|
|
|
textarea {
|
2023-03-27 12:47:59 +02:00
|
|
|
font-family: "Source Sans 3 VF", sans-serif;
|
2021-06-12 01:13:12 +02:00
|
|
|
/* Disable bootstrap size CSS; we want to use our default font size on
|
|
|
|
body for input elements. */
|
2013-05-07 19:32:12 +02:00
|
|
|
line-height: normal;
|
2021-06-12 01:13:12 +02:00
|
|
|
font-size: inherit;
|
2013-05-07 19:32:12 +02:00
|
|
|
}
|
|
|
|
|
2013-05-14 21:11:22 +02:00
|
|
|
blockquote p {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2013-06-05 22:43:07 +02:00
|
|
|
a {
|
|
|
|
cursor: pointer;
|
|
|
|
|
2020-05-19 12:09:07 +02:00
|
|
|
&.message_label_clickable:hover {
|
|
|
|
cursor: pointer;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(200deg 100% 40%);
|
2020-05-19 12:09:07 +02:00
|
|
|
}
|
2020-05-19 12:08:23 +02:00
|
|
|
}
|
|
|
|
|
2020-09-18 20:00:21 +02:00
|
|
|
code,
|
|
|
|
pre {
|
2021-04-03 04:01:40 +02:00
|
|
|
font-family: "Source Code Pro", monospace;
|
2020-09-18 20:00:21 +02:00
|
|
|
}
|
|
|
|
|
2017-03-19 01:51:20 +01:00
|
|
|
.no-select {
|
2019-08-27 01:23:48 +02:00
|
|
|
user-select: none;
|
2017-03-19 01:51:20 +01:00
|
|
|
}
|
|
|
|
|
2018-01-11 11:19:32 +01:00
|
|
|
.text-select {
|
2019-08-27 01:23:48 +02:00
|
|
|
user-select: text;
|
2018-01-11 11:19:32 +01:00
|
|
|
}
|
|
|
|
|
2016-08-27 01:47:30 +02:00
|
|
|
p.n-margin {
|
2021-11-05 03:33:16 +01:00
|
|
|
margin: 10px 0 0;
|
2016-08-27 01:47:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.small-line-height {
|
|
|
|
line-height: 1.1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.float-left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.float-right {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.float-clear {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-margin {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2018-10-01 20:27:22 +02:00
|
|
|
.history-limited-box {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(16deg 60% 45%);
|
|
|
|
border: 1px solid hsl(16deg 60% 45%);
|
|
|
|
box-shadow: 0 0 2px hsl(16deg 60% 45%);
|
2019-08-13 21:03:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.all-messages-search-caution {
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(192deg 19% 75% / 20%);
|
|
|
|
box-shadow: 0 0 2px hsl(192deg 19% 75% / 20%);
|
2019-08-13 21:03:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.history-limited-box,
|
|
|
|
.all-messages-search-caution {
|
|
|
|
border-radius: 4px;
|
2018-10-01 20:27:22 +02:00
|
|
|
display: none;
|
|
|
|
font-size: 16px;
|
|
|
|
margin: 0 auto 12px;
|
|
|
|
padding: 5px;
|
2022-10-29 05:42:47 +02:00
|
|
|
/* Difference should be 16px to accommodate the icon. */
|
|
|
|
/* This emulates hanging indent. */
|
|
|
|
padding-left: 26px;
|
|
|
|
text-indent: -10px;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2018-12-14 01:45:32 +01:00
|
|
|
margin: 0 3px 0 1px;
|
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& p {
|
2018-10-01 20:27:22 +02:00
|
|
|
margin: 0;
|
2018-12-14 01:45:32 +01:00
|
|
|
padding: 4px;
|
2018-10-01 20:27:22 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-26 16:27:06 +02:00
|
|
|
.bottom-messages-logo {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-11-16 10:50:35 +01:00
|
|
|
.alert-zulip-logo,
|
2020-05-26 16:27:06 +02:00
|
|
|
.top-messages-logo,
|
|
|
|
.bottom-messages-logo {
|
2017-01-05 22:22:21 +01:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2018-07-08 09:13:47 +02:00
|
|
|
margin: 0 auto 12px;
|
2017-01-05 22:22:21 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& svg {
|
|
|
|
& circle {
|
2023-06-29 19:56:21 +02:00
|
|
|
fill: var(--color-zulip-logo);
|
|
|
|
stroke: var(--color-zulip-logo);
|
2020-05-16 12:25:29 +02:00
|
|
|
}
|
2017-11-30 01:01:51 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& path {
|
2023-06-29 19:56:21 +02:00
|
|
|
fill: var(--color-zulip-logo-z);
|
|
|
|
stroke: var(--color-zulip-logo-z);
|
2020-05-16 12:25:29 +02:00
|
|
|
}
|
|
|
|
}
|
2023-06-29 19:56:21 +02:00
|
|
|
|
|
|
|
&.loading circle {
|
|
|
|
fill: var(--color-zulip-logo-loading);
|
|
|
|
stroke: var(--color-zulip-logo-loading);
|
|
|
|
}
|
2017-11-30 01:01:51 +01:00
|
|
|
}
|
|
|
|
|
2023-04-28 18:07:06 +02:00
|
|
|
.top-messages-logo {
|
|
|
|
/* Since padding under message header is not transparent
|
|
|
|
we need to position it below the padding. */
|
|
|
|
padding-top: var(--header-padding-bottom);
|
|
|
|
margin-bottom: 0;
|
2023-04-29 12:17:12 +02:00
|
|
|
/* To fit the logo inside the spinner. */
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
2023-04-28 18:07:06 +02:00
|
|
|
}
|
|
|
|
|
2023-05-24 08:12:18 +02:00
|
|
|
/* See https://web.dev/animations-guide/#triggers before adding any funny animation properties here. */
|
|
|
|
@keyframes feedback-slide-in {
|
|
|
|
from {
|
|
|
|
transform: translateY(-120%);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
transform: translateY(50px);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes feedback-slide-out {
|
|
|
|
from {
|
|
|
|
transform: translateY(50px);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
transform: translateY(-120%);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-20 19:48:37 +01:00
|
|
|
#feedback_container {
|
2016-08-27 01:47:30 +02:00
|
|
|
display: none;
|
2023-05-24 08:12:18 +02:00
|
|
|
position: fixed;
|
2016-08-27 01:47:30 +02:00
|
|
|
width: 400px;
|
2020-08-06 02:42:07 +02:00
|
|
|
top: 0;
|
2016-08-27 01:47:30 +02:00
|
|
|
left: calc(50vw - 220px);
|
|
|
|
padding: 15px;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 98%);
|
2016-08-27 01:47:30 +02:00
|
|
|
border-radius: 5px;
|
2023-03-20 22:08:47 +01:00
|
|
|
box-shadow: 0 0 30px hsl(0deg 0% 0% / 25%);
|
2016-10-28 22:50:56 +02:00
|
|
|
z-index: 110;
|
2016-08-27 01:47:30 +02:00
|
|
|
|
2023-05-24 08:12:18 +02:00
|
|
|
&.show-feedback-container {
|
|
|
|
display: block;
|
|
|
|
animation: feedback-slide-in 0.6s forwards;
|
|
|
|
}
|
2016-08-27 01:47:30 +02:00
|
|
|
|
2023-05-24 08:12:18 +02:00
|
|
|
&.slide-out-feedback-container {
|
|
|
|
animation: feedback-slide-out 0.6s;
|
2020-05-16 12:28:05 +02:00
|
|
|
}
|
2016-08-27 01:47:30 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& h3 {
|
2020-05-16 12:28:05 +02:00
|
|
|
font-size: 16pt;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2016-08-27 01:47:30 +02:00
|
|
|
|
2020-05-16 12:28:05 +02:00
|
|
|
.exit-me {
|
2021-07-31 23:44:26 +02:00
|
|
|
font-size: 20pt;
|
2020-05-16 12:28:05 +02:00
|
|
|
font-weight: 200;
|
2021-07-31 23:44:26 +02:00
|
|
|
margin: 0 0 0 10px;
|
2020-05-16 12:28:05 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-05-16 12:31:55 +02:00
|
|
|
}
|
|
|
|
|
2017-04-13 22:33:26 +02:00
|
|
|
.fade-in-message {
|
|
|
|
animation-name: fadeInMessage;
|
|
|
|
animation-duration: 1s;
|
|
|
|
animation-iteration-count: 1;
|
|
|
|
|
2020-05-16 12:43:31 +02:00
|
|
|
.message_edit_notice {
|
|
|
|
animation-name: fadeInEditNotice;
|
|
|
|
animation-duration: 1s;
|
|
|
|
animation-iteration-count: 1;
|
|
|
|
}
|
2017-04-13 22:33:26 +02:00
|
|
|
}
|
|
|
|
|
2019-08-04 19:38:28 +02:00
|
|
|
.message_edit_notice_hover:hover {
|
2020-08-04 23:58:56 +02:00
|
|
|
opacity: 1;
|
2019-08-04 19:38:28 +02:00
|
|
|
}
|
|
|
|
|
2023-05-20 16:30:21 +02:00
|
|
|
#navbar-fixed-container {
|
2013-08-13 12:52:26 +02:00
|
|
|
position: fixed;
|
2023-05-20 16:30:21 +02:00
|
|
|
top: 0;
|
|
|
|
z-index: 102;
|
2023-05-27 18:36:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Adjust width of any fixed / absolute positioned elements that might be visible in
|
|
|
|
the background when a overlay / modal is open. */
|
|
|
|
#navbar-fixed-container,
|
|
|
|
#compose {
|
|
|
|
width: calc(100% - var(--disabled-scrollbar-width));
|
2023-05-20 16:30:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
2013-08-13 12:52:26 +02:00
|
|
|
width: 100%;
|
2023-03-07 01:18:07 +01:00
|
|
|
height: var(--header-height);
|
2022-12-19 09:16:05 +01:00
|
|
|
/* Since the headers are sticky, we need non-transparent background. */
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: var(--color-background);
|
2023-05-17 07:40:15 +02:00
|
|
|
/* Add 1px box-shadow below header so that if there is a gap between sticky header
|
|
|
|
and header at some zoom level, it is covered by this */
|
|
|
|
box-shadow: 0 1px 0 0 var(--color-background);
|
2019-02-07 23:36:08 +01:00
|
|
|
}
|
|
|
|
|
2023-03-24 00:09:48 +01:00
|
|
|
#navbar-middle .column-middle-inner,
|
2023-06-14 07:49:16 +02:00
|
|
|
.header,
|
2023-03-24 00:09:48 +01:00
|
|
|
#message_view_header {
|
|
|
|
background-color: var(--color-background-navbar);
|
|
|
|
box-shadow: inset 0 -1px 0 var(--color-navbar-bottom-border);
|
2013-08-13 12:52:26 +02:00
|
|
|
}
|
|
|
|
|
2021-05-17 10:01:02 +02:00
|
|
|
#navbar_alerts_wrapper {
|
2017-09-23 11:27:18 +02:00
|
|
|
font-size: 1rem;
|
2020-08-25 10:02:47 +02:00
|
|
|
position: relative;
|
2017-09-23 11:27:18 +02:00
|
|
|
|
2020-05-16 12:46:32 +02:00
|
|
|
.alert {
|
2021-06-05 11:16:17 +02:00
|
|
|
/* Since alerts are only rendered into the DOM when they are first
|
|
|
|
displayed, display: block is the right default for this setting. */
|
|
|
|
display: block;
|
2020-05-16 12:46:32 +02:00
|
|
|
margin: 0;
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 12px;
|
2017-09-23 11:27:18 +02:00
|
|
|
|
2020-05-16 12:46:32 +02:00
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
2017-09-23 11:27:18 +02:00
|
|
|
|
2020-05-16 12:46:32 +02:00
|
|
|
text-align: center;
|
|
|
|
text-shadow: none;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 100%);
|
2017-09-23 11:27:18 +02:00
|
|
|
|
2020-05-16 12:46:32 +02:00
|
|
|
&.alert-info {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(170deg 46% 54%);
|
2017-09-23 11:27:18 +02:00
|
|
|
|
2020-05-16 12:46:32 +02:00
|
|
|
&.red {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 46% 54%);
|
2020-05-16 12:46:32 +02:00
|
|
|
}
|
|
|
|
}
|
2018-01-26 22:10:30 +01:00
|
|
|
|
2020-05-16 12:46:32 +02:00
|
|
|
.close {
|
|
|
|
line-height: 24px;
|
2020-08-25 10:02:47 +02:00
|
|
|
position: absolute;
|
|
|
|
right: 18px;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
2020-05-16 12:46:32 +02:00
|
|
|
}
|
2017-09-23 11:27:18 +02:00
|
|
|
|
2020-05-16 12:46:32 +02:00
|
|
|
.alert-link {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(169deg 100% 88%);
|
2020-05-16 12:46:32 +02:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2017-09-23 11:27:18 +02:00
|
|
|
|
2020-05-16 12:46:32 +02:00
|
|
|
&.red .alert-link {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 100% 88%);
|
2020-05-16 12:46:32 +02:00
|
|
|
}
|
2018-01-26 22:10:30 +01:00
|
|
|
|
2020-05-16 12:46:32 +02:00
|
|
|
.buttons .alert-link {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0 5px;
|
2020-05-16 12:46:32 +02:00
|
|
|
}
|
|
|
|
}
|
2017-09-23 11:27:18 +02:00
|
|
|
}
|
|
|
|
|
2023-09-06 23:40:00 +02:00
|
|
|
.recent_view_container #recent_view_table {
|
2023-05-21 20:52:46 +02:00
|
|
|
margin-top: var(--navbar-fixed-height);
|
|
|
|
}
|
|
|
|
|
2013-08-13 12:52:26 +02:00
|
|
|
.app {
|
2023-11-04 22:43:10 +01:00
|
|
|
min-width: 100%;
|
|
|
|
min-height: 100%;
|
2013-08-13 12:52:26 +02:00
|
|
|
z-index: 99;
|
|
|
|
}
|
|
|
|
|
2013-08-23 07:31:38 +02:00
|
|
|
.app-main,
|
|
|
|
.header-main {
|
2014-01-08 16:12:22 +01:00
|
|
|
width: 100%;
|
2013-08-13 12:52:26 +02:00
|
|
|
min-width: 950px;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0;
|
2013-08-13 12:52:26 +02:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2023-05-29 13:31:58 +02:00
|
|
|
body.has-overlay-scrollbar {
|
|
|
|
/* Move simplebar scrollbar to the left so that
|
|
|
|
browser scrollbar doesn't overlap with it. */
|
|
|
|
.column-right .simplebar-track.simplebar-vertical {
|
|
|
|
right: var(--browser-overlay-scrollbar-width);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-25 11:06:23 +02:00
|
|
|
/* Styles for popovers rendered as an overlay at the
|
|
|
|
center of the screen, primarily used in mobile sizes. */
|
|
|
|
#popover-overlay-background {
|
|
|
|
position: fixed;
|
|
|
|
inset: 0;
|
|
|
|
|
|
|
|
/* Needs to be higher than the 105 for div.overlay so that the
|
|
|
|
emoji picker can render on top of the user status picker. */
|
|
|
|
z-index: 106;
|
|
|
|
background-color: hsl(0deg 0% 0% / 70%);
|
|
|
|
}
|
|
|
|
|
2013-08-23 07:31:38 +02:00
|
|
|
.column-right {
|
2023-03-07 01:18:07 +01:00
|
|
|
width: var(--right-sidebar-width);
|
|
|
|
max-width: var(--right-sidebar-width);
|
2014-01-08 16:12:22 +01:00
|
|
|
position: absolute;
|
2021-04-30 20:11:03 +02:00
|
|
|
right: 0;
|
2020-08-06 02:42:07 +02:00
|
|
|
top: 0;
|
2022-10-14 19:52:42 +02:00
|
|
|
|
|
|
|
.spectator_login_buttons {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
position: absolute;
|
2023-10-21 13:57:36 +02:00
|
|
|
top: 8px;
|
|
|
|
/* gear menu + help menu width (40px * 2) */
|
|
|
|
right: 80px;
|
|
|
|
/* width of right column - width of gear icon - right margin of column-right (250px - 40px - 40px -7px) */
|
|
|
|
width: 163px;
|
2022-10-14 19:52:42 +02:00
|
|
|
|
2023-11-09 00:29:56 +01:00
|
|
|
@media (width < $xl_min) or (height < $short_navbar_cutoff_height) {
|
2023-11-26 21:29:46 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& a {
|
2022-10-14 19:52:42 +02:00
|
|
|
font-size: calc(16em / 14);
|
|
|
|
font-weight: 600;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 20%);
|
2022-10-14 19:52:42 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 0%);
|
2022-10-14 19:52:42 +02:00
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2022-10-14 19:52:42 +02:00
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.divider {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 88%);
|
2022-10-14 19:52:42 +02:00
|
|
|
font-size: 20px;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.spectator_narrow_login_button {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2023-07-17 17:26:24 +02:00
|
|
|
height: var(--header-height);
|
|
|
|
width: var(--header-height);
|
2023-03-20 22:08:47 +01:00
|
|
|
border-left: 1px solid hsl(0deg 0% 88%);
|
2022-10-14 19:52:42 +02:00
|
|
|
|
2023-11-09 00:29:56 +01:00
|
|
|
@media (width >= $xl_min) and (height >= 600px) {
|
2023-11-26 21:29:46 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-10-14 19:52:42 +02:00
|
|
|
.login_button {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 20%);
|
2022-10-14 19:52:42 +02:00
|
|
|
font-size: 1.6em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-08-13 12:52:26 +02:00
|
|
|
}
|
|
|
|
|
2021-04-30 20:11:03 +02:00
|
|
|
.column-left {
|
2023-03-07 01:18:07 +01:00
|
|
|
width: var(--left-sidebar-width);
|
|
|
|
max-width: var(--left-sidebar-width);
|
2014-01-08 16:12:22 +01:00
|
|
|
position: absolute;
|
2021-04-30 20:11:03 +02:00
|
|
|
left: 0;
|
2020-08-06 02:42:07 +02:00
|
|
|
top: 0;
|
2013-08-13 12:52:26 +02:00
|
|
|
}
|
|
|
|
|
2023-05-21 20:52:46 +02:00
|
|
|
#message_feed_container,
|
|
|
|
.column-left .left-sidebar,
|
|
|
|
.column-right .right-sidebar {
|
|
|
|
padding-top: calc(
|
|
|
|
var(--navbar-fixed-height) + var(--header-padding-bottom)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2020-05-16 12:54:44 +02:00
|
|
|
.app-main {
|
|
|
|
height: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
|
2020-05-16 12:56:11 +02:00
|
|
|
.column-left .left-sidebar,
|
|
|
|
.column-right .right-sidebar {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
2014-01-09 16:58:51 +01:00
|
|
|
|
2020-05-16 12:56:11 +02:00
|
|
|
.column-left .left-sidebar {
|
2023-03-07 01:18:07 +01:00
|
|
|
width: var(--left-sidebar-width);
|
|
|
|
padding-left: var(--left-sidebar-collapse-widget-gutter);
|
2020-05-16 12:56:11 +02:00
|
|
|
}
|
2013-08-13 12:52:26 +02:00
|
|
|
|
2020-05-16 12:56:11 +02:00
|
|
|
.column-right .right-sidebar {
|
|
|
|
padding-left: 10px;
|
|
|
|
width: 240px;
|
|
|
|
}
|
2013-08-13 12:52:26 +02:00
|
|
|
|
2020-05-16 12:56:11 +02:00
|
|
|
.column-middle {
|
|
|
|
min-height: 100%;
|
2022-12-19 09:16:05 +01:00
|
|
|
/* We need `overflow-y: visible` for sticky headers to work. */
|
2020-05-16 12:56:11 +02:00
|
|
|
}
|
2014-01-31 21:36:31 +01:00
|
|
|
}
|
|
|
|
|
2021-04-30 20:11:03 +02:00
|
|
|
.column-middle,
|
2021-06-10 16:52:29 +02:00
|
|
|
#compose-content {
|
2023-03-07 01:18:07 +01:00
|
|
|
margin-right: var(--right-sidebar-width);
|
2022-09-13 13:15:57 +02:00
|
|
|
margin-left: calc(
|
2023-03-07 01:18:07 +01:00
|
|
|
var(--left-sidebar-width) + var(--left-sidebar-collapse-widget-gutter)
|
2022-09-13 13:15:57 +02:00
|
|
|
);
|
2014-01-09 16:58:51 +01:00
|
|
|
position: relative;
|
2013-08-13 12:52:26 +02:00
|
|
|
}
|
|
|
|
|
2013-08-23 07:31:38 +02:00
|
|
|
textarea,
|
|
|
|
input {
|
2023-03-27 12:47:59 +02:00
|
|
|
font-family: "Source Sans 3 VF", sans-serif;
|
2012-10-24 23:16:43 +02:00
|
|
|
}
|
|
|
|
|
2013-02-13 23:23:26 +01:00
|
|
|
/* Override Bootstrap's fixed sizes for various elements */
|
2013-08-23 07:31:38 +02:00
|
|
|
textarea,
|
|
|
|
label {
|
2017-03-14 16:36:22 +01:00
|
|
|
font-size: inherit;
|
2013-02-13 23:23:26 +01:00
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
|
2020-07-15 11:12:05 +02:00
|
|
|
/* Bootstrap's focus outline uses -webkit-focus-ring-color which doesn't exist in Firefox */
|
2021-07-13 08:15:05 +02:00
|
|
|
a:not(:active):focus,
|
|
|
|
button:focus,
|
|
|
|
.new-style label.checkbox input[type="checkbox"]:focus ~ span,
|
|
|
|
i.fa:focus,
|
2023-07-19 19:08:38 +02:00
|
|
|
i.zulip-icon:focus-visible,
|
2022-03-08 07:22:44 +01:00
|
|
|
[role="button"]:focus {
|
2023-09-12 13:01:36 +02:00
|
|
|
outline: 2px solid var(--color-outline-focus);
|
2020-09-15 22:23:01 +02:00
|
|
|
/* TODO: change solid to auto once the Chromium bug #1105822 is fixed */
|
2020-07-15 11:12:05 +02:00
|
|
|
}
|
|
|
|
|
2013-02-13 23:23:26 +01:00
|
|
|
/* List of text-like input types taken from Bootstrap */
|
2020-05-16 12:58:43 +02:00
|
|
|
input {
|
|
|
|
&[type="text"],
|
|
|
|
&[type="password"],
|
|
|
|
&[type="datetime"],
|
|
|
|
&[type="datetime-local"],
|
|
|
|
&[type="date"],
|
|
|
|
&[type="month"],
|
|
|
|
&[type="time"],
|
|
|
|
&[type="week"],
|
|
|
|
&[type="number"],
|
|
|
|
&[type="email"],
|
|
|
|
&[type="url"],
|
|
|
|
&[type="search"],
|
|
|
|
&[type="tel"],
|
|
|
|
&[type="color"] {
|
|
|
|
font-size: inherit;
|
|
|
|
height: 1.4em;
|
|
|
|
}
|
2013-02-13 23:23:26 +01:00
|
|
|
}
|
|
|
|
|
2013-08-23 07:31:38 +02:00
|
|
|
li,
|
|
|
|
.table th,
|
|
|
|
.table td {
|
2013-02-13 23:23:26 +01:00
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
2017-03-14 16:36:22 +01:00
|
|
|
font-size: inherit;
|
|
|
|
height: auto;
|
2013-05-07 19:32:12 +02:00
|
|
|
line-height: 100%;
|
2013-02-13 23:23:26 +01:00
|
|
|
}
|
|
|
|
|
2020-08-27 16:41:30 +02:00
|
|
|
/* Classes which style copy buttons */
|
|
|
|
.copy_button_base {
|
2023-03-20 22:08:47 +01:00
|
|
|
outline-color: hsl(0deg 0% 73%);
|
2020-08-27 16:41:30 +02:00
|
|
|
height: 18px;
|
|
|
|
width: 10px;
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 6px;
|
2020-08-27 16:41:30 +02:00
|
|
|
display: block;
|
|
|
|
/* The below two avoids the padded element from displaying
|
2022-02-08 00:13:33 +01:00
|
|
|
its own border and background color */
|
2020-08-27 16:41:30 +02:00
|
|
|
border: none;
|
|
|
|
background-clip: content-box;
|
2020-08-28 04:13:23 +02:00
|
|
|
/* The z-index here ensures that the copy-message
|
|
|
|
icon is clickable and is needed because of reduced
|
|
|
|
opacity of readonly textarea */
|
|
|
|
z-index: 2;
|
2020-08-27 16:41:30 +02:00
|
|
|
|
|
|
|
&:hover svg path {
|
2023-10-22 14:23:15 +02:00
|
|
|
fill: var(--color-fill-hover-copy-icon);
|
2020-08-27 16:41:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-28 04:13:23 +02:00
|
|
|
.copy_message {
|
2023-03-18 11:20:58 +01:00
|
|
|
float: right;
|
2017-01-17 20:51:30 +01:00
|
|
|
position: relative;
|
2023-03-18 11:20:58 +01:00
|
|
|
cursor: pointer;
|
|
|
|
top: 30px;
|
|
|
|
/* To make sure the svg doesn't occupy any vertical space. */
|
|
|
|
margin-top: -30px;
|
|
|
|
right: 2px;
|
|
|
|
padding-top: 2px;
|
|
|
|
|
|
|
|
#clipboard_image {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2017-01-17 20:51:30 +01:00
|
|
|
}
|
|
|
|
|
2020-10-13 18:17:20 +02:00
|
|
|
#copy_generated_invite_link {
|
|
|
|
position: relative;
|
|
|
|
margin-right: -32px;
|
|
|
|
margin-top: -1px;
|
2021-09-28 21:57:50 +02:00
|
|
|
padding: 6px 3px 6px 13px;
|
2023-06-16 18:54:31 +02:00
|
|
|
float: right;
|
2021-01-25 03:33:29 +01:00
|
|
|
|
|
|
|
/* This property nullifies the box-shadow rendered by .btn class */
|
|
|
|
&:active {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2023-10-22 14:23:15 +02:00
|
|
|
|
|
|
|
& path {
|
|
|
|
fill: var(--color-fill-user-invite-copy-icon);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover svg path {
|
|
|
|
fill: var(--color-fill-hover-copy-icon);
|
|
|
|
}
|
2020-10-13 18:17:20 +02:00
|
|
|
}
|
|
|
|
|
2017-03-26 12:15:50 +02:00
|
|
|
#clipboard_image {
|
2017-04-06 15:57:50 +02:00
|
|
|
margin-top: -5px;
|
|
|
|
margin-left: -8px;
|
|
|
|
}
|
|
|
|
|
2013-04-24 00:40:47 +02:00
|
|
|
/* Classes for hiding and showing controls */
|
|
|
|
|
|
|
|
.notdisplayed {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notvisible {
|
|
|
|
visibility: hidden !important;
|
2020-08-06 02:42:07 +02:00
|
|
|
width: 0 !important;
|
|
|
|
min-width: 0 !important;
|
|
|
|
min-height: 0 !important;
|
|
|
|
height: 0 !important;
|
2013-04-25 23:08:05 +02:00
|
|
|
overflow: hidden !important;
|
|
|
|
position: absolute !important;
|
2013-04-24 00:40:47 +02:00
|
|
|
}
|
2013-02-13 23:23:26 +01:00
|
|
|
|
2013-05-21 17:47:44 +02:00
|
|
|
/* Lighter strong */
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2012-11-29 18:38:18 +01:00
|
|
|
.preserve_spaces {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2017-09-26 19:52:18 +02:00
|
|
|
.sp-input {
|
|
|
|
width: calc(100% - 14px);
|
|
|
|
box-sizing: initial !important;
|
|
|
|
}
|
|
|
|
|
2012-11-02 22:19:12 +01:00
|
|
|
.logout {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2012-10-12 05:10:48 +02:00
|
|
|
|
2020-05-16 13:09:26 +02:00
|
|
|
.tooltip {
|
|
|
|
&.in {
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 1.3;
|
2017-09-16 01:51:59 +02:00
|
|
|
|
2020-05-16 13:09:26 +02:00
|
|
|
opacity: 1;
|
2017-09-16 01:51:59 +02:00
|
|
|
|
2020-05-16 13:09:26 +02:00
|
|
|
&.left {
|
|
|
|
margin-left: -12px;
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
}
|
2017-09-16 01:51:59 +02:00
|
|
|
|
2020-05-16 13:09:26 +02:00
|
|
|
.tooltip-inner {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 7% / 80%);
|
2020-05-16 13:09:26 +02:00
|
|
|
padding: 3px 5px;
|
|
|
|
}
|
2020-12-17 13:20:39 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
Since hover and click are activated together on touchscreen
|
|
|
|
devices, the hover state persists until the next click, creating
|
|
|
|
awkward UI where the tooltip sticks around forever :(.
|
|
|
|
|
|
|
|
To resolve this, we just hide the tooltip for touch-events on
|
|
|
|
touch-enabled devices resolving the above problem. This means
|
|
|
|
that tooltips will never appear on touchscreen devices, but that's
|
2021-12-28 18:36:59 +01:00
|
|
|
probably a reasonable tradeoff here.
|
2020-12-17 13:20:39 +01:00
|
|
|
|
|
|
|
Source: https://drafts.csswg.org/mediaqueries-4/#mf-interaction
|
|
|
|
*/
|
|
|
|
|
|
|
|
@media (hover: none) {
|
|
|
|
visibility: hidden !important;
|
|
|
|
}
|
2017-09-16 01:51:59 +02:00
|
|
|
}
|
|
|
|
|
2019-08-04 14:57:32 +02:00
|
|
|
.buddy_list_tooltip_content {
|
|
|
|
text-align: left;
|
2022-02-16 21:59:38 +01:00
|
|
|
word-wrap: break-word;
|
2023-11-04 19:15:09 +01:00
|
|
|
max-width: 280px;
|
2019-08-04 14:57:32 +02:00
|
|
|
}
|
|
|
|
|
2023-07-25 17:21:20 +02:00
|
|
|
#change_visibility_policy_button_tooltip {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2013-08-12 23:05:20 +02:00
|
|
|
.narrow-filter {
|
|
|
|
display: block;
|
2013-06-12 21:25:49 +02:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2020-09-15 22:23:01 +02:00
|
|
|
/* .dropdown-menu from v2.3.2
|
|
|
|
+ https://github.com/zulip/zulip/commit/7a3a3be7e547d3e8f0ed00820835104867f2433d
|
|
|
|
basic idea of this fix is to remove decorations from :hover and apply them only
|
|
|
|
on :focus. */
|
2020-08-14 16:04:42 +02:00
|
|
|
.typeahead-menu {
|
2023-03-17 22:10:10 +01:00
|
|
|
& li {
|
|
|
|
& a {
|
2020-08-14 16:04:42 +02:00
|
|
|
display: block;
|
|
|
|
padding: 3px 20px;
|
|
|
|
clear: both;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 20px;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 20%);
|
2020-08-14 16:04:42 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 100%);
|
2020-08-14 16:04:42 +02:00
|
|
|
text-decoration: none;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(200deg 100% 38%);
|
2020-08-14 16:04:42 +02:00
|
|
|
background-image: linear-gradient(
|
|
|
|
to bottom,
|
2023-03-20 22:08:47 +01:00
|
|
|
hsl(200deg 100% 40%),
|
|
|
|
hsl(200deg 100% 35%)
|
2020-08-14 16:04:42 +02:00
|
|
|
);
|
|
|
|
}
|
2021-12-06 23:44:26 +01:00
|
|
|
|
2021-02-26 09:24:04 +01:00
|
|
|
/* styles defined for user_circle here only deal with positioning of user_presence_circle
|
2021-12-28 18:36:59 +01:00
|
|
|
in typeahead list in order to ensure they are rendered correctly in in all screen sizes.
|
2021-02-26 09:24:04 +01:00
|
|
|
Most of the style rules related to color, gradient etc. which are generally common throughout
|
|
|
|
the app are defined in user_circles.css and are not overridden here. */
|
|
|
|
.user_circle {
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
margin: 0 5px 0 -6px;
|
|
|
|
position: relative;
|
|
|
|
top: 6px;
|
2021-03-10 22:06:39 +01:00
|
|
|
right: 8px;
|
2021-02-26 09:24:04 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2020-08-14 16:04:42 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.active > a {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 100%);
|
2020-08-14 16:04:42 +02:00
|
|
|
text-decoration: none;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(200deg 100% 38%);
|
2020-08-14 16:04:42 +02:00
|
|
|
background-image: linear-gradient(
|
|
|
|
to bottom,
|
2023-03-20 22:08:47 +01:00
|
|
|
hsl(200deg 100% 40%),
|
|
|
|
hsl(200deg 100% 35%)
|
2020-08-14 16:04:42 +02:00
|
|
|
);
|
|
|
|
outline: 0;
|
2021-02-26 09:24:04 +01:00
|
|
|
|
|
|
|
.user_circle_empty {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(0deg 0% 25%);
|
2021-02-26 09:24:04 +01:00
|
|
|
}
|
2020-08-14 16:04:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.active > a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-25 13:34:02 +02:00
|
|
|
/* Copied from bootstrap 2.1.1 CSS for dropdown-menu li > a:focus */
|
|
|
|
li.actual-dropdown-menu > a:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 100%);
|
2020-08-25 13:34:02 +02:00
|
|
|
text-decoration: none;
|
2022-03-02 07:02:28 +01:00
|
|
|
background-color: transparent;
|
2020-08-25 13:34:02 +02:00
|
|
|
background-image: none;
|
|
|
|
filter: none;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2013-08-16 21:08:43 +02:00
|
|
|
li.actual-dropdown-menu i {
|
|
|
|
/* In gear menu, make icons the same width so labels line up. */
|
|
|
|
display: inline-block;
|
|
|
|
width: 14px;
|
2017-02-01 03:04:10 +01:00
|
|
|
text-align: center;
|
2017-02-01 03:09:43 +01:00
|
|
|
margin-right: 3px;
|
2013-02-12 20:41:01 +01:00
|
|
|
}
|
|
|
|
|
2012-09-10 21:14:01 +02:00
|
|
|
td.pointer {
|
|
|
|
vertical-align: top;
|
2012-09-10 21:16:17 +02:00
|
|
|
padding-top: 10px;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2012-10-02 20:47:01 +02:00
|
|
|
}
|
|
|
|
|
2013-05-31 19:07:59 +02:00
|
|
|
.new_messages {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(194deg 53% 79%);
|
2013-05-31 19:07:59 +02:00
|
|
|
}
|
|
|
|
|
2013-08-23 07:31:38 +02:00
|
|
|
.new_messages,
|
|
|
|
.new_messages_fadeout {
|
2019-04-14 15:21:40 +02:00
|
|
|
transition: all 3s ease-in-out;
|
2013-05-16 23:40:07 +02:00
|
|
|
}
|
|
|
|
|
2020-05-16 13:55:40 +02:00
|
|
|
.sender-status {
|
|
|
|
display: inline-block;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 8px 0 8px -3px;
|
2020-05-16 13:55:40 +02:00
|
|
|
/* this normalizes the margin of the emoji reactions with normal messages. */
|
|
|
|
padding-bottom: 5px;
|
|
|
|
vertical-align: middle;
|
2021-06-11 23:01:11 +02:00
|
|
|
|
2020-05-16 13:55:40 +02:00
|
|
|
position: relative;
|
|
|
|
max-width: calc(100% - 50px);
|
|
|
|
|
2020-05-16 13:56:31 +02:00
|
|
|
.message_edit_notice {
|
2022-10-06 08:57:05 +02:00
|
|
|
vertical-align: middle;
|
2020-05-16 13:56:31 +02:00
|
|
|
}
|
2022-10-06 09:10:57 +02:00
|
|
|
|
|
|
|
&.sender-status-edit {
|
|
|
|
/* Hackery to place the textarea for the message edit form nicely
|
|
|
|
for /me messages. */
|
|
|
|
|
|
|
|
vertical-align: top;
|
|
|
|
line-height: 0;
|
2023-05-01 18:01:26 +02:00
|
|
|
margin-top: 4px !important;
|
2022-10-06 09:10:57 +02:00
|
|
|
|
|
|
|
.message_edit_notice {
|
|
|
|
line-height: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-06-01 19:57:04 +02:00
|
|
|
}
|
|
|
|
|
2014-01-31 21:36:31 +01:00
|
|
|
.message_edit_notice {
|
|
|
|
font-size: 10px;
|
2017-11-30 22:35:07 +01:00
|
|
|
opacity: 0.5;
|
2019-08-27 01:23:48 +02:00
|
|
|
user-select: none;
|
2021-09-16 21:53:09 +02:00
|
|
|
white-space: nowrap;
|
2022-12-25 05:58:13 +01:00
|
|
|
overflow-x: hidden;
|
2021-09-16 21:53:09 +02:00
|
|
|
overflow-x: clip;
|
2014-01-31 21:36:31 +01:00
|
|
|
}
|
|
|
|
|
2022-08-04 14:19:26 +02:00
|
|
|
.messagebox-content .message_time {
|
2014-03-10 16:11:34 +01:00
|
|
|
display: block;
|
2023-08-09 19:32:38 +02:00
|
|
|
font-size: 13px;
|
2023-08-24 17:39:00 +02:00
|
|
|
font-weight: 350;
|
2022-08-04 15:35:52 +02:00
|
|
|
text-align: right;
|
2023-05-17 01:52:19 +02:00
|
|
|
opacity: 0.8;
|
2023-05-13 08:30:13 +02:00
|
|
|
color: var(--color-text-default);
|
2022-08-04 15:35:52 +02:00
|
|
|
letter-spacing: 0.02em;
|
2022-08-04 14:19:26 +02:00
|
|
|
/* Disable blue link styling for the message timestamp link. */
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
2023-07-24 21:31:13 +02:00
|
|
|
color: var(--color-message-action-interactive);
|
2022-08-04 14:19:26 +02:00
|
|
|
}
|
2014-02-07 00:50:23 +01:00
|
|
|
}
|
|
|
|
|
2023-03-17 19:54:09 +01:00
|
|
|
.messagebox-content .slow-send-spinner {
|
|
|
|
display: block;
|
|
|
|
font-size: 12px;
|
|
|
|
text-align: right;
|
2023-05-17 01:52:19 +02:00
|
|
|
opacity: 0.8;
|
2023-05-13 08:30:13 +02:00
|
|
|
color: var(--color-text-default);
|
2023-03-17 19:54:09 +01:00
|
|
|
animation: rotate 1s infinite linear;
|
|
|
|
}
|
|
|
|
|
2014-03-10 16:11:34 +01:00
|
|
|
.status-time {
|
|
|
|
top: 8px !important;
|
2014-01-31 23:52:18 +01:00
|
|
|
}
|
|
|
|
|
2013-05-21 17:47:44 +02:00
|
|
|
.message_controls {
|
2023-07-17 22:43:21 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
2023-07-17 22:35:29 +02:00
|
|
|
font-size: 16px;
|
2020-09-15 22:23:01 +02:00
|
|
|
/* This is a bit tricky; we need to reserve space for the message
|
|
|
|
controls even when the message isn't hovered, so that hover
|
|
|
|
doesn't disturb the layout. Usually that would be just
|
|
|
|
visibility: hidden, but that cannot be animated, so we set
|
|
|
|
opacity as well, which can be animated. */
|
2021-04-14 09:24:35 +02:00
|
|
|
.message_control_button {
|
2019-03-19 21:17:48 +01:00
|
|
|
opacity: 0;
|
message_controls: Prevent clicks via visibility & not pointer-events.
Previously, the message controls had a bug where they would trigger on
mobile with a single tap over the area they occupy when visible. This
is wrong because a user would expect to first see the controls and
only trigger them once they are visible (with a second tap).
The above bug is caused by the fact that we were using "opacity: 0" on
".message_controls > div" to hide the controls and "opacity: 1" on
".messagebox &:hover .message_controls > div" to show the controls on
hover, however, this would not effect the click action because
"opacity". So we used "pointer-events: none;" and "pointer-events:
all;" with the hopes that it would prevented the above bug, but in
practice, it didn't.
(the most probable explanation being that tapping the message_control
area would cause the "&:hover" rule to trigger and change the
"pointer-event" to "all" before it could prevent the click trigger,
But that explanation is just conjecture.)
This commit replaces both "pointer-events" attributes with
"visibility: hidden" and "visibility: visible" respectively. The
result being that the message_controls behave identically to before,
except without the above bug.
The addition to the ".has_actions_popover .info" selector is important
because without it, we would regress on issue #3172.
Trivia:
An alternate approach to using "opacity" is to set the
"display" attribute to "none", however, using "display" prevents the
transition from animating (which is probably why we were using opacity
here in the first place). "visibility" does not prevent the transition
from animating.
History: The "pointer-events" attribute was introduced in
4d5aa3ddc9e603d2216738f3dffa59ec09ffd830 and it replaced prior code
which relied on the "visibility" attribute... But it seems PR #3792
was mostly focused on improving the positioning through removal of
`display: none`, but introduced opacity to make the animations work
rather than visibility as the replacement solution, which requires the
pointer-events hack and resulted in the bug described here.
Fixes the second bug described in #13642.
2020-06-20 11:11:58 +02:00
|
|
|
visibility: hidden;
|
2019-03-19 21:17:48 +01:00
|
|
|
transition: all 0.2s ease;
|
2023-07-17 22:43:21 +02:00
|
|
|
width: var(--message-box-icon-width);
|
|
|
|
height: var(--message-box-icon-height);
|
2020-07-04 02:13:10 +02:00
|
|
|
text-align: center;
|
2023-07-17 22:35:29 +02:00
|
|
|
color: var(--color-message-action-visible);
|
2020-07-04 02:13:10 +02:00
|
|
|
|
2023-08-25 12:19:43 +02:00
|
|
|
& i {
|
2020-07-04 02:13:10 +02:00
|
|
|
vertical-align: middle;
|
2023-07-19 19:08:38 +02:00
|
|
|
/* TODO: Math for these values, possibly with variables.
|
|
|
|
In short, the icon body is 16px square; the current
|
|
|
|
area for the icon is 26px wide by 25px tall, so these
|
|
|
|
values ensure a 26px x 25px clickable area for the icon. */
|
|
|
|
padding: 2.5px 3px;
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
transform: scale(0.92);
|
|
|
|
transform-origin: center;
|
|
|
|
outline: 0;
|
|
|
|
transition: unset;
|
|
|
|
}
|
2023-07-17 22:35:29 +02:00
|
|
|
|
2023-08-17 21:30:41 +02:00
|
|
|
&:focus {
|
|
|
|
/* Remove the outline but do not color on focus;
|
|
|
|
focus-visible is more appropriate for the color
|
|
|
|
changes, as it only applies color when focus
|
|
|
|
is achieved from a keyboard or other pointerless
|
|
|
|
device. */
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-19 19:08:38 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus-visible {
|
|
|
|
outline: 0;
|
|
|
|
color: var(--color-message-action-interactive);
|
|
|
|
}
|
2023-08-17 21:34:27 +02:00
|
|
|
|
|
|
|
/* Separate hover colors for stars */
|
|
|
|
&.star:hover,
|
|
|
|
&.star:focus-visible {
|
|
|
|
color: var(--color-message-star-action);
|
|
|
|
}
|
2023-07-17 22:35:29 +02:00
|
|
|
}
|
2023-07-26 17:49:15 +02:00
|
|
|
|
|
|
|
.zulip-icon-more-vertical {
|
|
|
|
/* Increase visual prominence of the vdots. */
|
|
|
|
font-size: 21px;
|
|
|
|
}
|
2019-03-19 21:17:48 +01:00
|
|
|
}
|
2017-02-23 23:33:57 +01:00
|
|
|
|
2021-04-10 19:20:51 +02:00
|
|
|
/* Tooltips should not follow the width restrictions of their parent element. */
|
|
|
|
[data-tippy-root] {
|
|
|
|
width: max-content;
|
|
|
|
word-wrap: unset;
|
|
|
|
}
|
|
|
|
|
2021-06-16 21:15:47 +02:00
|
|
|
> .view_read_receipts {
|
|
|
|
font-size: 14px;
|
|
|
|
height: 16px;
|
|
|
|
|
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(200deg 100% 40%);
|
2021-06-16 21:15:47 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-12 00:00:45 +02:00
|
|
|
.edit_content {
|
2023-07-17 22:43:21 +02:00
|
|
|
/* Icons for editing content are determined on message hover;
|
|
|
|
we set an empty `.edit_content` to have 0 height in order to
|
|
|
|
preserve the layout of the other icons prior to any hovering. */
|
|
|
|
&:empty {
|
|
|
|
height: 0;
|
|
|
|
}
|
2021-06-12 00:00:45 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-19 21:17:48 +01:00
|
|
|
&.sender-status-controls {
|
2022-10-06 08:21:37 +02:00
|
|
|
top: 8px;
|
2019-03-19 21:17:48 +01:00
|
|
|
}
|
2019-03-19 21:19:47 +01:00
|
|
|
|
|
|
|
.message_failed {
|
2019-03-19 21:25:44 +01:00
|
|
|
display: inline-flex;
|
|
|
|
justify-content: space-between;
|
2019-03-19 21:19:47 +01:00
|
|
|
cursor: pointer;
|
|
|
|
position: relative;
|
2021-03-19 00:11:44 +01:00
|
|
|
vertical-align: middle;
|
2022-12-09 10:13:09 +01:00
|
|
|
padding-left: 2px;
|
2019-03-19 21:19:47 +01:00
|
|
|
|
2023-01-19 08:34:22 +01:00
|
|
|
&.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-03-19 21:19:47 +01:00
|
|
|
.rotating {
|
|
|
|
display: inline-block;
|
2023-01-19 19:40:27 +01:00
|
|
|
outline: none;
|
2019-03-19 21:19:47 +01:00
|
|
|
|
|
|
|
animation: rotate 1s infinite linear;
|
|
|
|
}
|
2021-07-17 15:00:38 +02:00
|
|
|
|
|
|
|
.failed_message_action {
|
|
|
|
opacity: 1 !important;
|
2023-05-13 10:50:52 +02:00
|
|
|
color: var(--color-failed-message-send-icon);
|
2021-07-17 15:00:38 +02:00
|
|
|
font-weight: bold;
|
2022-12-09 10:13:09 +01:00
|
|
|
padding: 1px;
|
2021-07-17 15:00:38 +02:00
|
|
|
}
|
2021-12-12 14:32:32 +01:00
|
|
|
|
|
|
|
.message_control_button {
|
|
|
|
visibility: inherit;
|
|
|
|
}
|
2019-03-19 21:19:47 +01:00
|
|
|
}
|
2020-07-03 17:49:19 +02:00
|
|
|
|
|
|
|
.star_container {
|
|
|
|
&:not(.empty-star) {
|
2023-07-17 22:35:29 +02:00
|
|
|
/* Color, opacity, and visibility, as though the message is hovered. */
|
2023-08-17 21:34:27 +02:00
|
|
|
color: var(--color-message-star-action);
|
2023-07-17 22:35:29 +02:00
|
|
|
opacity: 1;
|
2020-07-03 17:49:19 +02:00
|
|
|
visibility: visible !important;
|
|
|
|
}
|
|
|
|
}
|
2017-02-23 23:33:57 +01:00
|
|
|
}
|
|
|
|
|
2019-03-19 21:17:48 +01:00
|
|
|
.star {
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2017-02-23 23:33:57 +01:00
|
|
|
}
|
|
|
|
|
2012-10-17 22:03:00 +02:00
|
|
|
.message_header {
|
2012-09-27 21:34:15 +02:00
|
|
|
vertical-align: middle;
|
2017-03-14 16:36:22 +01:00
|
|
|
text-align: left;
|
2013-02-13 23:23:26 +01:00
|
|
|
/* We can overflow-y if the font size gets big */
|
2017-03-14 16:36:22 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
font-weight: 600;
|
2023-04-08 02:48:02 +02:00
|
|
|
font-size: calc(15em / 14);
|
|
|
|
line-height: 120%;
|
2014-02-21 19:40:13 +01:00
|
|
|
position: relative;
|
|
|
|
z-index: 0;
|
2023-04-08 02:48:02 +02:00
|
|
|
background-color: var(--color-background);
|
|
|
|
|
|
|
|
.message-header-contents {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
height: 28px;
|
2023-03-24 00:09:48 +01:00
|
|
|
border: 1px solid var(--color-message-header-contents-border);
|
2023-05-15 07:17:56 +02:00
|
|
|
border-bottom-color: var(--color-message-header-contents-border-bottom);
|
2023-04-08 02:48:02 +02:00
|
|
|
border-radius: 7px 7px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.message_header_stream {
|
|
|
|
/* Add box shadow to hide message border (first one) and message
|
|
|
|
selected box shadow (second one) that are visible
|
|
|
|
due to top borders of sticky recipient bar being curved. */
|
2023-07-21 23:08:07 +02:00
|
|
|
box-shadow:
|
|
|
|
-1px -5px 0 5px var(--color-background),
|
2023-04-08 02:48:02 +02:00
|
|
|
1px -5px 0 0 var(--color-background);
|
|
|
|
|
|
|
|
& a.message_label_clickable {
|
|
|
|
color: var(--color-text-message-header);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-text-message-header) !important;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.stream_topic_separator {
|
|
|
|
line-height: 0;
|
|
|
|
color: var(--color-message-header-icon-non-interactive);
|
|
|
|
position: relative;
|
|
|
|
top: 0.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stream_topic {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 5px 6px 5px 2px;
|
|
|
|
height: 17px;
|
|
|
|
line-height: 17px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
.message_label_clickable.narrows_by_topic {
|
|
|
|
position: relative;
|
|
|
|
top: 0.5px;
|
2023-05-02 17:44:22 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2023-04-08 02:48:02 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-08 02:49:01 +02:00
|
|
|
.stream-privacy i {
|
|
|
|
font-size: 15px;
|
|
|
|
|
|
|
|
&.zulip-icon-globe,
|
|
|
|
&.zulip-icon-hashtag {
|
|
|
|
position: relative;
|
|
|
|
top: -0.5px;
|
|
|
|
}
|
|
|
|
}
|
2023-04-08 02:48:02 +02:00
|
|
|
}
|
2013-12-09 20:15:33 +01:00
|
|
|
}
|
|
|
|
|
2023-08-14 20:32:53 +02:00
|
|
|
.message-feed {
|
2020-05-16 14:31:55 +02:00
|
|
|
.recipient_row {
|
2023-04-28 18:07:06 +02:00
|
|
|
/* Browser overlaps extra top padding of message header and
|
|
|
|
the bottom border message if this margin is not present. */
|
|
|
|
margin-bottom: 1px;
|
2023-04-08 02:48:02 +02:00
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
.message_row:last-of-type {
|
|
|
|
border-radius: 0 0 7px 7px;
|
|
|
|
border-bottom: 1px solid var(--color-message-list-border);
|
|
|
|
|
|
|
|
.unread-marker-fill {
|
|
|
|
border-radius: 0 0 0 7px;
|
|
|
|
height: calc(100% - 2px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.messagebox {
|
|
|
|
border-radius: 0 0 7px 7px;
|
2023-05-23 04:37:50 +02:00
|
|
|
padding-bottom: 4px;
|
2023-04-08 02:48:02 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.message_header + .message_row {
|
|
|
|
.messagebox {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
2020-05-16 14:31:55 +02:00
|
|
|
}
|
2020-05-16 14:30:24 +02:00
|
|
|
|
2022-12-19 09:16:05 +01:00
|
|
|
.message_header {
|
|
|
|
position: sticky;
|
2023-05-21 20:52:46 +02:00
|
|
|
top: var(--navbar-fixed-height);
|
2023-05-01 17:47:04 +02:00
|
|
|
/* Needs to be higher than the z-index of date_row. */
|
|
|
|
z-index: 4;
|
2023-04-08 02:48:02 +02:00
|
|
|
box-shadow: 0 -1px 0 0 var(--color-background);
|
|
|
|
|
2023-05-17 07:11:09 +02:00
|
|
|
.message-header-contents {
|
|
|
|
margin-top: var(--header-padding-bottom);
|
|
|
|
}
|
|
|
|
|
2023-04-08 02:48:02 +02:00
|
|
|
&.sticky_header {
|
2023-05-12 10:56:55 +02:00
|
|
|
box-shadow: var(--unread-marker-left) 0 0 0 var(--color-background);
|
|
|
|
|
2023-04-08 02:48:02 +02:00
|
|
|
.recipient_row_date {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2020-05-16 15:58:09 +02:00
|
|
|
}
|
2020-05-16 15:56:28 +02:00
|
|
|
}
|
|
|
|
|
2014-01-15 17:11:37 +01:00
|
|
|
.stream_label {
|
2023-04-08 02:48:02 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 5px;
|
|
|
|
padding: 5px 2px 5px 10px;
|
2014-01-17 16:11:18 +01:00
|
|
|
height: 17px;
|
|
|
|
line-height: 17px;
|
2014-01-15 17:11:37 +01:00
|
|
|
position: relative;
|
2023-04-08 02:48:02 +02:00
|
|
|
top: 0.5px;
|
2014-01-15 17:11:37 +01:00
|
|
|
text-decoration: none;
|
2023-04-08 02:48:02 +02:00
|
|
|
font-weight: 600;
|
|
|
|
overflow: hidden;
|
2014-01-17 16:11:18 +01:00
|
|
|
|
2021-11-19 18:56:24 +01:00
|
|
|
.recipient-row-stream-icon {
|
2020-05-16 16:00:24 +02:00
|
|
|
font-size: 12px;
|
2022-03-01 11:25:40 +01:00
|
|
|
line-height: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.zulip-icon.zulip-icon-globe {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
2020-05-16 16:00:24 +02:00
|
|
|
}
|
2014-01-15 17:11:37 +01:00
|
|
|
|
2020-05-16 16:00:24 +02:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-02-16 01:47:38 +01:00
|
|
|
|
2023-04-08 02:49:01 +02:00
|
|
|
.stream-privacy {
|
|
|
|
min-width: unset;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2018-02-16 01:47:38 +01:00
|
|
|
|
2023-04-08 02:49:01 +02:00
|
|
|
.hashtag {
|
|
|
|
padding-right: 0;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-01-17 16:11:18 +01:00
|
|
|
}
|
|
|
|
|
2020-07-06 15:56:45 +02:00
|
|
|
.recipient_bar_controls {
|
2022-04-21 17:31:34 +02:00
|
|
|
display: flex;
|
2020-07-06 15:56:45 +02:00
|
|
|
flex-grow: 1;
|
2022-04-21 17:31:34 +02:00
|
|
|
align-items: center;
|
2023-07-25 17:21:20 +02:00
|
|
|
|
2023-11-17 16:26:05 +01:00
|
|
|
.external-topic-link {
|
|
|
|
/* Vertically center the external link
|
|
|
|
icon inside its containing anchor. */
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2023-07-25 17:21:20 +02:00
|
|
|
.change_visibility_policy {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
i {
|
2023-08-22 16:55:39 +02:00
|
|
|
display: block;
|
2023-07-25 17:21:20 +02:00
|
|
|
}
|
|
|
|
}
|
2020-07-06 15:56:45 +02:00
|
|
|
}
|
2016-08-18 22:18:33 +02:00
|
|
|
|
2020-07-06 15:56:45 +02:00
|
|
|
.recipient_row_date {
|
2022-08-04 15:35:52 +02:00
|
|
|
color: var(--color-date);
|
|
|
|
font-size: calc(12em / 14);
|
|
|
|
padding: 0 10px;
|
|
|
|
text-align: right;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-style: normal;
|
2016-08-18 22:18:33 +02:00
|
|
|
font-weight: 600;
|
2022-08-04 15:35:52 +02:00
|
|
|
line-height: 17px; /* identical to box height, or 131% */
|
|
|
|
letter-spacing: 0.04em;
|
|
|
|
text-transform: uppercase;
|
2023-04-08 02:48:02 +02:00
|
|
|
padding-top: 1px;
|
2016-08-18 22:18:33 +02:00
|
|
|
|
2023-03-21 20:20:33 +01:00
|
|
|
/* Display the date when unchanged only for sticky headers. */
|
|
|
|
&.recipient_row_date_unchanged {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
.sticky_header & {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-28 19:53:32 +01:00
|
|
|
&.hide-date-separator-header {
|
2020-05-16 16:01:27 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2016-08-18 22:18:33 +02:00
|
|
|
}
|
|
|
|
|
2020-04-01 20:00:43 +02:00
|
|
|
.recipient_bar_icon {
|
2023-04-08 02:48:02 +02:00
|
|
|
color: var(--color-message-header-icon-interactive);
|
|
|
|
opacity: 0.2;
|
|
|
|
padding-left: 6px;
|
|
|
|
padding-right: 6px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.4 !important;
|
2023-08-23 21:12:17 +02:00
|
|
|
cursor: pointer;
|
2023-04-08 02:48:02 +02:00
|
|
|
}
|
2020-04-01 20:00:43 +02:00
|
|
|
}
|
|
|
|
|
2013-07-17 22:53:07 +02:00
|
|
|
.copy-paste-text {
|
|
|
|
/* Hide the text that we want copy paste to capture */
|
|
|
|
position: absolute;
|
|
|
|
text-indent: -99999px;
|
|
|
|
float: left;
|
2020-08-06 02:42:07 +02:00
|
|
|
width: 0;
|
2013-07-17 22:53:07 +02:00
|
|
|
}
|
|
|
|
|
2014-01-03 20:39:12 +01:00
|
|
|
@keyframes rotate {
|
2017-03-18 23:49:11 +01:00
|
|
|
from {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
2017-11-13 17:26:11 +01:00
|
|
|
|
2017-03-18 23:49:11 +01:00
|
|
|
to {
|
|
|
|
transform: rotate(359deg);
|
|
|
|
}
|
2014-01-03 20:39:12 +01:00
|
|
|
}
|
|
|
|
|
2017-04-13 22:33:26 +02:00
|
|
|
@keyframes fadeInMessage {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2017-11-13 17:26:11 +01:00
|
|
|
|
2017-04-13 22:33:26 +02:00
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeInEditNotice {
|
|
|
|
0% {
|
|
|
|
transform: translateX(-10px);
|
|
|
|
}
|
2017-11-13 17:26:11 +01:00
|
|
|
|
2017-04-13 22:33:26 +02:00
|
|
|
100% {
|
2020-08-06 02:42:07 +02:00
|
|
|
transform: translateX(0);
|
2017-04-13 22:33:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-16 16:19:36 +02:00
|
|
|
.message_header_private_message {
|
2023-04-08 02:48:02 +02:00
|
|
|
/* This is required for box-shadow appear above the message content. */
|
|
|
|
z-index: 1;
|
2023-07-21 23:08:07 +02:00
|
|
|
box-shadow:
|
|
|
|
-1px -5px 0 5px var(--color-background),
|
2023-04-08 02:48:02 +02:00
|
|
|
1px -5px 0 0 var(--color-background);
|
|
|
|
background-color: var(--color-background);
|
|
|
|
|
|
|
|
.message-header-contents {
|
2023-05-08 20:31:18 +02:00
|
|
|
border-color: var(--color-private-message-header-border);
|
2023-05-15 07:17:56 +02:00
|
|
|
border-bottom-color: var(--color-private-message-header-border-bottom);
|
2023-04-08 02:48:02 +02:00
|
|
|
background-color: var(--color-background-private-message-header);
|
|
|
|
}
|
2022-12-19 09:16:05 +01:00
|
|
|
|
2020-05-16 16:19:36 +02:00
|
|
|
.message_label_clickable {
|
2023-04-08 02:48:02 +02:00
|
|
|
display: flex;
|
|
|
|
padding: 5px 0 5px 10px;
|
|
|
|
font-weight: 600;
|
2020-05-16 16:19:36 +02:00
|
|
|
height: 17px;
|
|
|
|
line-height: 17px;
|
2023-04-08 02:48:02 +02:00
|
|
|
color: var(--color-text-message-header);
|
2013-06-27 08:49:38 +02:00
|
|
|
|
2023-04-08 02:48:02 +02:00
|
|
|
&:hover {
|
|
|
|
color: var(--color-text-message-header) !important;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2013-07-18 21:30:37 +02:00
|
|
|
|
2023-04-08 02:48:02 +02:00
|
|
|
.private_message_header_icon {
|
|
|
|
font-size: 15px;
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
2023-05-02 17:53:32 +02:00
|
|
|
|
|
|
|
.private_message_header_name {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2020-05-16 16:19:36 +02:00
|
|
|
}
|
2013-07-17 20:52:19 +02:00
|
|
|
}
|
|
|
|
|
2023-04-15 08:17:40 +02:00
|
|
|
.message_row.private-message {
|
2023-04-08 02:48:02 +02:00
|
|
|
background-color: var(--color-background-private-message-content);
|
|
|
|
|
2020-05-16 16:23:28 +02:00
|
|
|
.date_row {
|
2023-04-08 02:48:02 +02:00
|
|
|
background-color: var(--color-background-private-message-content);
|
|
|
|
}
|
2013-06-27 08:49:38 +02:00
|
|
|
}
|
|
|
|
|
2020-05-17 04:28:41 +02:00
|
|
|
.selected_message {
|
|
|
|
.messagebox-content {
|
2023-04-08 02:48:02 +02:00
|
|
|
/* We add an outline and shift it inside the message so that without
|
|
|
|
any vertical padding changes, we can have the outline surrounding
|
|
|
|
the message without overflowing the boundary of the message in any case. */
|
2023-05-11 21:46:11 +02:00
|
|
|
outline: 1px solid hsl(217deg 64% 59%);
|
2023-04-08 02:48:02 +02:00
|
|
|
border-radius: 5px;
|
|
|
|
outline-offset: -1px;
|
2020-05-17 04:28:41 +02:00
|
|
|
}
|
2014-02-24 19:30:22 +01:00
|
|
|
}
|
2013-07-22 20:08:53 +02:00
|
|
|
|
2013-05-10 22:48:02 +02:00
|
|
|
.message_sender {
|
2023-03-17 22:10:10 +01:00
|
|
|
& i.zulip-icon.zulip-icon-bot {
|
2020-05-17 04:58:44 +02:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
2020-05-17 04:57:44 +02:00
|
|
|
}
|
|
|
|
|
2012-10-09 23:58:24 +02:00
|
|
|
.sender_name {
|
2023-09-30 12:56:04 +02:00
|
|
|
display: inline-flex;
|
2014-03-01 05:01:24 +01:00
|
|
|
font-weight: 700;
|
2023-05-13 08:30:13 +02:00
|
|
|
color: var(--color-text-sender-name);
|
2023-09-30 12:56:04 +02:00
|
|
|
column-gap: 3px;
|
|
|
|
|
|
|
|
.sender_name_text {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2023-09-21 11:25:45 +02:00
|
|
|
display: inline-flex;
|
|
|
|
|
|
|
|
.user-name {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2023-09-30 12:56:04 +02:00
|
|
|
}
|
2023-05-13 08:30:13 +02:00
|
|
|
}
|
|
|
|
|
2020-05-17 05:00:44 +02:00
|
|
|
.sender_name_hovered {
|
2023-07-13 21:28:44 +02:00
|
|
|
.sender_name {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(200deg 100% 40%);
|
2020-05-17 05:00:44 +02:00
|
|
|
}
|
2013-05-21 17:47:44 +02:00
|
|
|
}
|
|
|
|
|
2022-03-04 21:53:28 +01:00
|
|
|
.always_visible_topic_edit,
|
2022-04-22 00:49:05 +02:00
|
|
|
.on_hover_topic_read,
|
2023-04-22 23:00:26 +02:00
|
|
|
.stream_unmuted.on_hover_topic_unmute,
|
|
|
|
.stream_muted.on_hover_topic_mute {
|
2021-04-30 07:44:43 +02:00
|
|
|
opacity: 0.7;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-01 07:07:28 +01:00
|
|
|
.on_hover_topic_edit,
|
2021-07-13 18:12:02 +02:00
|
|
|
.on_hover_topic_unresolve,
|
2021-06-27 09:16:03 +02:00
|
|
|
.on_hover_topic_resolve,
|
2023-04-22 23:00:26 +02:00
|
|
|
.stream_unmuted.on_hover_topic_mute,
|
|
|
|
.stream_muted.on_hover_topic_unmute {
|
2021-04-30 07:44:43 +02:00
|
|
|
opacity: 0.2;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2021-04-30 07:44:43 +02:00
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-21 14:22:47 +02:00
|
|
|
/* Make the action icon on the message row
|
|
|
|
always visible while the popover is open */
|
|
|
|
.has_actions_popover .actions_hover {
|
|
|
|
visibility: visible !important;
|
|
|
|
pointer-events: all !important;
|
|
|
|
opacity: 1 !important;
|
2022-10-24 19:47:56 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i:focus {
|
2022-10-24 19:47:56 +02:00
|
|
|
/* Avoid displaying a focus outline outside the popover on the \vdots
|
|
|
|
icon when opened via the mouse. */
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
2022-10-21 14:22:47 +02:00
|
|
|
}
|
|
|
|
|
2019-02-17 15:51:49 +01:00
|
|
|
.has_actions_popover .info {
|
2017-02-23 23:33:57 +01:00
|
|
|
opacity: 1;
|
message_controls: Prevent clicks via visibility & not pointer-events.
Previously, the message controls had a bug where they would trigger on
mobile with a single tap over the area they occupy when visible. This
is wrong because a user would expect to first see the controls and
only trigger them once they are visible (with a second tap).
The above bug is caused by the fact that we were using "opacity: 0" on
".message_controls > div" to hide the controls and "opacity: 1" on
".messagebox &:hover .message_controls > div" to show the controls on
hover, however, this would not effect the click action because
"opacity". So we used "pointer-events: none;" and "pointer-events:
all;" with the hopes that it would prevented the above bug, but in
practice, it didn't.
(the most probable explanation being that tapping the message_control
area would cause the "&:hover" rule to trigger and change the
"pointer-event" to "all" before it could prevent the click trigger,
But that explanation is just conjecture.)
This commit replaces both "pointer-events" attributes with
"visibility: hidden" and "visibility: visible" respectively. The
result being that the message_controls behave identically to before,
except without the above bug.
The addition to the ".has_actions_popover .info" selector is important
because without it, we would regress on issue #3172.
Trivia:
An alternate approach to using "opacity" is to set the
"display" attribute to "none", however, using "display" prevents the
transition from animating (which is probably why we were using opacity
here in the first place). "visibility" does not prevent the transition
from animating.
History: The "pointer-events" attribute was introduced in
4d5aa3ddc9e603d2216738f3dffa59ec09ffd830 and it replaced prior code
which relied on the "visibility" attribute... But it seems PR #3792
was mostly focused on improving the positioning through removal of
`display: none`, but introduced opacity to make the animations work
rather than visibility as the replacement solution, which requires the
pointer-events hack and resulted in the bug described here.
Fixes the second bug described in #13642.
2020-06-20 11:11:58 +02:00
|
|
|
visibility: visible;
|
2013-08-15 23:43:16 +02:00
|
|
|
}
|
|
|
|
|
2013-04-04 17:25:05 +02:00
|
|
|
.small {
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
|
|
|
|
2013-07-15 23:50:53 +02:00
|
|
|
.tiny {
|
|
|
|
font-size: 60%;
|
|
|
|
}
|
|
|
|
|
2021-06-11 23:36:38 +02:00
|
|
|
.settings-forgot-password {
|
2016-11-09 01:26:15 +01:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 73%);
|
2021-07-22 17:50:43 +02:00
|
|
|
bottom: 4px;
|
2016-11-09 01:26:15 +01:00
|
|
|
}
|
|
|
|
|
2023-08-14 20:51:37 +02:00
|
|
|
div.message-list {
|
2013-06-22 00:21:55 +02:00
|
|
|
border-collapse: separate;
|
2012-09-11 19:42:06 +02:00
|
|
|
margin-left: auto;
|
2012-09-13 22:00:11 +02:00
|
|
|
display: none;
|
2012-10-02 20:47:01 +02:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-08-16 17:47:06 +02:00
|
|
|
div.focused-message-list {
|
2014-01-06 16:24:26 +01:00
|
|
|
display: block;
|
2012-09-11 17:56:34 +02:00
|
|
|
}
|
|
|
|
|
2020-05-19 12:20:55 +02:00
|
|
|
.rtl {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
2013-07-16 23:40:01 +02:00
|
|
|
.message_edit_content {
|
|
|
|
line-height: 18px;
|
2018-07-27 00:58:50 +02:00
|
|
|
resize: vertical !important;
|
2017-04-26 04:30:35 +02:00
|
|
|
max-height: 24em;
|
2013-07-16 23:40:01 +02:00
|
|
|
}
|
2014-01-17 16:11:18 +01:00
|
|
|
|
2016-07-08 02:25:55 +02:00
|
|
|
.message_edit_countdown_timer {
|
|
|
|
text-align: right;
|
|
|
|
display: inline;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 63%);
|
2023-05-07 08:38:36 +02:00
|
|
|
|
|
|
|
&.expired {
|
|
|
|
color: hsl(4deg 58% 33%);
|
|
|
|
}
|
2016-07-08 02:25:55 +02:00
|
|
|
}
|
|
|
|
|
2022-08-07 06:57:14 +02:00
|
|
|
.message-edit-timer {
|
2016-07-08 02:25:55 +02:00
|
|
|
display: none;
|
2023-11-15 00:23:08 +01:00
|
|
|
/* Center vertically relative to
|
|
|
|
buttons. */
|
|
|
|
align-self: center;
|
2023-11-14 22:07:19 +01:00
|
|
|
/* Use flexbox to position to far right of
|
|
|
|
the Save and Cancel buttons. */
|
|
|
|
margin-left: auto;
|
2018-12-16 21:53:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.message-edit-feature-group {
|
2023-11-14 22:07:19 +01:00
|
|
|
display: flex;
|
|
|
|
margin: 0;
|
2020-10-02 07:42:00 +02:00
|
|
|
align-items: baseline;
|
2016-07-08 02:25:55 +02:00
|
|
|
}
|
|
|
|
|
2021-07-03 19:18:57 +02:00
|
|
|
.message_edit_save .loader {
|
|
|
|
display: none;
|
|
|
|
vertical-align: top;
|
|
|
|
position: relative;
|
|
|
|
height: 28px;
|
|
|
|
margin-top: -10px;
|
|
|
|
top: 6px;
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-controls {
|
|
|
|
.btn-wrapper {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2021-07-03 19:18:57 +02:00
|
|
|
.disable-btn {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-01-17 16:11:18 +01:00
|
|
|
.topic_edit {
|
|
|
|
display: none;
|
|
|
|
line-height: 22px;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-04-13 12:39:50 +02:00
|
|
|
.alert {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 10px;
|
|
|
|
line-height: 17px;
|
|
|
|
}
|
2014-01-17 16:11:18 +01:00
|
|
|
}
|
|
|
|
|
2023-04-18 17:24:55 +02:00
|
|
|
.inline_topic_edit {
|
2016-08-26 21:36:10 +02:00
|
|
|
margin-bottom: 5px;
|
2023-03-27 11:15:16 +02:00
|
|
|
width: 206px;
|
2016-08-26 21:36:10 +02:00
|
|
|
|
2020-05-19 12:24:12 +02:00
|
|
|
&.header-v {
|
|
|
|
height: 18px;
|
|
|
|
display: inline-block;
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0 3px;
|
2020-05-19 12:24:12 +02:00
|
|
|
vertical-align: baseline;
|
|
|
|
line-height: 0px;
|
|
|
|
box-shadow: none;
|
2023-06-20 09:18:35 +02:00
|
|
|
color: hsl(0deg 0% 33%);
|
|
|
|
border-radius: 4px;
|
|
|
|
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-20 09:18:35 +02:00
|
|
|
|
|
|
|
&: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-20 09:18:35 +02:00
|
|
|
0 0 8px hsl(206deg 80% 62% / 60%);
|
|
|
|
}
|
2020-05-19 12:24:12 +02:00
|
|
|
}
|
2020-05-19 12:23:34 +02:00
|
|
|
}
|
|
|
|
|
2020-05-12 11:02:13 +02:00
|
|
|
#message_edit_topic {
|
2022-08-07 06:50:48 +02:00
|
|
|
margin: 0 5px 10px 0;
|
2020-05-06 12:07:34 +02:00
|
|
|
}
|
|
|
|
|
2020-05-12 11:02:13 +02:00
|
|
|
.message_edit_header {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
2023-04-18 17:24:55 +02:00
|
|
|
.inline_topic_edit:focus,
|
2014-01-17 16:11:18 +01:00
|
|
|
#message_edit_topic:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2022-12-25 11:42:44 +01:00
|
|
|
#move_topic_modal select {
|
2022-10-07 09:51:59 +02:00
|
|
|
width: auto;
|
2022-08-07 06:50:48 +02:00
|
|
|
margin-bottom: 10px;
|
2016-08-26 21:36:10 +02:00
|
|
|
max-width: 100%;
|
2013-09-03 22:07:59 +02:00
|
|
|
}
|
2012-09-11 19:06:07 +02:00
|
|
|
|
2020-06-03 16:44:57 +02:00
|
|
|
.topic_move_breadcrumb_messages,
|
|
|
|
.message_edit_breadcrumb_messages {
|
2021-10-15 15:52:35 +02:00
|
|
|
margin: 0 5px 5px 0;
|
2020-06-03 16:44:57 +02:00
|
|
|
align-self: center;
|
2020-07-06 10:36:31 +02:00
|
|
|
width: 100%;
|
2020-09-28 07:37:12 +02:00
|
|
|
white-space: nowrap;
|
2020-06-03 16:44:57 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& label.checkbox {
|
2021-10-12 00:32:27 +02:00
|
|
|
/* Place the checkboxes on their own lines. */
|
|
|
|
display: block;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& input {
|
2020-06-03 16:44:57 +02:00
|
|
|
margin: 0;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
2021-10-12 00:32:27 +02:00
|
|
|
|
|
|
|
& + label.checkbox {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2020-06-03 16:44:57 +02:00
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& label {
|
2020-06-03 16:44:57 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-15 15:52:35 +02:00
|
|
|
.message_edit_breadcrumb_messages {
|
2022-08-07 06:50:48 +02:00
|
|
|
margin-bottom: 10px;
|
2021-10-15 15:52:35 +02:00
|
|
|
}
|
|
|
|
|
2013-03-13 22:47:38 +01:00
|
|
|
.message_length_controller {
|
2023-04-08 15:19:10 +02:00
|
|
|
.message_length_toggle {
|
|
|
|
display: none;
|
|
|
|
width: 100%;
|
|
|
|
height: 24px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
color: var(--color-text-show-more-less-button);
|
|
|
|
background-color: var(--color-show-more-less-button-background);
|
|
|
|
border-radius: 4px;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
font-variant: all-small-caps;
|
2013-03-20 23:08:39 +01:00
|
|
|
|
2023-04-08 15:19:10 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: var(
|
|
|
|
--color-show-more-less-button-background-hover
|
|
|
|
);
|
|
|
|
}
|
2013-03-13 22:47:38 +01:00
|
|
|
|
2023-04-08 15:19:10 +02:00
|
|
|
&:active {
|
|
|
|
background-color: var(
|
|
|
|
--color-show-more-less-button-background-active
|
|
|
|
);
|
|
|
|
scale: 0.98;
|
|
|
|
}
|
2020-05-19 12:26:01 +02:00
|
|
|
}
|
2013-03-13 22:47:38 +01:00
|
|
|
}
|
|
|
|
|
2012-09-24 22:28:02 +02:00
|
|
|
.bookend {
|
2017-06-06 01:27:32 +02:00
|
|
|
margin-top: 10px;
|
2013-06-22 00:21:55 +02:00
|
|
|
background-color: transparent;
|
2012-08-29 18:29:01 +02:00
|
|
|
}
|
|
|
|
|
2013-05-10 22:48:02 +02:00
|
|
|
.inline_profile_picture {
|
|
|
|
display: inline-block;
|
2023-06-30 19:27:06 +02:00
|
|
|
width: var(--message-box-avatar-width);
|
|
|
|
height: var(--message-box-avatar-height);
|
|
|
|
/* Don't inherit the line-height from message-avatar;
|
|
|
|
this preserves the dimensions and rounded corners
|
|
|
|
on the image itself. */
|
|
|
|
line-height: 1;
|
2014-01-31 21:36:31 +01:00
|
|
|
margin-right: 11px;
|
2013-06-28 01:35:19 +02:00
|
|
|
vertical-align: top;
|
2017-06-15 21:13:47 +02:00
|
|
|
border-radius: 4px;
|
2017-06-26 16:12:49 +02:00
|
|
|
overflow: hidden;
|
2018-12-16 02:24:52 +01:00
|
|
|
|
|
|
|
&.guest-avatar::after {
|
2023-03-20 22:08:47 +01:00
|
|
|
outline: 2px solid hsl(0deg 0% 100%);
|
2018-12-16 02:24:52 +01:00
|
|
|
}
|
2013-01-07 23:41:36 +01:00
|
|
|
}
|
2012-08-29 18:29:01 +02:00
|
|
|
|
2012-10-17 20:43:20 +02:00
|
|
|
.home-error-bar {
|
2012-08-31 21:33:04 +02:00
|
|
|
margin-top: 5px;
|
|
|
|
display: none;
|
|
|
|
|
2020-05-19 12:28:32 +02:00
|
|
|
.alert {
|
|
|
|
margin-bottom: auto;
|
|
|
|
}
|
2012-08-31 21:33:04 +02:00
|
|
|
}
|
2012-09-10 20:31:53 +02:00
|
|
|
|
2020-05-19 12:27:32 +02:00
|
|
|
.streamname {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2020-04-18 12:09:26 +02:00
|
|
|
.search_icon {
|
2021-07-02 03:07:40 +02:00
|
|
|
/* These rules match the .dropdown-toggle CSS for the gear menu. */
|
|
|
|
color: inherit;
|
|
|
|
opacity: 0.5;
|
2020-04-18 12:09:26 +02:00
|
|
|
text-decoration: none;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-04-18 12:09:26 +02:00
|
|
|
&:hover {
|
2021-07-02 03:07:40 +02:00
|
|
|
opacity: 1;
|
2020-04-18 12:09:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-02 21:38:21 +01:00
|
|
|
.top-navbar-container {
|
|
|
|
/* Calculate right margin so that title and description
|
|
|
|
elements can truncate and not collide with or run underneath
|
|
|
|
with the search section. */
|
|
|
|
margin-right: calc(
|
|
|
|
var(--search-box-width) + var(--navbar-content-righthand-offset)
|
|
|
|
);
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2020-07-08 23:44:01 +02:00
|
|
|
#message_view_header {
|
2023-05-13 08:30:13 +02:00
|
|
|
color: var(--color-text-message-view-header);
|
2013-05-09 21:12:53 +02:00
|
|
|
z-index: 2;
|
2016-04-09 05:50:24 +02:00
|
|
|
float: left;
|
2023-03-07 01:18:07 +01:00
|
|
|
height: var(--header-height);
|
2020-06-28 03:06:22 +02:00
|
|
|
width: 100%;
|
2023-03-07 01:18:07 +01:00
|
|
|
line-height: var(--header-height);
|
2020-06-28 03:06:22 +02:00
|
|
|
display: flex;
|
2023-11-17 20:12:36 +01:00
|
|
|
align-items: baseline;
|
2020-06-28 03:06:22 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
cursor: default;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-06-28 03:06:22 +02:00
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2023-11-17 20:16:05 +01:00
|
|
|
.message-header-stream-settings-button,
|
|
|
|
.navbar_title {
|
2020-06-28 03:06:22 +02:00
|
|
|
font-weight: 600;
|
|
|
|
font-size: 16px;
|
2023-11-17 20:30:44 +01:00
|
|
|
padding: 0 2px 0 6px;
|
2020-10-23 15:13:13 +02:00
|
|
|
overflow: hidden;
|
2020-10-23 15:33:50 +02:00
|
|
|
text-overflow: ellipsis;
|
2023-11-17 20:05:24 +01:00
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
2023-11-17 20:12:36 +01:00
|
|
|
/* Create a flex container for the icon and
|
|
|
|
stream name. */
|
|
|
|
display: flex;
|
|
|
|
/* We want to use baseline alignment so that the
|
|
|
|
stream name and narrow description sit on
|
|
|
|
the same invisible line. */
|
|
|
|
align-items: baseline;
|
2023-11-17 20:05:24 +01:00
|
|
|
|
|
|
|
.zulip-icon {
|
|
|
|
font-size: 14px;
|
2023-11-17 20:12:36 +01:00
|
|
|
/* Pull the icon out of baseline alignment,
|
|
|
|
and center with stream name. */
|
|
|
|
align-self: center;
|
2023-11-17 20:05:24 +01:00
|
|
|
}
|
2023-03-06 03:31:58 +01:00
|
|
|
|
2023-11-17 20:16:05 +01:00
|
|
|
.zulip-icon-inbox {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
2023-11-17 20:24:24 +01:00
|
|
|
.fa-envelope {
|
|
|
|
/* The squatter envelope icon appears
|
|
|
|
better vertically centered when aligned
|
|
|
|
to the baseline of the adjacent DM partners. */
|
|
|
|
align-self: baseline;
|
|
|
|
}
|
|
|
|
|
2023-11-09 00:29:56 +01:00
|
|
|
@media (height < $short_navbar_cutoff_height) {
|
2023-11-17 19:54:34 +01:00
|
|
|
padding: 0 3.5px; /* based on having ~41.66% decrease */
|
2020-06-28 03:06:22 +02:00
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2023-11-17 20:24:24 +01:00
|
|
|
margin: 0 6px 0 5px;
|
|
|
|
/* Align all icons to center. */
|
|
|
|
align-self: center;
|
2020-06-28 03:06:22 +02:00
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-06-28 03:06:22 +02:00
|
|
|
.fa {
|
|
|
|
.fa-envelope {
|
|
|
|
font-size: 14px;
|
2021-11-05 03:33:16 +01:00
|
|
|
margin: 0 5px;
|
2020-02-03 17:01:11 +01:00
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-06-28 03:06:22 +02:00
|
|
|
.fa-hashtag {
|
|
|
|
font-size: 1.2rem;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0 2px 0 5px;
|
2020-02-03 17:01:11 +01:00
|
|
|
}
|
2019-03-10 19:08:36 +01:00
|
|
|
}
|
2020-06-28 03:06:22 +02:00
|
|
|
}
|
2014-01-08 16:12:22 +01:00
|
|
|
|
2023-11-17 20:16:05 +01:00
|
|
|
.message-header-navbar-title {
|
2023-12-02 21:38:21 +01:00
|
|
|
/* Allow long navbar titles (e.g., stream names) to collapse. */
|
|
|
|
flex: 0 1 auto;
|
2023-11-17 20:16:05 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2020-06-28 03:06:22 +02:00
|
|
|
.narrow_description {
|
2020-09-15 22:23:01 +02:00
|
|
|
/* the actual value of flex shrink does not matter, it is the
|
|
|
|
ratio of this value to other flex items that determines the
|
|
|
|
behavior while shrinking, here the other item has the .stream
|
|
|
|
class and a flex of 1, so the value here *is* the ratio, and
|
|
|
|
is chosen such that the narrow description shrinks to close
|
|
|
|
before the stream name must begin to shrink */
|
2020-06-28 03:06:22 +02:00
|
|
|
flex-shrink: 100;
|
2023-10-27 13:31:39 +02:00
|
|
|
background: none;
|
|
|
|
font-size: 14px;
|
|
|
|
color: inherit;
|
|
|
|
font-weight: 400;
|
2023-11-17 20:05:24 +01:00
|
|
|
padding-left: 10px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2020-06-28 03:06:22 +02:00
|
|
|
}
|
2020-06-12 00:00:52 +02:00
|
|
|
|
2020-09-15 22:23:01 +02:00
|
|
|
/* The very last element in the navbar is the search icon, the second
|
|
|
|
last element is either the narrow description (for stream narrows) or
|
|
|
|
the "title" (for other narrows). The flex-grow property ensures these
|
2023-11-17 20:16:05 +01:00
|
|
|
elements take up the entirety of the white space, while flex-shrink
|
|
|
|
accommodates narrower viewports. Setting flex-basis 0 enables an
|
|
|
|
ellipsis to be displayed, as the 0 takes the place of the max-content
|
|
|
|
default that would otherwise run titles under the search box. */
|
2022-05-16 19:24:49 +02:00
|
|
|
.navbar_title,
|
|
|
|
.narrow_description {
|
2023-11-17 20:16:05 +01:00
|
|
|
flex: 1 1 0;
|
2023-09-27 19:37:37 +02:00
|
|
|
margin: 0;
|
2019-03-10 19:08:36 +01:00
|
|
|
}
|
2014-01-08 16:12:22 +01:00
|
|
|
}
|
|
|
|
|
2020-03-27 20:48:20 +01:00
|
|
|
#streamlist-toggle {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
2020-08-06 02:42:07 +02:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2020-03-27 20:48:20 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-06-30 16:20:43 +02:00
|
|
|
.hide-streamlist-toggle-visibility,
|
|
|
|
.hide-navbar-buttons-visibility {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2020-03-27 20:48:20 +01:00
|
|
|
#streamlist-toggle-button {
|
|
|
|
text-decoration: none;
|
2023-10-26 16:21:52 +02:00
|
|
|
color: var(--color-navbar-icon);
|
2023-10-25 19:43:44 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-03-27 20:48:20 +01:00
|
|
|
width: 40px;
|
2023-10-25 19:43:44 +02:00
|
|
|
height: 40px;
|
2023-10-26 16:21:52 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-header-button-hover);
|
2023-10-26 19:16:08 +02:00
|
|
|
|
|
|
|
#streamlist-toggle-unreadcount {
|
|
|
|
border-color: var(--color-header-button-hover-no-alpha);
|
|
|
|
}
|
2023-10-26 16:21:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var(--color-header-button-focus);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-visible {
|
|
|
|
outline: none;
|
|
|
|
background-color: var(--color-header-button-focus);
|
|
|
|
}
|
2023-10-26 19:16:08 +02:00
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus-visible {
|
|
|
|
#streamlist-toggle-unreadcount {
|
|
|
|
border-color: var(--color-header-button-focus-no-alpha);
|
|
|
|
}
|
|
|
|
}
|
2020-03-27 20:48:20 +01:00
|
|
|
}
|
|
|
|
|
2023-10-24 22:15:58 +02:00
|
|
|
#streamlist-toggle-unreadcount {
|
2020-03-27 20:48:20 +01:00
|
|
|
position: absolute;
|
|
|
|
display: none;
|
2023-10-25 20:08:09 +02:00
|
|
|
height: 6px;
|
|
|
|
width: 6px;
|
2023-10-26 16:21:52 +02:00
|
|
|
background-color: var(--color-navbar-icon);
|
2023-10-25 20:08:09 +02:00
|
|
|
top: 10px;
|
|
|
|
right: 9px;
|
|
|
|
border: 2px solid var(--color-background-navbar);
|
|
|
|
border-radius: 6px;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 0;
|
2020-03-27 20:48:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav .dropdown-menu {
|
|
|
|
left: auto;
|
2023-07-17 17:26:24 +02:00
|
|
|
right: -7px;
|
|
|
|
top: 35px;
|
2021-02-11 16:13:18 +01:00
|
|
|
/* Match the width of the right sidebar so that we don't have
|
|
|
|
the presence dots distracting you when looking at this. */
|
|
|
|
min-width: 240px;
|
2023-03-20 22:08:47 +01:00
|
|
|
box-shadow: 0 0 5px hsl(0deg 0% 0% / 20%);
|
2020-03-27 20:48:20 +01:00
|
|
|
|
2020-05-19 12:43:59 +02:00
|
|
|
&::after {
|
|
|
|
position: absolute;
|
2020-08-06 02:42:07 +02:00
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2020-05-19 12:43:59 +02:00
|
|
|
top: -7px;
|
2020-06-21 18:59:37 +02:00
|
|
|
right: 19px;
|
2020-05-19 12:43:59 +02:00
|
|
|
display: inline-block;
|
|
|
|
border-right: 7px solid transparent;
|
2023-03-20 22:08:47 +01:00
|
|
|
border-bottom: 7px solid hsl(0deg 0% 67%);
|
2020-05-19 12:43:59 +02:00
|
|
|
border-left: 7px solid transparent;
|
2020-08-04 23:58:56 +02:00
|
|
|
content: "";
|
2020-05-19 12:43:59 +02:00
|
|
|
z-index: 10;
|
|
|
|
}
|
2020-05-19 12:42:52 +02:00
|
|
|
}
|
|
|
|
|
2020-03-27 20:48:20 +01:00
|
|
|
.nav .dropdown-menu a,
|
|
|
|
.typeahead.dropdown-menu a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2020-05-19 12:46:21 +02:00
|
|
|
.typeahead.dropdown-menu {
|
|
|
|
.active {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 100%);
|
2020-03-27 20:48:20 +01:00
|
|
|
|
2020-05-19 12:46:21 +02:00
|
|
|
.unsubscribed_icon {
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-right: -12px;
|
|
|
|
font-size: 0.8em;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(96deg 7% 73%);
|
2020-05-19 12:46:21 +02:00
|
|
|
}
|
|
|
|
}
|
2020-03-27 20:48:20 +01:00
|
|
|
|
2020-05-19 12:46:21 +02:00
|
|
|
.unsubscribed_icon {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-05-19 12:45:13 +02:00
|
|
|
}
|
|
|
|
|
2020-03-27 20:48:20 +01:00
|
|
|
.typeahead-image {
|
|
|
|
display: inline-block;
|
|
|
|
height: 21px;
|
|
|
|
width: 21px;
|
|
|
|
position: relative;
|
2021-03-05 01:45:25 +01:00
|
|
|
margin-top: -4px;
|
2020-03-27 20:48:20 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
top: 2px;
|
|
|
|
right: 8px;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
/* For FontAwesome icons used in place of images for some users. */
|
|
|
|
font-size: 19px;
|
|
|
|
text-align: center;
|
2021-02-26 09:24:04 +01:00
|
|
|
|
2021-03-10 22:51:53 +01:00
|
|
|
&.no-presence-circle {
|
2021-02-26 09:24:04 +01:00
|
|
|
margin-left: 9px;
|
|
|
|
top: 3px;
|
|
|
|
}
|
2020-03-27 20:48:20 +01:00
|
|
|
}
|
|
|
|
|
2020-05-19 12:50:20 +02:00
|
|
|
nav {
|
|
|
|
.column-left {
|
2022-05-16 19:24:49 +02:00
|
|
|
text-align: left;
|
2023-03-25 22:23:04 +01:00
|
|
|
margin-left: 15px;
|
2020-03-27 20:48:20 +01:00
|
|
|
|
2020-05-19 12:50:20 +02:00
|
|
|
.nav-logo {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
margin-top: 8px;
|
|
|
|
height: 25px;
|
|
|
|
max-width: 200px;
|
2023-11-09 00:29:56 +01:00
|
|
|
|
|
|
|
@media (height < $short_navbar_cutoff_height) {
|
|
|
|
height: 15px;
|
|
|
|
}
|
2020-05-19 12:50:20 +02:00
|
|
|
}
|
|
|
|
}
|
2020-03-27 20:48:20 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& a {
|
2020-05-19 12:50:20 +02:00
|
|
|
&.no-style:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-05-19 12:48:41 +02:00
|
|
|
|
2020-05-19 12:50:20 +02:00
|
|
|
.no-style {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2020-03-27 20:48:20 +01:00
|
|
|
}
|
|
|
|
|
2012-09-13 22:20:07 +02:00
|
|
|
#bottom_whitespace {
|
2016-07-18 03:10:51 +02:00
|
|
|
display: block;
|
2023-05-30 20:31:39 +02:00
|
|
|
height: var(--max-unexpanded-compose-height);
|
2012-09-11 20:12:39 +02:00
|
|
|
}
|
2012-09-11 23:37:46 +02:00
|
|
|
|
2013-12-02 22:51:03 +01:00
|
|
|
.operator_value {
|
2021-04-03 04:01:40 +02:00
|
|
|
font-family: "Source Code Pro", monospace;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(353deg 70% 65%);
|
2013-12-02 22:51:03 +01:00
|
|
|
}
|
2017-11-13 17:26:11 +01:00
|
|
|
|
2013-12-02 22:51:03 +01:00
|
|
|
.operator {
|
2021-04-03 04:01:40 +02:00
|
|
|
font-family: "Source Code Pro", monospace;
|
2013-12-02 22:51:03 +01:00
|
|
|
}
|
|
|
|
|
2020-05-26 16:27:06 +02:00
|
|
|
#loading_older_messages_indicator,
|
|
|
|
#loading_newer_messages_indicator {
|
2013-07-12 18:31:26 +02:00
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
2020-05-26 16:27:06 +02:00
|
|
|
#loading_older_messages_indicator_box_container,
|
|
|
|
#loading_newer_messages_indicator_box_container {
|
2013-07-12 18:31:26 +02:00
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
|
2020-05-26 16:27:06 +02:00
|
|
|
#loading_older_messages_indicator_box,
|
|
|
|
#loading_newer_messages_indicator_box {
|
2013-07-12 18:31:26 +02:00
|
|
|
position: relative;
|
|
|
|
left: -50%;
|
2017-05-16 23:29:26 +02:00
|
|
|
top: -43px;
|
2013-07-12 18:31:26 +02:00
|
|
|
z-index: 1;
|
2017-03-18 23:49:11 +01:00
|
|
|
border-radius: 6px;
|
2013-01-15 21:41:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#page_loading_indicator {
|
|
|
|
margin: 10px auto;
|
2012-11-28 22:17:57 +01:00
|
|
|
}
|
2012-11-29 17:22:00 +01:00
|
|
|
|
2017-04-05 03:55:28 +02:00
|
|
|
#page_loading_indicator_box_container {
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#page_loading_indicator_box {
|
|
|
|
position: relative;
|
|
|
|
left: -50%;
|
2017-05-16 23:29:26 +02:00
|
|
|
top: -43px;
|
2017-04-05 03:55:28 +02:00
|
|
|
z-index: 1;
|
|
|
|
border-radius: 6px;
|
|
|
|
}
|
|
|
|
|
2022-02-08 18:56:40 +01:00
|
|
|
#create_stream_subscribers {
|
2016-08-23 22:23:56 +02:00
|
|
|
margin-top: 10px;
|
|
|
|
|
2020-05-19 12:56:29 +02:00
|
|
|
.checkbox {
|
|
|
|
display: block;
|
2016-07-07 00:58:11 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& input[type="checkbox"] {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 5px 0;
|
2020-05-19 12:56:29 +02:00
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
2016-08-23 22:23:56 +02:00
|
|
|
}
|
|
|
|
|
2016-03-22 16:50:09 +01:00
|
|
|
.sub_button_row {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2019-01-14 07:10:55 +01:00
|
|
|
.small_square_button {
|
|
|
|
padding: 0;
|
2014-01-17 16:11:18 +01:00
|
|
|
border: none;
|
2019-01-14 07:10:55 +01:00
|
|
|
font-size: 12px;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
border-radius: 4px;
|
|
|
|
margin-bottom: 3px;
|
2014-01-17 16:11:18 +01:00
|
|
|
|
2019-07-17 21:30:39 +02:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2014-01-17 16:11:18 +01:00
|
|
|
|
2019-07-17 21:30:39 +02:00
|
|
|
&.small_square_x {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
|
|
|
color: hsl(0deg 0% 47%);
|
2019-07-16 12:48:45 +02:00
|
|
|
|
2019-07-17 21:30:39 +02:00
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 18%);
|
2019-07-17 21:30:39 +02:00
|
|
|
}
|
|
|
|
}
|
2014-01-17 16:11:18 +01:00
|
|
|
}
|
|
|
|
|
2018-03-23 08:44:55 +01:00
|
|
|
div.topic_edit_spinner {
|
|
|
|
display: inline-block;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
margin-top: -1px;
|
|
|
|
padding: 2px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2023-09-16 09:40:07 +02:00
|
|
|
div.toggle_resolve_topic_spinner {
|
|
|
|
margin-top: -12px;
|
|
|
|
padding-left: 9px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.topic_edit_spinner .loading_indicator_spinner,
|
|
|
|
div.toggle_resolve_topic_spinner .loading_indicator_spinner {
|
2018-03-23 08:44:55 +01:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2023-09-16 10:48:22 +02:00
|
|
|
|
|
|
|
& path {
|
|
|
|
fill: var(--color-recipient-bar-controls-spinner);
|
|
|
|
}
|
2018-03-23 08:44:55 +01:00
|
|
|
}
|
|
|
|
|
2020-08-21 07:34:21 +02:00
|
|
|
.message_edit_spinner {
|
|
|
|
margin-right: 8px;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message_edit_spinner .loading_indicator_spinner {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
2022-11-29 19:01:30 +01:00
|
|
|
textarea.invitee_emails {
|
2020-05-19 13:09:00 +02:00
|
|
|
min-height: 40px;
|
|
|
|
max-height: 300px;
|
|
|
|
width: 96%;
|
|
|
|
max-width: 96%;
|
2022-10-11 18:02:39 +02:00
|
|
|
resize: vertical !important;
|
2022-11-29 19:01:30 +01:00
|
|
|
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 33%);
|
|
|
|
background-color: hsl(0deg 0% 100%);
|
2022-11-29 19:01:30 +01:00
|
|
|
border-radius: 4px;
|
|
|
|
vertical-align: middle;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
2022-11-29 19:01:30 +01:00
|
|
|
padding: 4px 6px;
|
|
|
|
|
2023-03-20 22:08:47 +01:00
|
|
|
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
|
2023-07-21 23:08:07 +02:00
|
|
|
transition:
|
|
|
|
border linear 0.2s,
|
|
|
|
box-shadow linear 0.2s;
|
2022-11-29 19:01:30 +01:00
|
|
|
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(206.5deg 80% 62% / 80%);
|
2022-11-29 19:01:30 +01:00
|
|
|
outline: 0;
|
|
|
|
|
2023-07-21 23:08:07 +02:00
|
|
|
box-shadow:
|
|
|
|
inset 0 1px 1px hsl(0deg 0% 0% / 7.5%),
|
2023-03-20 22:08:47 +01:00
|
|
|
0 0 8px hsl(206.5deg 80% 62% / 60%);
|
2022-11-29 19:01:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: not-allowed;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 93%);
|
2022-11-29 19:01:30 +01:00
|
|
|
}
|
2020-05-19 13:09:00 +02:00
|
|
|
}
|
|
|
|
|
2023-06-20 05:53:00 +02:00
|
|
|
#custom-expiration-time-input,
|
|
|
|
#invite-user-form {
|
|
|
|
margin: 0;
|
2020-05-19 13:09:00 +02:00
|
|
|
}
|
|
|
|
|
2022-12-23 17:47:12 +01:00
|
|
|
select.invite-expires-in,
|
|
|
|
select.custom-expiration-time,
|
|
|
|
select.invite-as {
|
|
|
|
width: 220px;
|
|
|
|
height: 30px;
|
2023-03-31 09:21:02 +02:00
|
|
|
padding: 0 6px;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 33%);
|
2022-12-23 17:47:12 +01:00
|
|
|
border-radius: 4px;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
2022-12-23 17:47:12 +01:00
|
|
|
cursor: pointer;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2022-12-23 17:47:12 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2021-09-28 21:57:50 +02:00
|
|
|
#multiuse_invite_link {
|
2022-10-11 18:02:39 +02:00
|
|
|
width: 370px;
|
2021-09-28 21:57:50 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
|
2019-02-06 20:32:06 +01:00
|
|
|
#invite-stream-checkboxes {
|
2023-03-17 22:10:10 +01:00
|
|
|
& i.zulip-icon-globe {
|
2022-12-15 06:03:19 +01:00
|
|
|
font-size: 80%;
|
|
|
|
}
|
2019-02-06 20:32:06 +01:00
|
|
|
}
|
|
|
|
|
2023-03-16 11:29:00 +01:00
|
|
|
.invite_type_radio_section {
|
|
|
|
margin: 2px 2px 2px 5px;
|
|
|
|
|
2023-08-03 16:06:40 +02:00
|
|
|
& div {
|
|
|
|
width: fit-content;
|
|
|
|
}
|
|
|
|
|
2023-03-16 11:29:00 +01:00
|
|
|
& input[type="radio"] {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.control-label-disabled label {
|
|
|
|
pointer-events: none;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2019-02-06 20:31:45 +01:00
|
|
|
}
|
|
|
|
|
2023-06-20 05:53:00 +02:00
|
|
|
#custom-expiration-time-input {
|
|
|
|
width: 5ch;
|
|
|
|
margin-right: 15px;
|
2022-02-11 17:54:15 +01:00
|
|
|
|
2023-06-20 05:53:00 +02:00
|
|
|
padding: 4px 6px;
|
|
|
|
color: hsl(0deg 0% 33%);
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
|
|
|
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
|
2023-07-21 23:08:07 +02:00
|
|
|
transition:
|
|
|
|
border linear 0.2s,
|
|
|
|
box-shadow linear 0.2s;
|
2023-06-20 05:53:00 +02:00
|
|
|
|
|
|
|
&: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-20 05:53:00 +02:00
|
|
|
0 0 8px hsl(206deg 80% 62% / 60%);
|
2022-02-11 17:54:15 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-20 05:53:00 +02:00
|
|
|
#custom-expiration-time-unit {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2013-02-23 19:38:25 +01:00
|
|
|
.empty_feed_notice {
|
2017-08-24 22:40:27 +02:00
|
|
|
padding: 3em 1em;
|
2013-02-23 19:38:25 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2023-10-20 13:39:47 +02:00
|
|
|
.empty-feed-notice-title {
|
|
|
|
font-size: 1.5em;
|
|
|
|
font-weight: 400;
|
2023-11-04 19:15:09 +01:00
|
|
|
word-wrap: break-word;
|
2023-10-20 13:39:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.empty-feed-notice-description {
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
|
|
|
|
2017-03-16 19:26:26 +01:00
|
|
|
.message-fade,
|
2017-03-16 20:33:02 +01:00
|
|
|
.user_sidebar_entry.user-fade {
|
2013-07-24 22:32:20 +02:00
|
|
|
opacity: 0.4;
|
2013-02-13 21:30:17 +01:00
|
|
|
}
|
|
|
|
|
2013-03-01 22:07:27 +01:00
|
|
|
.emoji {
|
2014-03-06 22:10:45 +01:00
|
|
|
height: 25px;
|
|
|
|
width: 25px;
|
2023-04-04 22:52:26 +02:00
|
|
|
/* Maintain `vertical-align` for inline-block styles in messages: */
|
2017-08-28 21:56:19 +02:00
|
|
|
vertical-align: middle;
|
2023-04-04 22:52:26 +02:00
|
|
|
/* But, for all others, use flexbox and its align-self property.
|
|
|
|
What is excellent about this is that flexbox will ignore the
|
|
|
|
`vertical-align` value, while inline-block contexts will ignore
|
|
|
|
the `align-self` property: */
|
|
|
|
align-self: center;
|
2017-05-03 22:11:35 +02:00
|
|
|
}
|
|
|
|
|
2023-03-15 21:56:35 +01:00
|
|
|
.status-emoji {
|
2022-02-05 18:02:04 +01:00
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
/* We are setting minimum width here because when the user's name is very long,
|
|
|
|
emoji's width decreases and causes it to break. */
|
|
|
|
min-width: 16px;
|
2022-02-11 22:04:28 +01:00
|
|
|
/* In most contexts, status emoji appear immediately after a name
|
2022-03-06 07:09:19 +01:00
|
|
|
field with no margin. Position the status emoji with 3px of left
|
2022-02-11 22:04:28 +01:00
|
|
|
margin to space it from the name, and set no right margin so
|
|
|
|
that any components to the right appear equally distant as they
|
|
|
|
would be from a name. */
|
2022-03-06 07:09:19 +01:00
|
|
|
margin-left: 3px;
|
2022-02-11 22:04:28 +01:00
|
|
|
margin-right: 0;
|
2022-02-05 18:02:04 +01:00
|
|
|
}
|
|
|
|
|
2013-04-04 00:55:36 +02:00
|
|
|
/* FIXME: Combine this rule with the one in portico.css somehow? */
|
2013-04-08 20:21:20 +02:00
|
|
|
#pw_strength {
|
2017-12-24 19:00:29 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 10px;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-bottom: 0;
|
2013-04-04 00:55:36 +02:00
|
|
|
}
|
2013-04-08 19:15:20 +02:00
|
|
|
|
2013-04-08 20:03:21 +02:00
|
|
|
#pw_change_controls {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-04-12 22:08:49 +02:00
|
|
|
|
2013-08-23 07:31:38 +02:00
|
|
|
.sub-unsub-message,
|
|
|
|
.date_row {
|
2019-02-14 00:30:19 +01:00
|
|
|
padding-bottom: 10px;
|
2013-04-05 16:44:29 +02:00
|
|
|
}
|
|
|
|
|
2019-02-15 16:00:24 +01:00
|
|
|
.date_row {
|
2022-10-12 01:03:08 +02:00
|
|
|
text-align: right;
|
2013-09-10 18:40:31 +02:00
|
|
|
}
|
|
|
|
|
2017-06-04 23:19:07 +02:00
|
|
|
.sub-unsub-message span,
|
2013-08-29 01:34:10 +02:00
|
|
|
.date_row span {
|
2013-06-24 23:16:50 +02:00
|
|
|
display: block;
|
|
|
|
padding: 4px;
|
|
|
|
overflow: hidden;
|
2013-07-02 20:41:10 +02:00
|
|
|
text-transform: uppercase;
|
2021-11-04 07:11:19 +01:00
|
|
|
}
|
|
|
|
|
2022-08-04 15:35:52 +02:00
|
|
|
.sub-unsub-message .stream-status {
|
2022-10-12 00:44:12 +02:00
|
|
|
opacity: 0.6;
|
2022-11-29 17:39:59 +01:00
|
|
|
|
|
|
|
& i {
|
|
|
|
font-size: 10px;
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.zulip-icon.zulip-icon-lock {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2013-06-24 23:16:50 +02:00
|
|
|
}
|
|
|
|
|
2022-10-12 01:03:08 +02:00
|
|
|
.sub-unsub-message {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2017-06-04 23:19:07 +02:00
|
|
|
.sub-unsub-message span {
|
|
|
|
font-size: 1em;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
2018-07-27 00:58:50 +02:00
|
|
|
.sub-unsub-message span::before,
|
|
|
|
.sub-unsub-message span::after,
|
|
|
|
.date_row span::before,
|
|
|
|
.date_row span::after {
|
2013-06-24 23:16:50 +02:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
content: " ";
|
|
|
|
vertical-align: middle;
|
2020-08-06 02:42:07 +02:00
|
|
|
height: 0;
|
2023-04-08 02:48:02 +02:00
|
|
|
opacity: 0.15;
|
2023-03-20 22:08:47 +01:00
|
|
|
border-bottom: 1px solid hsl(0deg 0% 0%);
|
2013-06-24 23:16:50 +02:00
|
|
|
}
|
|
|
|
|
2018-07-27 00:58:50 +02:00
|
|
|
.sub-unsub-message span::before,
|
2022-10-12 01:03:08 +02:00
|
|
|
.sub-unsub-message span::after {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
2018-07-27 00:58:50 +02:00
|
|
|
.date_row span::before {
|
2022-10-12 01:03:08 +02:00
|
|
|
width: 100%;
|
2013-06-24 23:16:50 +02:00
|
|
|
}
|
|
|
|
|
2018-07-27 00:58:50 +02:00
|
|
|
.date_row span::after {
|
2022-10-12 01:03:08 +02:00
|
|
|
width: 6px;
|
|
|
|
left: 0.25em;
|
2023-04-08 02:48:02 +02:00
|
|
|
/* Align date with message time and recipient bar date. */
|
|
|
|
margin-right: -1px;
|
2022-10-12 01:03:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.sub-unsub-message span::before,
|
|
|
|
.date_row span::before {
|
|
|
|
right: 0.25em;
|
|
|
|
margin-left: -50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sub-unsub-message span::after {
|
|
|
|
left: 0.25em;
|
2013-06-24 23:16:50 +02:00
|
|
|
margin-right: -50%;
|
|
|
|
}
|
|
|
|
|
2013-05-15 00:22:16 +02:00
|
|
|
.message_edit {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-05-21 19:12:27 +02:00
|
|
|
|
|
|
|
/* Reduce some of the heavy padding from Bootstrap. */
|
2021-04-21 16:20:16 +02:00
|
|
|
.message_edit_form {
|
2017-01-31 22:01:49 +01:00
|
|
|
margin-bottom: 10px;
|
2018-04-08 15:51:01 +02:00
|
|
|
cursor: default;
|
2017-11-13 17:26:11 +01:00
|
|
|
|
2020-05-19 13:12:54 +02:00
|
|
|
.edit-controls {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-left: 0;
|
|
|
|
margin-top: 0;
|
2020-05-19 13:12:54 +02:00
|
|
|
}
|
2017-11-13 17:26:11 +01:00
|
|
|
|
2021-07-16 20:14:08 +02:00
|
|
|
/* Override the default border-radius to properly align
|
|
|
|
the button corners with `stream_header_colorblock`. */
|
|
|
|
.dropdown-toggle {
|
|
|
|
border-radius: 1px 4px 4px 1px !important;
|
|
|
|
}
|
|
|
|
|
2021-09-15 11:37:21 +02:00
|
|
|
.dropdown-list-widget,
|
2021-07-16 13:12:05 +02:00
|
|
|
.stream_header_colorblock {
|
2021-09-15 11:37:21 +02:00
|
|
|
margin-bottom: 10px;
|
2021-07-16 13:12:05 +02:00
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& textarea {
|
2020-05-19 13:12:54 +02:00
|
|
|
width: 100%;
|
|
|
|
min-width: 206px;
|
|
|
|
box-sizing: border-box;
|
2020-08-27 05:34:54 +02:00
|
|
|
/* Setting resize as none hides the bottom right diagonal box
|
|
|
|
(which even has a background color of its own!). */
|
|
|
|
resize: none !important;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 33%);
|
|
|
|
background-color: hsl(0deg 0% 100%);
|
2022-11-29 18:58:28 +01:00
|
|
|
border-radius: 4px;
|
|
|
|
vertical-align: middle;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
2022-11-29 18:58:28 +01:00
|
|
|
padding: 4px 6px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
2023-03-20 22:08:47 +01:00
|
|
|
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
|
2023-07-21 23:08:07 +02:00
|
|
|
transition:
|
|
|
|
border linear 0.2s,
|
|
|
|
box-shadow linear 0.2s;
|
2022-11-29 18:58:28 +01:00
|
|
|
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(206.5deg 80% 62% / 80%);
|
2022-11-29 18:58:28 +01:00
|
|
|
outline: 0;
|
|
|
|
|
2023-07-21 23:08:07 +02:00
|
|
|
box-shadow:
|
|
|
|
inset 0 1px 1px hsl(0deg 0% 0% / 7.5%),
|
2023-03-20 22:08:47 +01:00
|
|
|
0 0 8px hsl(206.5deg 80% 62% / 60%);
|
2022-11-29 18:58:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:read-only,
|
|
|
|
&:disabled {
|
|
|
|
cursor: not-allowed;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 93%);
|
2022-11-29 18:58:28 +01:00
|
|
|
}
|
2020-05-19 13:12:54 +02:00
|
|
|
}
|
2017-01-31 22:01:49 +01:00
|
|
|
}
|
|
|
|
|
2013-08-16 23:45:13 +02:00
|
|
|
#topic_edit_form {
|
2014-01-17 16:11:18 +01:00
|
|
|
display: inline-block;
|
2021-11-05 03:33:16 +01:00
|
|
|
margin: 0;
|
2014-01-17 16:11:18 +01:00
|
|
|
height: 22px;
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 3px;
|
|
|
|
line-height: 22px;
|
|
|
|
margin-left: -15px;
|
2013-08-16 23:45:13 +02:00
|
|
|
}
|
|
|
|
|
2013-06-27 20:32:08 +02:00
|
|
|
.screen {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 0%);
|
2013-06-27 20:32:08 +02:00
|
|
|
z-index: 20000;
|
|
|
|
}
|
2013-06-27 22:18:28 +02:00
|
|
|
|
2019-05-16 10:36:20 +02:00
|
|
|
.deactivated_user .deactivated-user-icon {
|
|
|
|
color: inherit;
|
|
|
|
margin-left: 2px;
|
2020-08-04 23:58:56 +02:00
|
|
|
font-size: 0.9em;
|
2013-11-16 16:26:40 +01:00
|
|
|
}
|
2013-11-13 19:40:02 +01:00
|
|
|
|
2017-06-26 16:12:49 +02:00
|
|
|
.no-drag {
|
2020-08-06 00:16:29 +02:00
|
|
|
-webkit-user-drag: none;
|
2017-06-26 16:12:49 +02:00
|
|
|
user-select: none;
|
|
|
|
}
|
2017-12-07 15:47:23 +01:00
|
|
|
|
2018-03-12 20:23:49 +01:00
|
|
|
.user_popover_email {
|
2017-12-07 15:47:23 +01:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2018-02-03 17:38:35 +01:00
|
|
|
transition: all 0.4s ease;
|
2017-12-07 15:47:23 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2018-05-08 01:06:48 +02:00
|
|
|
cursor: pointer;
|
2020-05-19 13:14:13 +02:00
|
|
|
|
2020-05-19 13:15:01 +02:00
|
|
|
&.hide_copy_icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-05-19 13:14:13 +02:00
|
|
|
}
|
|
|
|
|
2018-02-03 17:38:35 +01:00
|
|
|
.email_copied,
|
2018-03-12 20:23:49 +01:00
|
|
|
.user_popover_email i:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(170deg 48% 54%);
|
2018-02-03 17:38:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.email_copied i {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2021-11-09 17:25:24 +01:00
|
|
|
.flatpickr-calendar {
|
|
|
|
/* Hide the up and down arrows in the Flatpickr datepicker year */
|
|
|
|
.flatpickr-months .numInputWrapper span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flatpickr-time-separator {
|
|
|
|
position: relative;
|
|
|
|
left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flatpickr-time input {
|
|
|
|
margin: 0 5px;
|
2022-09-06 12:54:34 +02:00
|
|
|
min-height: 30px;
|
2021-11-09 17:25:24 +01:00
|
|
|
}
|
|
|
|
|
2021-11-11 15:15:01 +01:00
|
|
|
.flatpickr-confirm {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 100%);
|
|
|
|
background-color: hsl(213deg 90% 65%);
|
2021-11-11 15:15:01 +01:00
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2021-11-09 17:25:24 +01:00
|
|
|
@media (width < $md_min) {
|
|
|
|
/* Center align flatpickr on mobile
|
|
|
|
* devices so that it doesn't go out of
|
|
|
|
* the viewport. */
|
|
|
|
left: 0 !important;
|
|
|
|
right: 0 !important;
|
|
|
|
margin: auto;
|
|
|
|
|
|
|
|
&::after,
|
|
|
|
&::before {
|
2021-11-23 19:17:51 +01:00
|
|
|
border-top-width: 0 !important;
|
2021-11-09 17:25:24 +01:00
|
|
|
}
|
|
|
|
}
|
2018-07-06 19:00:15 +02:00
|
|
|
}
|
2019-10-24 05:38:18 +02:00
|
|
|
|
2021-02-09 11:16:52 +01:00
|
|
|
#about-zulip {
|
|
|
|
.exit {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: 600;
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
position: absolute;
|
|
|
|
right: 8px;
|
|
|
|
z-index: 1;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 67%);
|
2021-02-09 11:16:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.overlay-content {
|
2021-05-13 02:50:42 +02:00
|
|
|
width: 440px;
|
2021-02-09 11:16:52 +01:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about-zulip-logo {
|
2021-05-13 02:50:42 +02:00
|
|
|
text-align: center;
|
|
|
|
margin: 30px;
|
2021-02-09 11:16:52 +01:00
|
|
|
}
|
|
|
|
|
2021-05-13 02:50:42 +02:00
|
|
|
.about-zulip-logo img {
|
|
|
|
height: 40px;
|
2021-02-09 11:16:52 +01:00
|
|
|
}
|
2021-07-12 19:28:17 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i.fa-copy {
|
2021-07-12 19:28:17 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2023-05-04 03:11:55 +02:00
|
|
|
|
|
|
|
.fa-copy:hover {
|
|
|
|
color: hsl(170deg 48% 54%);
|
|
|
|
}
|
2023-10-12 08:10:54 +02:00
|
|
|
|
|
|
|
.overlay-body {
|
|
|
|
max-height: 60vh;
|
|
|
|
padding: 15px;
|
|
|
|
}
|
2021-02-09 11:16:52 +01:00
|
|
|
}
|
|
|
|
|
2023-11-09 00:29:56 +01:00
|
|
|
@media (width < $xl_min) or (height < $short_navbar_cutoff_height) {
|
2023-07-17 17:26:24 +02:00
|
|
|
.spectator-view {
|
|
|
|
#navbar-middle {
|
2023-11-09 00:29:56 +01:00
|
|
|
/* = (width of button, square with header) * 3 (number of buttons) + 10px extra margin. */
|
|
|
|
margin-right: calc(var(--header-height) * 3 + 10px);
|
2023-07-17 17:26:24 +02:00
|
|
|
}
|
|
|
|
|
2023-10-21 13:57:36 +02:00
|
|
|
#help-menu,
|
2023-10-13 12:51:35 +02:00
|
|
|
#gear-menu {
|
|
|
|
position: relative;
|
2023-11-09 00:29:56 +01:00
|
|
|
right: var(--header-height);
|
2023-07-17 17:26:24 +02:00
|
|
|
}
|
|
|
|
}
|
2023-11-09 00:29:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (width < $xl_min) {
|
|
|
|
.app-main,
|
|
|
|
.header-main {
|
|
|
|
min-width: 750px;
|
|
|
|
}
|
2023-07-17 17:26:24 +02:00
|
|
|
|
2019-10-24 05:38:18 +02:00
|
|
|
.column-right {
|
|
|
|
display: none;
|
|
|
|
|
2020-05-19 13:16:25 +02:00
|
|
|
&.expanded {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
float: none;
|
|
|
|
right: 15px;
|
2020-08-06 02:42:07 +02:00
|
|
|
top: 0;
|
2020-05-19 13:16:25 +02:00
|
|
|
|
2023-05-29 13:31:58 +02:00
|
|
|
.simplebar-track.simplebar-vertical {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2020-05-19 13:16:25 +02:00
|
|
|
.right-sidebar {
|
2023-03-20 22:08:47 +01:00
|
|
|
box-shadow: 0 -2px 3px 0 hsl(0deg 0% 0% / 10%);
|
|
|
|
border-left: 1px solid hsl(0deg 0% 87%);
|
2023-05-21 20:52:46 +02:00
|
|
|
padding-right: 15px;
|
|
|
|
padding-left: 15px;
|
2020-05-19 13:16:25 +02:00
|
|
|
height: 100%;
|
2020-08-06 02:42:07 +02:00
|
|
|
right: 0;
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: var(--color-background);
|
2020-05-19 13:16:25 +02:00
|
|
|
}
|
|
|
|
}
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav .dropdown-menu {
|
|
|
|
min-width: 180px;
|
2023-03-20 22:08:47 +01:00
|
|
|
box-shadow: 0 0 5px hsl(0deg 0% 0% / 20%);
|
2019-10-24 05:38:18 +02:00
|
|
|
|
2020-05-19 13:19:33 +02:00
|
|
|
&::after {
|
2020-08-06 02:34:58 +02:00
|
|
|
right: 21px;
|
2020-05-19 13:19:33 +02:00
|
|
|
}
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.column-middle {
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
2020-02-03 17:01:11 +01:00
|
|
|
|
2023-02-22 22:30:54 +01:00
|
|
|
#navbar-middle {
|
2023-11-09 00:29:56 +01:00
|
|
|
/* = (width of button, square with header) * 4 (number of buttons) + 10px extra margin. */
|
|
|
|
margin-right: calc(var(--header-height) * 4 + 10px);
|
2020-02-03 17:01:11 +01:00
|
|
|
}
|
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
|
|
|
body {
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0;
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.column-left {
|
|
|
|
display: none;
|
|
|
|
|
2020-05-19 13:20:39 +02:00
|
|
|
&.expanded {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
float: none;
|
2020-08-06 02:42:07 +02:00
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2019-10-24 05:38:18 +02:00
|
|
|
|
2020-05-19 13:20:39 +02:00
|
|
|
.left-sidebar {
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: var(--color-background);
|
2023-03-20 22:08:47 +01:00
|
|
|
box-shadow: 0 2px 3px 0 hsl(0deg 0% 0% / 10%);
|
|
|
|
border-right: 1px solid hsl(0deg 0% 87%);
|
2020-05-19 13:20:39 +02:00
|
|
|
height: 100%;
|
|
|
|
padding-left: 10px;
|
2023-03-07 01:18:07 +01:00
|
|
|
width: var(--left-sidebar-width);
|
2020-05-19 13:20:39 +02:00
|
|
|
}
|
|
|
|
}
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body,
|
|
|
|
html,
|
|
|
|
.app-main,
|
|
|
|
.header-main {
|
|
|
|
min-width: 350px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column-middle,
|
|
|
|
.app-main .column-middle {
|
|
|
|
margin-left: 7px;
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-main .column-middle {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-left: 0;
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.column-middle-inner {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-left: 0;
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.app-main .column-middle .column-middle-inner {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-right: 0;
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#streamlist-toggle {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2022-05-16 19:24:49 +02:00
|
|
|
.top-navbar-container {
|
2020-02-03 17:01:11 +01:00
|
|
|
margin-left: 40px;
|
|
|
|
}
|
2019-10-24 05:38:18 +02:00
|
|
|
|
2022-05-16 19:24:49 +02:00
|
|
|
.zulip-icon-search {
|
2020-02-03 17:01:11 +01:00
|
|
|
right: 115px;
|
|
|
|
}
|
2022-05-16 19:24:49 +02:00
|
|
|
|
|
|
|
.dropdown-menu ul {
|
|
|
|
margin: 0 -25px 0 0;
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
& li {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
& a {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
2023-11-09 00:29:56 +01:00
|
|
|
@media (height < $short_navbar_cutoff_height) {
|
2019-10-24 05:38:18 +02:00
|
|
|
.column-right.expanded .right-sidebar,
|
|
|
|
.column-left.expanded .left-sidebar {
|
2023-10-25 21:19:09 +02:00
|
|
|
margin-top: var(--navbar-fixed-height);
|
2023-11-09 00:29:56 +01:00
|
|
|
/* For very short screen sizes, skip the relatively large top padding. */
|
2023-10-25 21:19:09 +02:00
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* TODO: Properly and accurately align the
|
|
|
|
topmost headers on the left and right
|
|
|
|
sidebar. */
|
|
|
|
.column-right.expanded .right-sidebar-items {
|
|
|
|
margin-top: 10px;
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
2023-11-21 15:51:57 +01:00
|
|
|
.column-left.expanded .left-sidebar-navigation-area {
|
|
|
|
margin-top: 10px;
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
2023-07-17 17:26:24 +02:00
|
|
|
.nav .dropdown-menu {
|
|
|
|
right: -13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Usually the styling is applied directly to the icon, but here
|
|
|
|
the icon is `position: static`, so we can't. */
|
|
|
|
.search_closed {
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
2019-10-24 05:38:18 +02:00
|
|
|
#streamlist-toggle,
|
2020-07-08 23:44:01 +02:00
|
|
|
#message_view_header,
|
2019-10-24 05:38:18 +02:00
|
|
|
#searchbox,
|
|
|
|
.header {
|
2023-03-07 01:18:07 +01:00
|
|
|
line-height: var(--header-height);
|
|
|
|
height: var(--header-height);
|
2022-10-14 19:52:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.spectator_narrow_login_button {
|
2023-03-07 01:18:07 +01:00
|
|
|
height: var(--header-height) !important;
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#streamlist-toggle-button {
|
2023-03-07 01:18:07 +01:00
|
|
|
height: var(--header-height);
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
2023-10-25 20:08:09 +02:00
|
|
|
#streamlist-toggle-unreadcount {
|
|
|
|
/* Adjust in response to shorter navbar. */
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
2023-07-17 17:26:24 +02:00
|
|
|
.column-right #personal-menu .header-button-avatar {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width < $mm_min) {
|
2019-10-24 05:38:18 +02:00
|
|
|
html {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
body,
|
|
|
|
html,
|
|
|
|
.app-main,
|
|
|
|
.header-main {
|
|
|
|
min-width: 320px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width < $md_min) {
|
2019-10-24 05:38:18 +02:00
|
|
|
#feedback_container {
|
|
|
|
width: calc(90% - 30px);
|
|
|
|
left: 5%;
|
|
|
|
top: 5%;
|
|
|
|
}
|
|
|
|
}
|
2020-10-05 16:09:25 +02:00
|
|
|
|
2022-02-14 17:43:32 +01:00
|
|
|
#scroll-to-bottom-button-container {
|
2022-07-06 07:05:37 +02:00
|
|
|
display: block;
|
2022-02-14 17:43:32 +01:00
|
|
|
position: absolute;
|
|
|
|
bottom: 41px;
|
|
|
|
right: 0;
|
2022-07-06 07:05:37 +02:00
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
2023-07-21 23:08:07 +02:00
|
|
|
transition:
|
|
|
|
visibility 500ms,
|
|
|
|
opacity 500ms ease-in-out;
|
2022-07-06 07:05:37 +02:00
|
|
|
|
|
|
|
&.show {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2022-02-14 17:43:32 +01:00
|
|
|
|
|
|
|
#scroll-to-bottom-button-clickable-area {
|
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover #scroll-to-bottom-button {
|
2023-03-20 22:08:47 +01:00
|
|
|
background: hsl(240deg 96% 68%);
|
2022-02-14 17:43:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#scroll-to-bottom-button {
|
|
|
|
text-align: center;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
2023-03-20 22:08:47 +01:00
|
|
|
background: hsl(240deg 96% 68% / 50%);
|
2022-02-14 17:43:32 +01:00
|
|
|
border-radius: 50%;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 100%);
|
2022-02-14 17:43:32 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
font-size: 21px;
|
|
|
|
position: relative;
|
|
|
|
top: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-02-21 09:56:30 +01:00
|
|
|
|
|
|
|
.tooltip_right_arrow {
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2021-11-02 15:45:43 +01:00
|
|
|
|
|
|
|
.spectator_login_for_image_button {
|
|
|
|
max-width: 250px;
|
|
|
|
height: 50px;
|
|
|
|
|
|
|
|
:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.login_button {
|
|
|
|
padding: 5px;
|
|
|
|
margin-top: 5px;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-10-03 04:26:40 +02:00
|
|
|
|
2023-02-07 14:37:33 +01:00
|
|
|
.simplebar-content-wrapper {
|
|
|
|
/* `simplebar-content-wrapper` has `tabindex=0` set, which makes it focusable
|
|
|
|
but we don't want it to have an outline when focused anywhere in the app. */
|
|
|
|
outline: none;
|
2023-06-12 22:03:56 +02:00
|
|
|
|
|
|
|
/* This prevents the popover from closing once the top/bottom is reached */
|
|
|
|
overscroll-behavior: contain;
|
2023-02-07 14:37:33 +01:00
|
|
|
}
|
2023-05-07 14:42:54 +02:00
|
|
|
|
|
|
|
.dropdown-list-container {
|
|
|
|
.dropdown-list-search {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.dropdown-list-search-input {
|
2023-08-16 06:17:00 +02:00
|
|
|
background: var(--color-background-widget-input);
|
2023-05-07 14:42:54 +02:00
|
|
|
color: var(--color-text-dropdown-input);
|
|
|
|
width: 100%;
|
|
|
|
margin: 4px 4px 2px;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: hsl(0deg 0% 100%);
|
|
|
|
border: 1px solid hsl(229.09deg 21.57% 10% / 80%);
|
|
|
|
box-shadow: 0 0 6px hsl(228deg 9.8% 20% / 30%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-list-wrapper {
|
2023-05-10 14:52:24 +02:00
|
|
|
/* Sync with `max-height` in dropdown_widget. */
|
2023-05-10 14:52:52 +02:00
|
|
|
max-height: 210px;
|
2023-05-07 14:42:54 +02:00
|
|
|
min-width: 200px;
|
|
|
|
|
|
|
|
.dropdown-list {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
.list-item:focus {
|
|
|
|
background-color: hsl(220deg 12% 4.9% / 5%);
|
|
|
|
outline: none;
|
|
|
|
}
|
2023-11-22 20:12:36 +01:00
|
|
|
}
|
2023-05-07 14:42:54 +02:00
|
|
|
|
2023-11-22 20:12:36 +01:00
|
|
|
.no-dropdown-items {
|
|
|
|
color: hsl(0deg 0% 60%);
|
|
|
|
display: none;
|
2023-05-07 14:42:54 +02:00
|
|
|
}
|
|
|
|
}
|
2023-11-22 20:12:36 +01:00
|
|
|
}
|
2023-05-10 14:59:56 +02:00
|
|
|
|
2023-11-22 20:12:36 +01:00
|
|
|
.dropdown-list-container .dropdown-list-item-common-styles {
|
|
|
|
display: block;
|
|
|
|
color: hsl(0deg 0% 20%);
|
|
|
|
padding: 3px 10px 3px 8px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 20px;
|
|
|
|
white-space: normal;
|
|
|
|
|
|
|
|
.stream-privacy-type-icon {
|
|
|
|
font-size: 13px;
|
|
|
|
width: 13px;
|
|
|
|
height: 13px;
|
|
|
|
padding-right: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: hsl(220deg 12% 4.9% / 5%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
outline: none;
|
2023-05-10 14:59:56 +02:00
|
|
|
}
|
2023-05-07 14:42:54 +02:00
|
|
|
}
|
2023-05-13 10:50:52 +02:00
|
|
|
|
2023-11-10 02:45:45 +01:00
|
|
|
.dropdown-list-item-common-styles .dropdown-list-bold-selected {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
2023-05-13 10:50:52 +02:00
|
|
|
#scheduled_messages_overlay .error-icon-message-recipient {
|
|
|
|
width: 15px;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-end;
|
|
|
|
flex-grow: 1;
|
|
|
|
color: var(--color-failed-message-send-icon);
|
|
|
|
|
|
|
|
.zulip-icon {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
}
|
2023-10-10 21:21:48 +02:00
|
|
|
|
|
|
|
#unstar_all_messages,
|
|
|
|
.emoji-popover-tab-item {
|
|
|
|
.zulip-icon-star {
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
}
|
2023-03-20 04:22:58 +01:00
|
|
|
|
|
|
|
.typeahead-option-label {
|
|
|
|
display: flex !important;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
> strong {
|
|
|
|
margin-right: 14px;
|
|
|
|
}
|
|
|
|
}
|
2023-07-17 17:26:24 +02:00
|
|
|
|
|
|
|
.header-main .column-right {
|
|
|
|
display: flex;
|
|
|
|
width: auto;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
|
|
|
margin-right: 7px;
|
|
|
|
|
|
|
|
& a:focus {
|
|
|
|
filter: none;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-13 12:51:35 +02:00
|
|
|
.header-button {
|
2023-07-17 17:26:24 +02:00
|
|
|
width: var(--header-height);
|
|
|
|
height: var(--header-height);
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2023-10-13 12:51:35 +02:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2023-10-19 19:23:10 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-header-button-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var(--color-header-button-focus);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-visible {
|
|
|
|
outline: none;
|
|
|
|
background-color: var(--color-header-button-focus);
|
|
|
|
}
|
|
|
|
|
2023-10-13 12:51:35 +02:00
|
|
|
.zulip-icon {
|
|
|
|
color: var(--color-navbar-icon);
|
|
|
|
}
|
|
|
|
|
|
|
|
.zulip-icon-gear {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
2023-11-22 08:25:31 +01:00
|
|
|
.zulip-icon-help-bigger,
|
2023-10-13 12:51:35 +02:00
|
|
|
.zulip-icon-triple-users {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
2023-10-21 13:57:36 +02:00
|
|
|
|
|
|
|
.zulip-icon-help {
|
|
|
|
position: relative;
|
|
|
|
top: 0.5px;
|
|
|
|
right: -0.5px;
|
|
|
|
}
|
2023-07-17 17:26:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#personal-menu {
|
|
|
|
.header-button-avatar {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
background-size: cover;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: var(--color-background-image-loader);
|
2023-07-17 18:01:16 +02:00
|
|
|
border: 1px solid var(--color-border-personal-menu-avatar);
|
|
|
|
}
|
|
|
|
}
|