Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* adjust tab toolbars buttons for squared tabs */
- #TabsToolbar #alltabs-button .toolbarbutton-icon,
- #TabsToolbar > #new-tab-button .toolbarbutton-icon,
- #TabsToolbar > toolbarpaletteitem > #new-tab-button .toolbarbutton-icon {
- padding: 3px !important;
- }
- /* remove tab fog */
- #TabsToolbar:not(:-moz-lwtheme),
- #TabsToolbar:not(:-moz-lwtheme)::before,
- #TabsToolbar:not(:-moz-lwtheme)::after {
- box-shadow: unset !important;
- }
- /*******************************************/
- /**** default themes tab colors [start] ****/
- /*******************************************/
- /* black tab text color */
- #TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab {
- color: #000000 !important;
- }
- /* default tabs color */
- #TabsToolbar:not(:-moz-lwtheme) .tabs-newtab-button,
- #TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab .tab-content {
- background-image: linear-gradient(to top,#aeaba5,#c1beb7,#c9c6be) !important;
- }
- /* selected tabs color */
- #TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab .tab-content[selected="true"] {
- background-image: linear-gradient(to top,#f9f9fa,#f9f9fa,#f9f9fa) !important;
- }/* hovered tabs color */
- #TabsToolbar:not(:-moz-lwtheme) .tabs-newtab-button:hover,
- #TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab:hover .tab-content:not([selected="true"]) {
- background-image: linear-gradient(to top,#cac7c1,#d5d2cc,#e8e6e2) !important;
- }
- /* unloaded/pending tabs color *//*
- #TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab[pending] .tab-content {
- background: red !important;
- }
- /* unread tabs color *//*
- #TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab[unread] .tab-content {
- background: purple !important;
- }
- /* tab border color */
- #TabsToolbar:not(:-moz-lwtheme) .tabs-newtab-button,
- #TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab .tab-content {
- border-top: 1px solid #5f7181 !important;
- border-left: 1px solid #5f7181 !important;
- border-right: 1px solid #5f7181 !important;
- }
- #TabsToolbar .tabs-newtab-button {
- border-top: 1px solid rgba(0,0,0,.2) !important;
- border-left: 1px solid rgba(0,0,0,.2) !important;
- border-right: 1px solid rgba(0,0,0,.2) !important;
- }
- #TabsToolbar .tabbrowser-tab:not(:-moz-lwtheme):not([selected]) .tab-content {
- border-top: 1px solid rgba(0,0,0,.5) !important;
- border-left: 1px solid rgba(0,0,0,.5) !important;
- border-right: 1px solid rgba(0,0,0,.5) !important;
- }
- /* new tab icon color */
- #TabsToolbar:not(:-moz-lwtheme) .tabs-newtab-button/*,
- #TabsToolbar:not(:-moz-lwtheme) > #new-tab-button,
- #TabsToolbar:not(:-moz-lwtheme) > toolbarpaletteitem > #new-tab-button*/ {
- fill: black !important;
- color: black !important;
- }
- /*******************************************/
- /***** default themes tab colors [end] *****/
- /*******************************************/
- /********************************************/
- /******* lw-themes tab colors [start] *******/
- /********************************************/
- /* lightweight theme tab colors*/
- .tabs-newtab-button:-moz-lwtheme-darktext,
- .tabbrowser-tab:not([selected]):-moz-lwtheme-darktext .tab-content {
- background-image: linear-gradient(hsla(0,0%,60%,.5), hsla(0,0%,45%,.5) 80%) !important;
- }
- .tabs-newtab-button:hover:-moz-lwtheme-darktext,
- .tabbrowser-tab:not([selected]):hover:-moz-lwtheme-darktext .tab-content {
- background-image: linear-gradient(hsla(0,0%,80%,.5), hsla(0,0%,60%,.5) 80%) !important;
- }
- .tabs-newtab-button:-moz-lwtheme-brighttext,
- .tabbrowser-tab:not([selected]):-moz-lwtheme-brighttext .tab-content {
- background-image: linear-gradient(hsla(0,0%,40%,.6), hsla(0,0%,30%,.6) 80%) !important;
- }
- .tabs-newtab-button:hover:-moz-lwtheme-brighttext,
- .tabbrowser-tab:not([selected]):hover:-moz-lwtheme-brighttext .tab-content {
- background-image: linear-gradient(hsla(0,0%,60%,.6), hsla(0,0%,45%,.6) 80%) !important;
- }
- .tabbrowser-tab:not([selected]):not(:hover):-moz-lwtheme-brighttext {
- background: unset !important;
- }
- /* compact dark lw-theme */
- #main-window[style*='--lwt-header-image:url("resource:///chrome/browser/content/browser/defaultthemes/compact.header.png");'] .tabs-newtab-button:-moz-lwtheme-brighttext,
- #main-window[style*='--lwt-header-image:url("resource:///chrome/browser/content/browser/defaultthemes/compact.header.png");'] .tabbrowser-tab:not([selected]):-moz-lwtheme-brighttext .tab-content {
- background-image: linear-gradient(rgba(71,71,71,.99), rgba(71,71,71,.99)) !important;
- }
- #main-window[style*='--lwt-header-image:url("resource:///chrome/browser/content/browser/defaultthemes/compact.header.png");'] .tabs-newtab-button:hover:-moz-lwtheme-brighttext,
- #main-window[style*='--lwt-header-image:url("resource:///chrome/browser/content/browser/defaultthemes/compact.header.png");'] .tabbrowser-tab:not([selected]):hover:-moz-lwtheme-brighttext .tab-content {
- background-image: linear-gradient(rgba(91,91,91,.99), rgba(91,91,91,.99)) !important;
- }
- .tabbrowser-tab[selected]:-moz-lwtheme-darktext .tab-content {
- border-top: 1px solid rgba(0,0,0,.5) !important;
- border-left: 1px solid rgba(0,0,0,.4) !important;
- border-right: 1px solid rgba(0,0,0,.4) !important;
- }
- .tabbrowser-tab[selected]:-moz-lwtheme-brighttext .tab-content {
- border-top: 1px solid rgba(255,255,255,.6) !important;
- border-left: 1px solid rgba(255,255,255,.2) !important;
- border-right: 1px solid rgba(255,255,255,.2) !important;
- }
- #TabsToolbar:-moz-lwtheme .tabs-newtab-button:-moz-lwtheme-darktext,
- .tabbrowser-tab .tab-content:-moz-lwtheme-darktext {
- border-top: 1px solid rgba(0,0,0,.2) !important;
- border-left: 1px solid rgba(0,0,0,.2) !important;
- border-right: 1px solid rgba(0,0,0,.2) !important;
- }
- #TabsToolbar:-moz-lwtheme .tabs-newtab-button:-moz-lwtheme-brighttext,
- .tabbrowser-tab .tab-content:-moz-lwtheme-brighttext {
- border-top: 1px solid rgba(255,255,255,.6) !important;
- border-left: 1px solid rgba(255,255,255,.2) !important;
- border-right: 1px solid rgba(255,255,255,.2) !important;
- }
- /********************************************/
- /******** lw-themes tab colors [end] ********/
- /********************************************/
- /* tab line & tab background*/
- .tabbrowser-tab:-moz-lwtheme[selected] .tab-line[selected=true] {
- height: 0px !important;
- }
- .tabbrowser-tab > .tab-stack > .tab-background > .tab-line[selected=true],
- .tabbrowser-tab:hover > .tab-stack > .tab-background > .tab-line:not([selected=true]) {
- background-color: rgba(0,0,0,.2);
- opacity: 0 !important;
- }
- .tabbrowser-tab .tab-background[selected=true] {
- border-image: unset !important;
- border-image-slice: 0 !important;
- }
- .tabbrowser-tab:not([selected]) .tab-background{
- display: none !important;
- }
- .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]) {
- background-color: rgba(0,0,0,.0) !important;
- }
- /* tab top border roundness */
- #TabsToolbar .tabs-newtab-button,
- #TabsToolbar .tabbrowser-tab,
- #TabsToolbar .tabbrowser-tab .tab-stack,
- #TabsToolbar .tabbrowser-tab .tab-background,
- #TabsToolbar .tabbrowser-tab .tab-content {
- border-top-left-radius: 3px !important;
- border-top-right-radius: 3px !important;
- }
- /* loading animation */
- #TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab:not([visuallyselected=true]) {
- --tab-loading-fill: #0A84FF !important;
- }
- /* space between tabs */
- .tabs-newtab-button,
- .tabbrowser-tab:not([pinned]) {
- -moz-margin-start: 0px !important;
- }
- /* width of new tab tab */
- #TabsToolbar .tabs-newtab-button{
- min-width: 0px !important;
- width: 26px !important;
- margin: 1px !important;
- }
- /* size of new tab tabs '+' icon */
- .tabs-newtab-button .toolbarbutton-icon{
- min-width: 0px !important;
- min-height: 0px !important;
- width: 14px !important;
- height: 14px !important;
- margin: 0px !important;
- margin-bottom: 0px !important;
- padding: 0px !important;
- background: unset !important;
- box-shadow: unset !important;
- }
- /* tab close icon size and position */
- .tabbrowser-tab:not([pinned]) .close-icon > .toolbarbutton-icon {
- width: 16px !important;
- height: 16px !important;
- -moz-margin-end:-4px !important;
- }
- :root[uidensity=touch] .tabbrowser-tab:not([pinned]) .close-icon > .toolbarbutton-icon {
- margin-top: -8px !important;
- margin-bottom: -8px !important;
- }
- /*tab favicon position*/
- .tabbrowser-tab:not([pinned]):not([locked]) .tab-throbber,
- .tabbrowser-tab:not([pinned]) .tab-icon-image{
- -moz-margin-start:-6px !important;
- }
- /* reduce minimum tab height */
- #tabbrowser-tabs,
- #tabbrowser-tabs > .tabbrowser-arrowscrollbox,
- .tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
- min-height: 25px !important;
- }
- #TabsToolbar #tabbrowser-tabs[overflow="true"] .tabbrowser-tab[pinned] {
- min-height: 25px !important;
- max-height: 25px !important;
- }
- /* Windows 10 fix ['@media (-moz-os-version: windows-win10)' currently broken on Windows 10FCU] */
- /*@media (-moz-os-version: windows-win10) {*/
- .titlebar-button {
- padding-top: 0px !important;
- padding-bottom: 0px !important;
- }
- /*pinned tabs*/
- #TabsToolbar .tab-content[pinned] {
- padding: 0 6px !important;
- }
- /* remove top line above tabs for lw-themes */
- #main-window:-moz-lwtheme #browser-panel{
- border: unset !important;
- box-shadow: unset !important;
- }
- /* hide tab separators */
- .tabbrowser-tab::after,
- .tabbrowser-tab::before {
- opacity: 0 !important;
- border-image: unset !important;
- border-image-slice: unset !important;
- width: unset !important;
- }
- #tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after,
- .tabbrowser-tab:not([selected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before,
- #tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after {
- content: unset !important;
- display: unset !important;
- }
- /* remove crap set by Firefox 58+ */
- .tabbrowser-tab,
- .tab-stack,
- .tab-background {
- border: unset !important;
- }
- .tabbrowser-tab::after,
- .tabbrowser-tab::before {
- border-left: unset !important;
- border-image: unset !important;
- border-image-slice: unset !important;
- border-top-left-radius: 3px !important;
- border-top-right-radius: 3px !important;
- }
- :root[tabsintitlebar]:not([extradragspace]) #toolbar-menubar[autohide=true] ~ #TabsToolbar > #tabbrowser-tabs > .tabbrowser-tab::after,
- :root[tabsintitlebar]:not([extradragspace]) #toolbar-menubar[autohide=true] ~ #TabsToolbar > #tabbrowser-tabs > .tabbrowser-tab::before,
- .tabbrowser-tab:hover::before,
- .tabbrowser-tab[last-visible-tab]:hover::after,
- #tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab[afterhovered]::before {
- border-image: unset !important;
- border-image-slice: unset !important;
- border-top-left-radius: 3px !important;
- border-top-right-radius: 3px !important;
- }
- /* white buttons icon colors */
- #containers-panelmenu,
- #web-apps-button,
- #e10s-button,
- #panic-button,
- #cut-button,
- #zoom-out-button,
- #stop-button,
- #stop-button .toolbarbutton-animatable-image,
- #stop-reload-button[animate] > #reload-button[displaystop] + #stop-button > .toolbarbutton-animatable-box > .toolbarbutton-animatable-image,
- #save-page-button ,
- #back-button,
- #forward-button,
- #new-window-button,
- #new-tab-button,
- #alltabs-button,
- .scrollbutton-up,
- .scrollbutton-down,
- #navigator-toolbox #TabsToolbar:not(:-moz-lwtheme) #alltabs-button,
- #navigator-toolbox #TabsToolbar:not(:-moz-lwtheme) .tabbrowser-arrowscrollbox > .scrollbutton-up,
- #navigator-toolbox #TabsToolbar:not(:-moz-lwtheme) .tabbrowser-arrowscrollbox > .scrollbutton-down,
- #downloads-button,
- #downloads-button[indicator="true"]:not([attention="success"]) #downloads-indicator-icon,
- #zoom-in-button,
- #copy-button,
- #find-button,
- #sidebar-button,
- #fullscreen-button,
- #PanelUI-customize,
- #password-notification-icon,
- #PanelUI-fxa-status,
- #sync-button,
- #tabview-button,
- #paste-button,
- #email-link-button,
- #reload-button,
- #reload-button .toolbarbutton-animatable-image,
- #add-ons-button,
- #open-file-button,
- #home-button,
- #feed-button,
- #history-button,
- #history-panelmenu,
- #library-button,
- #privatebrowsing-button,
- #print-button,
- #webide-button,
- #PanelUI-menu-button,
- #nav-bar-overflow-button,
- #bookmarks-menu-button,
- #bookmarks-button,
- #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
- #developer-button,
- #preferences-button,
- #characterencoding-button {
- fill: #FFFFFF !important;
- fill-opacity: 1.0 !important;
- opacity: 1.0 !important;
- }
- /* tabs size settings */
- .tabbrowser-tab[fadein]:not([pinned]) {
- max-width: 260px !important;
- min-width: 150px !important;
- max-height: 26px !important;
- overflow: hidden !important;
- margin: 0px 0px !important;
- }
- /* more compact navigation toolbar */
- #main-window[uidensity=compact] #nav-bar #nav-bar-overflow-button,
- #main-window[uidensity=compact] #nav-bar #nav-bar-customization-target > toolbarbutton,
- #main-window[uidensity=compact] #nav-bar #nav-bar-customization-target > toolbaritem textbox,
- #main-window[uidensity=compact] #nav-bar #nav-bar-customization-target #stop-reload-button > toolbarbutton {
- margin: 3px 3px !important;
- padding: 1 !important;
- }
- #main-window[uidensity=compact] #nav-bar #nav-bar-customization-target > toolbaritem{
- margin: 0 !important;
- padding: 0 !important;
- }
- /* hide close tab button */
- .tabbrowser-tab .tab-close-button {
- visibility: collapse !important;
- }
- /* tabs and bookmarks below adress bar */
- #nav-bar { /* main toolbar */
- -moz-box-ordinal-group: 1 !important;
- border-top-width: 0 !important;
- }
- #PersonalToolbar { /* bookmarks toolbar */
- -moz-box-ordinal-group: 2 !important;
- }
- #TabsToolbar { /* tab bar */
- -moz-box-ordinal-group: 3 !important;
- }
- /* refresh and stop buttons */
- #reload-button, #stop-button {
- display: inherit !important;
- }
- #reload-button > .toolbarbutton-icon {
- -moz-appearance: none !important;
- }
- /* changes for bookmarks bar */
- #PersonalToolbar {
- padding: 2px 0px !important;
- min-height: 26px !important;
- background-color:transparent !important;
- background-image:none !important;
- border-color:transparent !important;
- box-shadow:none !important;
- color: white !important;
- text-shadow: 2px 2px 2px black !important;
- }
- /* makes adress bar background transparent */
- #nav-bar {
- background-color:transparent !important;
- background-image:none !important;
- border-color:transparent !important;
- box-shadow:none !important;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement