mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
134 lines
5.9 KiB
XML
134 lines
5.9 KiB
XML
<?xml version="1.0"?>
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
<!DOCTYPE window [
|
|
<!ENTITY % styleEditorDTD SYSTEM "chrome://browser/locale/devtools/styleeditor.dtd" >
|
|
%styleEditorDTD;
|
|
<!ENTITY % editMenuStrings SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
|
|
%editMenuStrings;
|
|
<!ENTITY % sourceEditorStrings SYSTEM "chrome://browser/locale/devtools/sourceeditor.dtd">
|
|
%sourceEditorStrings;
|
|
]>
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/content/devtools/splitview.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/splitview.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/content/devtools/styleeditor.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/styleeditor.css" type="text/css"?>
|
|
<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
|
|
|
|
<xul:window xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
id="style-editor-chrome-window">
|
|
|
|
<script type="application/javascript;version=1.8"
|
|
src="chrome://browser/content/devtools/theme-switching.js"/>
|
|
<xul:script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
|
|
<xul:script type="application/javascript">
|
|
function goUpdateSourceEditorMenuItems() {
|
|
goUpdateGlobalEditMenuItems();
|
|
|
|
['cmd_undo', 'cmd_redo', 'cmd_cut', 'cmd_paste',
|
|
'cmd_delete', 'cmd_find', 'cmd_findAgain'].forEach(goUpdateCommand);
|
|
}
|
|
</xul:script>
|
|
|
|
<xul:popupset id="style-editor-popups">
|
|
<xul:menupopup id="sourceEditorContextMenu"
|
|
onpopupshowing="goUpdateSourceEditorMenuItems()">
|
|
<xul:menuitem id="cMenu_undo"/>
|
|
<xul:menuseparator/>
|
|
<xul:menuitem id="cMenu_cut"/>
|
|
<xul:menuitem id="cMenu_copy"/>
|
|
<xul:menuitem id="cMenu_paste"/>
|
|
<xul:menuitem id="cMenu_delete"/>
|
|
<xul:menuseparator/>
|
|
<xul:menuitem id="cMenu_selectAll"/>
|
|
<xul:menuseparator/>
|
|
<xul:menuitem id="se-menu-find"
|
|
label="&findCmd.label;" accesskey="&findCmd.accesskey;" command="cmd_find"/>
|
|
<xul:menuitem id="cMenu_findAgain"/>
|
|
<xul:menuseparator/>
|
|
<xul:menuitem id="se-menu-gotoLine"
|
|
label="&gotoLineCmd.label;"
|
|
accesskey="&gotoLineCmd.accesskey;"
|
|
key="key_gotoLine"
|
|
command="cmd_gotoLine"/>
|
|
</xul:menupopup>
|
|
<xul:menupopup id="sidebar-context">
|
|
<xul:menuitem id="context-origsources"/>
|
|
</xul:menupopup>
|
|
</xul:popupset>
|
|
|
|
<xul:commandset id="editMenuCommands"/>
|
|
|
|
<xul:commandset id="sourceEditorCommands">
|
|
<xul:command id="cmd_gotoLine" oncommand="goDoCommand('cmd_gotoLine')"/>
|
|
<xul:command id="cmd_find" oncommand="goDoCommand('cmd_find')"/>
|
|
<xul:command id="cmd_findAgain" oncommand="goDoCommand('cmd_findAgain')"/>
|
|
</xul:commandset>
|
|
|
|
<xul:keyset id="sourceEditorKeys"/>
|
|
|
|
<xul:box id="style-editor-chrome" class="theme-body splitview-root loading"
|
|
context="sidebar-context">
|
|
<xul:box class="splitview-controller">
|
|
<xul:box class="splitview-main">
|
|
<xul:toolbar class="devtools-toolbar">
|
|
<xul:toolbarbutton class="style-editor-newButton devtools-toolbarbutton"
|
|
accesskey="&newButton.accesskey;"
|
|
tooltiptext="&newButton.tooltip;"
|
|
label="&newButton.label;"/>
|
|
<xul:toolbarbutton class="style-editor-importButton devtools-toolbarbutton"
|
|
accesskey="&importButton.accesskey;"
|
|
tooltiptext="&importButton.tooltip;"
|
|
label="&importButton.label;"/>
|
|
</xul:toolbar>
|
|
</xul:box>
|
|
<xul:box id="splitview-resizer-target" class="theme-sidebar splitview-nav-container"
|
|
persist="height">
|
|
<ol class="splitview-nav" tabindex="0"></ol>
|
|
<div class="splitview-nav placeholder empty">
|
|
<p><strong>&noStyleSheet.label;</strong></p>
|
|
<p>&noStyleSheet-tip-start.label;
|
|
<a href="#"
|
|
class="style-editor-newButton">&noStyleSheet-tip-action.label;</a>
|
|
&noStyleSheet-tip-end.label;</p>
|
|
</div>
|
|
</xul:box> <!-- .splitview-nav-container -->
|
|
</xul:box> <!-- .splitview-controller -->
|
|
<xul:splitter class="devtools-side-splitter splitview-landscape-splitter devtools-invisible-splitter"/>
|
|
<xul:box class="splitview-side-details"/>
|
|
|
|
<div id="splitview-templates" hidden="true">
|
|
<li id="splitview-tpl-summary-stylesheet" tabindex="0">
|
|
<xul:label class="stylesheet-enabled" tabindex="0"
|
|
tooltiptext="&visibilityToggle.tooltip;"
|
|
accesskey="&saveButton.accesskey;"></xul:label>
|
|
<hgroup class="stylesheet-info">
|
|
<h1><a class="stylesheet-name" tabindex="0"><xul:label crop="start"/></a></h1>
|
|
<div class="stylesheet-more">
|
|
<h3 class="stylesheet-title"></h3>
|
|
<h3 class="stylesheet-linked-file"></h3>
|
|
<h3 class="stylesheet-rule-count"></h3>
|
|
<xul:spacer/>
|
|
<h3><xul:label class="stylesheet-saveButton"
|
|
tooltiptext="&saveButton.tooltip;"
|
|
accesskey="&saveButton.accesskey;">&saveButton.label;</xul:label></h3>
|
|
</div>
|
|
</hgroup>
|
|
</li>
|
|
|
|
<xul:box id="splitview-tpl-details-stylesheet" class="splitview-details">
|
|
<xul:resizer class="splitview-portrait-resizer"
|
|
dir="bottom"
|
|
element="splitview-resizer-target"/>
|
|
<xul:box class="stylesheet-editor-input textbox"
|
|
data-placeholder="&editorTextbox.placeholder;"/>
|
|
</xul:box>
|
|
</div> <!-- #splitview-templates -->
|
|
</xul:box> <!-- .splitview-root -->
|
|
</xul:window>
|