2015-08-26 15:51:56 -04:00
|
|
|
.menu-panel.slide-in {
|
2015-08-25 12:50:19 -04:00
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: shadow("header");
|
2015-09-10 12:49:54 -04:00
|
|
|
|
|
|
|
.panel-body {
|
2020-03-23 13:25:33 -04:00
|
|
|
width: 100%;
|
2015-09-10 12:49:54 -04:00
|
|
|
}
|
2015-08-26 14:42:42 -04:00
|
|
|
}
|
2018-12-11 12:15:20 -05:00
|
|
|
.header-cloak {
|
|
|
|
display: none;
|
|
|
|
}
|
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;
|
2015-09-08 18:31:44 -04: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
|
2020-08-10 16:17:15 -04:00
|
|
|
max-height: 80vh;
|
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);
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: 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-29 19:26:02 -04:00
|
|
|
padding: 0.5em;
|
2020-12-17 22:50:50 -05:00
|
|
|
width: 320px;
|
2020-08-10 16:17:15 -04:00
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2015-09-01 17:33:37 -04:00
|
|
|
hr {
|
|
|
|
margin: 3px 0;
|
|
|
|
}
|
|
|
|
|
2015-08-26 15:51:56 -04:00
|
|
|
.panel-header {
|
2015-08-25 23:44:48 -04: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 12:15:20 -05: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 10:03:51 -05: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;
|
|
|
|
button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.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);
|
|
|
|
&:hover {
|
|
|
|
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;
|
|
|
|
}
|
2015-08-26 15:51:56 -04:00
|
|
|
}
|
|
|
|
|
2022-07-18 22:35:02 -04:00
|
|
|
.user-menu.revamped {
|
|
|
|
right: 0;
|
|
|
|
width: 320px;
|
|
|
|
padding: 0;
|
2022-08-19 06:02:11 -04:00
|
|
|
#quick-access-profile {
|
|
|
|
ul {
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
overflow-y: auto; // really short viewports
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
max-height: 3em; // prevent buttons from getting too tall
|
|
|
|
> * {
|
|
|
|
// button, a, and everything else
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 0.5em;
|
|
|
|
}
|
|
|
|
.d-icon {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-07-18 22:35:02 -04:00
|
|
|
|
|
|
|
.panel-body-bottom {
|
|
|
|
flex: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-tabs-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
border-left: 1px solid var(--primary-low);
|
2022-08-19 06:02:11 -04:00
|
|
|
padding: 0.75em 0 0;
|
2022-07-18 22:35:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
display: flex;
|
|
|
|
padding: 0.857em;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.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);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background-color: var(--tertiary-low);
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--highlight-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-19 06:02:11 -04:00
|
|
|
.bottom-tabs {
|
|
|
|
border-top: 1px solid var(--primary-low);
|
|
|
|
}
|
|
|
|
|
2022-07-18 22:35:02 -04:00
|
|
|
.panel-body-contents {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-access-panel {
|
|
|
|
width: 320px;
|
|
|
|
padding: 0.75em;
|
|
|
|
justify-content: space-between;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
.double-user,
|
|
|
|
.multi-user {
|
|
|
|
white-space: unset;
|
|
|
|
}
|
2022-08-05 00:55:00 -04:00
|
|
|
|
2022-08-08 10:24:04 -04:00
|
|
|
.item-label {
|
2022-08-05 00:55:00 -04:00
|
|
|
color: var(--primary);
|
|
|
|
}
|
2022-08-08 10:24:04 -04:00
|
|
|
|
|
|
|
li {
|
|
|
|
background-color: var(--secondary);
|
|
|
|
|
|
|
|
&.unread,
|
|
|
|
&.pending {
|
|
|
|
background-color: var(--tertiary-low);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--highlight-medium);
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-within {
|
|
|
|
background: var(--highlight-medium);
|
|
|
|
a {
|
|
|
|
// we don't need the link focus because we're styling the parent
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-05 00:55:00 -04:00
|
|
|
}
|
2022-08-19 06:02:11 -04:00
|
|
|
|
|
|
|
#quick-access-profile {
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
.profile-tab-btn {
|
|
|
|
justify-content: unset;
|
|
|
|
line-height: $line-height-large;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.do-not-disturb {
|
|
|
|
.relative-date {
|
|
|
|
font-size: $font-down-3;
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-icon-toggle-on {
|
|
|
|
color: var(--tertiary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-05 00:55:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// remove when the widgets-based implementation of the user menu is removed
|
|
|
|
.user-menu:not(.revamped) {
|
|
|
|
.quick-access-panel {
|
|
|
|
li {
|
|
|
|
span:first-child {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
2022-07-18 22:35:02 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-28 21:59:45 -04:00
|
|
|
.hamburger-panel {
|
2021-01-14 18:25:19 -05:00
|
|
|
a.widget-link {
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
@include ellipsis;
|
|
|
|
}
|
2020-09-28 21:59:45 -04:00
|
|
|
.panel-body {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.badge-category {
|
|
|
|
max-width: 100px;
|
|
|
|
}
|
2020-08-12 16:03:08 -04:00
|
|
|
}
|
|
|
|
|
2015-09-03 15:57:00 -04:00
|
|
|
.menu-links.columned {
|
|
|
|
li {
|
|
|
|
width: 50%;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-28 14:32:53 -04:00
|
|
|
.menu-panel {
|
2021-06-03 00:14:24 -04:00
|
|
|
.widget-link,
|
|
|
|
.categories-link {
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
display: block;
|
|
|
|
color: var(--primary);
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: var(--highlight-medium);
|
|
|
|
outline: none;
|
|
|
|
}
|
2020-05-29 02:05:21 -04:00
|
|
|
|
2021-06-03 00:14:24 -04:00
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-medium);
|
2015-08-25 12:50:19 -04:00
|
|
|
}
|
2015-09-04 16:56:02 -04:00
|
|
|
|
|
|
|
.new {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2015-09-04 16:56:02 -04:00
|
|
|
margin-left: 0.5em;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2015-09-04 16:56:02 -04:00
|
|
|
}
|
2021-06-03 00:14:24 -04:00
|
|
|
|
|
|
|
&.show-help,
|
|
|
|
&.filter {
|
|
|
|
color: var(--tertiary);
|
|
|
|
}
|
2015-08-25 12:50:19 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
li.category-link {
|
|
|
|
float: left;
|
|
|
|
background-color: transparent;
|
2018-02-02 19:03:25 -05:00
|
|
|
display: inline-flex;
|
2018-08-10 14:00:06 -04:00
|
|
|
align-items: center;
|
2018-05-24 04:15:57 -04:00
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
width: 50%;
|
|
|
|
box-sizing: border-box;
|
2018-08-03 17:43:07 -04:00
|
|
|
a {
|
2018-08-07 09:47:01 -04:00
|
|
|
display: inline-flex;
|
2018-08-03 17:43:07 -04:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: transparent;
|
2020-05-29 02:05:21 -04:00
|
|
|
|
|
|
|
.category-name {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
2020-05-29 02:05:21 -04:00
|
|
|
}
|
2018-08-03 17:43:07 -04:00
|
|
|
}
|
|
|
|
}
|
2015-08-25 12:50:19 -04:00
|
|
|
.badge-notification {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2015-08-25 12:50:19 -04:00
|
|
|
background-color: transparent;
|
2015-08-28 14:32:53 -04:00
|
|
|
display: inline;
|
2015-09-02 15:42:20 -04:00
|
|
|
padding: 0;
|
2018-02-02 19:03:25 -05:00
|
|
|
font-size: $font-down-1;
|
|
|
|
line-height: $line-height-large;
|
|
|
|
}
|
|
|
|
.badge-wrapper {
|
2018-06-08 05:49:31 -04:00
|
|
|
&.bar,
|
|
|
|
&.bullet {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
2018-08-06 11:11:29 -04:00
|
|
|
padding: 0 0 0 0.15em;
|
2018-02-02 19:03:25 -05:00
|
|
|
}
|
|
|
|
&.box {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--secondary);
|
2018-02-02 19:03:25 -05:00
|
|
|
+ a.badge.badge-notification {
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
span {
|
2018-02-16 15:58:10 -05:00
|
|
|
z-index: z("base") * -1;
|
2018-02-02 19:03:25 -05:00
|
|
|
}
|
|
|
|
}
|
2015-08-25 12:50:19 -04:00
|
|
|
}
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
|
2015-08-25 12:50:19 -04:00
|
|
|
// note these topic counts only appear for anons in the category hamburger drop down
|
|
|
|
b.topics-count {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2015-08-25 12:50:19 -04:00
|
|
|
font-weight: normal;
|
2018-02-02 19:03:25 -05:00
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2015-09-02 15:42:20 -04:00
|
|
|
|
2019-06-27 13:26:14 -04:00
|
|
|
div.discourse-tags {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2015-08-25 12:50:19 -04:00
|
|
|
}
|
2015-08-26 14:42:42 -04:00
|
|
|
|
2015-08-28 14:32:53 -04:00
|
|
|
.user-menu {
|
2019-09-09 11:03:57 -04:00
|
|
|
.quick-access-panel {
|
2018-03-23 03:19:15 -04:00
|
|
|
width: 100%;
|
2020-08-10 16:17:15 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 0;
|
|
|
|
max-height: 100%;
|
2020-08-03 22:57:10 -04:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2020-08-28 20:20:59 -04:00
|
|
|
padding-top: 0.75em;
|
2020-08-10 16:17:15 -04:00
|
|
|
margin-top: -1px;
|
2021-02-03 11:45:54 -05:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2015-08-28 14:32:53 -04:00
|
|
|
h3 {
|
|
|
|
padding: 0 0.4em;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
2019-01-31 13:59:49 -05:00
|
|
|
.d-icon,
|
|
|
|
&:hover .d-icon {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
.icon {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-high);
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2020-05-29 02:05:21 -04:00
|
|
|
|
2021-03-31 20:22:40 -04:00
|
|
|
.btn-primary {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-10 16:17:15 -04:00
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column wrap;
|
|
|
|
overflow: hidden;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
|
2015-08-28 14:32:53 -04:00
|
|
|
li {
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--tertiary-low);
|
2020-08-10 16:17:15 -04:00
|
|
|
box-sizing: border-box;
|
|
|
|
list-style-type: none;
|
2017-09-14 14:26:31 -04:00
|
|
|
|
|
|
|
// This is until other languages remove the HTML from within
|
|
|
|
// notifications. It can then be removed
|
2018-11-26 16:49:57 -05:00
|
|
|
div .fa {
|
2017-09-14 14:26:31 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-12-18 10:03:51 -05:00
|
|
|
span.double-user,
|
2020-11-09 00:06:52 -05:00
|
|
|
// e.g., "username, username2"
|
|
|
|
span.multi-user
|
|
|
|
// e.g., "username, username2, and n others"
|
|
|
|
{
|
|
|
|
display: inline-flex;
|
|
|
|
max-width: 100%;
|
|
|
|
align-items: baseline;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2020-12-18 10:03:51 -05:00
|
|
|
span.multi-user
|
2020-11-09 00:06:52 -05:00
|
|
|
// 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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// truncate when usernames are very long
|
|
|
|
span.multi-username {
|
|
|
|
@include ellipsis;
|
|
|
|
flex: 0 1 auto;
|
2020-11-09 18:05:09 -05:00
|
|
|
min-width: 1.2em;
|
2020-11-09 00:06:52 -05:00
|
|
|
max-width: 10em;
|
|
|
|
&:nth-of-type(2) {
|
|
|
|
// margin for comma between username and username2
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-24 04:10:01 -04:00
|
|
|
&:hover {
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--highlight-medium);
|
2018-06-08 05:49:31 -04:00
|
|
|
outline: none;
|
2018-04-13 12:53:04 -04:00
|
|
|
}
|
|
|
|
|
2021-05-24 04:10:01 -04:00
|
|
|
&:focus-within {
|
|
|
|
background: var(--highlight-medium);
|
|
|
|
a {
|
|
|
|
// we don't need the link focus because we're styling the parent
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
.btn-flat:focus {
|
|
|
|
// undo default btn-flat style
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-19 06:02:11 -04:00
|
|
|
a,
|
|
|
|
.profile-tab-btn {
|
2020-08-10 16:17:15 -04:00
|
|
|
display: flex;
|
2021-03-18 08:29:27 -04:00
|
|
|
margin: 0.25em;
|
|
|
|
padding: 0em 0.25em;
|
2021-01-20 12:50:36 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
2020-08-10 16:17:15 -04:00
|
|
|
padding: 0.25em 0.5em;
|
2021-03-18 08:29:27 -04:00
|
|
|
}
|
2020-05-29 02:05:21 -04:00
|
|
|
|
2021-03-18 08:29:27 -04:00
|
|
|
a,
|
|
|
|
button {
|
2018-08-09 12:04:34 -04:00
|
|
|
> div {
|
|
|
|
overflow: hidden; // clears the text from wrapping below icons
|
2020-03-31 20:55:11 -04:00
|
|
|
overflow-wrap: anywhere;
|
2020-03-31 21:57:09 -04:00
|
|
|
@supports not (overflow-wrap: anywhere) {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
2019-09-09 11:03:57 -04:00
|
|
|
// Truncate items with more than 2 lines.
|
2020-08-28 20:20:59 -04:00
|
|
|
@include line-clamp(2);
|
2018-08-09 12:04:34 -04:00
|
|
|
}
|
2018-04-13 12:53:04 -04:00
|
|
|
}
|
|
|
|
|
2015-08-28 14:32:53 -04:00
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
2017-11-07 13:48:35 -05:00
|
|
|
li:not(.show-all) {
|
2020-05-29 02:05:21 -04:00
|
|
|
padding: 0;
|
2020-08-10 16:17:15 -04:00
|
|
|
align-self: flex-start;
|
|
|
|
width: 100%;
|
2018-11-26 16:49:57 -05:00
|
|
|
.d-icon {
|
2020-05-29 16:48:47 -04:00
|
|
|
padding-top: 0.2em;
|
2020-05-29 02:05:21 -04:00
|
|
|
margin-right: 0.5em;
|
2017-11-07 13:48:35 -05:00
|
|
|
}
|
2022-05-27 05:15:14 -04:00
|
|
|
|
|
|
|
img.emoji {
|
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
|
|
|
padding-top: 0.2em;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2017-11-07 13:48:35 -05:00
|
|
|
}
|
2015-08-28 14:32:53 -04:00
|
|
|
.is-warning {
|
2018-11-26 16:49:57 -05:00
|
|
|
.d-icon-far-envelope {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--danger);
|
2015-08-28 14:32:53 -04:00
|
|
|
}
|
|
|
|
}
|
2022-08-08 10:24:04 -04:00
|
|
|
.read {
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--secondary);
|
2015-08-28 14:32:53 -04:00
|
|
|
}
|
|
|
|
.none {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
2019-12-03 22:40:59 -05:00
|
|
|
.spinner-container {
|
|
|
|
min-height: 2em;
|
2015-08-28 14:32:53 -04:00
|
|
|
}
|
|
|
|
.spinner {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
border-width: 2px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2019-09-09 11:03:57 -04:00
|
|
|
.show-all a {
|
2017-11-07 13:48:35 -05:00
|
|
|
width: 100%;
|
2019-09-09 11:03:57 -04:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 30px;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-high);
|
|
|
|
background: var(--blend-primary-secondary-5);
|
2017-11-07 13:48:35 -05:00
|
|
|
&:hover {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
|
|
|
background: var(--primary-low);
|
2017-11-07 13:48:35 -05:00
|
|
|
}
|
|
|
|
}
|
2015-08-28 14:32:53 -04:00
|
|
|
/* as a big ol' click target, don't let text inside be selected */
|
|
|
|
@include unselectable;
|
2020-05-29 02:05:21 -04:00
|
|
|
|
|
|
|
&.quick-access-profile {
|
2021-01-06 13:32:20 -05:00
|
|
|
display: inline;
|
2020-05-29 02:05:21 -04:00
|
|
|
li:not(.show-all) a {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
2020-08-10 16:17:15 -04:00
|
|
|
display: flex;
|
2020-05-29 02:05:21 -04:00
|
|
|
}
|
2021-02-18 18:47:37 -05:00
|
|
|
ul button {
|
|
|
|
line-height: 1.4; // match 'ul a' link height
|
2021-03-01 12:09:50 -05:00
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
2021-02-18 18:47:37 -05:00
|
|
|
}
|
|
|
|
@media screen and (max-height: 360px) {
|
|
|
|
// two column grid to avoid scroll
|
|
|
|
ul {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
|
|
grid-gap: 0 1em;
|
|
|
|
a {
|
|
|
|
@include ellipsis;
|
2022-02-15 20:13:11 -05:00
|
|
|
> div {
|
|
|
|
display: block;
|
|
|
|
}
|
2021-02-18 18:47:37 -05:00
|
|
|
}
|
|
|
|
button {
|
|
|
|
span:not(.relative-date) {
|
|
|
|
@include ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
li:not(.show-all) a {
|
|
|
|
color: var(--primary);
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2020-05-29 02:05:21 -04:00
|
|
|
}
|
2015-08-28 14:32:53 -04:00
|
|
|
}
|
2020-08-28 20:20:59 -04:00
|
|
|
}
|
2017-11-07 10:41:12 -05:00
|
|
|
|
2015-08-30 22:02:00 -04:00
|
|
|
div.menu-links-header {
|
2015-08-29 19:26:02 -04:00
|
|
|
width: 100%;
|
2015-08-30 22:02:00 -04:00
|
|
|
.menu-links-row {
|
2020-05-29 21:02:26 -04:00
|
|
|
box-sizing: border-box;
|
2018-06-19 15:38:06 -04:00
|
|
|
display: flex;
|
2020-08-28 20:20:59 -04:00
|
|
|
width: 100%;
|
2020-05-29 22:23:23 -04:00
|
|
|
z-index: 2;
|
2021-01-22 17:05:14 -05:00
|
|
|
justify-content: space-between;
|
2019-09-09 11:03:57 -04:00
|
|
|
|
2021-01-22 17:05:14 -05:00
|
|
|
.glyphs {
|
2018-06-19 15:38:06 -04:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2021-01-22 17:05:14 -05:00
|
|
|
flex-wrap: nowrap;
|
|
|
|
width: 100%;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 0;
|
2019-09-09 11:03:57 -04:00
|
|
|
|
2021-01-22 17:05:14 -05:00
|
|
|
button {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
padding: 0.65em 0.25em 0.75em;
|
|
|
|
justify-content: center;
|
2021-03-03 12:37:40 -05:00
|
|
|
|
|
|
|
svg {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2019-09-09 11:03:57 -04:00
|
|
|
}
|
2021-01-22 17:05:14 -05:00
|
|
|
}
|
2019-09-09 11:03:57 -04:00
|
|
|
|
2021-01-22 17:05:14 -05:00
|
|
|
button {
|
|
|
|
// This is to make sure active and inactive tab icons have the same
|
|
|
|
// size. `box-sizing` does not work and I have no idea why.
|
|
|
|
border: 1px solid transparent;
|
|
|
|
&:not(.active):hover {
|
|
|
|
border-bottom: 0;
|
|
|
|
margin-top: -1px;
|
2019-09-09 11:03:57 -04:00
|
|
|
}
|
2021-01-22 17:05:14 -05:00
|
|
|
}
|
2019-09-09 11:03:57 -04:00
|
|
|
|
2021-01-22 17:05:14 -05:00
|
|
|
button.active {
|
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
border-bottom: 1px solid var(--secondary);
|
|
|
|
position: relative;
|
2019-09-09 11:03:57 -04:00
|
|
|
|
2021-01-22 17:05:14 -05:00
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
2020-08-28 20:20:59 -04:00
|
|
|
|
2021-01-22 17:05:14 -05:00
|
|
|
&:hover {
|
|
|
|
background-color: inherit;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2018-04-13 12:53:04 -04:00
|
|
|
}
|
2015-08-30 22:02:00 -04:00
|
|
|
}
|
2021-01-22 17:05:14 -05:00
|
|
|
|
|
|
|
button:hover,
|
|
|
|
button:focus {
|
2021-05-28 13:24:04 -04:00
|
|
|
background-color: var(--primary-low);
|
2018-04-13 12:53:04 -04:00
|
|
|
outline: none;
|
2021-05-28 13:24:04 -04:00
|
|
|
&.active {
|
|
|
|
background-color: var(--primary-very-low);
|
|
|
|
}
|
2015-08-29 19:26:02 -04:00
|
|
|
}
|
2021-01-22 17:05:14 -05:00
|
|
|
button {
|
2018-06-19 15:38:06 -04:00
|
|
|
padding: 0.3em 0.5em;
|
2015-08-30 22:02:00 -04:00
|
|
|
}
|
2019-09-09 11:03:57 -04:00
|
|
|
|
2021-01-22 17:05:14 -05:00
|
|
|
.glyphs {
|
2015-08-29 19:26:02 -04:00
|
|
|
display: table-cell;
|
|
|
|
width: auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2021-01-22 17:05:14 -05:00
|
|
|
.glyphs:first-child {
|
2015-08-29 19:26:02 -04:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2021-01-22 17:05:14 -05:00
|
|
|
.glyphs:last-child {
|
2015-08-29 19:26:02 -04:00
|
|
|
text-align: right;
|
2015-08-30 22:02:00 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.fa,
|
2021-01-22 17:05:14 -05:00
|
|
|
button {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2015-08-30 22:07:30 -04:00
|
|
|
}
|
2015-08-29 19:26:02 -04:00
|
|
|
}
|