2020-03-27 20:59:38 +00:00
|
|
|
.tabs-bar {
|
2020-04-29 03:00:50 +00:00
|
|
|
display: flex;
|
|
|
|
box-sizing: border-box;
|
2020-05-31 05:21:41 +00:00
|
|
|
background: var(--brand-color);
|
2020-04-29 03:00:50 +00:00
|
|
|
flex: 0 0 auto;
|
|
|
|
overflow-y: auto;
|
|
|
|
height: 50px;
|
2020-10-01 23:57:11 +00:00
|
|
|
width: 100%;
|
2020-04-29 03:00:50 +00:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
2021-10-19 20:13:04 +00:00
|
|
|
z-index: 1100;
|
2020-04-29 03:00:50 +00:00
|
|
|
transition: transform 0.2s ease;
|
|
|
|
|
|
|
|
&--collapsed {
|
|
|
|
@media screen and (max-width: 895px) {
|
|
|
|
margin-top: -50px;
|
|
|
|
transform: translateY(-50px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__container {
|
|
|
|
display: flex;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 1200px;
|
|
|
|
margin: 0 auto;
|
2021-09-27 21:39:29 +00:00
|
|
|
padding-left: 15px;
|
|
|
|
padding-left: max(15px, env(safe-area-inset-left));
|
|
|
|
padding-right: 15px;
|
|
|
|
padding-right: max(15px, env(safe-area-inset-right));
|
2020-04-29 03:00:50 +00:00
|
|
|
|
|
|
|
// NOTE - might need to adjust this based on column sizing
|
2020-10-11 21:23:19 +00:00
|
|
|
@media screen and (max-width: $nav-breakpoint-4) { padding: 0 10px; }
|
2020-04-29 03:00:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__split {
|
|
|
|
display: flex;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
&--left {
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--right {
|
|
|
|
margin-left: auto;
|
2020-07-20 20:34:54 +00:00
|
|
|
align-items: center;
|
2021-10-23 19:14:56 +00:00
|
|
|
|
|
|
|
// Move Profile menu to the left on mobile
|
|
|
|
@media screen and (max-width: 450px) {
|
|
|
|
margin: 0;
|
|
|
|
order: -1;
|
|
|
|
|
|
|
|
.tabs-bar__profile {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-04-29 03:00:50 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__search-container {
|
|
|
|
display: block;
|
2021-09-12 23:51:39 +00:00
|
|
|
width: 351px;
|
2021-09-13 00:08:41 +00:00
|
|
|
align-self: center;
|
2020-04-29 03:00:50 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: 895px) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__profile {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2020-07-11 04:35:02 +00:00
|
|
|
margin: 0 0 0 10px;
|
2020-04-29 03:00:50 +00:00
|
|
|
height: 34px;
|
|
|
|
width: 34px;
|
|
|
|
|
|
|
|
.account__avatar {
|
|
|
|
width: 34px;
|
|
|
|
height: 34px;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compose__action-bar {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: -5px;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
i {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-03-31 03:18:46 +00:00
|
|
|
@media screen and (max-width: 1190px) {
|
2020-04-29 03:00:50 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__sidebar-btn {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2020-03-27 20:59:38 +00:00
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2020-04-29 03:00:50 +00:00
|
|
|
width: 30px;
|
|
|
|
opacity: 0;
|
2020-03-27 20:59:38 +00:00
|
|
|
|
2021-03-31 03:18:46 +00:00
|
|
|
@media (min-width: 1191px) {
|
2020-04-29 03:00:50 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-03-27 20:59:38 +00:00
|
|
|
|
2020-04-29 03:00:50 +00:00
|
|
|
&__page-name {
|
|
|
|
display: block;
|
2020-03-27 20:59:38 +00:00
|
|
|
margin-left: 18px;
|
|
|
|
line-height: 30px;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 18px;
|
2020-04-29 03:00:50 +00:00
|
|
|
color: #fff;
|
|
|
|
|
2021-09-24 12:43:17 +00:00
|
|
|
@media (min-width: 896px) {
|
2020-04-29 03:00:50 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__button-compose {
|
|
|
|
display: block;
|
2020-10-11 21:23:19 +00:00
|
|
|
@media screen and (max-width: $nav-breakpoint-3) { display: none; }
|
2020-04-29 03:00:50 +00:00
|
|
|
height: 34px;
|
|
|
|
margin-left: 20px;
|
2020-05-31 22:14:18 +00:00
|
|
|
border-radius: 6px;
|
2020-06-07 17:17:10 +00:00
|
|
|
background-color: var(--accent-color);
|
2020-05-24 22:48:52 +00:00
|
|
|
font-weight: bold;
|
|
|
|
font-size: 16px;
|
2020-05-31 22:14:18 +00:00
|
|
|
transition: 0.2s;
|
2020-04-29 03:00:50 +00:00
|
|
|
|
2020-06-07 18:14:18 +00:00
|
|
|
> span {
|
|
|
|
text-shadow: 0 0 3px hsla(0, 0%, 0%, 0.15);
|
|
|
|
}
|
|
|
|
|
2020-04-29 03:00:50 +00:00
|
|
|
&:hover {
|
2020-06-07 17:17:10 +00:00
|
|
|
background-color: var(--accent-color--bright);
|
2020-04-29 03:00:50 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__button {
|
|
|
|
margin-left: 12px;
|
2020-03-27 20:59:38 +00:00
|
|
|
height: 34px;
|
2020-04-29 03:00:50 +00:00
|
|
|
}
|
2020-03-27 20:59:38 +00:00
|
|
|
|
2020-07-20 00:44:17 +00:00
|
|
|
.theme-toggle {
|
2021-10-19 21:09:22 +00:00
|
|
|
margin-left: 20px;
|
2020-07-19 21:50:16 +00:00
|
|
|
|
2021-10-19 21:09:22 +00:00
|
|
|
@media screen and (max-width: $nav-breakpoint-3) {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-07-20 00:44:17 +00:00
|
|
|
|
2021-10-19 21:09:22 +00:00
|
|
|
.setting-toggle {
|
2020-09-03 23:04:34 +00:00
|
|
|
.react-toggle-track {
|
2020-09-04 04:51:16 +00:00
|
|
|
background-color: var(--foreground-color);
|
2020-09-03 23:04:34 +00:00
|
|
|
}
|
|
|
|
|
2020-07-20 00:44:17 +00:00
|
|
|
.react-toggle--checked {
|
|
|
|
.react-toggle-track {
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
}
|
2020-07-20 20:34:54 +00:00
|
|
|
|
2021-07-03 10:43:56 +00:00
|
|
|
&:hover:not(.react-toggle--disabled) .react-toggle-track,
|
|
|
|
&.react-toggle--focus .react-toggle-track {
|
2020-07-20 00:44:17 +00:00
|
|
|
background-color: var(--accent-color--bright);
|
|
|
|
}
|
2020-07-19 21:50:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-03-27 20:59:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-bar__link {
|
2020-04-29 03:00:50 +00:00
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
|
|
|
position: relative;
|
|
|
|
align-items: center;
|
2020-06-01 04:18:39 +00:00
|
|
|
font-weight: bold;
|
|
|
|
transition: 0.1s;
|
|
|
|
outline: none;
|
2020-06-07 18:14:18 +00:00
|
|
|
text-shadow: 0 0 3px hsla(0, 0%, 0%, 0.15);
|
2020-04-29 03:00:50 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: 895px) {
|
|
|
|
width: 36px;
|
|
|
|
margin: 4px 4px 0 0;
|
|
|
|
justify-content: center;
|
2021-10-19 21:09:22 +00:00
|
|
|
display: none;
|
2020-04-29 03:00:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> span {
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 50px;
|
2020-03-27 20:59:38 +00:00
|
|
|
margin-left: 4px;
|
2021-10-19 21:09:22 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
& + & {
|
|
|
|
margin-left: 20px;
|
2020-04-29 03:00:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--search {
|
2021-09-24 12:43:17 +00:00
|
|
|
@media (min-width: 896px) {
|
2020-04-29 03:00:50 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-19 21:09:22 +00:00
|
|
|
.svg-icon {
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
2020-04-29 03:00:50 +00:00
|
|
|
|
2021-10-19 21:09:22 +00:00
|
|
|
svg.icon-tabler {
|
|
|
|
stroke-width: 1.5px;
|
2020-12-30 02:26:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-29 03:00:50 +00:00
|
|
|
&.optional {
|
|
|
|
display: none;
|
|
|
|
@media screen and (max-width: $nav-breakpoint-2) {
|
|
|
|
display: flex;
|
|
|
|
background-position: -992px 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
2020-03-27 20:59:38 +00:00
|
|
|
display: block;
|
2020-06-07 17:17:10 +00:00
|
|
|
background: var(--accent-color);
|
2020-03-27 20:59:38 +00:00
|
|
|
position: absolute;
|
2020-04-29 03:00:50 +00:00
|
|
|
transition: 0.2s;
|
2020-06-01 04:18:39 +00:00
|
|
|
left: 0;
|
|
|
|
bottom: auto;
|
|
|
|
opacity: 0;
|
|
|
|
height: 15px;
|
|
|
|
border-radius: 999px;
|
|
|
|
z-index: -1;
|
2021-10-19 21:09:22 +00:00
|
|
|
width: calc(100% + 12px);
|
2021-10-19 22:05:04 +00:00
|
|
|
margin-left: -6px;
|
2020-06-01 04:18:39 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: 895px) {
|
|
|
|
height: 0;
|
|
|
|
border-radius: 3px 3px 0 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
2020-04-29 03:00:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.active::before,
|
2021-07-03 10:43:56 +00:00
|
|
|
&:hover::before,
|
|
|
|
&:focus::before {
|
2020-06-01 04:18:39 +00:00
|
|
|
height: 30px;
|
|
|
|
opacity: 1;
|
|
|
|
|
|
|
|
@media screen and (max-width: 895px) {
|
|
|
|
height: 7px;
|
|
|
|
width: 36px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-04-29 03:00:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--logo {
|
|
|
|
display: block;
|
|
|
|
margin-right: 30px;
|
|
|
|
border: 0;
|
2020-08-07 20:17:13 +00:00
|
|
|
height: 40px;
|
2020-04-29 05:36:25 +00:00
|
|
|
overflow: hidden;
|
2020-08-07 20:17:13 +00:00
|
|
|
padding: 13px 0 0;
|
2020-04-29 05:36:25 +00:00
|
|
|
box-sizing: border-box;
|
2020-04-29 03:00:50 +00:00
|
|
|
filter: brightness(0%) grayscale(100%) invert(100%);
|
2021-10-05 18:09:41 +00:00
|
|
|
|
|
|
|
& span {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2020-04-29 03:00:50 +00:00
|
|
|
|
2020-04-29 05:36:25 +00:00
|
|
|
img {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2021-10-05 18:09:41 +00:00
|
|
|
.svg-icon {
|
|
|
|
width: 26px;
|
|
|
|
height: 26px;
|
|
|
|
margin: 0 auto;
|
2021-10-05 22:58:25 +00:00
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: currentColor;
|
|
|
|
stroke-width: 1px;
|
|
|
|
}
|
2021-10-05 18:09:41 +00:00
|
|
|
}
|
|
|
|
|
2020-04-29 03:00:50 +00:00
|
|
|
&:hover {
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
2021-09-26 17:11:54 +00:00
|
|
|
|
|
|
|
/* Move logo to center on mobile */
|
|
|
|
@media screen and (max-width: 450px) {
|
|
|
|
margin: 0 auto;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2020-04-29 03:00:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--no-highlight,
|
|
|
|
&--no-highlight:hover,
|
|
|
|
&--no-highlight.active,
|
|
|
|
&--no-highlight:active,
|
|
|
|
&--no-highlight:focus {
|
|
|
|
background: transparent !important;
|
|
|
|
border-bottom-color: transparent !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-bar__split--left:hover .tabs-bar__link {
|
|
|
|
&::before {
|
2020-06-01 04:18:39 +00:00
|
|
|
height: 15px;
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
@media screen and (max-width: 895px) {
|
|
|
|
height: 0;
|
|
|
|
}
|
2020-04-29 03:00:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover::before {
|
2020-06-01 04:18:39 +00:00
|
|
|
height: 30px;
|
|
|
|
opacity: 1;
|
|
|
|
|
|
|
|
@media screen and (max-width: 895px) {
|
|
|
|
height: 7px;
|
|
|
|
}
|
2020-04-29 03:00:50 +00:00
|
|
|
}
|
2020-03-27 20:59:38 +00:00
|
|
|
}
|
2021-10-19 21:09:22 +00:00
|
|
|
|
|
|
|
.tabs-bar__link + .tabs-bar__profile {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|