зеркало из https://github.com/mozilla/pjs.git
#46423 -> new modern skin. updates to edit-mode toolbar xul, to make the buttons look like botom tabs in modern and classic. r=cmanske
This commit is contained in:
Родитель
9e1940cb6f
Коммит
1d841a1bfb
|
@ -225,11 +225,12 @@
|
||||||
</deck>
|
</deck>
|
||||||
|
|
||||||
<toolbar id="EditModeToolbar" hidden="true" autostretch="never" valign="middle" persist="hidden collapsed">
|
<toolbar id="EditModeToolbar" hidden="true" autostretch="never" valign="middle" persist="hidden collapsed">
|
||||||
<text id="EditModeLabel" class="margin-left-right" value="&editMode.label;"/>
|
<tabbox class="tabbox-bottom" orient="horizontal" flex="1">
|
||||||
<button id="NormalModeButton"/>
|
<tab id="NormalModeButton"/>
|
||||||
<button id="TagModeButton"/>
|
<tab id="TagModeButton"/>
|
||||||
<button id="SourceModeButton"/>
|
<tab id="SourceModeButton"/>
|
||||||
<button id="PreviewModeButton"/>
|
<tab id="PreviewModeButton"/>
|
||||||
|
</tabbox>
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
|
||||||
<!-- Some of this is from globarOverlay.xul -->
|
<!-- Some of this is from globarOverlay.xul -->
|
||||||
|
|
|
@ -761,13 +761,13 @@
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<!-- Edit Mode toolbar -->
|
<!-- Edit Mode toolbar -->
|
||||||
<button id="NormalModeButton" class="edit-mode _plain" type="text" selected="1" value="&NormalModeTab.label;" onclick="SetEditMode(1)"
|
<tab id="NormalModeButton" class="tab-bottom edit-mode _plain" type="text" selected="1" value="&NormalModeTab.label;" onclick="SetEditMode(1)"
|
||||||
tooltip="aTooltip" tooltiptext="&NormalMode.tooltip;"/>
|
tooltip="aTooltip" tooltiptext="&NormalMode.tooltip;"/>
|
||||||
<button id="TagModeButton" class="edit-mode _plain" type="text" selected="0" value="&AllTagsMode.label;" onclick="SetEditMode(2)"
|
<tab id="TagModeButton" class="tab-bottom edit-mode _plain" type="text" selected="0" value="&AllTagsMode.label;" onclick="SetEditMode(2)"
|
||||||
tooltip="aTooltip" tooltiptext="&AllTagsMode.tooltip;"/>
|
tooltip="aTooltip" tooltiptext="&AllTagsMode.tooltip;"/>
|
||||||
<button id="SourceModeButton" class="edit-mode _plain" type="text" selected="0" value="&SourceMode.label;" onclick="SetEditMode(3)"
|
<tab id="SourceModeButton" class="tab-bottom edit-mode _plain" type="text" selected="0" value="&SourceMode.label;" onclick="SetEditMode(3)"
|
||||||
tooltip="aTooltip" tooltiptext="&HTMLSourceMode.tooltip;"/>
|
tooltip="aTooltip" tooltiptext="&HTMLSourceMode.tooltip;"/>
|
||||||
<button id="PreviewModeButton" class="edit-mode _plain" type="text" selected="0" value="&PreviewMode.label;" onclick="SetEditMode(0)"
|
<tab id="PreviewModeButton" class="tab-bottom edit-mode _plain" type="text" selected="0" value="&PreviewMode.label;" onclick="SetEditMode(0)"
|
||||||
tooltip="aTooltip" tooltiptext="&PreviewMode.tooltip;"/>
|
tooltip="aTooltip" tooltiptext="&PreviewMode.tooltip;"/>
|
||||||
|
|
||||||
<!-- InsertPopupButton is used by messengercompose.xul -->
|
<!-- InsertPopupButton is used by messengercompose.xul -->
|
||||||
|
|
Загрузка…
Ссылка в новой задаче