タブに影をつけてみた

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3760 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-03-04 20:09:02 +00:00
parent a8ab6d4048
commit 2b97e39944
4 changed files with 22 additions and 3 deletions

View File

@ -16,3 +16,5 @@ locale treestyletab zh-TW jar:chrome/treestyletab.jar!/locale/zh-TW/treestyletab
locale treestyletab ru-RU jar:chrome/treestyletab.jar!/locale/ru-RU/treestyletab/
skin treestyletab classic/1.0 jar:chrome/treestyletab.jar!/skin/classic/treestyletab/
style chrome://browser/content/browser.xul chrome://treestyletab/skin/treestyletab-3.1.css appversion>=3.1b3pre

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

View File

@ -0,0 +1,20 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Shadow of vertival tabs */
tabbrowser[treestyletab-mode="vertical"][treestyletab-style="default"] .tabbrowser-tab,
tabbrowser[treestyletab-mode="vertical"][treestyletab-style="mixed"] .tabbrowser-tab {
-moz-box-shadow: -5px 0 5px rgba(0, 0, 0, 0.15) !important;
}
tabbrowser[treestyletab-mode="vertical"][treestyletab-style="default"][treestyletab-appearance-inverted="true"] .tabbrowser-tab,
tabbrowser[treestyletab-mode="vertical"][treestyletab-style="mixed"][treestyletab-appearance-inverted="true"] .tabbrowser-tab {
-moz-box-shadow: 5px 0 5px rgba(0, 0, 0, 0.15) !important;
}
tabbrowser[treestyletab-mode="vertical"][treestyletab-style="default"]:not([treestyletab-hide-newtab-button]) .tabs-container:not([overflow="true"]) .scrollbox-innerbox,
tabbrowser[treestyletab-mode="vertical"][treestyletab-style="mixed"]:not([treestyletab-hide-newtab-button]) .tabs-container:not([overflow="true"]) .scrollbox-innerbox {
background: url("dropshadow.png") repeat-x bottom !important;
}
tabbrowser[treestyletab-mode="vertical"][treestyletab-style="default"]:not([treestyletab-hide-newtab-button="true"]) .tabs-container:not([overflow="true"]) .tabbrowser-arrowscrollbox .tabs-newtab-button,
tabbrowser[treestyletab-mode="vertical"][treestyletab-style="mixed"]:not([treestyletab-hide-newtab-button="true"]) .tabs-container:not([overflow="true"]) .tabbrowser-arrowscrollbox .tabs-newtab-button {
margin-bottom: 5px !important;
}

View File

@ -276,8 +276,6 @@ tabbrowser[treestyletab-tabbar-position="bottom"][treestyletab-style="mixed"] .t
}
/* Tree UI */
.treestyletab-twisty-container {
@ -477,4 +475,3 @@ tabbrowser[treestyletab-tabbar-transparent] .tabbrowser-tabs:hover .tabbrowser-t
tabbrowser[treestyletab-tabbar-transparent] .tabbrowser-tabs:hover .tabbrowser-tab[selected="true"]:hover {
opacity: 0.98 !important;
}