2007-06-28 02:29:45 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2007-06-28 02:29:45 +04:00
|
|
|
|
2010-05-07 04:33:31 +04:00
|
|
|
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
|
|
|
|
|
|
|
|
*|*::-moz-canvas {
|
2007-06-28 02:29:45 +04:00
|
|
|
cursor: text;
|
|
|
|
}
|
|
|
|
|
2015-02-24 02:18:16 +03:00
|
|
|
*|*:-moz-read-write :-moz-read-only {
|
2007-06-28 02:29:45 +04:00
|
|
|
-moz-user-select: all !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:-moz-read-write > .anonymous-div:-moz-read-only,
|
|
|
|
textarea:-moz-read-write > .anonymous-div:-moz-read-only {
|
|
|
|
-moz-user-select: text !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Use default arrow over objects with size that
|
|
|
|
are selected when clicked on.
|
|
|
|
Override the browser's pointer cursor over links
|
|
|
|
*/
|
|
|
|
|
|
|
|
img:-moz-read-write, img:-moz-read-write[usemap], area:-moz-read-write,
|
|
|
|
object:-moz-read-write, object:-moz-read-write[usemap],
|
|
|
|
applet:-moz-read-write, hr:-moz-read-write, button:-moz-read-write,
|
2011-07-20 04:22:01 +04:00
|
|
|
select:-moz-read-write,
|
2009-03-16 14:55:03 +03:00
|
|
|
a:-moz-read-write:link img, a:-moz-read-write:visited img,
|
|
|
|
a:-moz-read-write:active img, a:-moz-read-write:-moz-only-whitespace[name] {
|
2007-06-28 02:29:45 +04:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2010-05-07 04:33:31 +04:00
|
|
|
*|*:-moz-any-link:-moz-read-write {
|
2007-06-28 02:29:45 +04:00
|
|
|
cursor: text;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Prevent clicking on links from going to link */
|
2009-03-16 14:55:03 +03:00
|
|
|
a:link:-moz-read-write img, a:visited:-moz-read-write img,
|
|
|
|
a:active:-moz-read-write img {
|
2007-06-28 02:29:45 +04:00
|
|
|
-moz-user-input: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* We suppress user/author's prefs for link underline,
|
|
|
|
so we must set explicitly. This isn't good!
|
|
|
|
*/
|
|
|
|
a:link:-moz-read-write {
|
|
|
|
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 */
|
2010-05-07 04:33:31 +04:00
|
|
|
*|*:-moz-read-write > input:-moz-read-only,
|
|
|
|
*|*:-moz-read-write > button:-moz-read-only,
|
|
|
|
*|*:-moz-read-write > textarea:-moz-read-only {
|
2007-06-28 02:29:45 +04:00
|
|
|
-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:-moz-read-write,
|
2010-09-19 05:43:15 +04:00
|
|
|
*|*:-moz-read-write > input:disabled,
|
2010-05-07 04:33:31 +04:00
|
|
|
*|*:-moz-read-write > input[type="checkbox"],
|
|
|
|
*|*:-moz-read-write > input[type="radio"],
|
|
|
|
*|*:-moz-read-write > input[type="file"],
|
2010-09-19 05:43:15 +04:00
|
|
|
input[contenteditable="true"]:disabled,
|
2007-06-28 02:29:45 +04:00
|
|
|
input[contenteditable="true"][type="checkbox"],
|
|
|
|
input[contenteditable="true"][type="radio"],
|
|
|
|
input[contenteditable="true"][type="file"] {
|
|
|
|
-moz-user-select: all !important;
|
|
|
|
-moz-user-input: none !important;
|
|
|
|
-moz-user-focus: none !important;
|
|
|
|
}
|
|
|
|
|
2007-07-24 02:02:57 +04:00
|
|
|
/* emulation of non-standard HTML <marquee> tag */
|
|
|
|
marquee:-moz-read-write {
|
|
|
|
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-horizontal-editable');
|
|
|
|
}
|
|
|
|
|
|
|
|
marquee[direction="up"]:-moz-read-write, marquee[direction="down"]:-moz-read-write {
|
|
|
|
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical-editable');
|
|
|
|
}
|
|
|
|
|
2010-05-07 04:33:31 +04:00
|
|
|
*|*:-moz-read-write > input[type="hidden"],
|
2007-06-28 02:29:45 +04:00
|
|
|
input[contenteditable="true"][type="hidden"] {
|
|
|
|
border: 1px solid black !important;
|
|
|
|
visibility: visible !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
label:-moz-read-write {
|
|
|
|
-moz-user-select: all !important;
|
|
|
|
}
|
|
|
|
|
2010-05-07 04:33:31 +04:00
|
|
|
*|*::-moz-display-comboboxcontrol-frame {
|
2007-06-28 02:29:45 +04:00
|
|
|
-moz-user-select: text !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
option:-moz-read-write {
|
|
|
|
-moz-user-select: text !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;
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/grabber.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
-moz-user-select: none;
|
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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;
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-add-column-before.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
-moz-user-select: none !important;
|
|
|
|
-moz-user-focus: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[\_moz_anonclass="mozTableAddColumnBefore"]:hover {
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-add-column-before-hover.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
a[\_moz_anonclass="mozTableAddColumnBefore"]:active {
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-add-column-before-active.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-add-column-after.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
-moz-user-select: none !important;
|
|
|
|
-moz-user-focus: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[\_moz_anonclass="mozTableAddColumnAfter"]:hover {
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-add-column-after-hover.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
a[\_moz_anonclass="mozTableAddColumnAfter"]:active {
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-add-column-after-active.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-remove-column.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
-moz-user-select: none !important;
|
|
|
|
-moz-user-focus: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[\_moz_anonclass="mozTableRemoveColumn"]:hover {
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-remove-column-hover.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
a[\_moz_anonclass="mozTableRemoveColumn"]:active {
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-remove-column-active.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-add-row-before.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
-moz-user-select: none !important;
|
|
|
|
-moz-user-focus: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[\_moz_anonclass="mozTableAddRowBefore"]:hover {
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-add-row-before-hover.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
a[\_moz_anonclass="mozTableAddRowBefore"]:active {
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-add-row-before-active.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-add-row-after.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
-moz-user-select: none !important;
|
|
|
|
-moz-user-focus: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[\_moz_anonclass="mozTableAddRowAfter"]:hover {
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-add-row-after-hover.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
a[\_moz_anonclass="mozTableAddRowAfter"]:active {
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-add-row-after-active.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-remove-row.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
-moz-user-select: none !important;
|
|
|
|
-moz-user-focus: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[\_moz_anonclass="mozTableRemoveRow"]:hover {
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-remove-row-hover.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
a[\_moz_anonclass="mozTableRemoveRow"]:active {
|
2007-10-31 21:51:49 +03:00
|
|
|
background-image: url("resource://gre/res/table-remove-row-active.gif");
|
2007-06-28 02:29:45 +04:00
|
|
|
}
|