Skip to content

Commit

Permalink
Replace Sidebery settings icon with Fluent settings icon, finalize th…
Browse files Browse the repository at this point in the history
…e Arc-like aesthetic #3
  • Loading branch information
KiKaraage authored Feb 29, 2024
1 parent a1a56d5 commit 048fe41
Showing 1 changed file with 52 additions and 43 deletions.
95 changes: 52 additions & 43 deletions sidebery-css-style
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,53 @@
#root.root {--tabs-close-btn-margin: 5px;}
#root.root {--tabs-inner-gap: 10px;}
#root.root {--general-border-radius: 6px;}
#root.root {--tabs-font: 0.9375rem Segoe UI Variable Small, Segoe UI;} /* Don't forget to install the font! */
#root .popup-container {background-color: transparent;}
#root .hidden-panels-popup-layer:before {background-color: transparent;}

/* Smoothen masking for overflowed tab title. */
.Tab .title {
background: linear-gradient(90deg, var(--tabs-normal-fg) 80%, #f1f1f100 99%);
background-clip: text;
color: transparent;
}

/* Uncomment this to apply Segoe UI Variable font - Make sure to install the font first */
/* #root.root {--tabs-font: 0.9375rem Segoe UI Variable Small, Segoe UI;} */

/* NEW TAB BUTTON*/

.TabsPanel .new-tab-btns{
position: relative;
padding-top: 5px;
}

.TabsPanel .new-tab-btn {
justify-content: left;
padding-left: calc(var(--tabs-inner-gap));
margin-left: calc(var(--tabs-margin)*0.5);
margin-right: calc(var(--tabs-margin)*0.5);
--ntb-btn-height: 37px;
}

.TabsPanel .new-tab-btn > svg, .TabsPanel .new-tab-btn > img {
fill: transparent;
background-color: var(--nav-btn-fg);
opacity: 40%;
width: 17px;
height: 17px;
scale: 0.9;
mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgZmlsbD0ibm9uZSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiB3aWR0aD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwIDIuNUMxMCAyLjIyMzg2IDkuNzc2MTQgMiA5LjUgMkM5LjIyMzg2IDIgOSAyLjIyMzg2IDkgMi41VjlIMi41QzIuMjIzODYgOSAyIDkuMjIzODYgMiA5LjVDMiA5Ljc3NjE0IDIuMjIzODYgMTAgMi41IDEwSDlWMTYuNUM5IDE2Ljc3NjEgOS4yMjM4NiAxNyA5LjUgMTdDOS43NzYxNCAxNyAxMCAxNi43NzYxIDEwIDE2LjVWMTBIMTYuNUMxNi43NzYxIDEwIDE3IDkuNzc2MTQgMTcgOS41QzE3IDkuMjIzODYgMTYuNzc2MSA5IDE2LjUgOUgxMFYyLjVaIiBmaWxsPSIjMjEyMTIxIi8+PC9zdmc+");
}

.TabsPanel .new-tab-btn:after {
justify-content: left;
content: "New Tab";
font: var(--tabs-font);
padding-left: calc(var(--tabs-inner-gap) + var(--tabs-margin) + 12px);
color: var(--nav-btn-fg);
opacity: 40%;
}

/* NAVBAR */

#root.root {--nav-btn-width: 25px;}
Expand All @@ -48,7 +85,7 @@
order: 1;
margin-left: 5px;
margin-right: 5px;
margin-top: 6px;
margin-top: 3px;
}

/* Remove background color, border and shadow for active tab panel. */
Expand Down Expand Up @@ -79,7 +116,13 @@
transform: scaleY(-1);
}

/* Replacing 'add tabs panels' button with a plus icon to mimic Arc's 'new space' button. */
/* Adjust 'add tabs panel' size & position. */
#root .PanelConfigPopup .popup {
width: 80vw;
margin-top: 25vh;
}

/* Replacing 'add tabs panel' button with Fluent plus icon to mimic Arc's 'new space' button. */
.NavigationBar #add_tp.nav-item .icon {
fill: transparent;
background-color: var(--nav-btn-fg);
Expand All @@ -88,7 +131,7 @@
mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgZmlsbD0ibm9uZSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiB3aWR0aD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwIDIuNUMxMCAyLjIyMzg2IDkuNzc2MTQgMiA5LjUgMkM5LjIyMzg2IDIgOSAyLjIyMzg2IDkgMi41VjlIMi41QzIuMjIzODYgOSAyIDkuMjIzODYgMiA5LjVDMiA5Ljc3NjE0IDIuMjIzODYgMTAgMi41IDEwSDlWMTYuNUM5IDE2Ljc3NjEgOS4yMjM4NiAxNyA5LjUgMTdDOS43NzYxNCAxNyAxMCAxNi43NzYxIDEwIDE2LjVWMTBIMTYuNUMxNi43NzYxIDEwIDE3IDkuNzc2MTQgMTcgOS41QzE3IDkuMjIzODYgMTYuNzc2MSA5IDE2LjUgOUgxMFYyLjVaIiBmaWxsPSIjMjEyMTIxIi8+PC9zdmc+");
}

/* Replacing 'history' panel with an archive icon to mimic Arc's 'recently closed' button. */
/* Replacing 'history' panel with Fluent archive icon to mimic Arc's 'recently closed' button. */
.NavigationBar #navhistory.nav-item .icon {
fill: transparent;
background-color: var(--nav-btn-fg);
Expand All @@ -99,45 +142,11 @@
mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgZmlsbD0ibm9uZSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiB3aWR0aD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2LjUgMkMxNy4zMjg0IDIgMTggMi42NzE1NyAxOCAzLjVWNS41QzE4IDYuMTUyODUgMTcuNTgyOSA2LjcwODI4IDE3LjAwMDcgNi45MTQ0TDE3IDE0LjVDMTcgMTYuNDMzIDE1LjQzMyAxOCAxMy41IDE4SDYuNUM0LjU2NyAxOCAzIDE2LjQzMyAzIDE0LjVMMy4wMDAyOSA2LjkxNDc1QzIuNDE3NTQgNi43MDg5MSAyIDYuMTUzMjIgMiA1LjVWMy41QzIgMi42NzE1NyAyLjY3MTU3IDIgMy41IDJIMTYuNVpNMTYgN0g0VjE0LjVDNCAxNS44ODA3IDUuMTE5MjkgMTcgNi41IDE3SDEzLjVDMTQuODgwNyAxNyAxNiAxNS44ODA3IDE2IDE0LjVWN1pNOC41IDlIMTEuNUMxMS43NzYxIDkgMTIgOS4yMjM4NiAxMiA5LjVDMTIgOS43NDU0NiAxMS44MjMxIDkuOTQ5NjEgMTEuNTg5OSA5Ljk5MTk0TDExLjUgMTBIOC41QzguMjIzODYgMTAgOCA5Ljc3NjE0IDggOS41QzggOS4yNTQ1NCA4LjE3Njg4IDkuMDUwMzkgOC40MTAxMiA5LjAwODA2TDguNSA5SDExLjVIOC41Wk0xNi41IDNIMy41QzMuMjIzODYgMyAzIDMuMjIzODYgMyAzLjVWNS41QzMgNS43NzYxNCAzLjIyMzg2IDYgMy41IDZIMTYuNUMxNi43NzYxIDYgMTcgNS43NzYxNCAxNyA1LjVWMy41QzE3IDMuMjIzODYgMTYuNzc2MSAzIDE2LjUgM1oiIGZpbGw9IiMyMTIxMjEiLz48L3N2Zz4=");
}

#root .PanelConfigPopup .popup {
width: 80vw;
margin-top: 25vh;
}

.NavigationBar .nav-item[data-color="orange"] > #root.root{
--frame-bg: #ff9f00;
}

/* NEW TAB */

.TabsPanel .new-tab-btns{
position: relative;
padding-top: 5px;
}

.TabsPanel .new-tab-btn {
justify-content: left;
padding-left: calc(var(--tabs-inner-gap));
margin-left: calc(var(--tabs-margin)*0.5);
margin-right: calc(var(--tabs-margin)*0.5);
--ntb-btn-height: 37px;
}

.TabsPanel .new-tab-btn > svg, .TabsPanel .new-tab-btn > img {
/* Replacing Sidebery 'settings' with Fluent settings icon to blend with Arc (Windows) aesthetic. */
.NavigationBar #settings.nav-item .icon {
fill: transparent;
background-color: var(--nav-btn-fg);
opacity: 40%;
width: 17px;
height: 17px;
scale: 0.9;
mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgZmlsbD0ibm9uZSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiB3aWR0aD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwIDIuNUMxMCAyLjIyMzg2IDkuNzc2MTQgMiA5LjUgMkM5LjIyMzg2IDIgOSAyLjIyMzg2IDkgMi41VjlIMi41QzIuMjIzODYgOSAyIDkuMjIzODYgMiA5LjVDMiA5Ljc3NjE0IDIuMjIzODYgMTAgMi41IDEwSDlWMTYuNUM5IDE2Ljc3NjEgOS4yMjM4NiAxNyA5LjUgMTdDOS43NzYxNCAxNyAxMCAxNi43NzYxIDEwIDE2LjVWMTBIMTYuNUMxNi43NzYxIDEwIDE3IDkuNzc2MTQgMTcgOS41QzE3IDkuMjIzODYgMTYuNzc2MSA5IDE2LjUgOUgxMFYyLjVaIiBmaWxsPSIjMjEyMTIxIi8+PC9zdmc+");
}

.TabsPanel .new-tab-btn:after {
justify-content: left;
content: "New Tab";
font: var(--tabs-font);
padding-left: calc(var(--tabs-inner-gap) + var(--tabs-margin) + 12px);
color: var(--nav-btn-fg);
opacity: 40%;
width: 75%;
height: 75%;
mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgZmlsbD0ibm9uZSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiB3aWR0aD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuOTEwNzUgNy4zODI2NkMyLjI4MDA0IDYuMjQwNTMgMi44ODgzOSA1LjE5MjEzIDMuNjkxMDkgNC4zMDM2NEMzLjgyNjgzIDQuMTUzMzkgNC4wMzk3OCA0LjA5OTg0IDQuMjMwNDQgNC4xNjgwMkw2LjE0ODczIDQuODUzOTJDNi42Njg4IDUuMDM5NzcgNy4yNDEwNyA0Ljc2ODgzIDcuNDI2OTIgNC4yNDg3NUM3LjQ0NTIgNC4xOTc2MiA3LjQ1OTI3IDQuMTQ1MDcgNy40NjkgNC4wOTE3M0w3LjgzNDQ2IDIuMDg1NzNDNy44NzA4IDEuODg2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