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-03-23 19:00:15 +01:00
|
|
|
.tippy-content {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2023-03-23 18:57:47 +01:00
|
|
|
/* TODO: Clean this logic up after drop Bootstrap styling */
|
|
|
|
& ul.nav {
|
|
|
|
/* Override default padding of tippyjs */
|
|
|
|
margin: 0 -9px;
|
|
|
|
|
|
|
|
/* Override bootstrap defaults */
|
|
|
|
.nav-list > li > a {
|
|
|
|
padding: 3px 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Override bootstrap defaults */
|
|
|
|
& hr {
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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%);
|
2023-05-07 14:42:54 +02:00
|
|
|
|
|
|
|
.tippy-content {
|
|
|
|
font-size: 14px;
|
|
|
|
color: hsl(0deg 0% 75%);
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-23 00:54:00 +01:00
|
|
|
.popover {
|
|
|
|
width: auto;
|
2020-08-26 07:07:24 +02:00
|
|
|
max-width: 100%;
|
2017-03-23 00:54:00 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& hr {
|
2019-07-03 18:39:02 +02:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2019-07-03 18:31:55 +02:00
|
|
|
|
2019-07-03 18:39:02 +02:00
|
|
|
.sub_disable_btn_hint {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
font-size: small;
|
|
|
|
text-align: justify;
|
|
|
|
}
|
2019-07-03 18:31:55 +02:00
|
|
|
}
|
|
|
|
|
2017-09-27 19:27:05 +02:00
|
|
|
.popover-content {
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 5px 0;
|
2017-09-27 19:27:05 +02:00
|
|
|
}
|
|
|
|
|
2017-03-23 00:54:00 +01:00
|
|
|
.popover-title {
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
|
2019-07-03 18:39:02 +02:00
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-03-23 00:54:00 +01:00
|
|
|
}
|
|
|
|
|
2022-10-19 13:03:10 +02:00
|
|
|
.user_full_name,
|
|
|
|
.bot_owner {
|
2022-07-12 21:25:02 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2022-10-03 13:29:59 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover_user_name_row {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-04-18 00:55:36 +02:00
|
|
|
|
|
|
|
.zulip-icon.zulip-icon-bot {
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
2022-10-03 13:29:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.user_info_popover_action_buttons {
|
|
|
|
display: flex;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user_info_popover_manage_menu_btn {
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2022-07-12 21:25:02 +02:00
|
|
|
|
2022-10-03 13:29:59 +02:00
|
|
|
.user_popover_manage_menu {
|
|
|
|
.zulip-icon {
|
|
|
|
/* Overriding CSS margin */
|
2022-07-12 21:25:02 +02:00
|
|
|
margin-right: 0;
|
|
|
|
}
|
2022-10-03 13:29:59 +02:00
|
|
|
}
|
2022-07-12 21:25:02 +02:00
|
|
|
|
2022-10-03 13:29:59 +02:00
|
|
|
.info_popover_actions .custom_user_field {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.value {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Overriding CSS from rendered_markdown.css */
|
|
|
|
.rendered_markdown p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Overriding CSS from bootstrap > nav-list. */
|
|
|
|
.custom_profile_fields_link {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
|
|
|
&:hover {
|
2023-03-03 04:52:36 +01:00
|
|
|
background-color: transparent !important;
|
2022-10-03 13:29:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2023-03-03 04:52:36 +01:00
|
|
|
background-color: transparent !important;
|
2022-10-03 13:29:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.info_popover_actions .user_info_popover_manage_menu_btn {
|
|
|
|
/* Create a larger click target around the icon. */
|
|
|
|
padding: 0 6px;
|
|
|
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
2022-07-12 21:25:02 +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
|
|
|
}
|
|
|
|
|
2019-07-04 07:48:19 +02:00
|
|
|
.streams_popover {
|
2020-05-20 22:12:29 +02:00
|
|
|
.topic-name {
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
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 {
|
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%);
|
2020-05-01 03:03:43 +02:00
|
|
|
font-size: 12px;
|
|
|
|
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
|
|
|
|
2019-07-04 07:48:19 +02:00
|
|
|
.popover_sub_unsub_button {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-top: 0;
|
2019-07-04 07:48:19 +02:00
|
|
|
float: none;
|
|
|
|
}
|
2017-03-23 00:54:00 +01:00
|
|
|
}
|
|
|
|
|
2019-07-04 07:54:27 +02:00
|
|
|
ul {
|
2022-09-16 12:31:59 +02:00
|
|
|
&.info_popover_actions i,
|
|
|
|
&.actions_popover i,
|
|
|
|
&.streams_popover i,
|
|
|
|
&.topics_popover i {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
2022-10-03 13:29:59 +02:00
|
|
|
|
|
|
|
&:not(.popover_action_icon) {
|
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.popover_action_icon, .custom_user_field i) {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
2022-09-16 13:11:23 +02:00
|
|
|
|
|
|
|
&.zulip-icon {
|
|
|
|
/* These icons are different from font awesome icons,
|
|
|
|
so they need to be aligned separately. */
|
|
|
|
line-height: 14px;
|
|
|
|
position: relative;
|
2022-10-03 13:29:59 +02:00
|
|
|
|
|
|
|
&:not(.zulip-icon-bot) {
|
|
|
|
top: 2px;
|
|
|
|
}
|
2022-09-16 13:11:23 +02:00
|
|
|
}
|
2019-07-04 07:54:27 +02:00
|
|
|
}
|
2017-03-23 00:54:00 +01:00
|
|
|
|
2020-05-15 16:08:25 +02:00
|
|
|
&.topics_popover {
|
|
|
|
.topic-name {
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
2020-06-20 17:50:19 +02:00
|
|
|
|
|
|
|
.fa-chevron-right {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2020-05-15 16:08:25 +02:00
|
|
|
}
|
2020-02-19 01:38:34 +01:00
|
|
|
}
|
2022-09-16 12:31:59 +02:00
|
|
|
|
|
|
|
&.info_popover_actions i.fa-edit {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-01-15 03:02:23 +01:00
|
|
|
}
|
2022-10-05 12:41:38 +02:00
|
|
|
|
2022-11-29 08:05:14 +01:00
|
|
|
.actions_popover {
|
2021-08-05 00:59:03 +02:00
|
|
|
.mark_as_unread {
|
|
|
|
.unread_count {
|
|
|
|
/* The icon for this menu item is in the form of an unread count from
|
|
|
|
the left sidebar. We reuse much of the shared styling,
|
|
|
|
but need to override some of the defaults set in app_components.css. */
|
|
|
|
display: inline;
|
|
|
|
float: unset;
|
|
|
|
line-height: 14px;
|
|
|
|
font-size: 11px;
|
2023-03-27 08:43:07 +02:00
|
|
|
font-weight: 600;
|
2021-08-05 00:59:03 +02:00
|
|
|
margin-right: 2px;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(200deg 100% 40%);
|
2021-08-05 00:59:03 +02:00
|
|
|
/* Override random undesired bootstrap style */
|
|
|
|
text-shadow: none;
|
|
|
|
/* Not center aligned but looks better. */
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-03 13:29:59 +02:00
|
|
|
/* Important note: The user info popover user_popover class is applied
|
|
|
|
to user info popovers ONLY when they are opened from the right
|
|
|
|
sidebar; otherwise, it will have the user-info-popover class
|
|
|
|
instead. */
|
2017-03-23 00:54:00 +01:00
|
|
|
.user_popover {
|
2017-07-27 19:35:35 +02:00
|
|
|
width: 240px;
|
|
|
|
|
2017-04-08 02:10:48 +02:00
|
|
|
margin: -14px;
|
2017-07-27 19:35:35 +02:00
|
|
|
padding: 0;
|
2020-08-06 02:34:58 +02:00
|
|
|
|
|
|
|
.popover-title {
|
|
|
|
padding: 0;
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(0deg 0% 0% / 20%);
|
2020-08-06 02:34:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.popover_info li {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2017-07-27 19:35:35 +02:00
|
|
|
}
|
|
|
|
|
2020-06-25 21:35:01 +02:00
|
|
|
.message-info-popover,
|
|
|
|
.user-info-popover {
|
2017-12-13 20:45:06 +01:00
|
|
|
width: 240px;
|
2019-07-04 08:24:33 +02:00
|
|
|
padding: 0;
|
|
|
|
|
2019-07-04 08:26:18 +02:00
|
|
|
.popover-title {
|
|
|
|
padding: 0;
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(0deg 0% 0% / 20%);
|
2019-07-04 08:26:18 +02:00
|
|
|
}
|
2019-07-04 08:24:33 +02:00
|
|
|
}
|
|
|
|
|
2019-07-09 12:31:47 +02:00
|
|
|
.group-info-popover {
|
|
|
|
.manage-group a {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-02-14 05:21:46 +01:00
|
|
|
|
2019-07-09 12:32:48 +02:00
|
|
|
.group-info {
|
|
|
|
text-align: center;
|
|
|
|
|
2019-07-09 12:33:44 +02:00
|
|
|
.group-name {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2019-07-09 12:31:47 +02:00
|
|
|
}
|
2018-02-14 05:21:46 +01:00
|
|
|
|
2019-07-09 12:31:47 +02:00
|
|
|
.member-list {
|
|
|
|
position: relative;
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-y: auto;
|
|
|
|
list-style: none;
|
|
|
|
margin-left: 0;
|
|
|
|
|
|
|
|
.bot {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(180deg 5% 74%);
|
2019-07-09 12:31:47 +02:00
|
|
|
vertical-align: top;
|
|
|
|
width: 20px;
|
|
|
|
padding-top: 3.5px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
2018-02-14 05:21:46 +01:00
|
|
|
}
|
|
|
|
|
2022-11-14 22:01:19 +01:00
|
|
|
.user_profile_presence,
|
|
|
|
.popover_user_presence {
|
2019-02-18 15:59:34 +01:00
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
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
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
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%);
|
2022-06-05 09:51:26 +02:00
|
|
|
width: 120px;
|
2021-06-03 09:36:43 +02:00
|
|
|
font-weight: 600;
|
2022-06-05 09:51:26 +02:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.value {
|
|
|
|
vertical-align: top;
|
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 {
|
|
|
|
font-size: 1.5rem;
|
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
|
|
|
|
2023-02-11 11:06:47 +01:00
|
|
|
.user_profile_edit_button {
|
|
|
|
width: 25px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2023-04-18 00:55:20 +02:00
|
|
|
.user_profile_name {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.zulip-icon.zulip-icon-bot {
|
|
|
|
padding: 3px 0 0;
|
|
|
|
}
|
|
|
|
|
2023-03-08 09:09:52 +01:00
|
|
|
#user_profile_edit_button_icon {
|
2022-10-14 00:34:57 +02:00
|
|
|
font-size: 18px;
|
2021-06-03 09:36:43 +02:00
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
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;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
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;
|
2021-06-30 23:07:02 +02:00
|
|
|
|
2021-06-30 18:47:04 +02:00
|
|
|
.stream-list-header {
|
|
|
|
margin: 0;
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& tbody:empty::after,
|
2021-06-03 09:36:43 +02:00
|
|
|
&:empty::after {
|
|
|
|
content: attr(data-empty);
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
text-align: center;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 67%);
|
2021-06-03 09:36:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:empty {
|
|
|
|
display: block;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-04-23 20:41:35 +02:00
|
|
|
}
|
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width < $md_min) {
|
2020-06-25 21:35:01 +02:00
|
|
|
.message-info-popover,
|
|
|
|
.user-info-popover {
|
2017-05-11 01:43:33 +02:00
|
|
|
display: flex !important;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
/* these are to override JS embedded inline styles. */
|
2020-08-06 02:42:07 +02:00
|
|
|
top: 0 !important;
|
|
|
|
left: 0 !important;
|
2017-05-11 01:43:33 +02:00
|
|
|
margin: 0 !important;
|
2020-04-23 23:49:51 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-05-11 01:43:33 +02:00
|
|
|
|
2023-04-28 23:03:37 +02:00
|
|
|
background-color: hsl(0deg 0% 0% / 70%) !important;
|
2020-08-06 02:42:07 +02:00
|
|
|
border-radius: 0;
|
2017-05-11 01:43:33 +02:00
|
|
|
border: none;
|
|
|
|
|
2019-07-04 07:56:09 +02:00
|
|
|
.popover-inner {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2019-07-04 07:56:09 +02:00
|
|
|
}
|
2017-05-11 01:43:33 +02:00
|
|
|
}
|
2017-09-26 21:54:34 +02:00
|
|
|
|
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;
|
|
|
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
2019-07-04 07:56:09 +02:00
|
|
|
&.fade.in {
|
|
|
|
opacity: 1;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
2017-09-26 21:54:34 +02:00
|
|
|
|
2019-07-04 07:56:09 +02:00
|
|
|
.popover {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-09-26 21:54:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-info-popover {
|
|
|
|
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-06-22 17:31:32 +02:00
|
|
|
.giphy-popover {
|
|
|
|
.tippy-content {
|
|
|
|
/* We remove the default padding from this container
|
|
|
|
as it is not necessary for the Giphy popover. */
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
* between gif columns. */
|
|
|
|
width: 305px;
|
2021-04-11 14:25:40 +02:00
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
2021-03-19 13:21:18 +01:00
|
|
|
|
|
|
|
.giphy-gif {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.giphy-gif-img:focus {
|
|
|
|
/* 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
|
|
|
*/
|
2023-03-20 22:08:47 +01:00
|
|
|
outline-color: hsl(0deg 100% 50%);
|
2021-03-19 13:21:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-box {
|
|
|
|
display: flex;
|
|
|
|
position: sticky;
|
2021-04-11 14:26:53 +02:00
|
|
|
padding: 2px;
|
2021-03-19 13:21:18 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& input {
|
2021-03-19 13:21:18 +01:00
|
|
|
flex-grow: 1;
|
|
|
|
margin: 5px;
|
2021-04-11 14:25:40 +02:00
|
|
|
border-radius: 3px;
|
2023-06-22 17:31:32 +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);
|
2021-03-19 13:21:18 +01:00
|
|
|
}
|
2021-04-11 14:26:53 +02:00
|
|
|
|
|
|
|
.clear_search_button {
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
right: 3px;
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
.fa-remove {
|
2023-03-20 22:08:47 +01:00
|
|
|
outline: 2px solid hsl(215deg 47% 50%);
|
2021-04-11 14:26:53 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-03-19 13:21:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.popover-content {
|
|
|
|
overflow: auto;
|
|
|
|
height: 200px;
|
2021-04-11 14:25:40 +02:00
|
|
|
margin: 2px;
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-08 06:05:18 +02:00
|
|
|
@media (width < $md_min) {
|
2021-03-19 13:21:18 +01:00
|
|
|
#giphy_grid_in_popover {
|
|
|
|
position: static;
|
|
|
|
top: 0 !important;
|
|
|
|
left: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-05 22:12:31 +01:00
|
|
|
.user_info_status_text {
|
|
|
|
opacity: 0.8;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2023-03-15 21:56:35 +01:00
|
|
|
.status-emoji {
|
2021-06-29 17:21:30 +02:00
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
2022-10-03 13:29:59 +02:00
|
|
|
/* Override the default 3px left margin for status emoji, which is
|
|
|
|
intended for their presentation elsewhere to the left of a
|
|
|
|
user's name. */
|
|
|
|
margin-left: 0;
|
2022-10-04 09:19:30 +02:00
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#status_message {
|
|
|
|
padding: 1px 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
hyphens: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status_text {
|
|
|
|
overflow-wrap: anywhere;
|
2021-06-29 17:21:30 +02:00
|
|
|
}
|
2019-02-05 22:12:31 +01:00
|
|
|
}
|
2020-02-19 01:38:34 +01:00
|
|
|
|
2021-05-10 04:47:08 +02:00
|
|
|
#move_topic_modal {
|
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 {
|
|
|
|
/* Override the default border-radius to properly align
|
|
|
|
the button corners with `stream_header_colorblock`. */
|
|
|
|
border-radius: 1px 4px 4px 1px !important;
|
|
|
|
outline: none;
|
|
|
|
line-height: 24px;
|
|
|
|
width: auto;
|
|
|
|
max-width: 206px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stream_header_colorblock {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
font-size: 13px;
|
|
|
|
width: 13px;
|
|
|
|
height: 13px;
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-chevron-down {
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|