阅读:3122回复:0
自定义css
stylish扩展不装也可以的
#urlbar, #TabsToolbar, #browser-bottombox, #nav-bar { background: transparent !important; border: none !important; }/* 地址栏透明 */ /* 隐藏书签工具栏书签图标 */ .bookmark-item > .menu-iconic-left > .menu-iconic-icon {display: none;} /* 隐藏地址栏图标 */ #identity-box {display: none !important;} /* 隐藏最大化图标 */ #titlebar-max{display: none !important} /* 隐藏最小化图标 */ #titlebar-min{display: none !important} /* 隐藏关闭图标 */ #titlebar-close{display: none !important} /* 最小化最大化关闭图标透明 */ #titlebar-max{opacity: 0.1 !important; } #titlebar-max:hover{opacity:1 !important;} #titlebar-min{opacity: 0.1 !important; } #titlebar-min:hover{opacity:1 !important;} #titlebar-restore{display: none !important;} #titlebar-close{opacity: 0.1 !important; } #titlebar-close:hover{opacity:1 !important;} .tabbrowser-tab { height: 20px !important}/* 标签栏高度 */ #appmenu-button {display: none !important}/* 火狐橙色按钮 */ #star-button {display: none !important}/* 地址栏星型按钮 */ #addonbar-closebutton {display:none !important}/* 状态栏关闭按钮 */ .autocomplete-history-dropmarker {display: none !important}/* 地址栏下拉按钮 */ .statusbar-resizerpanel {display:none !important} /*地址栏字体定义,定义了字体系列,字体加粗,字体尺寸。*/ #urlbar { font-size: 10pt !important; font-family: "Ubuntu" "Microsoft YaHei"; font-weight: 500; } /*文字输入框字体定义,定义了字体系列,字体加粗,字体尺寸,下边距。*/ .textbox-input-box { font-family: "Ubuntu" "Microsoft YaHei"; font-weight: normal !important; font-size: 10pt !important; margin-bottom: 1px !important; } textbox:focus, textarea:focus, input:focus /* 地址栏蓝色边框 */{ /* -moz-box-shadow: orange 1px 1px 1px;*/ -moz-box-shadow: #33CCFF 1px 1px 1px, #33CCFF 1px 1px 1px, #33CCFF 1px 1px 11px, #33CCFF 1px 1px 11px; } select:focus, input:not([type="checkbox"]):not([type="radio"]):focus { -moz-appearance: none !important; } /* 透明右键菜单 */ /* by makondo, 07/09, thanks to Barbiegirl - i'm sure there bits of her code somewhere here! */ @namespace url(http://www.w3.org/1999/xhtml); @namespace url(http://www.mozilla.org/keymaster/gateke ... s.only.xul); /* shortcut keys > */ menuitem hbox[anonid="accel"], #contentAreaContextMenu menuitem[disabled="true"], #contentAreaContextMenu menuitem[disabled="true"] menuseparator, .autorepeatbutton-up, .autorepeatbutton-down { display: none !important; } menu>.menu-right, #mmsearch-context > .menu-right { -moz-appearance: none !important; list-style-image: url("data:image/gif;base64,R0lGODlhCQAJAIAAAAAAAP///yH5BAkAAAEALAAAAAAJAAkAAAIPBIIZdorsnolrKnhtwpkWADs=") !important; } /* menu separators */ menuseparator { -moz-appearance: none !important; margin: 1px 6px !important; border: 1px solid transparent !important; background: url("data:image/gif;base64,R0lGODlh9wAFALMPAAAAABAQECAgIDAwMEBAQFBQUGBgYHBwcICAgJCQkKCgoLCwsMDAwNDQ0ODg4PDw8CwAAAAA9wAFAEAEWhDJSau9OOvNu/9gKI5kCQJoqq5s675wLM90bd94ru+24//AoHBILBqPyKRyyWw6n9Aok0GtWq/YrHbL7Xq/4LB4TC6bz+KDes1uu9/wuHxOr9vv+Lx+z+/jIwA7") repeat-x !important; } popup:not(#autoscroller), menupopup, context-menu { -moz-appearance: -moz-win-glass !important; background: rgba(183,191,189,0.5) !important; color: #2C4346 !important; text-shadow: white 1px 1px 1px !important; font-size: 13px !important; font-weight: bold !important; -moz-border-radius: 8px !important; padding: 0 6px 0 0 !important; } menupopup, popup, context-menu { border-left: 2px solid white !important; border-right: 2px solid #7A9C9F !important; -moz-border-top-colors: white #ccc #D1DFE1 !important; -moz-border-bottom-colors: #435657 #83BBBF #ccc !important; -moz-border-left-colors: white #ccc #ccc !important; -moz-border-right-colors: #666 #4CB5B8 #274D54 !important; -moz-box-shadow: inset -10px 20px 25px rgba(170,190,186,0.5) !important; } menubar > menu:hover, menupopup > menu:hover, popup > menu:hover, menuitem:hover, menubar > menu:focus, menupopup > menu:focus, popup > menu:focus, menuitem:focus { -moz-appearance: none !important; background: transparent !important; -moz-box-shadow: inset rgba(98,128,136, 0.5) 1px 6px 8px 2px !important; -moz-border-radius: 8px !important; border-top: 2px solid #E4F4F6 !important; border-bottom: 2px solid #75B7BD !important; border-left: 2px solid #F1F7E9 !important; border-right: 2px solid #7A9C9F !important; -moz-border-top-colors: #C5D3D4 #9EA9AA#8E9899 !important; -moz-border-bottom-colors: #435657 #69D2E0 #ccc !important; -moz-border-left-colors: #F1F7E9 #ccc #ccc !important; -moz-border-right-colors: #666 #4CB5B8 #274D54 !important; } *:not(menulist) > menupopup, popup:not([type="autocomplete"]) { padding: 2px !important; } #contentAreaContextMenu { margin-left: 20px !important; margin-top: 20px !important; } /* Menubar */ #main-window #navigator-toolbox #toolbar-menubar { -moz-appearance: none !important; background: transparent !important; } /* menuitems */ menubar > menu, menupopup > menu, popup > menu, menuitem { -moz-appearance: -moz-win-glass !important; color: black !important; font-size: 13px !important; font-weight: bold !important; border: 2px solid transparent !important; } /* 浮动侧边栏 */ #sidebar-box{ -moz-appearance: none !important; -moz-border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAvCAYAAABAHIylAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAUlSURBVHja7JtPaBRXHMc/781OdnXNqinVlphK4iJoQWiLGIjgLV6UEBFLEcFzLr0JihdB8OjNkwdBWCkKIejFXIKYQkR6CS2Gsv5rjE0sSN11kzWz814P+ya+vMxGL4Xdzfzgx7x9O4edD9/fmzfz+67QWrNeCCGEO9Vg3MyhG4zRnwAg4r53oAgniRm3AhwdM7bnYmGtAWTBiSBI6yiduWaH5AJR1lE5czoO0ipAFhwbhGeltI4upGZWkA0ltI6h9Tk6ZxWkFUAOnChTVmaAHcBWIAukY8qtWeEAfAAqwDvgDVAFalYqK1cgCa11HBzPQPGBDuBrz/P6BgcH1aFDh6pHjx4t9/f3V2mhmJqayty/f7/z0aNHmfHxcRmG4TPgb2AZCAyk0IV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3tVEr9BcwZ1ZRNiS1ZZbZSYo3cHZsNpKzJLdQdZjnzXQfN7VN0787LpnxK1B1m741iKma8GLMG6ZTWOlpwI99ezZwkrW2AMvNVPrZpU6ztqzUroOj3R9dWNWpZdFRju8z05zrMMlZ2NADU7B5FF1AEKcrPcphBY49ilL5J2/XaKgqKHK2ByWUr1/coRntvB5LrcvX52OC3e9nQ/D5p5UCqWVA+7XI1+wRqtVrik6aBT9r3fQAbUuK0jwPkQLJBbez/atiA7HBguUDa/t8+/w0Aop+YsD/C4DEAAAAASUVORK5CYII=") 13 13 15 / 14px 13px 15px repeat stretch !important; -moz-window-shadow: none !important; background: none !important; color: #ffffff !important; opacity: 0.95 !important; } #sidebar-splitter{display:none} #sidebar-box{position:fixed!important;top:60px;bottom:0px} #sidebar-header{width:100%;background-color:transparent!important;-moz-appearance:none!important} #sidebar{height:95%;background-color:transparent!important;width:100%!important} #bookmarksPanel *,#history-panel *{background-color:transparent!important} #bookmarksPanel ,#history-panel{background-color:transparent!important} #bookmarksPanel ,#history-panel{color:grey!important} #bookmarksPanel *,#history-panel *{color:grey!important} /* 浮动书签工具栏 */ @namespace url(http://www.mozilla.org/keymaster/gateke ... s.only.xul); @-moz-document url(chrome://browser/content/browser.xul) { #main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) ~ #browser { margin-top: -25px !important;/* 适当调整 */ } #main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar { -moz-transition: max-height 0s ease-in-out .1s !important; -moz-box-ordinal-group: 1000 !important; padding: 0 3px !important; position: relative !important; z-index: 100 !important; overflow-y: hidden !important; max-height: 1px !important; min-height: 1px !important; } /* #main-window[stylish-url="about:blank"] #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar,*/ #main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]):hover > #PersonalToolbar { -moz-transition: max-height 0s ease-in-out !important; max-height: 30px !important; } } |
|
|