Edit history

Earlier versions of Improve single community mode layout, newest first.

Current version | Edited by Gustavo Barros
Changes
Additional informationRemoved: /**Removed: * @name TabsRemoved: * @description Transforma as mensagens e o servidor da JJ em tabs para ganho de espaço vertical.Removed: * @author Gustavo BarrosRemoved: */Removed: Removed: @media (min-width: 768px) {Removed: :root {Removed: --fluxer-tabs-sidebar-width: 380px;Removed: }Removed: Removed: [data-flx="app.guilds-layout.guilds-layout"]:has(Removed: > nav [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--3"]Removed: ):has(Removed: [data-flx="app.guild-sidebar.guild-navbar"], [data-flx="channel.direct-message.dm-list.dm-list-container"]Removed: ):not(:has(Removed: [data-flx="app.sidebar-nav.add-guild-button.button.add-guild"],Removed: [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--2"],Removed: [data-flx="app.guilds-layout.render-guild-navigation-row.visiting-guild-slot"],Removed: [data-flx="app.guilds-layout.nagbar-stack"],Removed: [data-flx="app.guilds-layout.nagbar-overlay"],Removed: [data-flx^="app.guild-layout."][data-flx$=".nagbar-content"],Removed: [data-flx="app.guild-layout.guild-preview-nagbar"]Removed: )) {Removed: --fluxer-community-tab-label: "Servidor";Removed: --fluxer-tabs-height: 44px;Removed: --layout-guild-list-width: 0px;Removed: --layout-sidebar-width: var(--fluxer-tabs-sidebar-width) !important;Removed: --user-area-avatar-lead: var(--footer-box-inner-inset);Removed: grid-template-columns: var(--layout-sidebar-width) minmax(0, 1fr);Removed: Removed: > [data-flx="app.guilds-layout.content-container"] {Removed: grid-column: 1 / -1;Removed: }Removed: Removed: :is([data-flx="app.guild-sidebar.guild-navbar"], [data-flx="channel.direct-message.dm-list.dm-list-container"]) {Removed: box-sizing: border-box;Removed: padding-block-start: var(--fluxer-tabs-height);Removed: }Removed: Removed: [data-flx="app.guild-sidebar.guild-navbar"] {Removed: grid-template-rows: minmax(0, 1fr);Removed: Removed: > [data-flx="app.guild-header.header-wrapper"],Removed: [data-flx="app.channel-list-content.banner-spacer"] {Removed: display: none;Removed: }Removed: }Removed: Removed: [data-flx="app.sidebar-resize-handle"] {Removed: display: none;Removed: }Removed: Removed: > [data-flx="app.guilds-layout.guild-list.guild-list-scroller-wrapper"] {Removed: align-self: start;Removed: inline-size: var(--layout-sidebar-width);Removed: block-size: var(--fluxer-tabs-height);Removed: box-sizing: border-box;Removed: border-block: 1px solid var(--user-area-divider-color);Removed: overflow: clip;Removed: Removed: /* Quando o foco chega a outro atalho da barra, mostre a lista auxiliar. */Removed: &:has([data-guild-list-focus-item="true"]:focus-visible:not(:is(Removed: [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"],Removed: [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-list-item.click"]Removed: ))) {Removed: block-size: min(52dvh, 360px);Removed: box-shadow: 0 0.4rem 1rem rgb(0 0 0 / 25%);Removed: }Removed: Removed: &:not(:has([data-guild-list-focus-item="true"]:focus-visible:not(:is(Removed: [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"],Removed: [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-list-item.click"]Removed: )))) {Removed: [data-flx="app.guilds-layout.guild-list.guild-list-scroll-container"] {Removed: overflow: clip !important;Removed: }Removed: Removed: > [data-flx="app.floating-unread-indicators.layer"] {Removed: display: none;Removed: }Removed: Removed: [data-flx="app.guilds-layout.guild-list.guild-list-content"] > [data-navigation-index]:not(:has(:is(Removed: [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"],Removed: [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--3"]Removed: ))) {Removed: /* Recorte apenas visual para manter a navegação por teclado e a contagem. */Removed: clip-path: inset(50%);Removed: }Removed: }Removed: Removed: [data-flx="app.guilds-layout.guild-list.guild-list-scroll-container"] {Removed: padding: 0;Removed: }Removed: Removed: [data-flx="app.guilds-layout.guild-list.guild-list-content"] {Removed: display: grid;Removed: grid-template-columns: repeat(2, minmax(0, 1fr));Removed: align-content: start;Removed: gap: 4px;Removed: padding: 5px 8px 6px;Removed: counter-reset: fluxer-unread-dms;Removed: Removed: > [data-navigation-index] {Removed: grid-column: 1 / -1;Removed: padding-block-end: 0 !important;Removed: }Removed: Removed: > [data-navigation-index]:has(:is(Removed: [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"],Removed: [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--3"]Removed: )) {Removed: position: sticky;Removed: inset-block-start: 5px;Removed: z-index: 4;Removed: background-color: var(--background-secondary);Removed: }Removed: Removed: > [data-navigation-index]:has([data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"]) {Removed: grid-column: 1;Removed: order: -2;Removed: }Removed: Removed: > [data-navigation-index]:has([data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--3"]) {Removed: grid-column: 2;Removed: order: -1;Removed: }Removed: Removed: /* As linhas ainda existem enquanto a lista embutida está ativa. */Removed: > [data-navigation-index]:has(Removed: [data-flx="app.guild-list-dm-animation.dm-list-row"]:not([data-pending-removal="true"])Removed: [data-flx="app.sidebar-nav.guild-list-dm-item.dm-list-item.button.select"]:not([aria-current="page"])Removed: [data-flx="app.sidebar-nav.guild-list-dm-item.dm-list-item.div"]Removed: ) {Removed: counter-increment: fluxer-unread-dms;Removed: }Removed: Removed: &:has(Removed: [data-flx="app.guild-list-dm-animation.dm-list-row"]:not([data-pending-removal="true"])Removed: [data-flx="app.sidebar-nav.guild-list-dm-item.dm-list-item.button.select"]:not([aria-current="page"])Removed: [data-flx="app.sidebar-nav.guild-list-dm-item.dm-list-item.div"]Removed: ):not(:has([data-flx="app.sidebar-nav.fluxer-button.guild-badge"] [data-flx="ui.mention-badge.badge"])) {Removed: [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"] {Removed: gap: 6px;Removed: padding-inline-end: 32px;Removed: }Removed: Removed: &::after {Removed: content: counter(fluxer-unread-dms);Removed: position: absolute;Removed: z-index: 5;Removed: inset-block-start: 13px;Removed: inset-inline-end: calc(50% + 8px);Removed: display: grid;Removed: place-items: center;Removed: min-inline-size: 16px;Removed: block-size: 16px;Removed: padding-inline: 4px;Removed: border-radius: 999px;Removed: background: var(--status-danger);Removed: color: white;Removed: font-size: 10px;Removed: font-weight: 700;Removed: font-variant-numeric: tabular-nums;Removed: line-height: 1;Removed: pointer-events: none;Removed: }Removed: }Removed: }Removed: Removed: :is(Removed: [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"],Removed: [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-list-item.click"]Removed: ) {Removed: --guild-icon-size: 19px;Removed: display: flex;Removed: align-items: center;Removed: justify-content: flex-start;Removed: gap: 8px;Removed: min-inline-size: 0;Removed: block-size: 32px;Removed: padding: 0 10px;Removed: border-radius: var(--radius-md, 8px);Removed: color: var(--text-primary-muted, var(--text-primary));Removed: font: inherit;Removed: font-size: 0.8125rem;Removed: font-weight: 600;Removed: cursor: pointer;Removed: Removed: &:hover {Removed: background-color: var(--background-modifier-hover);Removed: }Removed: Removed: &[aria-current="page"] {Removed: color: var(--text-primary);Removed: background-color: color-mix(in srgb, var(--brand-primary) 12%, var(--background-secondary));Removed: box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-primary) 38%, transparent);Removed: }Removed: Removed: &:focus-visible {Removed: outline: 2px solid var(--brand-primary);Removed: outline-offset: -2px;Removed: }Removed: Removed: &::after {Removed: content: var(--fluxer-tab-label);Removed: overflow: hidden;Removed: text-overflow: ellipsis;Removed: white-space: nowrap;Removed: }Removed: Removed: :is([data-flx="app.sidebar-nav.fluxer-button.guild-indicator"], flx-app-guild-list-item-indicator) {Removed: display: none;Removed: }Removed: }Removed: Removed: [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"] {Removed: --fluxer-tab-label: "Mensagens";Removed: anchor-name: --fluxer-dm-tab;Removed: background-color: transparent;Removed: border: 0;Removed: Removed: &:has([data-flx="ui.mention-badge.badge"]) {Removed: gap: 6px;Removed: padding-inline-end: 6px;Removed: }Removed: Removed: &::after {Removed: order: 1;Removed: }Removed: Removed: [data-flx="app.sidebar-nav.fluxer-button.relative"] {Removed: display: contents;Removed: }Removed: Removed: [data-flx="app.sidebar-nav.fluxer-button.guild-badge"] {Removed: --mention-badge-cutout-surface: transparent;Removed: position: static;Removed: order: 2;Removed: flex-shrink: 0;Removed: margin-inline-start: auto;Removed: Removed: &:not(:has([data-flx="ui.mention-badge.badge"])) {Removed: display: none;Removed: }Removed: }Removed: }Removed: Removed: [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-list-item.click"] {Removed: --fluxer-tab-label: var(--fluxer-community-tab-label);Removed: --guild-icon-size: 23px;Removed: Removed: [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--3"] & {Removed: anchor-name: --fluxer-jj-tab;Removed: }Removed: Removed: [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-icon"] {Removed: border-radius: 6px !important;Removed: box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text-primary) 15%, transparent);Removed: }Removed: Removed: [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-icon"]:has(Removed: [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-icon-acronym"]Removed: ) {Removed: color: var(--text-primary);Removed: background: color-mix(in srgb, var(--brand-primary) 24%, var(--background-secondary));Removed: Removed: > [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-icon-acronym"] {Removed: display: none;Removed: }Removed: Removed: &::after {Removed: content: "JJ" / "";Removed: font: 750 10px / 1 system-ui, sans-serif;Removed: letter-spacing: 0.02em;Removed: }Removed: }Removed: Removed: [data-flx="app.sidebar-nav.voice-badge.div"] {Removed: display: none;Removed: }Removed: }Removed: Removed: [data-flx="app.sidebar-nav.fluxer-button.message-bubble-icon"] {Removed: inline-size: 13px;Removed: block-size: 13px;Removed: }Removed: }Removed: }Removed: }Removed: Removed: @media (min-width: 768px) {Removed: :root:has(Removed: [data-flx="app.guilds-layout.guilds-layout"] > navRemoved: [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--3"]Removed: ):has(Removed: [data-flx="app.guilds-layout.guilds-layout"] :is(Removed: [data-flx="app.guild-sidebar.guild-navbar"], [data-flx="channel.direct-message.dm-list.dm-list-container"]Removed: )Removed: ):not(:has(Removed: [data-flx="app.guilds-layout.guilds-layout"] :is(Removed: [data-flx="app.sidebar-nav.add-guild-button.button.add-guild"],Removed: [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--2"],Removed: [data-flx="app.guilds-layout.render-guild-navigation-row.visiting-guild-slot"],Removed: [data-flx="app.guilds-layout.nagbar-stack"],Removed: [data-flx="app.guilds-layout.nagbar-overlay"],Removed: [data-flx^="app.guild-layout."][data-flx$=".nagbar-content"],Removed: [data-flx="app.guild-layout.guild-preview-nagbar"]Removed: )Removed: )) [data-flx="ui.tooltip.tooltip.tooltip"]:is(Removed: :has([data-flx="app.sidebar-nav.guild-list-item-tooltip.guild-tooltip-container"]),Removed: :root:has([data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"][aria-describedby])Removed: [role="tooltip"]:has([data-flx="ui.tooltip.tooltip.tooltip-container.tooltip-content"]):not(:has(Removed: [data-flx="ui.tooltip.tooltip.tooltip-container.tooltip-content"] > *Removed: ))Removed: ) {Removed: --fluxer-tooltip-anchor: --fluxer-dm-tab;Removed: --fluxer-tooltip-tab-center: calc(var(--fluxer-tabs-sidebar-width) * 0.25 + 3px);Removed: inset-inline: var(--fluxer-tooltip-tab-center) auto !important;Removed: translate: -50% calc(50% + 22px);Removed: Removed: &:has([data-flx="app.sidebar-nav.guild-list-item-tooltip.guild-tooltip-container"]) {Removed: --fluxer-tooltip-anchor: --fluxer-jj-tab;Removed: --fluxer-tooltip-tab-center: calc(var(--fluxer-tabs-sidebar-width) * 0.75 - 3px);Removed: inline-size: 248px;Removed: }Removed: Removed: @supports (top: anchor(bottom)) {Removed: position: fixed !important;Removed: position-anchor: var(--fluxer-tooltip-anchor);Removed: inset: auto !important;Removed: top: calc(anchor(bottom) + 6px) !important;Removed: left: anchor(center) !important;Removed: transform: none !important;Removed: translate: -50% 0;Removed: }Removed: Removed: [data-flx="ui.tooltip.tooltip.tooltip-container.tooltip"]::before {Removed: content: "";Removed: position: absolute;Removed: inset-block-start: -4px;Removed: left: calc(50% - 4px);Removed: inline-size: 8px;Removed: block-size: 8px;Removed: rotate: 45deg;Removed: background-color: inherit;Removed: border: 1px solid;Removed: border-color: inherit;Removed: border-block-end: 0;Removed: border-inline-end: 0;Removed: pointer-events: none;Removed: }Removed: Removed: :is(Removed: [data-flx="ui.tooltip.tooltip.tooltip-container.tooltip-pointer"],Removed: [data-flx="ui.tooltip.tooltip.tooltip-container.tooltip-pointer--2"]Removed: ) {Removed: opacity: 0;Removed: }Removed: }Removed: }Added: Custom CSS: [[file:fluxer\-tabs.css]]
Show

Improve single community mode layout

Current problem

A entire vertical space is wasted because there is only one instance. Custom CSS is not good because I want to preview who send me a message.

Proposed change

Add option for single community to improve the layout removing the vertical side bar with tabs.

Platform

Self-hosting

Additional information

Custom CSS: fluxer-tabs.css
Original by Gustavo Barros
Show

Improve single community mode layout

Current problem

A entire vertical space is wasted because there is only one instance. Custom CSS is not good because I want to preview who send me a message.

Proposed change

Add option for single community to improve the layout removing the vertical side bar with tabs.

Platform

Self-hosting

Additional information

/** * @name Tabs * @description Transforma as mensagens e o servidor da JJ em tabs para ganho de espaço vertical. * @author Gustavo Barros */ @media (min-width: 768px) { :root { --fluxer-tabs-sidebar-width: 380px; } [data-flx="app.guilds-layout.guilds-layout"]:has(
nav [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--3"]
):has( [data-flx="app.guild-sidebar.guild-navbar"], [data-flx="channel.direct-message.dm-list.dm-list-container"] ):not(:has( [data-flx="app.sidebar-nav.add-guild-button.button.add-guild"], [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--2"], [data-flx="app.guilds-layout.render-guild-navigation-row.visiting-guild-slot"],
    [data-flx="app.guilds-layout.nagbar-stack"],
    [data-flx="app.guilds-layout.nagbar-overlay"],
    [data-flx^="app.guild-layout."][data-flx$=".nagbar-content"],
    [data-flx="app.guild-layout.guild-preview-nagbar"]
)) { --fluxer-community-tab-label: "Servidor"; --fluxer-tabs-height: 44px; --layout-guild-list-width: 0px; --layout-sidebar-width: var(--fluxer-tabs-sidebar-width) !important; --user-area-avatar-lead: var(--footer-box-inner-inset); grid-template-columns: var(--layout-sidebar-width) minmax(0, 1fr);
[data-flx="app.guilds-layout.content-container"] {
grid-column: 1 / -1; } :is([data-flx="app.guild-sidebar.guild-navbar"], [data-flx="channel.direct-message.dm-list.dm-list-container"]) { box-sizing: border-box; padding-block-start: var(--fluxer-tabs-height); } [data-flx="app.guild-sidebar.guild-navbar"] { grid-template-rows: minmax(0, 1fr);
[data-flx="app.guild-header.header-wrapper"],
[data-flx="app.channel-list-content.banner-spacer"] { display: none; } } [data-flx="app.sidebar-resize-handle"] { display: none; }
[data-flx="app.guilds-layout.guild-list.guild-list-scroller-wrapper"] {
align-self: start; inline-size: var(--layout-sidebar-width); block-size: var(--fluxer-tabs-height); box-sizing: border-box; border-block: 1px solid var(--user-area-divider-color); overflow: clip; /* Quando o foco chega a outro atalho da barra, mostre a lista auxiliar. */ &:has([data-guild-list-focus-item="true"]:focus-visible:not(:is( [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"], [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-list-item.click"] ))) { block-size: min(52dvh, 360px); box-shadow: 0 0.4rem 1rem rgb(0 0 0 / 25%); } &:not(:has([data-guild-list-focus-item="true"]:focus-visible:not(:is( [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"], [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-list-item.click"] )))) { [data-flx="app.guilds-layout.guild-list.guild-list-scroll-container"] { overflow: clip !important; }
[data-flx="app.floating-unread-indicators.layer"] {
display: none; } [data-flx="app.guilds-layout.guild-list.guild-list-content"] > [data-navigation-index]:not(:has(:is( [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"], [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--3"] ))) { /* Recorte apenas visual para manter a navegação por teclado e a contagem. */ clip-path: inset(50%); } } [data-flx="app.guilds-layout.guild-list.guild-list-scroll-container"] { padding: 0; } [data-flx="app.guilds-layout.guild-list.guild-list-content"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 4px; padding: 5px 8px 6px; counter-reset: fluxer-unread-dms;
[data-navigation-index] {
grid-column: 1 / -1; padding-block-end: 0 !important; }
[data-navigation-index]:has(:is(
[data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"], [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--3"] )) { position: sticky; inset-block-start: 5px; z-index: 4; background-color: var(--background-secondary); }
[data-navigation-index]:has([data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"]) {
grid-column: 1; order: -2; }
[data-navigation-index]:has([data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--3"]) {
grid-column: 2; order: -1; } /* As linhas ainda existem enquanto a lista embutida está ativa. */
[data-navigation-index]:has(
[data-flx="app.guild-list-dm-animation.dm-list-row"]:not([data-pending-removal="true"]) [data-flx="app.sidebar-nav.guild-list-dm-item.dm-list-item.button.select"]:not([aria-current="page"]) [data-flx="app.sidebar-nav.guild-list-dm-item.dm-list-item.div"] ) { counter-increment: fluxer-unread-dms; } &:has( [data-flx="app.guild-list-dm-animation.dm-list-row"]:not([data-pending-removal="true"]) [data-flx="app.sidebar-nav.guild-list-dm-item.dm-list-item.button.select"]:not([aria-current="page"]) [data-flx="app.sidebar-nav.guild-list-dm-item.dm-list-item.div"] ):not(:has([data-flx="app.sidebar-nav.fluxer-button.guild-badge"] [data-flx="ui.mention-badge.badge"])) { [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"] { gap: 6px; padding-inline-end: 32px; } &::after { content: counter(fluxer-unread-dms); position: absolute; z-index: 5; inset-block-start: 13px; inset-inline-end: calc(50% + 8px); display: grid; place-items: center; min-inline-size: 16px; block-size: 16px; padding-inline: 4px; border-radius: 999px; background: var(--status-danger); color: white; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; pointer-events: none; } } } :is( [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"], [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-list-item.click"] ) { --guild-icon-size: 19px; display: flex; align-items: center; justify-content: flex-start; gap: 8px; min-inline-size: 0; block-size: 32px; padding: 0 10px; border-radius: var(--radius-md, 8px); color: var(--text-primary-muted, var(--text-primary)); font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer; &:hover { background-color: var(--background-modifier-hover); } &[aria-current="page"] { color: var(--text-primary); background-color: color-mix(in srgb, var(--brand-primary) 12%, var(--background-secondary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-primary) 38%, transparent); } &:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: -2px; } &::after { content: var(--fluxer-tab-label); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :is([data-flx="app.sidebar-nav.fluxer-button.guild-indicator"], flx-app-guild-list-item-indicator) { display: none; } } [data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"] { --fluxer-tab-label: "Mensagens"; anchor-name: --fluxer-dm-tab; background-color: transparent; border: 0; &:has([data-flx="ui.mention-badge.badge"]) { gap: 6px; padding-inline-end: 6px; } &::after { order: 1; } [data-flx="app.sidebar-nav.fluxer-button.relative"] { display: contents; } [data-flx="app.sidebar-nav.fluxer-button.guild-badge"] { --mention-badge-cutout-surface: transparent; position: static; order: 2; flex-shrink: 0; margin-inline-start: auto; &:not(:has([data-flx="ui.mention-badge.badge"])) { display: none; } } } [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-list-item.click"] { --fluxer-tab-label: var(--fluxer-community-tab-label); --guild-icon-size: 23px; [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--3"] & { anchor-name: --fluxer-jj-tab; } [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-icon"] { border-radius: 6px !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text-primary) 15%, transparent); } [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-icon"]:has( [data-flx="app.sidebar-nav.guild-list-item-presentation.guild-icon-acronym"] ) { color: var(--text-primary); background: color-mix(in srgb, var(--brand-primary) 24%, var(--background-secondary));
[data-flx="app.sidebar-nav.guild-list-item-presentation.guild-icon-acronym"] {
display: none; } &::after { content: "JJ" / ""; font: 750 10px / 1 system-ui, sans-serif; letter-spacing: 0.02em; } } [data-flx="app.sidebar-nav.voice-badge.div"] { display: none; } } [data-flx="app.sidebar-nav.fluxer-button.message-bubble-icon"] { inline-size: 13px; block-size: 13px; } } } } @media (min-width: 768px) { :root:has( [data-flx="app.guilds-layout.guilds-layout"] > nav [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--3"] ):has( [data-flx="app.guilds-layout.guilds-layout"] :is( [data-flx="app.guild-sidebar.guild-navbar"], [data-flx="channel.direct-message.dm-list.dm-list-container"] ) ):not(:has( [data-flx="app.guilds-layout.guilds-layout"] :is( [data-flx="app.sidebar-nav.add-guild-button.button.add-guild"], [data-flx="app.guilds-layout.render-guild-navigation-row.guild-list-item-slot--2"], [data-flx="app.guilds-layout.render-guild-navigation-row.visiting-guild-slot"],
      [data-flx="app.guilds-layout.nagbar-stack"],
      [data-flx="app.guilds-layout.nagbar-overlay"],
      [data-flx^="app.guild-layout."][data-flx$=".nagbar-content"],
      [data-flx="app.guild-layout.guild-preview-nagbar"]
) )) [data-flx="ui.tooltip.tooltip.tooltip"]:is( :has([data-flx="app.sidebar-nav.guild-list-item-tooltip.guild-tooltip-container"]), :root:has([data-flx="app.sidebar-nav.fluxer-button.fluxer-button.select"][aria-describedby]) [role="tooltip"]:has([data-flx="ui.tooltip.tooltip.tooltip-container.tooltip-content"]):not(:has( [data-flx="ui.tooltip.tooltip.tooltip-container.tooltip-content"] > * )) ) { --fluxer-tooltip-anchor: --fluxer-dm-tab; --fluxer-tooltip-tab-center: calc(var(--fluxer-tabs-sidebar-width) * 0.25 + 3px); inset-inline: var(--fluxer-tooltip-tab-center) auto !important; translate: -50% calc(50% + 22px); &:has([data-flx="app.sidebar-nav.guild-list-item-tooltip.guild-tooltip-container"]) { --fluxer-tooltip-anchor: --fluxer-jj-tab; --fluxer-tooltip-tab-center: calc(var(--fluxer-tabs-sidebar-width) * 0.75 - 3px); inline-size: 248px; } @supports (top: anchor(bottom)) { position: fixed !important; position-anchor: var(--fluxer-tooltip-anchor); inset: auto !important; top: calc(anchor(bottom) + 6px) !important; left: anchor(center) !important; transform: none !important; translate: -50% 0; } [data-flx="ui.tooltip.tooltip.tooltip-container.tooltip"]::before { content: ""; position: absolute; inset-block-start: -4px; left: calc(50% - 4px); inline-size: 8px; block-size: 8px; rotate: 45deg; background-color: inherit; border: 1px solid; border-color: inherit; border-block-end: 0; border-inline-end: 0; pointer-events: none; } :is( [data-flx="ui.tooltip.tooltip.tooltip-container.tooltip-pointer"], [data-flx="ui.tooltip.tooltip.tooltip-container.tooltip-pointer--2"] ) { opacity: 0; } } }