2015-08-26 15:51:56 -04:00
|
|
|
.menu-panel.slide-in {
|
2015-08-25 12:50:19 -04:00
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
2025-02-05 18:42:55 +01:00
|
|
|
top: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
// ensure there's always space to click outside on tiny devices
|
|
|
|
max-width: 90vw;
|
|
|
|
|
|
|
|
--100dvh: 100%;
|
|
|
|
@supports (height: 100dvh) {
|
|
|
|
--100dvh: 100dvh;
|
|
|
|
}
|
|
|
|
box-shadow: 0 0 30px -2px rgba(0, 0, 0, 0.5);
|
|
|
|
height: var(--100dvh);
|
2015-09-10 09:49:54 -07:00
|
|
|
|
|
|
|
.panel-body {
|
2020-03-23 13:25:33 -04:00
|
|
|
width: 100%;
|
2015-09-10 09:49:54 -07:00
|
|
|
}
|
2015-08-26 14:42:42 -04:00
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2018-12-11 09:15:20 -08:00
|
|
|
.header-cloak {
|
2025-02-05 18:42:55 +01:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
position: fixed;
|
|
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2018-12-11 09:15:20 -08:00
|
|
|
display: none;
|
2025-02-05 18:42:55 +01:00
|
|
|
touch-action: pan-y pinch-zoom;
|
2018-12-11 09:15:20 -08:00
|
|
|
}
|
2015-08-26 14:42:42 -04:00
|
|
|
|
2015-08-26 15:51:56 -04:00
|
|
|
.menu-panel.drop-down {
|
2015-08-26 17:21:20 -04:00
|
|
|
position: absolute;
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2015-09-08 15:31:44 -07:00
|
|
|
// positions are relative to the .d-header .panel div
|
|
|
|
top: 100%; // directly underneath .panel
|
|
|
|
right: -10px; // 10px to the right of .panel - adjust as needed
|
2024-10-31 09:50:01 -04:00
|
|
|
max-height: calc(100dvh - var(--header-offset) - 1em);
|
2023-08-25 16:09:18 -05:00
|
|
|
border-radius: var(--d-border-radius-large);
|
2015-08-26 14:42:42 -04:00
|
|
|
}
|
|
|
|
|
2015-08-26 15:51:56 -04:00
|
|
|
.menu-panel {
|
2020-08-03 22:57:10 -04:00
|
|
|
border: 1px solid var(--primary-low);
|
2023-06-13 16:38:31 -04:00
|
|
|
box-shadow: var(--shadow-menu-panel);
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--secondary);
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("header");
|
2015-08-30 09:26:02 +10:00
|
|
|
padding: 0.5em;
|
2020-12-18 14:50:50 +11:00
|
|
|
width: 320px;
|
2020-08-10 16:17:15 -04:00
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-02-21 13:55:38 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
2025-02-05 18:42:55 +01:00
|
|
|
// remove once glimmer search menu in place
|
|
|
|
.widget-link,
|
|
|
|
.categories-link {
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
display: block;
|
|
|
|
color: var(--primary);
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: var(--d-hover);
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
.new {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
margin-left: 0.5em;
|
|
|
|
color: var(--primary-med-or-secondary-med);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.show-help,
|
|
|
|
&.filter {
|
|
|
|
color: var(--tertiary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-link,
|
|
|
|
.categories-link {
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
display: block;
|
|
|
|
color: var(--primary);
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: var(--d-hover);
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
.new {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
margin-left: 0.5em;
|
|
|
|
color: var(--primary-med-or-secondary-med);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.show-help,
|
|
|
|
&.filter {
|
|
|
|
color: var(--tertiary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li.category-link {
|
|
|
|
float: left;
|
|
|
|
background-color: transparent;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
width: 50%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
.category-name {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-notification {
|
|
|
|
color: var(--primary-med-or-secondary-med);
|
|
|
|
background-color: transparent;
|
|
|
|
display: inline;
|
|
|
|
padding: 0;
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
line-height: var(--line-height-large);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// note these topic counts only appear for anons in the category hamburger drop down
|
|
|
|
b.topics-count {
|
|
|
|
color: var(--primary-med-or-secondary-med);
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
div.discourse-tags {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-panel-header__row {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-sections {
|
|
|
|
&__back-to-forum {
|
|
|
|
color: var(--d-sidebar-link-color);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
margin-right: var(--d-sidebar-section-link-prefix-margin-right);
|
|
|
|
height: 0.75em;
|
|
|
|
width: 0.75em;
|
|
|
|
color: var(--d-sidebar-link-icon-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-01 17:33:37 -04:00
|
|
|
hr {
|
|
|
|
margin: 3px 0;
|
|
|
|
}
|
|
|
|
|
2015-08-26 15:51:56 -04:00
|
|
|
.panel-header {
|
2015-08-26 13:44:48 +10:00
|
|
|
position: absolute;
|
|
|
|
right: 20px;
|
|
|
|
}
|
|
|
|
|
2015-08-25 12:50:19 -04:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2015-08-26 15:51:56 -04:00
|
|
|
.panel-body {
|
2020-08-10 16:17:15 -04:00
|
|
|
display: flex;
|
2018-12-11 09:15:20 -08:00
|
|
|
touch-action: pan-y pinch-zoom;
|
2020-08-10 16:17:15 -04:00
|
|
|
overflow: hidden;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-body-contents {
|
|
|
|
max-height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-body-bottom {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 0 0%; // safari height fix
|
|
|
|
margin-top: 0.5em;
|
2020-12-18 09:03:51 -06:00
|
|
|
flex-wrap: wrap;
|
|
|
|
|
2020-08-10 16:17:15 -04:00
|
|
|
.show-all {
|
2021-06-03 00:14:24 -04:00
|
|
|
display: flex;
|
2020-08-10 16:17:15 -04:00
|
|
|
flex: 1 1 auto;
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2020-08-10 16:17:15 -04:00
|
|
|
button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2020-08-10 16:17:15 -04:00
|
|
|
.notifications-dismiss {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
2020-08-12 17:14:48 -04:00
|
|
|
.btn {
|
2020-08-10 16:17:15 -04:00
|
|
|
background-color: var(--primary-very-low);
|
|
|
|
color: var(--primary-high);
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2025-01-27 15:38:54 -05:00
|
|
|
&:hover,
|
|
|
|
&:focus-visible {
|
2020-08-10 16:17:15 -04:00
|
|
|
background: var(--primary-low);
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
2015-08-26 15:51:56 -04:00
|
|
|
}
|
2019-01-17 11:42:03 -05:00
|
|
|
|
|
|
|
.badge-notification {
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
2024-03-27 14:42:06 +11:00
|
|
|
|
|
|
|
.sidebar-filter {
|
2024-10-08 22:11:07 -06:00
|
|
|
width: 100%;
|
2024-03-27 14:42:06 +11:00
|
|
|
}
|
2015-08-26 15:51:56 -04:00
|
|
|
}
|
|
|
|
|
2023-02-21 15:40:22 +00:00
|
|
|
.search-menu .menu-panel {
|
|
|
|
width: 500px;
|
|
|
|
}
|
|
|
|
|
2022-07-19 05:35:02 +03:00
|
|
|
.user-menu.revamped {
|
|
|
|
right: 0;
|
|
|
|
width: 320px;
|
|
|
|
padding: 0;
|
2025-01-20 15:27:42 +00:00
|
|
|
border-top-right-radius: 0;
|
2022-07-19 05:35:02 +03:00
|
|
|
|
|
|
|
.panel-body-bottom {
|
|
|
|
flex: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-tabs-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
border-left: 1px solid var(--primary-low);
|
2022-08-19 13:02:11 +03:00
|
|
|
padding: 0.75em 0 0;
|
2022-09-20 13:48:00 -07:00
|
|
|
overflow-y: auto;
|
2023-03-21 13:49:19 -04:00
|
|
|
overscroll-behavior: contain;
|
2022-07-19 05:35:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
2024-07-10 15:50:34 -04:00
|
|
|
border-radius: 0;
|
|
|
|
padding: 0.857em;
|
2025-01-21 23:42:17 +00:00
|
|
|
@media screen and (max-height: 400px) {
|
2024-07-10 15:50:34 -04:00
|
|
|
// helps with 400% zoom level
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
padding: 0.5em 0.875em;
|
|
|
|
}
|
2022-07-19 05:35:02 +03:00
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-notification {
|
|
|
|
background-color: var(--tertiary-med-or-tertiary);
|
|
|
|
position: absolute;
|
|
|
|
right: 6px;
|
|
|
|
top: 6px;
|
|
|
|
font-size: var(--font-down-3);
|
2025-01-21 23:42:17 +00:00
|
|
|
@media screen and (max-height: 400px) {
|
2024-07-10 15:50:34 -04:00
|
|
|
// helps with 400% zoom level
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
2022-07-19 05:35:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2023-02-21 16:15:49 +07:00
|
|
|
background-color: var(--d-selected);
|
2022-07-19 05:35:02 +03:00
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2022-07-19 05:35:02 +03:00
|
|
|
&:hover {
|
2023-02-21 16:15:49 +07:00
|
|
|
background-color: var(--d-hover);
|
2022-07-19 05:35:02 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-19 13:02:11 +03:00
|
|
|
.bottom-tabs {
|
|
|
|
border-top: 1px solid var(--primary-low);
|
|
|
|
}
|
|
|
|
|
2022-07-19 05:35:02 +03:00
|
|
|
.panel-body-contents {
|
|
|
|
display: flex;
|
2022-09-20 19:31:56 +03:00
|
|
|
flex-direction: row-reverse;
|
2022-07-19 05:35:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.quick-access-panel {
|
|
|
|
width: 320px;
|
|
|
|
padding: 0.75em;
|
2023-03-20 21:46:13 -04:00
|
|
|
padding-bottom: max(env(safe-area-inset-bottom), 0.75em);
|
2022-07-19 05:35:02 +03:00
|
|
|
justify-content: space-between;
|
|
|
|
box-sizing: border-box;
|
2022-08-29 05:29:21 +03:00
|
|
|
min-width: 0; // makes sure menu tabs don't go off screen
|
2022-08-05 07:55:00 +03:00
|
|
|
}
|
2022-08-19 13:02:11 +03:00
|
|
|
|
|
|
|
#quick-access-profile {
|
|
|
|
display: inline;
|
2022-08-25 23:18:26 +04:00
|
|
|
max-height: 99%; // macOS Chrome sometimes adds an unneeded scrollbar at 100%
|
|
|
|
|
|
|
|
ul {
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
overflow-y: auto; // really short viewports
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2022-08-25 23:18:26 +04:00
|
|
|
li {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
max-height: 3em; // prevent buttons from getting too tall
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2022-08-25 23:18:26 +04:00
|
|
|
> * {
|
|
|
|
// button, a, and everything else
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 0.5em;
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-04-07 13:55:11 -04:00
|
|
|
img.emoji {
|
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
|
|
|
padding-top: 0.2em;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2022-08-25 23:18:26 +04:00
|
|
|
.d-icon {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2024-11-13 09:54:40 -03:00
|
|
|
&.enabled .d-icon {
|
|
|
|
color: var(--tertiary);
|
|
|
|
}
|
2022-08-25 23:18:26 +04:00
|
|
|
}
|
2022-08-19 13:02:11 +03:00
|
|
|
|
2022-08-25 18:14:42 +04:00
|
|
|
.set-user-status {
|
|
|
|
.emoji {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-19 13:02:11 +03:00
|
|
|
.profile-tab-btn {
|
2022-08-25 18:14:42 +04:00
|
|
|
.relative-date {
|
2022-10-12 15:31:59 +02:00
|
|
|
font-size: var(--font-down-3);
|
2022-08-25 18:14:42 +04:00
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
2022-08-19 13:02:11 +03:00
|
|
|
justify-content: unset;
|
2022-10-12 16:05:42 +02:00
|
|
|
line-height: var(--line-height-large);
|
2022-08-19 13:02:11 +03:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.do-not-disturb {
|
|
|
|
.d-icon-toggle-on {
|
|
|
|
color: var(--tertiary);
|
|
|
|
}
|
|
|
|
}
|
2024-11-12 22:22:58 -03:00
|
|
|
|
|
|
|
hr {
|
|
|
|
border-top: 1px solid var(--primary-low);
|
|
|
|
width: 100%;
|
|
|
|
}
|
2022-08-19 13:02:11 +03:00
|
|
|
}
|
2022-08-05 07:55:00 +03:00
|
|
|
}
|
|
|
|
|
2024-05-31 09:03:52 +02:00
|
|
|
.hamburger-panel {
|
|
|
|
.panel-body {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-03 15:57:00 -04:00
|
|
|
.menu-links.columned {
|
|
|
|
li {
|
|
|
|
width: 50%;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
// Panel / user-notification-list styles. **not** menu panel sizing styles
|
|
|
|
.user-menu .quick-access-panel,
|
|
|
|
.user-notifications-list {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 0;
|
|
|
|
max-height: 100%;
|
|
|
|
border-top: 1px solid var(--primary-low);
|
|
|
|
padding-top: 0.75em;
|
|
|
|
margin-top: -1px;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.double-user,
|
|
|
|
.multi-user {
|
|
|
|
white-space: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.item-label {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
padding: 0 0.4em;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-icon,
|
|
|
|
&:hover .d-icon {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
.icon {
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-primary {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2020-08-10 16:17:15 -04:00
|
|
|
display: flex;
|
2023-12-11 11:04:43 -06:00
|
|
|
flex-flow: column wrap;
|
|
|
|
overflow: hidden;
|
2020-08-10 16:17:15 -04:00
|
|
|
max-height: 100%;
|
2023-12-11 11:04:43 -06:00
|
|
|
}
|
2015-08-28 14:32:53 -04:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
li {
|
|
|
|
background-color: var(--secondary);
|
|
|
|
box-sizing: border-box;
|
|
|
|
list-style-type: none;
|
|
|
|
|
|
|
|
&.unread,
|
|
|
|
&.pending {
|
|
|
|
background-color: var(--tertiary-low);
|
2018-06-08 11:49:31 +02:00
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
&:hover {
|
|
|
|
background-color: var(--d-hover);
|
|
|
|
outline: none;
|
2018-06-08 11:49:31 +02:00
|
|
|
}
|
2020-05-29 08:05:21 +02:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
&:focus-within {
|
|
|
|
background: var(--d-hover);
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
a {
|
|
|
|
// we don't need the link focus because we're styling the parent
|
|
|
|
outline: 0;
|
2021-04-01 10:22:40 +10:00
|
|
|
}
|
2025-02-05 18:42:55 +01:00
|
|
|
|
|
|
|
.btn-flat:focus {
|
|
|
|
// undo default btn-flat style
|
|
|
|
background: transparent;
|
|
|
|
}
|
2021-04-01 10:22:40 +10:00
|
|
|
}
|
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
// This is until other languages remove the HTML from within
|
|
|
|
// notifications. It can then be removed
|
|
|
|
div .fa {
|
|
|
|
display: none;
|
2020-08-10 16:17:15 -04:00
|
|
|
}
|
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
span.double-user,
|
|
|
|
// e.g., "username, username2"
|
|
|
|
span.multi-user
|
|
|
|
// e.g., "username and n others"
|
|
|
|
{
|
|
|
|
display: inline;
|
|
|
|
max-width: 100%;
|
|
|
|
align-items: baseline;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2017-09-14 14:26:31 -04:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
span.multi-user
|
|
|
|
// e.g., "username, username2, and n others"
|
|
|
|
{
|
|
|
|
span.multi-username:nth-of-type(2) {
|
|
|
|
// margin between username2 and "and n others"
|
|
|
|
margin-right: 0.25em;
|
2020-11-09 00:06:52 -05:00
|
|
|
}
|
2023-12-11 11:04:43 -06:00
|
|
|
}
|
2020-11-09 00:06:52 -05:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
// truncate when usernames are very long
|
|
|
|
span.multi-username {
|
|
|
|
@include ellipsis;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
min-width: 1.2em;
|
|
|
|
max-width: 10em;
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
&:nth-of-type(2) {
|
|
|
|
// margin for comma between username and username2
|
|
|
|
margin-left: 0.25em;
|
2020-11-09 00:06:52 -05:00
|
|
|
}
|
2023-12-11 11:04:43 -06:00
|
|
|
}
|
2020-11-09 00:06:52 -05:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
a,
|
|
|
|
.profile-tab-btn {
|
|
|
|
display: flex;
|
|
|
|
margin: 0.25em;
|
2025-01-20 15:27:42 +00:00
|
|
|
padding: 0 0.25em;
|
2023-12-11 11:04:43 -06:00
|
|
|
}
|
2021-01-20 14:50:36 -03:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
button {
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
}
|
2020-05-29 08:05:21 +02:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
a,
|
|
|
|
button {
|
|
|
|
> div {
|
|
|
|
overflow: hidden; // clears the text from wrapping below icons
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
@supports not (overflow-wrap: anywhere) {
|
|
|
|
word-break: break-word;
|
2018-08-09 12:04:34 -04:00
|
|
|
}
|
2018-04-13 12:53:04 -04:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
// Truncate items with more than 2 lines.
|
|
|
|
@include line-clamp(2);
|
2015-08-28 14:32:53 -04:00
|
|
|
}
|
|
|
|
}
|
2023-12-07 11:30:44 -06:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
2015-08-28 14:32:53 -04:00
|
|
|
}
|
2023-12-11 11:04:43 -06:00
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
li:not(.show-all) {
|
|
|
|
padding: 0;
|
|
|
|
align-self: flex-start;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
padding-top: 0.2em;
|
|
|
|
margin-right: 0.5em;
|
2015-08-28 14:32:53 -04:00
|
|
|
}
|
2023-12-11 11:04:43 -06:00
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
.is-warning {
|
|
|
|
.d-icon-envelope {
|
|
|
|
color: var(--danger);
|
2015-08-28 14:32:53 -04:00
|
|
|
}
|
2023-12-11 11:04:43 -06:00
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
.read {
|
|
|
|
background-color: var(--secondary);
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
.none {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
.spinner-container {
|
|
|
|
min-height: 2em;
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
.spinner {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
border-width: 2px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
.show-all a {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 30px;
|
|
|
|
color: var(--primary-med-or-secondary-high);
|
|
|
|
background: var(--blend-primary-secondary-5);
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
&:hover {
|
|
|
|
color: var(--primary);
|
|
|
|
background: var(--primary-low);
|
2017-11-07 13:48:35 -05:00
|
|
|
}
|
2015-08-28 14:32:53 -04:00
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
/* as a big ol' click target, don't let text inside be selected */
|
|
|
|
@include unselectable;
|
2020-08-28 20:20:59 -04:00
|
|
|
}
|
2017-11-07 10:41:12 -05:00
|
|
|
|
2023-12-11 11:04:43 -06:00
|
|
|
// Styles to have user avatar positioned and sized correctly
|
|
|
|
.user-menu.show-avatars,
|
|
|
|
.user-notifications-list.show-avatars {
|
2023-12-12 14:28:29 -06:00
|
|
|
li.notification,
|
|
|
|
li.bookmark,
|
2024-08-15 10:26:36 -05:00
|
|
|
li.reviewable,
|
2023-12-12 14:28:29 -06:00
|
|
|
li.message {
|
2023-12-07 11:30:44 -06:00
|
|
|
a {
|
2024-04-09 17:20:26 +02:00
|
|
|
color: var(--primary);
|
2023-12-11 14:44:14 -06:00
|
|
|
align-items: center;
|
|
|
|
padding: 0.15em 0;
|
|
|
|
|
2023-12-12 14:28:29 -06:00
|
|
|
.item-label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-12 14:28:29 -06:00
|
|
|
.item-description {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
|
2023-12-07 11:30:44 -06:00
|
|
|
.icon-avatar {
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
overflow: visible;
|
|
|
|
flex-shrink: 0;
|
2023-12-11 14:44:14 -06:00
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
|
|
|
margin: 0.3em 1em 0 0;
|
2023-12-07 11:30:44 -06:00
|
|
|
|
|
|
|
.avatar {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-12 14:28:29 -06:00
|
|
|
&__icon-wrapper {
|
2023-12-07 11:30:44 -06:00
|
|
|
position: absolute;
|
2023-12-12 14:28:29 -06:00
|
|
|
right: -0.65em;
|
2023-12-12 15:32:16 -06:00
|
|
|
top: -0.45em;
|
2023-12-12 14:28:29 -06:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
2023-12-07 11:30:44 -06:00
|
|
|
border-radius: 100%;
|
2023-12-11 14:44:14 -06:00
|
|
|
background: var(--secondary);
|
2023-12-12 14:28:29 -06:00
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
2023-12-07 11:30:44 -06:00
|
|
|
}
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-07 11:30:44 -06:00
|
|
|
& + div {
|
|
|
|
padding: 0.25em 0;
|
|
|
|
}
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2023-12-12 14:28:29 -06:00
|
|
|
&.unread .icon-avatar__icon-wrapper {
|
2023-12-11 14:44:14 -06:00
|
|
|
background: var(--tertiary);
|
2023-12-12 14:28:29 -06:00
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
2023-12-11 14:44:14 -06:00
|
|
|
}
|
2023-12-07 11:30:44 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-25 15:33:26 +11:00
|
|
|
.hamburger-panel .menu-panel.slide-in {
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
.panel-body {
|
|
|
|
display: block;
|
|
|
|
}
|
2025-01-20 15:27:42 +00:00
|
|
|
|
2022-11-25 15:33:26 +11:00
|
|
|
.panel-body-contents {
|
|
|
|
max-height: unset;
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
|
|
|
}
|