2021-02-24 14:41:52 +00:00
/ * Source file https : / / github . com / MrOtherGuy / firefox-csshacks / tree / master / chrome / compact_proton . css made available under Mozilla Public License v . 2 . 0
See the above repository for updates as well as full license text . * /
2021-02-24 14:55:23 +00:00
/* Small changes to make proton roughly as compact as the old compact mode */
: root {
--toolbarbutton-inner-padding : 6px ! important ;
--proton-tab-block-margin : 2px ! important ;
--tabs-shadow-size : 0px ! important ;
2021-03-06 06:43:00 +00:00
--arrowpanel-menuitem-padding : 5px ! important ;
2021-02-24 14:55:23 +00:00
}
menupopup > menuitem ,
menupopup > menu { padding-block : 0.3 em !important ; }
2021-04-08 20:24:09 +00:00
# urlbar-container { padding-block : 2 px !important ; }
2021-03-10 08:16:10 +00:00
# urlbar-background { margin-block : 1 px }
2021-02-24 14:55:23 +00:00
/* This is kinda weird, but it makes the horizontal line between tabs and nav-bar render "inside" nav-bar thus tabs are more visibily separated even if there is less space there */
# nav-bar {
box-shadow : inset 0 var ( --tabs-shadow-size ) 0 var ( --tabs-border-color ) ! important ;
2021-03-06 05:36:18 +00:00
}
. tab-close-button {
margin-inline-start : 2px ! important ;
width : 16px ! important ;
height : 16px ! important ;
padding : 1px ! important ;
2021-04-07 20:58:19 +00:00
}
2021-04-08 20:24:09 +00:00
# tabbrowser-tabs { --uc-tabs-scrollbutton-border : 2 px }
2021-04-07 20:58:19 +00:00
# scrollbutton-up ,
2021-04-08 20:24:09 +00:00
# scrollbutton-down { border-block-width : var ( - - uc - tabs - scrollbutton - border , 0 px ) !important ; }