Skip to content

Instantly share code, notes, and snippets.

@emoryy
Created December 26, 2022 09:41
Show Gist options
  • Save emoryy/31300816f0ceb65333a0bc992b68477e to your computer and use it in GitHub Desktop.
Save emoryy/31300816f0ceb65333a0bc992b68477e to your computer and use it in GitHub Desktop.
vivaldi-custom.css
/* multiline tabs */
#tabs-tabbar-container {
height: auto !important;
}
#tabs-tabbar-container.top {
padding-top: 0;
}
#tabs-container {
min-height: 1px !important;
height: auto !important;
padding-top: 0 !important;
padding-left: 1px !important;
}
#tabs-container .tab-strip:first-child:before {
content: "";
display: block;
width: 26px;
}
.resize {
display: block !important;
}
.tab-strip {
display: flex;
flex-wrap: wrap;
align-items: flex-start !important;
justify-content: flex-start !important;
padding-bottom: 1px;
}
.tab-strip > span {
display: inline-block;
max-width: 250px;
}
.tab-strip > span > .tab-position {
left: 0px !important;
transform: translate3d(0px, 0px, 0px) !important;
position: relative !important;
height: 30px !important;
width: auto !important;
}
.tab-strip > span > .tab-position > .tab {
background: rgba(255,255,255,0.1);
margin-top: 1px;
}
.tab-strip > span > .tab-position > .tab:hover {
background: rgba(255,255,255,0.2);
}
.tab-strip > span > .tab-position > .tab:hover .title{
opacity: 1.0 !important;
}
.tab-strip > span > .tab-position > .tab:not(.pinned){
width: auto !important;
}
.tab-strip > span > .tab-position > .tab.pinned{
width: 30px !important;
flex: 0 0 auto;
}
.tab-strip .newtab, .tab-strip > .tab-position {
left: 0px !important;
top: 0px !important;
position: static !important;
transform: translate3d(0px, 0px, 0px) !important;
display: inline-block;
padding: 0;
vertical-align: top;
}
.tab-header > .favicon > svg {
height: 17px;
}
.newtab.button-toolbar {
left: auto !important;
}
.linux:not(.alt) .tab-position .tab.tab-small.active .title {
display: flex !important;
}
.sync-and-trash-container {
position: absolute;
bottom: 0;
right: 0;
}
.sync-and-trash-container button {
height: 16px !important;
width: 16px !important;
min-width: 0 !important;
min-height: 0 !important;
}
.sync-and-trash-container button svg {
height: 16px !important;
width: 16px !important;
}
.tab .close {
display: none !important;
}
.tab .favicon {
width: 18px !important;
flex: 0 0 18px !important;
background-position-x: 50% !important;
}
.tab .title {
-webkit-mask-image: none !important;
}
.tab-position.tab-yield-space {
height: 30px;
}
.tabs-top .tab:not(.marked):not(.tab-mini):not(.tab-in-accordion) {
border-radius: var(--radiusHalf);
}
.tabs-top .tab.active:not(.marked):not(.tab-mini):not(.tab-in-accordion):after,
.tabs-top .tab.active:not(.marked):not(.tab-mini):not(.tab-in-accordion):before {
display: none;
}
.speeddial .dial {
box-shadow: none !important;
}
.startpage-navigation {
background: rgba(0,0,0,0.0) !important;
box-shadow: none !important;
}
.startpage-navigation-group {
background: rgba(0,0,0,0.5);
height: 30px;
}
.bookmark-bar-top .bookmark-bar {
height: 22px;
}
.bookmark-bar {
border-bottom: none !important;
}
.bookmark-bar .observer {
background: rgba(0,0,0,0.3);
transition: filter 0.2s;
justify-content: center;
border-bottom: none !important;
}
.bookmark-bar button {
padding-left: 3px;
padding-right: 3px;
}
.bookmark-bar button:hover {
background: rgba(255,255,255, 0.2) !important;
border-radius: 2px;
}
.bookmark-bar button:not(.chevron):before {
display: none;
}
.bookmarkbarItem.folder {
column-gap: 2px;
}
#titlebar button.vivaldi {
width: 40px;
height: 44px;
}
.window-buttongroup {
}
.window-buttongroup button {
padding: 0 !important;
width: 15px !important;
height: 20px !important;
}
.window-buttongroup button svg {
height: 14px !important;
width: 13px !important;
font-size: 20px;
}
.window-buttongroup button:hover svg path {
fill: #fff;
}
.win.normal #tabs-tabbar-container.top, .linux.normal #tabs-tabbar-container.top {
padding-top: 0px;
}
.toolbar-mainbar .button-badge {
background-color: #333;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment