2023-03-23 18:57:47 +01:00
|
|
|
/*
|
|
|
|
Our Tippy popovers use the strangely named "light-border" Tippy
|
|
|
|
theme, so this block defines the common styling for all of our Tippy
|
|
|
|
popovers. (Tippy tooltips are defined in tooltips.css).
|
|
|
|
*/
|
|
|
|
.tippy-box[data-theme="light-border"] {
|
2023-11-23 08:53:22 +01:00
|
|
|
background-color: var(--color-background-popover);
|
2024-07-05 18:51:03 +02:00
|
|
|
/* Basic Tippy popovers scale with the base font-size. */
|
|
|
|
font-size: var(--base-font-size-px);
|
2023-11-23 08:53:22 +01:00
|
|
|
|
2023-08-01 15:53:24 +02:00
|
|
|
.sp-input {
|
|
|
|
/* Override incorrect color for text in dark theme. */
|
|
|
|
color: var(--color-text-default) !important;
|
|
|
|
}
|
|
|
|
|
2023-03-23 19:00:15 +01:00
|
|
|
.tippy-content {
|
2024-07-05 18:51:03 +02:00
|
|
|
/* We set the font-size here to override the
|
|
|
|
default value in the upstream tippy.css */
|
|
|
|
/* 14px at 14px/1em */
|
|
|
|
font-size: 1em;
|
2023-03-23 19:00:15 +01:00
|
|
|
}
|
|
|
|
|
2023-08-31 14:21:23 +02:00
|
|
|
/* TODO: Clean this logic up after drop Bootstrap styling */
|
|
|
|
& hr {
|
|
|
|
/* Override bootstrap defaults */
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
|
2023-11-23 08:53:22 +01:00
|
|
|
&[data-placement^="top"] {
|
|
|
|
> .tippy-arrow {
|
|
|
|
&::before {
|
|
|
|
border-top-color: var(--color-background-popover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-placement^="bottom"] {
|
|
|
|
> .tippy-arrow {
|
|
|
|
&::before {
|
|
|
|
border-bottom-color: var(--color-background-popover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-placement^="left"] {
|
|
|
|
> .tippy-arrow {
|
|
|
|
&::before {
|
|
|
|
border-left-color: var(--color-background-popover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-placement^="right"] {
|
|
|
|
> .tippy-arrow {
|
|
|
|
&::before {
|
|
|
|
border-right-color: var(--color-background-popover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-03-23 18:57:47 +01:00
|
|
|
}
|
|
|
|
|
2023-05-07 14:42:54 +02:00
|
|
|
.tippy-box[data-theme="dropdown-widget"] {
|
|
|
|
border-radius: 6px;
|
|
|
|
background-color: hsl(240deg 20% 98%);
|
|
|
|
border: 1px solid hsl(0deg 0% 0% / 40%);
|
2023-07-21 23:08:07 +02:00
|
|
|
box-shadow:
|
|
|
|
0 7px 13px hsl(0deg 0% 0% / 15%),
|
|
|
|
0 5px 8px hsl(0deg 0% 0% / 12%),
|
|
|
|
0 2px 4px hsl(0deg 0% 0% / 10%);
|
2024-07-05 18:51:03 +02:00
|
|
|
/* Tippy dropdown widgets scale with the base font-size. */
|
|
|
|
font-size: var(--base-font-size-px);
|
2023-05-07 14:42:54 +02:00
|
|
|
|
|
|
|
.tippy-content {
|
2024-07-05 18:51:03 +02:00
|
|
|
/* We set the font-size here to override the
|
|
|
|
default value in the upstream tippy.css */
|
|
|
|
/* 14px at 14px/1em */
|
|
|
|
font-size: 1em;
|
2023-05-07 14:42:54 +02:00
|
|
|
color: hsl(0deg 0% 75%);
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-04 22:33:25 +02:00
|
|
|
.tippy-box[data-theme="popover-menu"] {
|
2024-02-08 13:16:05 +01:00
|
|
|
background-color: var(--color-background-popover-menu);
|
|
|
|
border: 1px solid var(--color-border-popover-menu);
|
2023-10-14 00:57:23 +02:00
|
|
|
border-radius: 6px;
|
2024-02-08 13:16:05 +01:00
|
|
|
box-shadow: var(--box-shadow-popover-menu);
|
2024-07-05 18:51:03 +02:00
|
|
|
/* Popover menus should scale no smaller than 15px,
|
|
|
|
but scale up with the base font-size. */
|
|
|
|
font-size: max(15px, var(--base-font-size-px));
|
2023-10-14 00:57:23 +02:00
|
|
|
|
|
|
|
> .tippy-content {
|
|
|
|
padding: 0;
|
2024-07-05 18:51:03 +02:00
|
|
|
/* We set the font-size here to override the
|
|
|
|
default value in the upstream tippy.css */
|
|
|
|
/* 15 at 15px/1em */
|
|
|
|
font-size: 1em;
|
2023-10-14 00:57:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
> .tippy-arrow {
|
2024-02-08 13:16:05 +01:00
|
|
|
color: var(--color-background-popover-menu);
|
|
|
|
}
|
2023-10-14 00:57:23 +02:00
|
|
|
|
2024-02-08 13:16:05 +01:00
|
|
|
&[data-placement^="top"] > .tippy-arrow::before {
|
|
|
|
bottom: var(--popover-tippy-arrow-before-offset);
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-placement^="bottom"] > .tippy-arrow::before {
|
|
|
|
top: var(--popover-tippy-arrow-before-offset);
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-placement^="left"] > .tippy-arrow::before {
|
|
|
|
right: var(--popover-tippy-arrow-before-offset);
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-placement^="right"] > .tippy-arrow::before {
|
|
|
|
left: var(--popover-tippy-arrow-before-offset);
|
2023-10-14 00:57:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-04 22:33:25 +02:00
|
|
|
.tippy-box[data-theme="popover-menu"]:has(#gear-menu-dropdown) {
|
|
|
|
--box-shadow-popover-menu: var(--box-shadow-gear-menu);
|
|
|
|
}
|
|
|
|
|
2024-07-25 00:42:12 +02:00
|
|
|
.user_full_name {
|
2022-07-12 21:25:02 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2022-10-03 13:29:59 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2024-07-12 20:19:01 +02:00
|
|
|
.user-card-popover-actions {
|
2024-07-23 22:09:16 +02:00
|
|
|
--color-text-item: var(--color-text-user-card-secondary);
|
|
|
|
|
2024-07-25 00:42:12 +02:00
|
|
|
.user-card-popover-bot-owner-field {
|
|
|
|
&.text-item {
|
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pill-container {
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pill {
|
|
|
|
border: none;
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--color-text-popover-menu);
|
|
|
|
background-color: var(--color-background-text-direct-mention);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-text-popover-menu);
|
|
|
|
background-color: var(
|
|
|
|
--color-background-text-hover-direct-mention
|
|
|
|
);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pill-container {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2024-07-12 20:19:01 +02:00
|
|
|
.custom-profile-field-value {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 5px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2024-07-09 23:26:35 +02:00
|
|
|
}
|
|
|
|
|
2024-07-12 20:19:01 +02:00
|
|
|
.custom-profile-field-value.rendered_markdown p {
|
2024-06-25 15:29:50 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2024-07-12 20:19:01 +02:00
|
|
|
/* Overriding CSS from rendered_markdown.css */
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-profile-field-link {
|
|
|
|
color: var(--color-text-item);
|
2022-10-03 13:29:59 +02:00
|
|
|
|
|
|
|
&:hover {
|
2024-07-12 20:19:01 +02:00
|
|
|
color: var(--color-text-link);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-visible {
|
|
|
|
color: var(--color-text-url-hover);
|
|
|
|
outline: 1px solid var(--color-outline-focus) !important;
|
|
|
|
outline-offset: 2px;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-profile-field-text {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2022-10-03 13:29:59 +02:00
|
|
|
}
|
2024-06-25 15:29:50 +02:00
|
|
|
}
|
2022-10-03 13:29:59 +02:00
|
|
|
}
|
|
|
|
|
2023-09-18 09:50:39 +02:00
|
|
|
.custom-user-url-field {
|
|
|
|
display: flex;
|
2024-08-22 12:08:44 +02:00
|
|
|
align-items: center;
|
2024-07-30 23:45:49 +02:00
|
|
|
/* Maintain space between URL and copy icon. */
|
|
|
|
gap: 3px;
|
2023-09-18 09:50:39 +02:00
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.custom-profile-fields-link {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.copy-custom-field-url {
|
2024-08-22 12:08:44 +02:00
|
|
|
height: 1em;
|
2023-09-18 09:50:39 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-23 00:54:00 +01:00
|
|
|
.sp-container {
|
2019-07-10 19:07:34 +02:00
|
|
|
z-index: 106;
|
2017-03-23 00:54:00 +01:00
|
|
|
}
|
|
|
|
|
2024-09-10 18:30:14 +02:00
|
|
|
#stream-actions-menu-popover,
|
|
|
|
#stream-card-popover {
|
2024-04-18 21:44:12 +02:00
|
|
|
.popover-stream-name {
|
|
|
|
font-weight: 600;
|
|
|
|
color: var(--color-text-popover-menu);
|
|
|
|
line-height: 1.1;
|
2023-12-10 03:20:07 +01:00
|
|
|
}
|
|
|
|
|
2024-04-18 21:44:12 +02:00
|
|
|
.popover-stream-name,
|
|
|
|
.stream-privacy.filter-icon {
|
|
|
|
margin-top: 4px;
|
2020-05-20 22:12:29 +02:00
|
|
|
}
|
|
|
|
|
2024-07-16 11:05:22 +02:00
|
|
|
.zulip-icon-lock {
|
|
|
|
/* Override the margin-top set on the stream lock icon
|
|
|
|
at the top-level, since we don't need to pull up this
|
|
|
|
icon for the stream actions popover header. */
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
|
2024-09-10 18:30:14 +02:00
|
|
|
.popover-stream-info-menu-description {
|
|
|
|
color: var(--color-text-popover-menu);
|
|
|
|
}
|
|
|
|
|
2019-07-04 07:48:19 +02:00
|
|
|
.colorpicker-container {
|
2020-05-13 08:49:24 +02:00
|
|
|
display: none;
|
2019-07-04 07:48:19 +02:00
|
|
|
margin-right: 10px;
|
2019-07-09 13:02:16 +02:00
|
|
|
|
|
|
|
.sp-container {
|
2024-07-05 19:03:46 +02:00
|
|
|
/* The base-font size for the color container is 12px,
|
|
|
|
inherited from the upstream spectrum.css file. */
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2019-07-09 13:02:16 +02:00
|
|
|
cursor: pointer;
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
.sp-palette-container {
|
|
|
|
border-right: none;
|
|
|
|
}
|
2019-07-09 13:05:30 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& input {
|
2020-08-04 23:58:56 +02:00
|
|
|
box-sizing: inherit; /* IE */
|
2019-07-09 13:05:30 +02:00
|
|
|
box-sizing: initial;
|
|
|
|
|
|
|
|
width: calc(100% - 13px);
|
|
|
|
}
|
2020-05-01 03:03:43 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& button {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2020-05-01 03:03:43 +02:00
|
|
|
background-image: none;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
2020-05-01 03:03:43 +02:00
|
|
|
border-radius: 4px;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 25%);
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 12px at 12px/1em */
|
|
|
|
font-size: 1em;
|
2020-05-01 03:03:43 +02:00
|
|
|
padding: 6px;
|
|
|
|
text-transform: capitalize;
|
|
|
|
text-align: center;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
2020-05-01 03:34:10 +02:00
|
|
|
|
|
|
|
.sp-picker-container {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-left: solid 1px hsl(0deg 0% 88%);
|
2020-05-01 03:34:10 +02:00
|
|
|
}
|
2019-07-09 13:02:16 +02:00
|
|
|
}
|
2019-07-04 07:48:19 +02:00
|
|
|
}
|
2017-03-23 00:54:00 +01:00
|
|
|
}
|
|
|
|
|
2024-04-18 23:53:41 +02:00
|
|
|
#topic-actions-menu-popover {
|
|
|
|
.popover-topic-name {
|
|
|
|
font-weight: 600;
|
|
|
|
color: var(--color-text-popover-menu);
|
2023-12-10 05:38:30 +01:00
|
|
|
line-height: 1.1;
|
2024-04-18 23:53:41 +02:00
|
|
|
margin-top: 4px;
|
2024-06-21 17:21:09 +02:00
|
|
|
white-space: pre-wrap;
|
2023-12-10 05:38:30 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-03 23:22:28 +02:00
|
|
|
.popover-group-menu-info {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 5px;
|
|
|
|
padding: 3px 10px;
|
|
|
|
}
|
2019-07-09 12:32:48 +02:00
|
|
|
|
2024-07-03 23:22:28 +02:00
|
|
|
.popover-group-menu-name-container {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
gap: 5px;
|
2024-07-14 13:36:52 +02:00
|
|
|
/* 18px at 15px/1em */
|
|
|
|
font-size: 1.2em;
|
2024-07-03 23:22:28 +02:00
|
|
|
font-weight: 600;
|
2024-07-14 13:36:52 +02:00
|
|
|
/* 20px at 18px/1em */
|
|
|
|
line-height: 1.1111em;
|
2024-07-03 23:22:28 +02:00
|
|
|
color: var(--color-text-full-name);
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2024-02-06 01:30:32 +01:00
|
|
|
|
2024-07-03 23:22:28 +02:00
|
|
|
.popover-group-menu-description {
|
2024-07-14 13:36:52 +02:00
|
|
|
/* 15px at 15px/1em */
|
|
|
|
font-size: 1em;
|
|
|
|
/* 16px at 15px/1em */
|
|
|
|
line-height: 1.0667em;
|
2024-07-03 23:22:28 +02:00
|
|
|
}
|
2018-02-14 05:21:46 +01:00
|
|
|
|
2024-07-03 23:22:28 +02:00
|
|
|
ul.popover-group-menu-member-list {
|
|
|
|
max-height: 300px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-12-07 05:09:52 +01:00
|
|
|
|
2024-07-03 23:22:28 +02:00
|
|
|
.simplebar-content {
|
|
|
|
width: unset;
|
2023-12-07 05:09:52 +01:00
|
|
|
}
|
2024-07-03 23:22:28 +02:00
|
|
|
}
|
2023-12-07 05:09:52 +01:00
|
|
|
|
2024-07-18 06:03:50 +02:00
|
|
|
.popover-group-menu-member,
|
|
|
|
.popover-group-menu-placeholder {
|
2024-07-03 23:22:28 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 10px;
|
2024-10-23 09:00:59 +02:00
|
|
|
|
|
|
|
.zulip-icon-triple-users {
|
|
|
|
color: var(--color-icon-purple);
|
2024-10-23 09:10:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.zulip-icon {
|
2024-10-23 09:00:59 +02:00
|
|
|
padding-left: 3px;
|
|
|
|
padding-right: 3px;
|
|
|
|
}
|
2024-07-03 23:22:28 +02:00
|
|
|
}
|
2019-07-09 12:31:47 +02:00
|
|
|
|
2024-07-03 23:22:28 +02:00
|
|
|
.popover-group-menu-member-name {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-group-menu-description,
|
2024-07-18 06:03:50 +02:00
|
|
|
.popover-group-menu-member-name,
|
|
|
|
.popover-group-menu-placeholder {
|
2024-07-03 23:22:28 +02:00
|
|
|
color: var(--color-text-popover-menu);
|
2018-02-14 05:21:46 +01:00
|
|
|
}
|
|
|
|
|
2022-11-14 22:01:19 +01:00
|
|
|
.user_profile_presence,
|
|
|
|
.popover_user_presence {
|
2024-06-26 17:11:57 +02:00
|
|
|
width: var(--length-user-status-circle);
|
|
|
|
height: var(--length-user-status-circle);
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0 5px;
|
2019-07-09 12:29:40 +02:00
|
|
|
display: inline-block;
|
|
|
|
float: initial;
|
|
|
|
position: relative;
|
2022-10-03 13:29:59 +02:00
|
|
|
top: 0;
|
|
|
|
flex-shrink: 0;
|
2019-02-18 15:59:34 +01:00
|
|
|
}
|
|
|
|
|
2024-06-26 17:11:57 +02:00
|
|
|
.user_profile_presence {
|
|
|
|
/* Remove font-size to allow this to scale
|
|
|
|
with the menu header text. Declaring font-size
|
|
|
|
here maintains the legacy design of keeping
|
|
|
|
the user-circle smaller, despite the larger
|
|
|
|
surrounding text and icons. */
|
|
|
|
font-size: var(--base-font-size-px);
|
|
|
|
}
|
|
|
|
|
2019-05-29 05:59:53 +02:00
|
|
|
.bot-owner-name {
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(200deg 100% 40%);
|
2019-05-29 05:59:53 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-23 00:54:00 +01:00
|
|
|
.popover-avatar {
|
|
|
|
height: 240px;
|
|
|
|
width: 240px;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
position: relative;
|
2018-12-17 02:25:00 +01:00
|
|
|
|
|
|
|
&.guest-avatar::after {
|
2023-03-20 22:08:47 +01:00
|
|
|
outline: 10px solid hsl(0deg 0% 100%);
|
2018-12-17 02:25:00 +01:00
|
|
|
}
|
2017-03-29 00:26:38 +02:00
|
|
|
|
2019-07-04 08:30:45 +02:00
|
|
|
.popover-inner {
|
|
|
|
width: 240px;
|
|
|
|
}
|
2019-07-04 08:29:50 +02:00
|
|
|
}
|
|
|
|
|
2018-10-05 05:29:44 +02:00
|
|
|
#user-profile-modal {
|
2021-07-22 17:50:59 +02:00
|
|
|
.modal__body {
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 60vh;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
user_profile: Fix inconsistent height of user profile switching tabs.
This commit fixes the inconsistent height of the user profile when
switching tabs. We now have four tabs in the user profile:
"Profile," "Streams," "User Groups," and "Manage User." However,
the "Manage User" tab has footer buttons that need to remain
sticky at the bottom without changing the overall height of
the modal.
To achieve this, we wrapped the footer inside a div element and
assigned it a class called "manage-profile-tab-footer." The main
body of the user profile is given a height of 60vh. However, for
the "Manage User" tab, we decreased this height to 52vh and
allocated the remaining 8vh height to the div element to
accommodate the footer buttons. This ensures that the user
profile maintains consistent height when switching between tabs.
However, we have a 1px border in the footer, so to ensure that
the height is consistent, we reduce the height of the modal
content by 1px, making it calc(52vh - 1px).
To implement this, CSS code was added to the "popover.css" file
and accessed through the class specified in the "user_profile.js"
file.
The default padding of the buttons inside footer is 20px, but
with the above solution on large screens the buttons are not
aligned properly, so removed the padding top and bottom
and instead applied the flex box and property to align the buttons.
2023-09-09 14:26:50 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
The height of the main body of the profile modal is 60vh. However,
|
|
|
|
the footer is only present in the manage user tab. To make sure the
|
|
|
|
modal doesn't expand while switching between tabs, we can reduce
|
|
|
|
the height of the main body to 52vh - 1px (border radius of the footer)
|
|
|
|
and add a footer of 8vh.
|
|
|
|
*/
|
|
|
|
&.modal__body__manage_profile_height {
|
|
|
|
height: calc(52vh - 1px);
|
|
|
|
}
|
2021-07-22 17:50:59 +02:00
|
|
|
}
|
|
|
|
|
2022-10-14 00:34:57 +02:00
|
|
|
.modal__header {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2022-11-14 22:01:19 +01:00
|
|
|
.user_profile_presence {
|
|
|
|
margin: 5px;
|
2022-11-09 20:53:11 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2021-07-22 17:50:59 +02:00
|
|
|
.modal__close {
|
2022-10-14 00:34:57 +02:00
|
|
|
position: absolute;
|
|
|
|
right: 20px;
|
2021-07-22 17:50:59 +02:00
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2021-06-03 09:36:43 +02:00
|
|
|
#tab-toggle {
|
|
|
|
font-weight: initial;
|
2022-10-14 00:34:57 +02:00
|
|
|
padding: 0 16px 6px;
|
2021-06-03 09:36:43 +02:00
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2021-06-03 09:36:43 +02:00
|
|
|
.name {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 20%);
|
2021-06-03 09:36:43 +02:00
|
|
|
font-weight: 600;
|
2022-06-05 09:51:26 +02:00
|
|
|
margin-right: 10px;
|
2024-05-06 14:45:01 +02:00
|
|
|
overflow-wrap: break-word;
|
2022-06-05 09:51:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.value {
|
|
|
|
vertical-align: top;
|
2024-05-06 14:45:01 +02:00
|
|
|
overflow-wrap: anywhere;
|
2021-06-03 09:36:43 +02:00
|
|
|
}
|
2018-05-24 20:56:53 +02:00
|
|
|
|
2018-10-05 05:29:44 +02:00
|
|
|
#exit-sign {
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 24px at 14px/1em */
|
|
|
|
font-size: 1.7143em;
|
2021-06-11 23:14:08 +02:00
|
|
|
line-height: 1;
|
2018-10-05 05:29:44 +02:00
|
|
|
}
|
2018-05-24 20:56:53 +02:00
|
|
|
|
2022-06-05 14:12:19 +02:00
|
|
|
#profile-tab {
|
2023-01-28 02:59:41 +01:00
|
|
|
margin: 1px 5px 0;
|
2023-02-21 13:18:57 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& li.custom_user_field {
|
2023-02-21 13:18:57 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2022-06-05 16:37:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.top {
|
2022-06-05 14:12:19 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2022-06-30 14:06:34 +02:00
|
|
|
@media (width < $ml_min) {
|
|
|
|
.top {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-05 05:29:44 +02:00
|
|
|
#avatar {
|
|
|
|
display: inline-block;
|
|
|
|
height: 180px;
|
|
|
|
width: 180px;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
border-radius: 5px;
|
2023-03-20 22:08:47 +01:00
|
|
|
box-shadow: 0 0 0 1px hsl(0deg 0% 0% / 20%);
|
2018-12-18 02:25:07 +01:00
|
|
|
|
|
|
|
&.guest-avatar::after {
|
2023-03-20 22:08:47 +01:00
|
|
|
outline: 9px solid hsl(0deg 0% 100%);
|
2018-12-18 02:25:07 +01:00
|
|
|
}
|
2018-10-05 05:29:44 +02:00
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2024-04-25 17:12:50 +02:00
|
|
|
.user-profile-manage-own-edit-button,
|
|
|
|
.user-profile-manage-others-edit-button {
|
2024-04-03 09:24:40 +02:00
|
|
|
text-decoration: none;
|
2024-07-12 13:55:08 +02:00
|
|
|
/* 15px at 22px/1em */
|
|
|
|
font-size: 0.6818em;
|
2024-01-25 15:45:10 +01:00
|
|
|
}
|
|
|
|
|
2024-04-03 09:24:40 +02:00
|
|
|
.user-profile-manage-own-copy-link-button {
|
2024-07-12 13:55:08 +02:00
|
|
|
/* 19px at 22px/1em */
|
|
|
|
font-size: 0.8638em;
|
2024-04-03 09:24:40 +02:00
|
|
|
text-decoration: none;
|
2024-01-25 15:45:10 +01:00
|
|
|
}
|
|
|
|
|
2024-04-03 09:24:40 +02:00
|
|
|
.zulip-icon-link,
|
|
|
|
.zulip-icon-edit {
|
|
|
|
vertical-align: middle;
|
2023-10-26 07:00:31 +02:00
|
|
|
}
|
|
|
|
|
2023-10-26 06:57:18 +02:00
|
|
|
.deactivated-user-icon {
|
|
|
|
margin: -1px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2018-10-05 05:29:44 +02:00
|
|
|
#default-section {
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
.default-field {
|
2022-06-05 16:37:04 +02:00
|
|
|
margin-bottom: 10px;
|
2018-10-05 05:29:44 +02:00
|
|
|
}
|
2022-06-05 16:37:04 +02:00
|
|
|
}
|
2018-10-05 05:29:44 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& hr {
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 93%);
|
2018-10-05 05:29:44 +02:00
|
|
|
margin: 5px 0;
|
|
|
|
}
|
2018-04-23 20:41:35 +02:00
|
|
|
|
2018-10-05 05:29:44 +02:00
|
|
|
#content {
|
|
|
|
.field-section {
|
2022-06-05 16:37:04 +02:00
|
|
|
margin-bottom: 10px;
|
2018-04-23 20:41:35 +02:00
|
|
|
|
2018-10-05 05:29:44 +02:00
|
|
|
.name {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 20%);
|
2020-06-11 05:11:49 +02:00
|
|
|
font-weight: 600;
|
2018-10-05 05:29:44 +02:00
|
|
|
}
|
2018-04-23 20:41:35 +02:00
|
|
|
|
2018-10-05 05:29:44 +02:00
|
|
|
&[data-type="2"] .value {
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
|
|
|
}
|
2022-06-05 16:37:04 +02:00
|
|
|
|
|
|
|
.rendered_markdown p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.col-left {
|
2022-06-30 13:49:19 +02:00
|
|
|
padding: 0 10px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.col-right {
|
|
|
|
width: fit-content;
|
2018-10-05 05:29:44 +02:00
|
|
|
}
|
2018-10-15 21:58:01 +02:00
|
|
|
|
2021-06-03 09:36:43 +02:00
|
|
|
.tab-data {
|
|
|
|
.active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2023-09-08 22:46:01 +02:00
|
|
|
.stream-tab-element-header {
|
|
|
|
margin: 0;
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: inherit;
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 21px at 14px/1em */
|
|
|
|
font-size: 1.5em;
|
2023-09-08 22:46:01 +02:00
|
|
|
}
|
|
|
|
|
2021-07-02 21:25:50 +02:00
|
|
|
#user-profile-streams-tab {
|
2021-06-30 23:07:02 +02:00
|
|
|
.stream_list_info {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
2021-07-02 20:51:28 +02:00
|
|
|
|
|
|
|
.stream-privacy {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-icon i {
|
|
|
|
padding-right: 3px;
|
|
|
|
}
|
2023-09-08 19:37:58 +02:00
|
|
|
|
|
|
|
.user_profile_subscribe_widget {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: baseline;
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
2021-06-30 23:07:02 +02:00
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2021-06-30 18:47:04 +02:00
|
|
|
.stream-list-top-section {
|
|
|
|
display: flex;
|
2023-09-08 22:46:01 +02:00
|
|
|
margin-top: 12px;
|
2021-06-30 18:47:04 +02:00
|
|
|
|
|
|
|
.stream-search {
|
|
|
|
margin-left: auto;
|
|
|
|
align-self: center;
|
2021-10-25 22:34:46 +02:00
|
|
|
padding-right: 20px;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2021-06-30 18:47:04 +02:00
|
|
|
}
|
2021-06-30 22:17:19 +02:00
|
|
|
|
|
|
|
#clear_stream_search {
|
|
|
|
display: none;
|
|
|
|
padding: 5px 8px 5px 4px;
|
|
|
|
position: relative;
|
|
|
|
right: 0;
|
|
|
|
}
|
2021-06-30 16:49:06 +02:00
|
|
|
}
|
|
|
|
|
2021-06-23 11:48:01 +02:00
|
|
|
.subscription-group-list,
|
|
|
|
.subscription-stream-list {
|
2021-06-03 09:36:43 +02:00
|
|
|
position: relative;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 83%);
|
2021-06-03 09:36:43 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
overflow: auto;
|
|
|
|
text-align: left;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
2023-02-05 21:33:31 +01:00
|
|
|
.remove-subscription-button {
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
2021-06-03 09:36:43 +02:00
|
|
|
.user-stream-list,
|
|
|
|
.user-group-list {
|
|
|
|
width: 100%;
|
|
|
|
margin: auto;
|
|
|
|
border-radius: 6px;
|
2023-07-24 16:59:11 +02:00
|
|
|
border-collapse: collapse;
|
2021-06-03 09:36:43 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& tr {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-bottom: 1px solid hsl(0deg 0% 87%);
|
2023-02-05 21:33:31 +01:00
|
|
|
/* Ensure equal height for rows with a remove-subscription-button and
|
|
|
|
those without one. */
|
|
|
|
height: 34px;
|
2021-06-03 09:36:43 +02:00
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& td {
|
2021-06-03 09:36:43 +02:00
|
|
|
padding: 4px 0;
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
2021-06-30 23:07:02 +02:00
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.remove_subscription {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2021-06-03 09:36:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
user_profile: Fix inconsistent height of user profile switching tabs.
This commit fixes the inconsistent height of the user profile when
switching tabs. We now have four tabs in the user profile:
"Profile," "Streams," "User Groups," and "Manage User." However,
the "Manage User" tab has footer buttons that need to remain
sticky at the bottom without changing the overall height of
the modal.
To achieve this, we wrapped the footer inside a div element and
assigned it a class called "manage-profile-tab-footer." The main
body of the user profile is given a height of 60vh. However, for
the "Manage User" tab, we decreased this height to 52vh and
allocated the remaining 8vh height to the div element to
accommodate the footer buttons. This ensures that the user
profile maintains consistent height when switching between tabs.
However, we have a 1px border in the footer, so to ensure that
the height is consistent, we reduce the height of the modal
content by 1px, making it calc(52vh - 1px).
To implement this, CSS code was added to the "popover.css" file
and accessed through the class specified in the "user_profile.js"
file.
The default padding of the buttons inside footer is 20px, but
with the above solution on large screens the buttons are not
aligned properly, so removed the padding top and bottom
and instead applied the flex box and property to align the buttons.
2023-09-09 14:26:50 +02:00
|
|
|
|
|
|
|
.manage-profile-tab-footer {
|
|
|
|
height: 0;
|
|
|
|
|
|
|
|
&.modal__footer_wrapper {
|
|
|
|
border-top: 1px solid hsl(0deg 0% 87%);
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
|
|
|
height: 8vh;
|
|
|
|
|
|
|
|
/* The default padding of the footer is 20px. However, since we have set */
|
|
|
|
/* the height of the footer wrapper to be 8vh on different screen sizes, */
|
|
|
|
/* the buttons might look odd. Instead of using padding top and bottom, we */
|
|
|
|
/* just use the flex and properties to align them. */
|
|
|
|
.modal__footer {
|
|
|
|
padding-top: unset;
|
|
|
|
padding-bottom: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-08-24 19:07:11 +02:00
|
|
|
|
|
|
|
.empty-list {
|
|
|
|
border: none;
|
|
|
|
|
2023-10-15 12:23:06 +02:00
|
|
|
.empty-table-message {
|
2023-08-24 19:07:11 +02:00
|
|
|
padding: 3em 1em;
|
|
|
|
}
|
|
|
|
}
|
2018-04-23 20:41:35 +02:00
|
|
|
}
|
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width < $md_min) {
|
2020-10-20 19:43:41 +02:00
|
|
|
.colorpicker-popover {
|
|
|
|
display: flex !important;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
/* these are to override JS embedded inline styles. */
|
|
|
|
top: 0 !important;
|
|
|
|
left: 0 !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 0% / 70%);
|
2020-10-20 19:43:41 +02:00
|
|
|
border-radius: 0;
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
.popover-inner {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2020-10-20 19:43:41 +02:00
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width < $sm_min) {
|
2020-10-20 19:43:41 +02:00
|
|
|
.popover-inner {
|
|
|
|
width: 70%;
|
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-10-20 19:43:41 +02:00
|
|
|
.sp-picker-container {
|
|
|
|
border-left: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-26 21:54:34 +02:00
|
|
|
.popover-flex {
|
|
|
|
position: absolute;
|
|
|
|
top: 0 !important;
|
|
|
|
left: 0 !important;
|
|
|
|
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
|
|
|
|
display: flex !important;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 0% / 70%);
|
2017-09-26 21:54:34 +02:00
|
|
|
|
2021-06-27 21:24:11 +02:00
|
|
|
/* 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;
|
2017-09-26 21:54:34 +02:00
|
|
|
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
|
2024-10-23 21:41:16 +02:00
|
|
|
transition: opacity 0.3s ease;
|
2017-09-26 21:54:34 +02:00
|
|
|
|
2019-07-04 07:56:09 +02:00
|
|
|
&.fade.in {
|
|
|
|
opacity: 1;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
2017-09-26 21:54:34 +02:00
|
|
|
}
|
|
|
|
|
2023-08-25 15:26:28 +02:00
|
|
|
.emoji-picker-popover {
|
2017-09-26 21:54:34 +02:00
|
|
|
position: static;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2021-06-30 18:47:04 +02:00
|
|
|
#user-profile-modal {
|
|
|
|
.stream-list-top-section {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.header-section {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stream-search {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
2021-06-30 22:17:19 +02:00
|
|
|
|
|
|
|
#clear_stream_search {
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
2021-06-30 18:47:04 +02:00
|
|
|
}
|
|
|
|
}
|
2017-05-11 01:43:33 +02:00
|
|
|
}
|
2017-05-12 20:17:17 +02:00
|
|
|
|
2021-03-19 13:21:18 +01:00
|
|
|
.popover.top .arrow::after {
|
|
|
|
left: -1px;
|
|
|
|
}
|
|
|
|
|
2023-08-25 12:19:43 +02:00
|
|
|
.giphy-popover,
|
2024-06-25 15:29:50 +02:00
|
|
|
.emoji-popover-root {
|
2023-06-22 17:31:32 +02:00
|
|
|
.tippy-content {
|
|
|
|
/* We remove the default padding from this container
|
|
|
|
as it is not necessary for the Giphy popover. */
|
|
|
|
padding: 0;
|
2023-07-25 17:41:58 +02:00
|
|
|
|
|
|
|
/* By resetting to the default color from the `body`,
|
|
|
|
we can ignore the colors applied from `tippy-box`. */
|
|
|
|
color: var(--color-text-default);
|
2023-06-22 17:31:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-25 12:19:43 +02:00
|
|
|
.emoji-popover-root {
|
|
|
|
/* The emoji popover has a different background color for the
|
|
|
|
header and footer, so we customize the arrow to match this color. */
|
|
|
|
.tippy-box[data-placement="top"] .tippy-arrow::before {
|
2024-05-31 09:34:28 +02:00
|
|
|
border-top-color: var(--color-border-emoji-picker-tippy-arrow);
|
2023-08-25 12:19:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-placement="bottom"] .tippy-arrow::before {
|
2024-05-31 09:34:28 +02:00
|
|
|
border-bottom-color: var(--color-border-emoji-picker-tippy-arrow);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-placement="left"] .tippy-arrow::before {
|
|
|
|
border-left-color: var(--color-border-emoji-picker-tippy-arrow);
|
2023-08-25 12:19:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-19 13:21:18 +01:00
|
|
|
#giphy_grid_in_popover {
|
2021-04-11 15:46:56 +02:00
|
|
|
/* 300px of GIPHY grid + 5px is the extra gutter space
|
2024-06-27 14:46:49 +02:00
|
|
|
* + 1px for outline.
|
2021-04-11 15:46:56 +02:00
|
|
|
* between gif columns. */
|
2024-06-27 14:46:49 +02:00
|
|
|
width: 306px;
|
2021-04-11 14:25:40 +02:00
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
2021-03-19 13:21:18 +01:00
|
|
|
|
2024-06-27 14:46:49 +02:00
|
|
|
.giphy-content {
|
|
|
|
position: relative;
|
|
|
|
left: 1px;
|
|
|
|
}
|
|
|
|
|
2021-03-19 13:21:18 +01:00
|
|
|
.giphy-gif {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2024-06-27 14:46:49 +02:00
|
|
|
.giphy-gif:focus {
|
2021-03-19 13:21:18 +01:00
|
|
|
/* Red outline for clear visibility
|
2021-04-25 22:54:23 +02:00
|
|
|
* of which image is in focus.
|
2021-03-19 13:21:18 +01:00
|
|
|
*/
|
2024-06-27 14:46:49 +02:00
|
|
|
outline: 1px solid hsl(0deg 100% 50%);
|
2021-03-19 13:21:18 +01:00
|
|
|
}
|
|
|
|
|
2023-10-09 19:17:50 +02:00
|
|
|
.giphy-scrolling-container {
|
2021-03-19 13:21:18 +01:00
|
|
|
overflow: auto;
|
|
|
|
height: 200px;
|
2021-04-11 14:25:40 +02:00
|
|
|
margin: 2px;
|
2023-10-09 19:17:50 +02:00
|
|
|
padding: 5px 0;
|
2021-03-19 13:21:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.popover-footer {
|
|
|
|
text-align: center;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 0%);
|
2023-06-22 17:31:32 +02:00
|
|
|
/* The border radius corresponds to the default radius value from `tippy-box`. */
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
|
|
|
|
/* This prevents the footer from experiencing height
|
|
|
|
fluctuations at the moment when the image is uploaded. */
|
|
|
|
min-height: 25px;
|
2021-03-19 13:21:18 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& img {
|
2021-03-19 13:21:18 +01:00
|
|
|
width: 120px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-10 04:47:08 +02:00
|
|
|
#move_topic_modal {
|
2024-07-05 19:03:46 +02:00
|
|
|
/* Modals have a 16px/1em base font-size. */
|
2023-03-17 22:10:10 +01:00
|
|
|
& form {
|
2021-07-18 11:18:03 +02:00
|
|
|
margin: 0;
|
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2023-07-19 16:09:53 +02:00
|
|
|
#move_topic_to_stream_widget_wrapper {
|
2023-06-20 12:18:41 +02:00
|
|
|
display: flex;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
.dropdown-widget-button {
|
|
|
|
outline: none;
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 24px at 16px/1em */
|
|
|
|
line-height: 1.5em;
|
2023-06-20 12:18:41 +02:00
|
|
|
width: auto;
|
|
|
|
max-width: 206px;
|
|
|
|
}
|
|
|
|
|
2023-07-19 16:09:53 +02:00
|
|
|
.dropdown_widget_value {
|
2023-06-20 12:18:41 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
color: var(--color-text-default);
|
|
|
|
|
|
|
|
.stream-privacy-type-icon {
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 13px at 16px/1em */
|
|
|
|
font-size: 0.8125em;
|
|
|
|
/* 13px at 13px/1em */
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2023-06-20 12:18:41 +02:00
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-20 21:49:28 +01:00
|
|
|
.zulip-icon-chevron-down {
|
2023-06-20 12:18:41 +02:00
|
|
|
padding-left: 5px;
|
|
|
|
color: hsl(0deg 0% 58%);
|
|
|
|
font-weight: lighter;
|
|
|
|
}
|
2021-07-16 20:19:36 +02:00
|
|
|
}
|
|
|
|
|
2023-04-18 17:24:55 +02:00
|
|
|
.move_messages_edit_topic {
|
2021-07-18 11:18:03 +02:00
|
|
|
margin-bottom: 10px;
|
2021-05-10 04:47:08 +02:00
|
|
|
}
|
2020-05-12 13:41:45 +02:00
|
|
|
|
2021-05-10 04:47:08 +02:00
|
|
|
.topic_stream_edit_header {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
#select_stream_id {
|
|
|
|
border-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: 0 5px 5px -10px;
|
|
|
|
text-indent: 10px;
|
|
|
|
}
|
2021-12-03 15:08:55 +01:00
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
position: fixed;
|
|
|
|
top: 125px;
|
|
|
|
left: 40px;
|
|
|
|
}
|
2021-05-10 04:47:08 +02:00
|
|
|
}
|
2020-05-12 13:41:45 +02:00
|
|
|
}
|
2022-06-06 15:38:17 +02:00
|
|
|
|
|
|
|
#language_selection_modal {
|
|
|
|
width: min(750px, 70vw);
|
|
|
|
}
|
|
|
|
|
|
|
|
.default_language_modal_table {
|
|
|
|
column-count: 3;
|
|
|
|
|
|
|
|
@media (width < $md_min) {
|
|
|
|
column-count: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (width < $sm_min) {
|
|
|
|
column-count: 1;
|
|
|
|
}
|
|
|
|
}
|
2023-04-14 21:34:41 +02:00
|
|
|
|
|
|
|
#send_later_popover {
|
|
|
|
& hr {
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
2023-04-24 20:29:07 +02:00
|
|
|
}
|
2023-04-14 21:34:41 +02:00
|
|
|
|
2023-04-24 20:29:07 +02:00
|
|
|
#send_later_modal {
|
|
|
|
.modal__content {
|
|
|
|
padding-bottom: 16px;
|
2023-04-14 21:34:41 +02:00
|
|
|
}
|
|
|
|
}
|
2023-07-25 17:21:20 +02:00
|
|
|
|
2024-06-05 18:08:51 +02:00
|
|
|
.visibility-policy-popover {
|
|
|
|
.popover-menu-list {
|
|
|
|
padding: 2px;
|
|
|
|
}
|
2024-03-27 11:59:58 +01:00
|
|
|
}
|
2023-10-23 11:37:21 +02:00
|
|
|
|
2024-03-27 11:59:58 +01:00
|
|
|
.recipient-bar-topic-visibility-switcher {
|
|
|
|
.tab-option-content {
|
2024-07-12 13:55:08 +02:00
|
|
|
/* 15px at 16px/1em */
|
|
|
|
font-size: 0.9375em;
|
2024-03-27 11:59:58 +01:00
|
|
|
color: var(--color-text-popover-menu);
|
|
|
|
gap: 10px;
|
|
|
|
justify-content: flex-start;
|
2023-07-25 17:21:20 +02:00
|
|
|
padding: 2px 13px;
|
|
|
|
}
|
|
|
|
}
|
2023-07-17 18:01:16 +02:00
|
|
|
|
2024-06-25 15:29:50 +02:00
|
|
|
.popover-menu-user-header {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
gap: 7px;
|
|
|
|
text-align: left;
|
|
|
|
padding: 4px;
|
|
|
|
|
|
|
|
.popover-menu-user-avatar-container {
|
|
|
|
position: relative;
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-menu-user-avatar {
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-menu-user-presence {
|
|
|
|
position: absolute;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
right: -1px;
|
|
|
|
bottom: -1px;
|
|
|
|
border: solid 1px var(--color-background);
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-menu-user-info {
|
|
|
|
width: max-content;
|
2024-07-08 23:17:16 +02:00
|
|
|
align-self: center;
|
2024-07-24 17:48:48 +02:00
|
|
|
overflow: hidden;
|
2024-06-25 15:29:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.popover-menu-user-full-name {
|
2024-07-14 13:13:23 +02:00
|
|
|
/* 18px at 15px/1em */
|
|
|
|
font-size: 1.2em;
|
2024-06-25 15:29:50 +02:00
|
|
|
font-weight: 600;
|
2024-07-14 13:13:23 +02:00
|
|
|
/* 20px at 18px/1em */
|
|
|
|
line-height: 1.1111em;
|
2024-06-25 15:29:50 +02:00
|
|
|
color: var(--color-text-full-name);
|
|
|
|
word-break: break-word;
|
2024-09-19 21:37:01 +02:00
|
|
|
|
|
|
|
.zulip-icon.zulip-icon-bot {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2024-06-25 15:29:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.popover-menu-user-type {
|
2024-07-14 13:13:23 +02:00
|
|
|
/* 14px at 15px/1em */
|
|
|
|
font-size: 0.9333em;
|
2024-06-25 15:29:50 +02:00
|
|
|
font-weight: 400;
|
2024-07-14 13:13:23 +02:00
|
|
|
/* 16px at 14px/1em */
|
|
|
|
line-height: 1.1428em;
|
2024-06-25 15:29:50 +02:00
|
|
|
color: var(--color-text-item);
|
2024-07-24 17:48:48 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2024-06-25 15:29:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.user_circle_empty {
|
|
|
|
background-color: var(--color-background-popover-menu);
|
|
|
|
border-color: hsl(0deg 0% 50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-12 21:21:17 +02:00
|
|
|
.user-card-popover-email-field {
|
2024-06-25 15:29:50 +02:00
|
|
|
& .user_popover_email {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2024-07-09 21:03:47 +02:00
|
|
|
}
|
2024-06-25 15:29:50 +02:00
|
|
|
|
2024-07-09 21:03:47 +02:00
|
|
|
#popover-menu-copy-email,
|
|
|
|
.copy-custom-profile-field-link {
|
|
|
|
display: flex;
|
|
|
|
margin-left: auto;
|
2024-06-25 15:29:50 +02:00
|
|
|
|
2024-07-09 21:03:47 +02:00
|
|
|
&.hide_copy_icon {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-06-25 15:29:50 +02:00
|
|
|
|
2024-07-09 21:03:47 +02:00
|
|
|
&:focus-visible {
|
2024-07-09 23:26:35 +02:00
|
|
|
outline: 1px solid var(--color-outline-focus) !important;
|
2024-06-25 15:29:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 18:01:16 +02:00
|
|
|
.personal-menu-header {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
gap: 7px;
|
|
|
|
text-align: left;
|
|
|
|
padding: 4px;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
position: relative;
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-image {
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-circle {
|
|
|
|
position: absolute;
|
2024-06-26 17:11:57 +02:00
|
|
|
width: var(--length-user-status-circle);
|
|
|
|
height: var(--length-user-status-circle);
|
2023-07-17 18:01:16 +02:00
|
|
|
top: unset;
|
|
|
|
left: unset;
|
|
|
|
right: -1px;
|
|
|
|
bottom: -1px;
|
|
|
|
border: solid 1px var(--color-background);
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user_circle_empty {
|
2024-04-04 22:33:25 +02:00
|
|
|
background-color: var(--color-background-popover-menu);
|
2023-07-17 18:01:16 +02:00
|
|
|
border-color: hsl(0deg 0% 50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-area {
|
|
|
|
flex-grow: 1;
|
|
|
|
padding-top: 4px;
|
|
|
|
|
|
|
|
& p {
|
|
|
|
margin: 0 0 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.full-name {
|
2024-07-12 13:55:08 +02:00
|
|
|
/* 18px at 15px/1em */
|
|
|
|
font-size: 1.2em;
|
2023-07-17 18:01:16 +02:00
|
|
|
font-weight: 600;
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 20px at 18px/1em */
|
|
|
|
line-height: 1.1111em;
|
2023-07-17 18:01:16 +02:00
|
|
|
color: var(--color-text-full-name) !important;
|
|
|
|
max-width: 150px;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-type {
|
2024-07-12 13:55:08 +02:00
|
|
|
/* 14px at 15px/1em */
|
|
|
|
font-size: 0.9333em;
|
2023-07-17 18:01:16 +02:00
|
|
|
font-weight: 400;
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 16px at 14px/1em */
|
|
|
|
line-height: 1.1429em;
|
2023-07-17 18:01:16 +02:00
|
|
|
color: var(--color-text-item) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-04 22:33:25 +02:00
|
|
|
.popover-menu {
|
2023-10-13 01:59:52 +02:00
|
|
|
margin: 0;
|
|
|
|
max-height: 85vh;
|
|
|
|
overflow-x: hidden;
|
|
|
|
user-select: none;
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
|
|
.simplebar-content {
|
2024-03-27 22:02:37 +01:00
|
|
|
/* Set the popover menu width equal to the width of the
|
|
|
|
longest menu item, thus letting the menu items control
|
|
|
|
the width of the menu. */
|
2023-12-06 22:54:38 +01:00
|
|
|
width: min-content;
|
2024-03-27 22:02:37 +01:00
|
|
|
/* Set `max-width` to the minimum of `97vw` and the value defined by
|
|
|
|
the `--popover-menu-max-width` custom property, which should be defined
|
|
|
|
as a local custom property in the scope of a particular popover where
|
|
|
|
we want apply a `max-width` limit.
|
|
|
|
|
|
|
|
When we don't define this local custom property, the fallback value of
|
|
|
|
`97vw` is considered and the `max-width` is then set to `min(97vw, 97vw)`
|
|
|
|
which is simply equivalent to `97vw`.
|
|
|
|
|
|
|
|
IMPORTANT: Setting `--popover-menu-max-width` in the `:root` scope
|
|
|
|
instead of the local scope, eliminates the fallback behavior and thus
|
|
|
|
prevents us from setting the max-width on a case-to-case basis. */
|
|
|
|
max-width: min(var(--popover-menu-max-width, 97vw), 97vw);
|
2023-12-06 22:54:38 +01:00
|
|
|
}
|
|
|
|
|
2024-03-27 22:02:37 +01:00
|
|
|
.popover-menu-label {
|
|
|
|
/* Keep menu items on a single line, unless forced to wrap
|
|
|
|
by a max-width on the popover. */
|
|
|
|
width: max-content;
|
2024-06-13 09:32:26 +02:00
|
|
|
flex: 1 0 0;
|
2023-10-13 01:59:52 +02:00
|
|
|
}
|
2023-07-17 18:01:16 +02:00
|
|
|
|
|
|
|
.text-item,
|
2024-04-04 22:33:25 +02:00
|
|
|
.link-item .popover-menu-link {
|
2024-03-27 22:51:10 +01:00
|
|
|
box-sizing: border-box;
|
2023-07-17 18:01:16 +02:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
2024-03-27 22:51:10 +01:00
|
|
|
align-items: flex-start;
|
2023-07-17 18:01:16 +02:00
|
|
|
gap: 5px;
|
2024-11-05 18:00:33 +01:00
|
|
|
/* 3px at 15px/1em, 10px at 15px/1em */
|
2024-07-12 14:38:37 +02:00
|
|
|
padding: 0.2em 0.6666em;
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 15px at 15px/1em */
|
|
|
|
font-size: 1em;
|
|
|
|
/* 16px at 15px/1em */
|
|
|
|
line-height: 1.0667em;
|
2024-11-05 18:00:33 +01:00
|
|
|
/* 26px at 16px/1em - this height was carried forward
|
|
|
|
despite the information density change in 15px > 16px,
|
|
|
|
so we calculate its height to the 16px em in use. */
|
|
|
|
min-height: 1.625em;
|
2023-07-17 18:01:16 +02:00
|
|
|
|
2024-04-04 22:33:25 +02:00
|
|
|
.popover-menu-icon {
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 16px at 15px/1em */
|
|
|
|
font-size: 1.0667em;
|
|
|
|
/* 16px at 16px/1em */
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2023-07-17 18:01:16 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-item {
|
|
|
|
color: var(--color-text-item);
|
|
|
|
width: auto;
|
|
|
|
user-select: text;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-item {
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
&:focus-within {
|
2024-04-04 22:33:25 +02:00
|
|
|
background: var(--color-background-hover-popover-menu);
|
2023-07-17 18:01:16 +02:00
|
|
|
}
|
|
|
|
|
2024-03-27 22:51:10 +01:00
|
|
|
.popover-menu-label,
|
|
|
|
.popover-menu-icon {
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
|
2024-04-04 22:33:25 +02:00
|
|
|
.popover-menu-icon {
|
2023-07-17 18:01:16 +02:00
|
|
|
color: var(--color-icon-purple);
|
|
|
|
}
|
|
|
|
|
2024-04-04 22:33:25 +02:00
|
|
|
.popover-menu-link {
|
|
|
|
color: var(--color-text-popover-menu) !important;
|
2023-07-17 18:01:16 +02:00
|
|
|
text-decoration: none;
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
&:hover {
|
2024-04-04 22:33:25 +02:00
|
|
|
background: var(--color-background-hover-popover-menu);
|
2023-07-17 18:01:16 +02:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2023-10-19 18:08:45 +02:00
|
|
|
&:focus-visible {
|
2023-07-17 18:01:16 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
/* Override the default focus style */
|
|
|
|
outline: 1px solid var(--color-outline-focus) !important;
|
|
|
|
outline-offset: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-04-04 22:33:25 +02:00
|
|
|
background: var(--color-background-active-popover-menu);
|
2023-07-17 18:01:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-05 18:08:51 +02:00
|
|
|
.tab-picker {
|
2024-06-11 01:00:05 +02:00
|
|
|
&.popover-menu-tab-group {
|
|
|
|
margin: 2px 10px;
|
|
|
|
}
|
|
|
|
|
2024-06-05 18:08:51 +02:00
|
|
|
.tab-option-content:focus-visible {
|
|
|
|
border-radius: 4px;
|
|
|
|
/* Override the default focus style */
|
|
|
|
outline: 1px solid var(--color-outline-focus) !important;
|
|
|
|
outline-offset: -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 18:01:16 +02:00
|
|
|
.status_emoji {
|
2024-07-01 19:40:47 +02:00
|
|
|
align-self: flex-start;
|
2024-06-25 16:04:20 +02:00
|
|
|
flex-shrink: 0;
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 16px at 15px/1em */
|
|
|
|
width: 1.0667em;
|
|
|
|
height: 1.0667em;
|
2023-07-17 18:01:16 +02:00
|
|
|
}
|
2023-10-13 12:51:35 +02:00
|
|
|
|
2024-08-15 23:26:28 +02:00
|
|
|
.popover-menu-icon {
|
2023-10-13 12:51:35 +02:00
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-01 12:52:49 +02:00
|
|
|
#help-menu-dropdown,
|
|
|
|
#gear-menu-dropdown,
|
|
|
|
#personal-menu-dropdown {
|
|
|
|
.simplebar-content {
|
|
|
|
min-width: var(--navbar-popover-menu-min-width);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#message-actions-menu-dropdown {
|
2024-07-12 15:26:15 +02:00
|
|
|
/* 350px at 15px/1em */
|
|
|
|
--popover-menu-max-width: 23.3333em;
|
2024-05-01 12:52:49 +02:00
|
|
|
|
|
|
|
.simplebar-content {
|
|
|
|
min-width: var(--message-actions-popover-min-width);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#stream-actions-menu-popover,
|
|
|
|
#topic-actions-menu-popover {
|
|
|
|
.simplebar-content {
|
|
|
|
min-width: var(--topic-actions-popover-min-width);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-25 15:29:50 +02:00
|
|
|
#user_card_popover {
|
2024-07-12 21:28:36 +02:00
|
|
|
/* 250px at 14px/1em */
|
|
|
|
--popover-menu-max-width: 17.8571em;
|
2024-06-25 15:29:50 +02:00
|
|
|
|
|
|
|
.simplebar-content {
|
|
|
|
min-width: var(--user-card-popover-min-width);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-03 23:22:28 +02:00
|
|
|
.user-group-info-popover {
|
|
|
|
.simplebar-content {
|
|
|
|
min-width: var(--user-group-info-popover-min-width);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-10 18:30:14 +02:00
|
|
|
#stream-card-popover {
|
|
|
|
.simplebar-content {
|
|
|
|
min-width: var(--stream-card-popover-min-width);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-23 08:51:45 +02:00
|
|
|
.personal-menu-clear-status {
|
2023-10-23 09:22:47 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-10-23 08:51:45 +02:00
|
|
|
margin-left: auto;
|
|
|
|
color: hsl(0deg 0% 40%) !important;
|
2023-10-23 09:22:47 +02:00
|
|
|
border-radius: 4px;
|
2023-11-01 07:11:37 +01:00
|
|
|
opacity: 0.5;
|
2023-10-23 08:51:45 +02:00
|
|
|
|
2024-07-01 19:26:21 +02:00
|
|
|
&:focus {
|
|
|
|
/* Override bootstrap defaults */
|
2024-07-09 23:26:35 +02:00
|
|
|
outline: 1px solid var(--color-outline-focus) !important;
|
2024-07-01 19:26:21 +02:00
|
|
|
outline-offset: 0;
|
|
|
|
}
|
|
|
|
|
2023-10-23 09:22:47 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2023-11-01 07:11:37 +01:00
|
|
|
opacity: 0.9;
|
2023-10-23 08:51:45 +02:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-23 09:22:47 +02:00
|
|
|
.personal-menu-clear-status .personal-menu-clear-status-icon {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
2023-10-25 11:52:32 +02:00
|
|
|
.personal-menu-status-wrapper {
|
|
|
|
display: flex;
|
2024-07-01 19:40:47 +02:00
|
|
|
align-items: flex-start;
|
2023-10-25 11:52:32 +02:00
|
|
|
gap: 5px;
|
|
|
|
}
|
|
|
|
|
2023-11-01 07:09:03 +01:00
|
|
|
.personal-menu-status-text {
|
|
|
|
color: var(--color-text-personal-menu-some-status);
|
|
|
|
}
|
|
|
|
|
|
|
|
.personal-menu-no-status-text {
|
|
|
|
color: var(--color-text-personal-menu-no-status);
|
|
|
|
}
|
|
|
|
|
2023-10-13 12:51:35 +02:00
|
|
|
#gear-menu-dropdown {
|
2024-05-24 06:08:39 +02:00
|
|
|
.org-info-container {
|
2024-03-21 04:13:45 +01:00
|
|
|
padding: 9px 0 5px;
|
2024-05-24 06:08:39 +02:00
|
|
|
border-bottom: solid 1px var(--color-border-popover-menu-separator);
|
2023-10-13 12:51:35 +02:00
|
|
|
|
2024-05-24 06:08:39 +02:00
|
|
|
.org-info {
|
2023-10-13 12:51:35 +02:00
|
|
|
display: flex;
|
2023-12-07 01:34:18 +01:00
|
|
|
justify-content: flex-start;
|
2023-10-13 12:51:35 +02:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 16px at 15px/1em */
|
|
|
|
line-height: 1.0667em;
|
2023-10-13 12:51:35 +02:00
|
|
|
letter-spacing: 0.28px;
|
|
|
|
|
|
|
|
&:focus-within {
|
2024-04-04 22:33:25 +02:00
|
|
|
background: var(--color-background-hover-popover-menu);
|
2023-10-13 12:51:35 +02:00
|
|
|
}
|
|
|
|
|
2024-04-04 22:33:25 +02:00
|
|
|
.popover-menu-link {
|
2023-11-21 12:26:19 +01:00
|
|
|
padding: 2px 10px;
|
2023-10-13 12:51:35 +02:00
|
|
|
flex-grow: 1;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
2024-04-04 22:33:25 +02:00
|
|
|
background: var(--color-background-hover-popover-menu);
|
2023-10-13 12:51:35 +02:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2023-10-19 18:08:45 +02:00
|
|
|
&:focus-visible {
|
2023-10-13 12:51:35 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
/* Override the default focus style */
|
|
|
|
outline: 1px solid var(--color-outline-focus) !important;
|
|
|
|
outline-offset: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-04-04 22:33:25 +02:00
|
|
|
background: var(--color-background-active-popover-menu);
|
2023-10-13 12:51:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.org-url {
|
|
|
|
margin-bottom: 7px;
|
2023-11-21 12:26:19 +01:00
|
|
|
padding: 0 10px;
|
2023-10-13 12:51:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.org-name,
|
2024-04-04 22:33:25 +02:00
|
|
|
.org-plan .popover-menu-link {
|
|
|
|
color: var(--color-text-popover-menu);
|
2023-10-13 12:51:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.org-name {
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 17px at 15px/1em */
|
|
|
|
font-size: 1.1333em;
|
2023-10-13 12:51:35 +02:00
|
|
|
font-weight: 600;
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 22px at 17px/1em */
|
|
|
|
line-height: 1.2941em;
|
2023-11-21 12:26:19 +01:00
|
|
|
padding: 0 10px;
|
2023-10-13 12:51:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.org-upgrade {
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 14px at 15px/1em */
|
|
|
|
font-size: 0.9333em;
|
2024-07-12 13:55:08 +02:00
|
|
|
/* 16px at 14px/1em */
|
|
|
|
line-height: 1.1428em;
|
2023-10-13 12:51:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.org-upgrade,
|
|
|
|
.org-url {
|
|
|
|
color: var(--color-gear-menu-lighter-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.org-upgrade a,
|
|
|
|
.org-version a {
|
|
|
|
color: var(--color-gear-menu-blue-text);
|
|
|
|
}
|
|
|
|
}
|
2023-07-17 18:01:16 +02:00
|
|
|
}
|
2023-10-18 08:40:37 +02:00
|
|
|
|
2024-05-08 06:30:29 +02:00
|
|
|
ul.popover-menu-list {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 4px 0;
|
|
|
|
|
|
|
|
li.popover-menu-separator {
|
|
|
|
margin: 4px 0;
|
|
|
|
border-bottom: solid 1px var(--color-border-popover-menu-separator);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-28 12:27:51 +01:00
|
|
|
.popover-menu-hotkey-hints {
|
|
|
|
display: flex;
|
|
|
|
gap: 4px;
|
2023-10-21 01:58:49 +02:00
|
|
|
margin-left: auto;
|
2024-02-28 12:27:51 +01:00
|
|
|
padding-left: 5px;
|
|
|
|
|
|
|
|
> .popover-menu-hotkey-hint {
|
2024-03-04 12:09:27 +01:00
|
|
|
box-sizing: border-box;
|
2024-03-04 11:52:25 +01:00
|
|
|
color: var(--color-popover-hotkey-hint);
|
2024-02-28 12:27:51 +01:00
|
|
|
text-align: center;
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 14px at 15px/1em */
|
|
|
|
font-size: 0.9333em;
|
2024-02-28 12:27:51 +01:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 500;
|
2024-07-05 19:03:46 +02:00
|
|
|
/* 14px at 14px/1em */
|
|
|
|
line-height: 1em;
|
2024-07-12 14:42:39 +02:00
|
|
|
/* 20px at 14px/1em */
|
|
|
|
min-width: 1.4285em;
|
2024-02-28 12:27:51 +01:00
|
|
|
padding: 2px 4px;
|
|
|
|
border-radius: 3px;
|
2024-03-04 11:52:25 +01:00
|
|
|
border: 1px solid var(--color-border-popover-hotkey-hint);
|
2024-02-28 12:27:51 +01:00
|
|
|
}
|
2023-10-21 01:58:49 +02:00
|
|
|
}
|
2024-11-05 20:09:12 +01:00
|
|
|
|
|
|
|
.condensed-views-popover-menu {
|
|
|
|
.popover-menu-link:has(.label-and-unread-wrapper) {
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.popover-menu-icon {
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-and-unread-wrapper {
|
|
|
|
/* Occupy the maximum width of the
|
|
|
|
parent flex container. */
|
|
|
|
flex: 1 0 max-content;
|
|
|
|
display: flex;
|
|
|
|
gap: 5px;
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-menu-label {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unread_count {
|
|
|
|
margin: 0 0 0 6px;
|
|
|
|
border-color: var(--color-border-unread-counter-popover-menu);
|
|
|
|
width: max-content;
|
|
|
|
height: auto;
|
|
|
|
line-height: 1.2445em;
|
|
|
|
align-self: baseline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|