index.xhtml (7690B)
1 <?xml version="1.0"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 6 <?csp default-src chrome: ?> 7 8 <!DOCTYPE window> 9 10 <window 11 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 12 xmlns:html="http://www.w3.org/1999/xhtml" 13 id="style-editor-chrome-window" 14 > 15 <linkset> 16 <html:link rel="stylesheet" href="chrome://global/skin/global.css" /> 17 <html:link 18 rel="stylesheet" 19 href="chrome://devtools/content/shared/widgets/widgets.css" 20 /> 21 <html:link 22 rel="stylesheet" 23 href="chrome://devtools/content/shared/toolbarbutton.css" 24 /> 25 <html:link rel="stylesheet" href="chrome://devtools/skin/chart.css" /> 26 <html:link rel="stylesheet" href="chrome://devtools/skin/widgets.css" /> 27 <html:link rel="stylesheet" href="chrome://devtools/skin/splitview.css" /> 28 <html:link rel="stylesheet" href="chrome://devtools/skin/styleeditor.css" /> 29 30 <html:link rel="localization" href="toolkit/global/textActions.ftl" /> 31 <html:link rel="localization" href="devtools/client/styleeditor.ftl" /> 32 </linkset> 33 34 <script src="chrome://devtools/content/shared/theme-switching.js" /> 35 <script src="chrome://global/content/globalOverlay.js" /> 36 <script src="chrome://browser/content/utilityOverlay.js" /> 37 <script src="chrome://global/content/editMenuOverlay.js" /> 38 <script src="chrome://devtools/content/styleeditor/index.js" /> 39 40 <popupset id="style-editor-popups"> 41 <menupopup id="sourceEditorContextMenu" incontentshell="false"> 42 <menuitem 43 id="cMenu_undo" 44 data-l10n-id="text-action-undo" 45 command="cmd_undo" 46 /> 47 <menuseparator /> 48 <menuitem 49 id="cMenu_cut" 50 data-l10n-id="text-action-cut" 51 command="cmd_cut" 52 /> 53 <menuitem 54 id="cMenu_copy" 55 data-l10n-id="text-action-copy" 56 command="cmd_copy" 57 /> 58 <menuitem 59 id="cMenu_paste" 60 data-l10n-id="text-action-paste" 61 command="cmd_paste" 62 /> 63 <menuitem 64 id="cMenu_delete" 65 data-l10n-id="text-action-delete" 66 command="cmd_delete" 67 /> 68 <menuseparator /> 69 <menuitem 70 id="cMenu_selectAll" 71 data-l10n-id="text-action-select-all" 72 command="cmd_selectAll" 73 /> 74 <menuseparator /> 75 <menuitem 76 id="se-menu-find" 77 data-l10n-id="styleeditor-find" 78 command="cmd_find" 79 /> 80 <menuitem 81 id="cMenu_findAgain" 82 data-l10n-id="styleeditor-find-again" 83 command="cmd_findAgain" 84 /> 85 <menuseparator /> 86 <menuitem 87 id="se-menu-gotoLine" 88 data-l10n-id="styleeditor-go-to-line" 89 command="cmd_gotoLine" 90 /> 91 </menupopup> 92 <menupopup id="sidebar-context" incontentshell="false"> 93 <menuitem 94 id="context-openlinknewtab" 95 data-l10n-id="styleeditor-open-link-new-tab" 96 /> 97 <menuitem id="context-copyurl" data-l10n-id="styleeditor-copy-url" /> 98 </menupopup> 99 </popupset> 100 101 <commandset id="sourceEditorCommands"> 102 <command id="cmd_gotoLine" /> 103 <command id="cmd_find" /> 104 <command id="cmd_findAgain" /> 105 </commandset> 106 107 <keyset id="sourceEditorKeys" /> 108 109 <box 110 id="style-editor-chrome" 111 class="devtools-responsive-container loading theme-body" 112 context="sidebar-context" 113 > 114 <box class="splitview-controller"> 115 <box class="splitview-main"> 116 <toolbar class="devtools-toolbar"> 117 <toolbarbutton 118 class="style-editor-newButton devtools-toolbarbutton" 119 data-l10n-id="styleeditor-new-button" 120 /> 121 <toolbarbutton 122 class="style-editor-importButton devtools-toolbarbutton" 123 data-l10n-id="styleeditor-import-button" 124 /> 125 <toolbaritem class="devtools-searchbox" flex="1"> 126 <html:input 127 class="devtools-filterinput" 128 data-l10n-id="styleeditor-filter-input" 129 /> 130 <html:button 131 class="devtools-searchinput-clear" 132 tabindex="-1" 133 hidden="" 134 ></html:button> 135 </toolbaritem> 136 <toolbarbutton 137 id="style-editor-options" 138 class="devtools-toolbarbutton devtools-option-toolbarbutton" 139 data-l10n-id="styleeditor-options-button" 140 /> 141 </toolbar> 142 </box> 143 <box 144 id="splitview-resizer-target" 145 class="theme-sidebar splitview-nav-container" 146 persist="height" 147 > 148 <html:ol class="splitview-nav" tabindex="0"></html:ol> 149 <html:div class="splitview-nav placeholder empty"> 150 <html:p> 151 <html:strong data-l10n-id="styleeditor-no-stylesheet"></html:strong> 152 </html:p> 153 <html:p data-l10n-id="styleeditor-no-stylesheet-tip"> 154 <html:a 155 class="style-editor-newButton" 156 data-l10n-name="append-new-stylesheet" 157 href="#" 158 /> 159 </html:p> 160 </html:div> 161 <html:div class="splitview-nav placeholder all-filtered"> 162 <html:p data-l10n-id="styleeditor-stylesheet-all-filtered"></html:p> 163 </html:div> 164 </box> 165 </box> 166 <splitter 167 class="devtools-side-splitter devtools-invisible-splitter" 168 resizebefore="sibling" 169 resizeafter="none" 170 /> 171 <box> 172 <box class="splitview-side-details devtools-main-content" /> 173 <html:footer class="devtools-toolbar stylesheet-editor-status"> 174 <html:button 175 class="devtools-button style-editor-prettyPrintButton" 176 data-l10n-id="styleeditor-pretty-print-button" 177 /> 178 </html:footer> 179 </box> 180 181 <html:div id="splitview-templates" hidden=""> 182 <html:li id="splitview-tpl-summary-stylesheet" tabindex="0"> 183 <label 184 class="stylesheet-toggle" 185 tabindex="0" 186 data-l10n-id="styleeditor-visibility-toggle" 187 ></label> 188 <html:hgroup class="stylesheet-info"> 189 <html:h1 190 ><html:a class="stylesheet-name" tabindex="0" 191 ><label crop="center" /></html:a 192 ></html:h1> 193 <html:div class="stylesheet-more"> 194 <html:h3 class="stylesheet-title"></html:h3> 195 <html:h3 class="stylesheet-linked-file"></html:h3> 196 <html:h3 197 class="stylesheet-rule-count" 198 data-l10n-id="styleeditor-stylesheet-rule-count" 199 data-l10n-args='{"ruleCount": 0}' 200 ></html:h3> 201 <spacer /> 202 <html:h3 203 ><label 204 class="stylesheet-saveButton" 205 data-l10n-id="styleeditor-save-button" 206 ></label 207 ></html:h3> 208 </html:div> 209 </html:hgroup> 210 </html:li> 211 212 <box id="splitview-tpl-details-stylesheet" class="splitview-details"> 213 <hbox class="stylesheet-details-container"> 214 <box class="stylesheet-editor-input textbox" /> 215 <splitter 216 class="devtools-side-splitter" 217 resizebefore="none" 218 resizeafter="sibling" 219 /> 220 <vbox class="stylesheet-sidebar theme-sidebar" hidden="true"> 221 <toolbar 222 class="devtools-toolbar" 223 data-l10n-id="styleeditor-at-rules" 224 > 225 </toolbar> 226 <vbox class="stylesheet-at-rules-container" flex="1"> 227 <html:div class="stylesheet-at-rules-list" /> 228 </vbox> 229 </vbox> 230 </hbox> 231 </box> 232 </html:div> 233 </box> 234 </window>