Bug 574217: fixes to "the rest of Tab Candy" based on comments from dolske

This commit is contained in:
Michael Yoshitaka Erlewine 2010-08-11 00:14:53 -04:00
Родитель 76d3dfb28a
Коммит 76062b18b2
5 изменённых файлов: 18 добавлений и 12 удалений

Просмотреть файл

@ -210,6 +210,7 @@
<menupopup id="menu_viewPopup">
<menuitem id="menu_tabview"
label="&showTabView.label;"
accesskey="&showTabView.accesskey;"
command="Browser:ToggleTabView"/>
<menu id="viewToolbarsMenu"
label="&viewToolbarsMenu.label;"

Просмотреть файл

@ -113,7 +113,7 @@
<menupopup id="tabContextMenu"
onpopupshowing="if (event.target == this) TabContextMenu.updateContextMenu(this);"
onpopuphidden="if (event.target == this) TabContextMenu.contextTab = null;">
<menu id="context_tabViewMenu" class="menu-iconic" label="&moveTabTo.label;..."
<menu id="context_tabViewMenu" class="menu-iconic" label="&moveTabTo.label;"
accesskey="&moveTabTo.accesskey;">
<menupopup id="context_tabViewMenuPopup"
onpopupshowing="if (event.target == this) TabView.updateContextMenu(TabContextMenu.contextTab, this);">
@ -1114,6 +1114,9 @@
#endif
</vbox>
<!-- <iframe id="tab-view"> is dynamically appended as the 2nd child of #tab-view-deck.
Introducing the iframe dynamically, as needed, was found to be better than
starting with an empty iframe here in browser.xul from a Ts standpoint. -->
</deck>
</window>

Просмотреть файл

@ -724,7 +724,8 @@
<body>
<![CDATA[
if (TabView.isVisible()) {
// ToDo: this will be removed when we gain ability to draw o the menu bar.
// ToDo: this will be removed when we gain ability to draw to the menu bar.
// Bug 586175
this.ownerDocument.title = TabView.getWindowTitle();
} else {
this.ownerDocument.title = this.getWindowTitleForBrowser(this.mCurrentBrowser);

Просмотреть файл

@ -12,7 +12,7 @@
<!ENTITY mainWindow.titlePrivateBrowsingSuffix "(Private Browsing)">
<!-- Tab context menu -->
<!ENTITY moveTabTo.label "Move This Tab To">
<!ENTITY moveTabTo.label "Move This Tab To">
<!ENTITY moveTabTo.accesskey "M">
<!ENTITY createNewGroup.label "Create New Group">
<!ENTITY createNewGroup.accesskey "C">
@ -240,7 +240,8 @@
<!ENTITY viewMenu.label "View">
<!ENTITY viewMenu.accesskey "V">
<!ENTITY showTabView.label "TabView">
<!ENTITY showTabView.label "TabView">
<!ENTITY showTabView.accesskey "V">
<!ENTITY viewToolbarsMenu.label "Toolbars">
<!ENTITY viewToolbarsMenu.accesskey "T">
<!ENTITY viewSidebarMenu.label "Sidebar">

Просмотреть файл

@ -8,18 +8,18 @@
#bg {
background: -moz-linear-gradient(top,#F1F5FB,#EDF4FB);
position:absolute;
top:0;
left:0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -999999;
}
.newTabButtonAlt{
.newTabButtonAlt {
position: absolute;
cursor: pointer;
z-index:99999;
z-index: 99999;
border: none;
-moz-border-radius: 4px;
font-size: 50px;
@ -32,13 +32,13 @@
-moz-box-shadow: inset 0px 0px 5px rgba(0,0,0,.5), 0 1px 0 rgba(255,255,255,.3);
}
.newTabButtonAlt>span{
.newTabButtonAlt > span {
color: #D9E7FC;
text-shadow: 0px 0px 7px rgba(0,0,0,.4), 0 -1px 0 rgba(255,255,255,.6);
font-weight: bold;
}
.newTabGroup{
.newTabGroup {
background-color: #D9E7FC;
border: none;
border-top: 1px solid rgba(127,127,127,.5);
@ -46,7 +46,7 @@
-moz-box-shadow: inset 0px 5px 10px rgba(0,0,0,.1);
}
.inNewTabGroup .favicon{
.inNewTabGroup .favicon {
background-color: #D9E7FC;
-moz-box-shadow: none;
}