eoger / tabcenter-redux

Vertical Tabs extension for Firefox
Mozilla Public License 2.0
381 stars 67 forks source link

Shrink sidebar, left side, border and Vivaldi look [Solved]] #294

Closed berliozz closed 6 years ago

berliozz commented 6 years ago

Can anybody explain me, how to add border for sidebar. On screen I show, how it looks now. sidebar

And second question, how to remove vertical blue line on active tab?

berliozz commented 6 years ago

Few hours and I get result. See screenshot. Settings below:

All settings you find below. I'm hasn't any skills on CSS, and mode skilled members of this repository can correct this. final

CSS Code

topmenu {

display: none; }

pinnedtablist {

box-shadow: 0px 1px 0px hsla(0, 0%, 0%, 0.2); z-index: 1; }

pinnedtablist .tab:last-of-type {

border-bottom: none; }

.tab-context { height: calc(100% + 1px); position: relative; top: 0.5px; }

pinnedtablist .tab:last-of-type .tab-context {

height: 100%; top: 0px; }

/ Loading burst / .tab-loading-burst, .tab-loading-burst:before { display: block; }

.tab-close { right: unset; left: 5px; }

.tab:hover:not(.pinned) .tab-icon-wrapper { opacity: 0; }

.tab.active { background-color: #e1e1e2; }

.tab-context:not(.hasContext) { --identity-tab-color: #e1e1e2; }

.tab-context { background-image: none; }

tablist-wrapper.shrinked .tab:not(.pinned) {

height: 30px !important; }

tablist-wrapper {

border-left: 1px solid #e1e1e2; }

userChrome.css @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

TabsToolbar { visibility: collapse !important; }

/* Windows users might also want to consider setting

tabbrowser-tabs {

visibility: collapse !important; }

sidebar-box {

overflow: hidden; min-width: 30px; max-width: 30px; position: fixed; transition: all 0.5s ease;
}

sidebar-box:hover,

sidebar-header,

sidebar {

min-width: 15vw !important; max-width: 15vw !important; }

sidebar-header,

sidebar-splitter {

display: none; }

sidebar-box[ordinal="4"] {

right: 0; }

/*

appcontent {

margin-right: 30px; }

main-window[inFullscreen][inDOMFullscreen] #appcontent {

margin-right: 0; }

main-window[inFullscreen] #sidebar {

height: 100vh; }

eoger commented 6 years ago

Great to hear you solved your problem, looks good!

berliozz commented 6 years ago

I have little additions about address bar and control buttons. I was change some settings and got those look. fx_safari

eoger — I think, you can add this to FAQ and example.

#titlebar { -moz-appearance: none !important; /*-moz-appearance: -moz-mac-vibrancy-light !important; */ height: 37px !important; margin-bottom: -37px !important; }

#titlebar-buttonbox-container { margin-left: 5px !important; }

#nav-bar { /*-moz-appearance: -moz-mac-vibrancy-light !important; */ position: relative !important; z-index: 1 !important; -moz-box-ordinal-group: 1 !important; -moz-box-align: center !important; margin: 0px 5px 0px 75px !important; padding: 0px 4px !important; border-top: none !important; max-height: 37px !important; min-height: 37px !important; background-image: unset !important; background-color: transparent !important; }

#TabsToolbar { visibility: collapse !important; }

/* Windows users might also want to consider setting

#tabbrowser-tabs { visibility: collapse !important; }

P.S. this is not my code, I just found it, but don't member where.