0-Legacy Backup/UserCSSLoader/01-UI——UI调整.css
/*@name        UI调整
  @namespace   https://github.com/dupontjoy/userChrome.js-Collections-/tree/master/CingFox
  @description 含:标签栏, 地址栏, 书签栏, 三道杠等界面上的调整
  @author      Cing
  @version     1.00-2017.06.06
  @reference             
*/


/* ====== 1. 标签栏 ====== */

/*调节标签的宽度*/
.tabbrowser-tab[fadein]:not([pinned]) {
	max-width: 110px !important;
	min-width: 110px !important;
}

/*标签样式css*/
.tabbrowser-tab[busy] {
	color: blue !important;
}/* 正在加载标签 */
.tabbrowser-tab[pending] {
	color: gray !important;
}/* 未加载标签 */
.tabbrowser-tab[unread] {
	color: red !important;
}/* 未读标签 */

/*当前标签显示关闭按钮*/
.tabbrowser-tab:not([selected]) .tab-close-button {
	display: none!important;
}/*非当前页关闭按钮自动隐藏*/
.tabbrowser-tab:not([pinned]):hover .tab-close-button {
	display: inherit!important;
}/*鼠标移动上去显示*/

/*顯示標籤頁總數*/
#main-window {
	counter-reset: tabs !important;
}

.tabbrowser-tab:not(:-moz-any([pinned],[concealed])) {
	counter-increment: tabs !important;
}

#alltabs-button {
	visibility: visible!important;
}

#alltabs-button:after {
	content: counter(tabs) !important;
	font-size: 13px !important;
	display: -moz-box !important;
}

#alltabs-button > :-moz-any(label, image) {
	display: none !important;
}

#alltabs-button menuitem {
	max-width: 200px !important;
}

#alltabs-button {
	margin-right: -65px!important;
}

/*彈出菜單顯示標籤頁序號*/
#alltabs-popup {
	counter-reset: latabs;
}

#alltabs-popup .menuitem-iconic.alltabs-item.menuitem-with-favicon {
	counter-increment: latabs;
}

#alltabs-popup .menuitem-iconic.alltabs-item.menuitem-with-favicon:before {
	content: counter(latabs);
}
/*彈出菜單顯示關閉標籤頁序號*/
#undoCloseTabPopup .menuitem-iconic {
	counter-increment: menuitem;
}

#undoCloseTabPopup menuitem:before {
	content: counter(menuitem);
}

#alltabs-popup .menuitem-iconic.alltabs-item.menuitem-with-favicon:before,
#undoCloseTabPopup menuitem:before {
	display: -moz-box;
	-moz-box-pack: center;
	font-weight: bold;
	min-width: 26px;
}

/*每個標籤頁 加上序號*/
.tabbrowser-tab:before {
	margin: -16px 0px 0px -3px !important;
	padding: 0px 0px !important;
	color: black !important;
	font-size: 9px !important;
	font-weight: bold !important;
	content: counter(tabs) !important;
	position: absolute !important;
}

/* ====== 2. 地址栏 ====== */

/*自动隐藏AidBar*/
#TabsToolbar_aidBar:not(:hover) {
	opacity: 0.1 !important;
	margin-bottom: 0px !important;
}

#navigator-toolbox ~ #TabsToolbar_aidBar {
	opacity: 1 !important;
	height: auto !important;
	margin-bottom: 0px !important;
}

/*Firefox48地址栏下拉菜单网站图标修正*/
.ac-site-icon {
	margin: 0 0 6px 0  !important;
}

/*LASTPASS菜单宽度*/
#lpt_lastpass-compact-menu,
#lpt_lastpass-compact-menu menupopup {
	max-width: 210px !important;
	border: 1px solid ThreeDShadow !important;
}

/*Https协议地址栏变色-新版完整 For FX43+*/
#urlbar {
	position: relative!important;
	z-index: 233!important;
}

#identity-box::before {
	content: ''!important;
	position: absolute!important;
	height: 100%!important;
	width: 100%!important;
	top: 0!important;
	right: 0!important
bottom: 0!important;
	left: 0!important;
	z-index: -1!important
}

#identity-box.weakCipher::before {
	background-color: #FFFFB7 !important;
}

#identity-box.verifiedDomain::before {
	background-color: #DDF9CC !important;
}

#identity-box.mixedDisplayContent::before {
	background-color: #F7DFDF !important;
}

/* ====== 3. 书签栏 ====== *

/*样式伪进度条*/
@-moz-document url-prefix("http://"),url-prefix("https://"){
html:before{
content:"";
position:fixed;height:1px;
z-index:10000000;top:0;left:0;
background: -moz-linear-gradient(top, rgb(232,25,87) 0%, rgb(170,0,51) 100%);
box-shadow:0 1px 5px rgba(190,50,0,0.5);
-moz-animation:jindu 3s ease 0.5s 1 forwards;
}
@-moz-keyframes jindu{
0% {width:0;}
99% {width:100%;}
100%{width:0;}
}
}


/*Oos定制 —— WordHighlightToolbar & 查找栏样式*/
/*WordHighlightToolbar & 查找栏置于顶部*/
#wordhighlight-toolbar-box,
.browserContainer findbar {
	-moz-box-ordinal-group: 0!important;
	position: fixed!important;
	border: 1px solid #A6A6A6;
	border-top: none;
}

/*WordHighlightToolbar距離*/
#wordhighlight-toolbar-box {
	background: #FFFFFF;
	right: 16px;/*距右邊*/
	top: 65px;  /*距上邊*/
	height: 24px;
/*>>>自行修改数字*/
	border: 1px solid #A6A6A6;
	border-radius: 0px 0px 0px 2.5px;
	padding: 1px 1px 0px 0px;
}

/*WordHighlightToolbar & 查找栏按钮边框*/
#wordhighlight-toolbar-box *,
.browserContainer findbar * {
	margin: 0px!important;
	padding: 0px!important;
}

/*隐藏查找栏关闭按钮*/
:-moz-any(.browserContainer, #viewSource) .findbar-container :-moz-any(spacer, toolbarspacer, .findbar-find-fast[anonid="match-case-status"]),
findbar .findbar-closebutton {
	visibility: collapse;
}

/*查找栏几个按钮排序*/
.findbar-container .findbar-highlight {
	-moz-box-ordinal-group: 2;
}

.findbar-container .findbar-case-sensitive {
	-moz-box-ordinal-group: 3;
}

.findbar-container label[value="(区分大小写)"] {
	-moz-box-ordinal-group: 4;
}

.findbar-container .findbar-find-status {
	-moz-box-ordinal-group: 5;
}

/* ====== 4. 三道杠 ====== */

/*三道杠图标调整*/
#PanelUI-mainView .toolbarbutton-1 {
	border: none !important;
	border-radius: 0px !important;
}

#PanelUI-mainView #ucjs_UserAgentChanger.toolbarbutton-1 {
	padding: 0 !important;
	background: none !important;
}

#PanelUI-mainView #ucjs_UserAgentChanger.toolbarbutton-1:hover {
	background-color: #e5e5e5 !important;
}

#PanelUI-mainView #userChromebtnMenu.toolbarbutton-1 {
	padding: 0 !important;
	background: none !important;
}

#PanelUI-mainView #userChromebtnMenu.toolbarbutton-1:hover {
	background-color: #e5e5e5 !important;
}


/** Fixes the panel height **/  
#PanelUI-popup .panelUI-grid.customization-target {
	max-height: 600px !important;
}


/** Shrinks the button box and font size **/
#customization-panel-container .panel-arrowcontent :-moz-any(.toolbarbutton-1.chromeclass-toolbar-additional,.toolbarbutton-1),
#PanelUI-popup :-moz-any(.toolbarbutton-1.chromeclass-toolbar-additional,.toolbarbutton-1),
#PanelUI-popup toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-item) {
	font-size: 68% !important;
	margin: 0.25em !important;
	padding: 0em !important;
}
/** Corrects font size from previous setting **/
#customization-panel-container toolbarpaletteitem toolbarbutton:not(.panel-combined-button) :-moz-any(.toolbarbutton-text,.toolbarbutton-multiline-text),
#PanelUI-contents toolbarbutton:not(.panel-combined-button) :-moz-any(.toolbarbutton-text,.toolbarbutton-multiline-text) {
	margin: 0em -.2em -.5em -.2em !important;
	font-size: 11px !important;
}

#PanelUI-contents > toolbarbutton,
#PanelUI-contents > toolbaritem:not(:-moz-any(#zoom-controls,#edit-controls))> toolbarbutton {
	height: 75px!important;
	width: 62.9px!important;
}


/* ====== 99. 弹出窗口 ====== */

/*下载弹窗大小调整*/
#unknownContentType {
	height: 340px !important;
	width: 450px !important;
}

/*字體彈窗大小調整*/
#FontsDialog {
	width: 420px !important;
}

/*redirector編輯窗口*/
#edit-redirect-form {
	top: 260px !important;
}

/*Feiruonet图标模糊修正*/
#FeiRuoNet_icon {
	filter: grayscale(0%) blur(.1px)!important;
}
