.column__wrapper { display: flex; flex: 1 1 auto; position: relative; } .columns-area { display: flex; flex: 1 1 auto; flex-direction: row; justify-content: flex-start; overflow-x: auto; position: relative; &__panels { display: flex; justify-content: center; width: 100%; height: 100%; min-height: 100vh; &__pane { height: 100%; overflow: hidden; pointer-events: none; display: flex; justify-content: flex-end; min-width: 285px; &--start { justify-content: flex-start; } &__inner { position: fixed; width: 285px; pointer-events: auto; height: 100%; } } &__main { box-sizing: border-box; width: 100%; flex: 0 0 auto; display: flex; flex-direction: column; @media screen and (min-width: 1175px) { padding: 0 10px; max-width: 600px; } } } } .ui__header { display: none; box-sizing: border-box; height: 55px; position: sticky; top: 0; z-index: 3; justify-content: space-between; align-items: center; &__logo { display: inline-flex; padding: 15px; .logo { height: 25px; width: auto; } .logo--wordmark { display: none; } @media screen and (width >= 320px) { .logo--wordmark { display: block; } .logo--icon { display: none; } } } &__links { display: flex; align-items: center; gap: 10px; padding: 0 10px; overflow: hidden; .button { flex: 0 0 auto; } .button-tertiary { flex-shrink: 1; } } } .tabs-bar__wrapper { background: var(--ui-base-color-darken-8); position: sticky; top: 55px; z-index: 2; padding-top: 0; @media screen and (min-width: 1175px) { padding-top: 10px; top: 0; } .tabs-bar { margin-bottom: 0; @media screen and (min-width: 1175px) { margin-bottom: 10px; } } } .react-swipeable-view-container { &, .columns-area, .column { height: 100%; } } .react-swipeable-view-container > * { display: flex; align-items: center; justify-content: center; height: 100%; } .column { width: 330px; position: relative; box-sizing: border-box; display: flex; flex-direction: column; > .scrollable { background: var(--ui-base-color); } } .ui { flex: 0 0 auto; display: flex; flex-direction: column; width: 100%; height: 100%; } .column { overflow: hidden; } .column-back-button { box-sizing: border-box; width: 100%; background: var(--ui-base-color-lighten-4); border-radius: 4px 4px 0 0; color: var(--highlight-text-color); cursor: pointer; flex: 0 0 auto; font-size: 16px; border: 0; text-align: unset; padding: 15px; margin: 0; z-index: 3; &:hover { text-decoration: underline; } } .column-header__back-button { background: var(--ui-base-color-lighten-4); border: 0; font-family: inherit; color: var(--highlight-text-color); cursor: pointer; flex: 0 0 auto; font-size: 16px; padding: 0; padding-inline-end: 5px; z-index: 3; &:hover { text-decoration: underline; } &:last-child { padding: 0; padding-inline-end: 15px; } } .column-back-button__icon { display: inline-block; margin-inline-end: 5px; } .column-back-button--slim { position: relative; } .column-back-button--slim-button { cursor: pointer; flex: 0 0 auto; font-size: 16px; padding: 15px; position: absolute; inset-inline-end: 0; top: -48px; } .switch-to-advanced { color: var(--light-text-color); background-color: var(--ui-base-color); padding: 15px; border-radius: 4px; margin-top: 4px; margin-bottom: 12px; font-size: 13px; line-height: 18px; .switch-to-advanced__toggle { color: var(--ui-button-tertiary-color); font-weight: bold; } } .column-link { background: var(--ui-base-color-lighten-8); color: var(--primary-text-color); display: block; font-size: 16px; padding: 15px; text-decoration: none; overflow: hidden; white-space: nowrap; &:hover, &:focus, &:active { background: var(--ui-base-color-lighten-11); } &:focus { outline: 0; } &--transparent { background: transparent; color: var(--ui-secondary-color); &:hover, &:focus, &:active { background: transparent; color: var(--primary-text-color); } &.active { color: var(--highlight-text-color); } } &--logo { background: transparent; padding: 10px; &:hover, &:focus, &:active { background: transparent; } } } .column-link__icon { display: inline-block; margin-inline-end: 5px; } .column-subheading { background: var(--ui-base-color); color: var(--dark-text-color); padding: 8px 20px; font-size: 12px; font-weight: 500; text-transform: uppercase; cursor: default; } .column-header__wrapper { position: relative; flex: 0 0 auto; z-index: 1; &.active { box-shadow: 0 1px 0 var(--highlight-text-color-a30); &::before { display: block; content: ''; position: absolute; bottom: -13px; inset-inline-start: 0; inset-inline-end: 0; margin: 0 auto; width: 60%; pointer-events: none; height: 28px; z-index: 1; background: radial-gradient( ellipse, var(--ui-highlight-color-a23) 0%, var(--ui-highlight-color-a0) 60% ); } } .announcements { z-index: 1; position: relative; } } .column-header { display: flex; font-size: 16px; background: var(--ui-base-color-lighten-4); border-radius: 4px 4px 0 0; flex: 0 0 auto; cursor: pointer; position: relative; z-index: 2; outline: 0; overflow: hidden; & > button { margin: 0; border: 0; padding: 15px; color: inherit; background: transparent; font: inherit; text-align: start; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; flex: 1; } & > .column-header__back-button { color: var(--highlight-text-color); } &.active { .column-header__icon { color: var(--highlight-text-color); text-shadow: 0 0 10px var(--ui-highlight-color-a40); } } &:focus, &:active { outline: 0; } } .column { width: 330px; position: relative; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; .wide .columns-area:not(.columns-area--mobile) & { flex: 1 1 auto; min-width: 330px; } > .scrollable { background: var(--ui-base-color); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; } } .column-header__buttons { height: 48px; display: flex; margin-inline-start: 0; } .column-header__links { margin-bottom: 14px; } .column-header__links .text-btn { margin-inline-end: 10px; } .column-header__button { background: var(--ui-base-color-lighten-4); border: 0; color: var(--darker-text-color); cursor: pointer; font-size: 16px; padding: 0 15px; &:hover { color: var(--darker-text-color-lighten-7); } &.active { color: var(--primary-text-color); background: var(--ui-base-color-lighten-8); &:hover { color: var(--primary-text-color); background: var(--ui-base-color-lighten-8); } } &:focus { text-shadow: 0 0 4px var(--ui-highlight-color-darken-5); } &:disabled { color: var(--dark-text-color); cursor: default; } } .column-header__notif-cleaning-buttons { display: flex; align-items: stretch; justify-content: space-around; .column-header__button { background: transparent; text-align: center; padding: 10px 5px; font-size: 14px; } b { font-weight: bold; } } .layout-single-column .column-header__notif-cleaning-buttons { @media screen and (min-width: 1175px) { b, i { margin-inline-end: 5px; } br { display: none; } button { padding: 15px 5px; } } } .column-header__collapsible-inner.nopad-drawer { padding: 0; } .column-header__collapsible { max-height: 70vh; overflow: hidden; overflow-y: auto; color: var(--darker-text-color); transition: max-height 150ms ease-in-out, opacity 300ms linear; opacity: 1; z-index: 1; position: relative; &.collapsed { max-height: 0; opacity: 0.5; } &.animating { overflow-y: hidden; } hr { height: 0; background: transparent; border: 0; border-top: 1px solid var(--ui-base-color-lighten-12); margin: 10px 0; } &.ncd { transition: none; &.collapsed { max-height: 0; opacity: 0.7; } } } .column-header__collapsible-inner { background: var(--ui-base-color-lighten-8); padding: 15px; } .column-header__setting-btn { &:hover, &:focus { color: var(--darker-text-color); text-decoration: underline; } } .column-header__collapsible__extra + .column-header__setting-btn { padding-top: 5px; } .column-header__permission-btn { display: inline; font-weight: inherit; text-decoration: underline; } .column-header__setting-arrows { float: right; .column-header__setting-btn { padding: 5px; &:first-child { padding-inline-end: 7px; } &:last-child { padding-inline-start: 7px; margin-inline-start: 5px; } } } .column-header__title { display: inline-block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; flex: 1; } .column-header__issue-btn { color: var(--warning-red); &:hover { color: var(--error-red); text-decoration: underline; } } .column-header__icon { display: inline-block; margin-inline-end: 5px; } .column-settings__pillbar { display: flex; overflow: hidden; background-color: transparent; border: 0; border-radius: 4px; margin-bottom: 10px; align-items: stretch; gap: 2px; } .pillbar-button { border: 0; color: #fafafa; padding: 2px; margin: 0; font-size: inherit; flex: auto; background-color: var(--ui-base-color); transition: all 0.2s ease; transition-property: background-color, box-shadow; &[disabled] { cursor: not-allowed; opacity: 0.5; } &:not([disabled]) { &:hover, &:focus { background-color: var(--ui-base-color-darken-10); } &.active { background-color: var(--ui-highlight-color-darken-2); &:hover, &:focus { background-color: var(--ui-highlight-color); } } } } .limited-account-hint { p { color: var(--secondary-text-color); font-size: 15px; font-weight: 500; margin-bottom: 20px; } } .empty-column-indicator, .follow_requests-unlocked_explanation { color: var(--dark-text-color); background: var(--ui-base-color); text-align: center; padding: 20px; font-size: 15px; font-weight: 400; cursor: default; display: flex; flex: 1 1 auto; align-items: center; justify-content: center; @supports (display: grid) { contain: strict; } & > span { max-width: 500px; } a { color: var(--highlight-text-color); text-decoration: none; &:hover { text-decoration: underline; } } } .follow_requests-unlocked_explanation { background: var(--ui-base-color-darken-4); contain: initial; flex-grow: 0; } .error-column { padding: 20px; background: var(--ui-base-color); border-radius: 4px; display: flex; flex: 1 1 auto; align-items: center; justify-content: center; flex-direction: column; cursor: default; &__image { width: 70%; max-width: 350px; margin-top: -50px; } &__message { text-align: center; color: var(--darker-text-color); font-size: 15px; line-height: 22px; h1 { font-size: 28px; line-height: 33px; font-weight: 700; margin-bottom: 15px; color: var(--primary-text-color); } p { max-width: 48ch; } &__actions { margin-top: 30px; display: flex; gap: 10px; align-items: center; justify-content: center; } } } .column-inline-form { padding: 7px 15px; padding-inline-end: 5px; display: flex; justify-content: flex-start; align-items: center; background: var(--ui-base-color-lighten-4); label { flex: 1 1 auto; input { width: 100%; margin-bottom: 6px; &:focus { outline: 0; } } } .icon-button { flex: 0 0 auto; margin: 0 5px; } } .column-settings__outer { background: var(--ui-base-color-lighten-8); padding: 15px; } .column-settings__section { color: var(--darker-text-color); cursor: default; display: block; font-weight: 500; margin-bottom: 10px; } .column-settings__row--with-margin { margin-bottom: 15px; } .column-settings__hashtags { .column-settings__row { margin-bottom: 15px; } .column-select { &__control { outline: 0; box-sizing: border-box; width: 100%; border: 0; box-shadow: none; font-family: inherit; background: var(--ui-base-color); color: var(--darker-text-color); border-radius: 4px; font-size: 14px; margin: 0; &::placeholder { color: var(--darker-text-color-lighten-4); } &::-moz-focus-inner { border: 0; } &::-moz-focus-inner, &:focus, &:active { outline: 0 !important; } &:focus { background: var(--ui-base-color-lighten-4); } @media screen and (width <= 600px) { font-size: 16px; } } &__placeholder { color: var(--dark-text-color); padding-inline-start: 2px; font-size: 12px; } &__value-container { padding-inline-start: 6px; } &__multi-value { background: var(--ui-base-color-lighten-8); &__remove { cursor: pointer; &:hover, &:active, &:focus { background: var(--ui-base-color-lighten-12); color: var(--darker-text-color-lighten-4); } } } &__multi-value__label, &__input, &__input-container { color: var(--darker-text-color); } &__clear-indicator, &__dropdown-indicator { cursor: pointer; transition: none; color: var(--dark-text-color); &:hover, &:active, &:focus { color: var(--dark-text-color-lighten-4); } } &__indicator-separator { background-color: var(--ui-base-color-lighten-8); } &__menu { background: var(--simple-background-color); border-radius: 4px; padding: 10px 14px; padding-bottom: 14px; margin-top: 10px; color: var(--light-text-color); box-shadow: 2px 4px 15px var(--base-shadow-color-a40); h4 { text-transform: uppercase; color: var(--light-text-color); font-size: 13px; font-weight: 500; margin-bottom: 10px; } li { padding: 4px 0; } ul { margin-bottom: 10px; } em { font-weight: 500; color: var(--inverted-text-color); } padding: 0; background: var(--ui-secondary-color); } &__menu-list { padding: 6px; } &__option { color: var(--inverted-text-color); border-radius: 4px; font-size: 14px; &--is-focused, &--is-selected { background: var(--ui-secondary-color-darken-10); } } } } .column-settings__row { .text-btn:not(.column-header__permission-btn) { margin-bottom: 15px; } } .notifications-permission-banner { padding: 30px; border-bottom: 1px solid var(--ui-base-color-lighten-8); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; &__close { position: absolute; top: 10px; inset-inline-end: 10px; } h2 { font-size: 16px; font-weight: 500; margin-bottom: 15px; text-align: center; } p { color: var(--darker-text-color); margin-bottom: 15px; text-align: center; } } .column-title { text-align: center; padding: 40px; .logo { width: 50px; margin: 0 auto; margin-bottom: 40px; } h3 { font-size: 24px; line-height: 1.5; font-weight: 700; margin-bottom: 10px; } p { font-size: 16px; line-height: 24px; font-weight: 400; color: var(--darker-text-color); } } .follow-recommendations-container { display: flex; flex-direction: column; } .column-actions { display: flex; align-items: flex-start; justify-content: center; padding: 40px; padding-top: 40px; padding-bottom: 200px; flex-grow: 1; position: relative; &__background { position: absolute; inset-inline-start: 0; bottom: 0; height: 220px; width: auto; } } .column-list { margin: 0 20px; border: 1px solid var(--ui-base-color-lighten-8); background: var(--ui-base-color-darken-2); border-radius: 4px; &__empty-message { padding: 40px; text-align: center; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--darker-text-color); } } .dismissable-banner, .warning-banner { position: relative; margin: 10px; margin-bottom: 5px; border-radius: 8px; border: 1px solid var(--highlight-text-color); background: var(--highlight-text-color-a15); overflow: hidden; &__background-image { width: 125%; position: absolute; bottom: -25%; inset-inline-end: -25%; z-index: -1; opacity: 0.15; mix-blend-mode: luminosity; } &__message { flex: 1 1 auto; padding: 15px; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--primary-text-color); p { margin-bottom: 15px; &:last-child { margin-bottom: 0; } } h1 { color: var(--highlight-text-color); font-size: 22px; line-height: 33px; font-weight: 700; margin-bottom: 15px; } &__actions { display: flex; flex-wrap: wrap; gap: 4px; &__wrapper { display: flex; margin-top: 30px; } .button { display: block; flex-grow: 1; } } .button-tertiary { background: var(--ui-base-color-a15); backdrop-filter: blur(8px); } } &__action { float: right; padding: 15px 10px; .icon-button { color: var(--highlight-text-color); } } } .warning-banner { border: 1px solid var(--warning-red); background: var(--warning-red-a15); &__message { h1 { color: var(--warning-red); } a { color: var(--primary-text-color); } } } .hashtag-header { border-bottom: 1px solid var(--ui-base-color-lighten-8); padding: 15px; font-size: 17px; line-height: 22px; color: var(--darker-text-color); strong { font-weight: 700; } &__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; gap: 15px; h1 { color: var(--primary-text-color); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; font-size: 22px; line-height: 33px; font-weight: 700; } } }