Skip to content

Instantly share code, notes, and snippets.

@Yonezpt
Created March 19, 2017 16:46
Show Gist options
  • Save Yonezpt/1c4a586f0de5ecf7601fce806be1371b to your computer and use it in GitHub Desktop.
Save Yonezpt/1c4a586f0de5ecf7601fce806be1371b to your computer and use it in GitHub Desktop.
Firefox Flat
/* AGENT_SHEET */
@namespace html url(http://www.w3.org/1999/xhtml);
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/*-----------------*/
window #tab-view-deck {
margin: 0 !important;
}
#browser-border-start, #browser-border-end,
#browser-bottombox, #navigator-toolbox::after{
display: none !important;
}
#main-window[sizemode="normal"] #TabsToolbar {
margin-top: 0 !important;
}
/*-----------------*/
/*#browser-panel{
background:#384660;
}*/
#TabsToolbar{
color: #FFF !important;
text-shadow: #333 0 0 2px, #333 0 0 2px, #333 0 0 2px !important;
}
#nav-bar{
background-image: none !important;
border: 0 none !important;
box-shadow: none !important;
margin-top: 0 !important;
}
.tab-background-middle[selected="true"]{
background-image: none, none, none !important;
}
#nav-bar, .tab-background-middle[selected="true"]{
background-color: #DFE3EA !important;
}
.tab-background-start[selected="true"]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before,
.tab-background-start[visuallyselected="true"]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before, .tab-background-end[visuallyselected="true"]:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before {
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMHB4IiBoZWlnaHQ9IjMxcHgiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPiAgPGRlZnM+PHN2ZzpjbGlwUGF0aCBpZD0idGFiLWN1cnZlLWNsaXAtcGF0aC1zdGFydCIgY2xpcFBhdGhVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPiAgPHN2Zz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q+PC9zdmc+") !important;
}
.tab-background-end[selected="true"]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before,
.tab-background-end[visuallyselected="true"]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before, .tab-background-start[visuallyselected="true"]:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before {
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMHB4IiBoZWlnaHQ9IjMxcHgiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPiAgPGRlZnM+PHN2ZzpjbGlwUGF0aCBpZD0idGFiLWN1cnZlLWNsaXAtcGF0aC1zdGFydCIgY2xpcFBhdGhVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPiAgPHN2ZzpwYXRoIGQ9Im0gMSwwLjA2MjUgMC4wNSwwIDAsMC45MzggLTEsMCAwLC0wLjAyOCBDIDAuMzIwODI0NTgsMC45NTg0MDU2MSAwLjQzNTMwOTYsMC44MTk3MDk2MiAwLjQ4NDk5OTk4LDAuNTYyNSAwLjUxODE5OTk4LDAuMzkwNSAwLjUzNSwwLjA2NTkgMSwwLjA2MjUgeiIvPjwvc3ZnOmNsaXBQYXRoPjxzdmc6Y2xpcFBhdGggaWQ9InRhYi1jdXJ2ZS1jbGlwLXBhdGgtZW5kIiBjbGlwUGF0aFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+ICA8c3ZnOnBhdGggZD0ibSAwLDAuMDYyNSAtMC4wNSwwIDAsMC45MzggMSwwIDAsLTAuMDI4IEMgMC42NzkxNzU0MiwwLjk1ODQwNTYxIDAuNTY1NjkwMzYsMC44MTk3MDk2MiAwLjUxNTk5OTk4LDAuNTYyNSAwLjQ4Mjc5OTk4LDAuMzkwNSAwLjQ2NSwwLjA2NTkgMCwwLjA2MjUgeiIvPjwvc3ZnOmNsaXBQYXRoPjxzdmc6Y2xpcFBhdGggaWQ9InRhYi1ob3Zlci1jbGlwLXBhdGgiIGNsaXBQYXRoVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94Ij4gIDxzdmc6cGF0aCBkPSJNIDAsMC4yIDAsMSAxLDEsIDEsMC4yIHoiLz48L3N2ZzpjbGlwUGF0aD4gIDwvZGVmcz4gIDxmb3JlaWduT2JqZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSIzMSIgY2xpcC1wYXRoPSJ1cmwoI3RhYi1jdXJ2ZS1jbGlwLXBhdGgtZW5kKSI+ICAgIDxkaXYgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNERkUzRUE7d2lkdGg6MTAwJTtoZWlnaHQ6MTAwJTsiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hodG1sIj48L2Rpdj4gIDwvZm9yZWlnbk9iamVjdD48L3N2Zz4=") !important;
}
.tab-background-end[visuallyselected="true"]:-moz-locale-dir(ltr)::after, .tab-background-start[visuallyselected="true"]:-moz-locale-dir(rtl)::after, .tab-background-start[visuallyselected="true"]:-moz-locale-dir(ltr)::after, .tab-background-end[visuallyselected="true"]:-moz-locale-dir(rtl)::after {
background-image: none !important;
}
.tabbrowser-tab[selected] {
color: #000 !important;
text-shadow: #DFE3EA 0 0 2px !important;
}
:-moz-any(#back-button, #forward-button) > .toolbarbutton-icon {
border-color: #E4E7ED !important;
}
#navigator-toolbox::after{
content: none !important;
}
#urlbar, .searchbar-textbox {
border: 0 none !important;
}
#back-button > .toolbarbutton-icon {
background-image: none !important;
box-shadow: 0 0 0 3px #FFF !important;
}
#forward-button > .toolbarbutton-icon {
background: #FFF !important;
background-image: none !important;
border: 2px solid #FFF !important;
box-shadow: none !important;
}
@media (-moz-windows-glass) {
#TabsToolbar:not(:-moz-lwtheme)::after {
box-shadow: 0 0 30px 30px rgba(0,0,0,0) !important;
}
}
#main-window[sizemode="normal"] #nav-bar {
border-radius: initial !important;
}
#main-window[sizemode="normal"] #browser-border-start, #main-window[sizemode="normal"] #browser-border-end {
width: 0 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment