mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
d2149ed47c
--HG-- rename : editor/composer/src/crashtests/351236-1.html => editor/composer/crashtests/351236-1.html rename : editor/composer/src/crashtests/407062-1.html => editor/composer/crashtests/407062-1.html rename : editor/composer/src/crashtests/419563-1.xhtml => editor/composer/crashtests/419563-1.xhtml rename : editor/composer/src/crashtests/428844-1-inner.xhtml => editor/composer/crashtests/428844-1-inner.xhtml rename : editor/composer/src/crashtests/428844-1.html => editor/composer/crashtests/428844-1.html rename : editor/composer/src/crashtests/461049-1.html => editor/composer/crashtests/461049-1.html rename : editor/composer/src/crashtests/crashtests.list => editor/composer/crashtests/crashtests.list rename : editor/composer/src/crashtests/removing-editable-xslt-inner.xhtml => editor/composer/crashtests/removing-editable-xslt-inner.xhtml rename : editor/composer/src/crashtests/removing-editable-xslt.html => editor/composer/crashtests/removing-editable-xslt.html rename : editor/composer/src/nsComposeTxtSrvFilter.cpp => editor/composer/nsComposeTxtSrvFilter.cpp rename : editor/composer/src/nsComposeTxtSrvFilter.h => editor/composer/nsComposeTxtSrvFilter.h rename : editor/composer/src/nsComposerCommands.cpp => editor/composer/nsComposerCommands.cpp rename : editor/composer/src/nsComposerCommands.h => editor/composer/nsComposerCommands.h rename : editor/composer/src/nsComposerCommandsUpdater.cpp => editor/composer/nsComposerCommandsUpdater.cpp rename : editor/composer/src/nsComposerCommandsUpdater.h => editor/composer/nsComposerCommandsUpdater.h rename : editor/composer/src/nsComposerController.cpp => editor/composer/nsComposerController.cpp rename : editor/composer/src/nsComposerController.h => editor/composer/nsComposerController.h rename : editor/composer/src/nsComposerDocumentCommands.cpp => editor/composer/nsComposerDocumentCommands.cpp rename : editor/composer/src/nsComposerRegistration.cpp => editor/composer/nsComposerRegistration.cpp rename : editor/composer/src/nsEditingSession.cpp => editor/composer/nsEditingSession.cpp rename : editor/composer/src/nsEditingSession.h => editor/composer/nsEditingSession.h rename : editor/composer/src/nsEditorSpellCheck.cpp => editor/composer/nsEditorSpellCheck.cpp rename : editor/composer/src/nsEditorSpellCheck.h => editor/composer/nsEditorSpellCheck.h rename : editor/composer/public/nsIEditingSession.idl => editor/composer/nsIEditingSession.idl rename : editor/composer/src/res/EditorOverride.css => editor/composer/res/EditorOverride.css rename : editor/composer/src/res/grabber.gif => editor/composer/res/grabber.gif rename : editor/composer/src/res/table-add-column-after-active.gif => editor/composer/res/table-add-column-after-active.gif rename : editor/composer/src/res/table-add-column-after-hover.gif => editor/composer/res/table-add-column-after-hover.gif rename : editor/composer/src/res/table-add-column-after.gif => editor/composer/res/table-add-column-after.gif rename : editor/composer/src/res/table-add-column-before-active.gif => editor/composer/res/table-add-column-before-active.gif rename : editor/composer/src/res/table-add-column-before-hover.gif => editor/composer/res/table-add-column-before-hover.gif rename : editor/composer/src/res/table-add-column-before.gif => editor/composer/res/table-add-column-before.gif rename : editor/composer/src/res/table-add-row-after-active.gif => editor/composer/res/table-add-row-after-active.gif rename : editor/composer/src/res/table-add-row-after-hover.gif => editor/composer/res/table-add-row-after-hover.gif rename : editor/composer/src/res/table-add-row-after.gif => editor/composer/res/table-add-row-after.gif rename : editor/composer/src/res/table-add-row-before-active.gif => editor/composer/res/table-add-row-before-active.gif rename : editor/composer/src/res/table-add-row-before-hover.gif => editor/composer/res/table-add-row-before-hover.gif rename : editor/composer/src/res/table-add-row-before.gif => editor/composer/res/table-add-row-before.gif rename : editor/composer/src/res/table-remove-column-active.gif => editor/composer/res/table-remove-column-active.gif rename : editor/composer/src/res/table-remove-column-hover.gif => editor/composer/res/table-remove-column-hover.gif rename : editor/composer/src/res/table-remove-column.gif => editor/composer/res/table-remove-column.gif rename : editor/composer/src/res/table-remove-row-active.gif => editor/composer/res/table-remove-row-active.gif rename : editor/composer/src/res/table-remove-row-hover.gif => editor/composer/res/table-remove-row-hover.gif rename : editor/composer/src/res/table-remove-row.gif => editor/composer/res/table-remove-row.gif rename : editor/composer/src/res/text_caret.png => editor/composer/res/text_caret.png rename : editor/composer/src/res/text_caret@1.5x.png => editor/composer/res/text_caret@1.5x.png rename : editor/composer/src/res/text_caret@2.25x.png => editor/composer/res/text_caret@2.25x.png rename : editor/composer/src/res/text_caret@2x.png => editor/composer/res/text_caret@2x.png rename : editor/composer/src/res/text_caret_tilt_left.png => editor/composer/res/text_caret_tilt_left.png rename : editor/composer/src/res/text_caret_tilt_left@1.5x.png => editor/composer/res/text_caret_tilt_left@1.5x.png rename : editor/composer/src/res/text_caret_tilt_left@2.25x.png => editor/composer/res/text_caret_tilt_left@2.25x.png rename : editor/composer/src/res/text_caret_tilt_left@2x.png => editor/composer/res/text_caret_tilt_left@2x.png rename : editor/composer/src/res/text_caret_tilt_right.png => editor/composer/res/text_caret_tilt_right.png rename : editor/composer/src/res/text_caret_tilt_right@1.5x.png => editor/composer/res/text_caret_tilt_right@1.5x.png rename : editor/composer/src/res/text_caret_tilt_right@2.25x.png => editor/composer/res/text_caret_tilt_right@2.25x.png rename : editor/composer/src/res/text_caret_tilt_right@2x.png => editor/composer/res/text_caret_tilt_right@2x.png rename : editor/composer/src/res/text_selection_handle.png => editor/composer/res/text_selection_handle.png rename : editor/composer/src/res/text_selection_handle@1.5.png => editor/composer/res/text_selection_handle@1.5.png rename : editor/composer/src/res/text_selection_handle@2.png => editor/composer/res/text_selection_handle@2.png
324 lines
8.8 KiB
CSS
324 lines
8.8 KiB
CSS
/* 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/. */
|
|
|
|
*|* {
|
|
-moz-user-modify: read-write;
|
|
}
|
|
|
|
/* Styles to alter look of things in the Editor content window
|
|
* that should NOT be removed when we display in completely WYSIWYG
|
|
* "Browser Preview" mode.
|
|
* Anything that should change, like appearance of table borders
|
|
* and Named Anchors, should be placed in EditorContent.css instead of here.
|
|
*/
|
|
|
|
/* Primary cursor is text I-beam */
|
|
|
|
::-moz-canvas, a:link {
|
|
cursor: text;
|
|
}
|
|
|
|
/* Use default arrow over objects with size that
|
|
are selected when clicked on.
|
|
Override the browser's pointer cursor over links
|
|
*/
|
|
|
|
img, img[usemap], area,
|
|
object, object[usemap],
|
|
applet, hr, button, input, textarea, select,
|
|
a:link img, a:visited img, a:active img,
|
|
a[name]:-moz-only-whitespace {
|
|
cursor: default;
|
|
}
|
|
|
|
a:visited, a:active {
|
|
cursor: text;
|
|
}
|
|
|
|
/* Prevent clicking on links from going to link */
|
|
a:link img, a:visited img {
|
|
-moz-user-input: none;
|
|
}
|
|
|
|
/* We suppress user/author's prefs for link underline,
|
|
so we must set explicitly. This isn't good!
|
|
*/
|
|
a:link {
|
|
text-decoration: underline -moz-anchor-decoration;
|
|
color: -moz-hyperlinktext;
|
|
}
|
|
|
|
/* Allow double-clicks on these widgets to open properties dialogs
|
|
XXX except when the widget has disabled attribute */
|
|
input, button, textarea {
|
|
-moz-user-select: all !important;
|
|
-moz-user-input: auto !important;
|
|
-moz-user-focus: none !important;
|
|
}
|
|
|
|
/* XXX Still need a better way of blocking other events to these widgets */
|
|
select, input[disabled], input[type="checkbox"], input[type="radio"], input[type="file"] {
|
|
-moz-user-select: all !important;
|
|
-moz-user-input: none !important;
|
|
-moz-user-focus: none !important;
|
|
}
|
|
|
|
input[type="hidden"] {
|
|
border: 1px solid black !important;
|
|
visibility: visible !important;
|
|
}
|
|
|
|
label {
|
|
-moz-user-select: all !important;
|
|
}
|
|
|
|
::-moz-display-comboboxcontrol-frame {
|
|
-moz-user-select: text !important;
|
|
}
|
|
|
|
option {
|
|
-moz-user-select: text !important;
|
|
}
|
|
|
|
#mozToc.readonly {
|
|
-moz-user-select: all !important;
|
|
-moz-user-input: none !important;
|
|
}
|
|
|
|
/* the following rules are for Image Resizing */
|
|
|
|
span[\_moz_anonclass="mozResizer"] {
|
|
width: 5px;
|
|
height: 5px;
|
|
position: absolute;
|
|
border: 1px black solid;
|
|
background-color: white;
|
|
-moz-user-select: none;
|
|
z-index: 2147483646; /* max value -1 for this property */
|
|
}
|
|
|
|
/* we can't use :active below */
|
|
span[\_moz_anonclass="mozResizer"][\_moz_activated],
|
|
span[\_moz_anonclass="mozResizer"]:hover {
|
|
background-color: black;
|
|
}
|
|
|
|
span[\_moz_anonclass="mozResizer"].hidden,
|
|
span[\_moz_anonclass="mozResizingShadow"].hidden,
|
|
img[\_moz_anonclass="mozResizingShadow"].hidden,
|
|
span[\_moz_anonclass="mozGrabber"].hidden,
|
|
span[\_moz_anonclass="mozResizingInfo"].hidden,
|
|
a[\_moz_anonclass="mozTableRemoveRow"].hidden,
|
|
a[\_moz_anonclass="mozTableRemoveColumn"].hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
span[\_moz_anonclass="mozResizer"][anonlocation="nw"] {
|
|
cursor: nw-resize;
|
|
}
|
|
span[\_moz_anonclass="mozResizer"][anonlocation="n"] {
|
|
cursor: n-resize;
|
|
}
|
|
span[\_moz_anonclass="mozResizer"][anonlocation="ne"] {
|
|
cursor: ne-resize;
|
|
}
|
|
span[\_moz_anonclass="mozResizer"][anonlocation="w"] {
|
|
cursor: w-resize;
|
|
}
|
|
span[\_moz_anonclass="mozResizer"][anonlocation="e"] {
|
|
cursor: e-resize;
|
|
}
|
|
span[\_moz_anonclass="mozResizer"][anonlocation="sw"] {
|
|
cursor: sw-resize;
|
|
}
|
|
span[\_moz_anonclass="mozResizer"][anonlocation="s"] {
|
|
cursor: s-resize;
|
|
}
|
|
span[\_moz_anonclass="mozResizer"][anonlocation="se"] {
|
|
cursor: se-resize;
|
|
}
|
|
|
|
span[\_moz_anonclass="mozResizingShadow"],
|
|
img[\_moz_anonclass="mozResizingShadow"] {
|
|
outline: thin dashed black;
|
|
-moz-user-select: none;
|
|
opacity: 0.5;
|
|
position: absolute;
|
|
z-index: 2147483647; /* max value for this property */
|
|
}
|
|
|
|
span[\_moz_anonclass="mozResizingInfo"] {
|
|
font-family: sans-serif;
|
|
font-size: x-small;
|
|
color: black;
|
|
background-color: #d0d0d0;
|
|
border: ridge 2px #d0d0d0;
|
|
padding: 2px;
|
|
position: absolute;
|
|
z-index: 2147483647; /* max value for this property */
|
|
}
|
|
|
|
img[\_moz_resizing] {
|
|
outline: thin solid black;
|
|
}
|
|
|
|
*[\_moz_abspos] {
|
|
outline: silver ridge 2px;
|
|
z-index: 2147483645 !important; /* max value -2 for this property */
|
|
}
|
|
*[\_moz_abspos="white"] {
|
|
background-color: white !important;
|
|
}
|
|
*[\_moz_abspos="black"] {
|
|
background-color: black !important;
|
|
}
|
|
|
|
span[\_moz_anonclass="mozGrabber"] {
|
|
outline: ridge 2px silver;
|
|
padding: 2px;
|
|
position: absolute;
|
|
width: 12px;
|
|
height: 12px;
|
|
background-image: url("resource://gre/res/grabber.gif");
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
-moz-user-select: none;
|
|
cursor: move;
|
|
z-index: 2147483647; /* max value for this property */
|
|
}
|
|
|
|
/* INLINE TABLE EDITING */
|
|
|
|
a[\_moz_anonclass="mozTableAddColumnBefore"] {
|
|
position: absolute;
|
|
z-index: 2147483647; /* max value for this property */
|
|
text-decoration: none !important;
|
|
border: none 0px !important;
|
|
width: 4px;
|
|
height: 8px;
|
|
background-image: url("resource://gre/res/table-add-column-before.gif");
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
-moz-user-select: none !important;
|
|
-moz-user-focus: none !important;
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableAddColumnBefore"]:hover {
|
|
background-image: url("resource://gre/res/table-add-column-before-hover.gif");
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableAddColumnBefore"]:active {
|
|
background-image: url("resource://gre/res/table-add-column-before-active.gif");
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableAddColumnAfter"] {
|
|
position: absolute;
|
|
z-index: 2147483647; /* max value for this property */
|
|
text-decoration: none !important;
|
|
border: none 0px !important;
|
|
width: 4px;
|
|
height: 8px;
|
|
background-image: url("resource://gre/res/table-add-column-after.gif");
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
-moz-user-select: none !important;
|
|
-moz-user-focus: none !important;
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableAddColumnAfter"]:hover {
|
|
background-image: url("resource://gre/res/table-add-column-after-hover.gif");
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableAddColumnAfter"]:active {
|
|
background-image: url("resource://gre/res/table-add-column-after-active.gif");
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableRemoveColumn"] {
|
|
position: absolute;
|
|
z-index: 2147483647; /* max value for this property */
|
|
text-decoration: none !important;
|
|
border: none 0px !important;
|
|
width: 8px;
|
|
height: 8px;
|
|
background-image: url("resource://gre/res/table-remove-column.gif");
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
-moz-user-select: none !important;
|
|
-moz-user-focus: none !important;
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableRemoveColumn"]:hover {
|
|
background-image: url("resource://gre/res/table-remove-column-hover.gif");
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableRemoveColumn"]:active {
|
|
background-image: url("resource://gre/res/table-remove-column-active.gif");
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableAddRowBefore"] {
|
|
position: absolute;
|
|
z-index: 2147483647; /* max value for this property */
|
|
text-decoration: none !important;
|
|
border: none 0px !important;
|
|
width: 8px;
|
|
height: 4px;
|
|
background-image: url("resource://gre/res/table-add-row-before.gif");
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
-moz-user-select: none !important;
|
|
-moz-user-focus: none !important;
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableAddRowBefore"]:hover {
|
|
background-image: url("resource://gre/res/table-add-row-before-hover.gif");
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableAddRowBefore"]:active {
|
|
background-image: url("resource://gre/res/table-add-row-before-active.gif");
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableAddRowAfter"] {
|
|
position: absolute;
|
|
z-index: 2147483647; /* max value for this property */
|
|
text-decoration: none !important;
|
|
border: none 0px !important;
|
|
width: 8px;
|
|
height: 4px;
|
|
background-image: url("resource://gre/res/table-add-row-after.gif");
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
-moz-user-select: none !important;
|
|
-moz-user-focus: none !important;
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableAddRowAfter"]:hover {
|
|
background-image: url("resource://gre/res/table-add-row-after-hover.gif");
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableAddRowAfter"]:active {
|
|
background-image: url("resource://gre/res/table-add-row-after-active.gif");
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableRemoveRow"] {
|
|
position: absolute;
|
|
z-index: 2147483647; /* max value for this property */
|
|
text-decoration: none !important;
|
|
border: none 0px !important;
|
|
width: 8px;
|
|
height: 8px;
|
|
background-image: url("resource://gre/res/table-remove-row.gif");
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
-moz-user-select: none !important;
|
|
-moz-user-focus: none !important;
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableRemoveRow"]:hover {
|
|
background-image: url("resource://gre/res/table-remove-row-hover.gif");
|
|
}
|
|
|
|
a[\_moz_anonclass="mozTableRemoveRow"]:active {
|
|
background-image: url("resource://gre/res/table-remove-row-active.gif");
|
|
}
|