加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
UI-方形直角标签.css 2.33 KB
一键复制 编辑 原始数据 按行查看 历史
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@-moz-document url(chrome://browser/content/browser.xul) {
#newtab,
#wrapper-newtab
{list-style-image: url("chrome://oldfirefoxtab/content/newtab.png");}
.tabbrowser-tab[selected] { margin-top: -1px !important; }
.tab-background-middle {
border-left: none !important;
border-right: none !important;
margin: 0 -0.5px !important;
}
.tab-background,
.tabs-newtab-button {
-moz-margin-end: 0 !important;
-moz-margin-start: 0.5px !important;
}
.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
-moz-padding-end: 0 !important;
-moz-padding-start: 0 !important;
}
.tab-background-start[selected=true]::after,
.tab-background-start[selected=true]::before,
.tab-background-start,
.tab-background-end,
.tab-background-end[selected=true]::after,
.tab-background-end[selected=true]::before {
width: 1px !important;
}
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]),
.tabs-newtab-button:hover {
background-image: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1) 80%, rgba(255,255,255,1)) !important;
background-size: 100% !important;
}
#tabbrowser-tabs[movingtab] > .tabbrowser-tab[afterselected]::before,
.tabbrowser-tab:not([selected]):not([afterselected-visible]):not([first-visible-tab])::before,
#tabbrowser-tabs[overflow] > .tabbrowser-tab[first-visible-tab]:not([selected])::before,
#tabbrowser-tabs:not([overflow]) > .tabbrowser-tab:not([selected])::after {
-moz-margin-start: -1.5px !important;
-moz-margin-end: -1.5px !important;
background-image: url(chrome://browser/skin/tabbrowser/tab-separator.png) !important;
background-size: 3px 100% !important;
content: "" !important;
display: -moz-box !important;
margin-bottom: 1px !important;
width: 3px !important;
}
.tabbrowser-tab[selected]::before,
.tabbrowser-tab[selected]::after {
-moz-margin-start: -0.5px !important;
-moz-margin-end: -0.5px !important;
background-color: #aaa !important;
background-size: 1px 100% !important;
content: "" !important;
display: -moz-box !important;
margin-bottom: 1px !important;
width: 1px !important;
}
.tabbrowser-tab[selected][first-visible-tab]::before {
background-color: #eee !important;
background-size: 1px 100% !important;
}
.tabs-newtab-button { width: 32px !important; }
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化