Some stylesheets for elements in edit mode

svn path=/trunk/aspeditor/; revision=49624
This commit is contained in:
Blagovest Dachev 2005-09-07 10:02:43 +00:00
Родитель 14fd626f38
Коммит 8e2830769c
1 изменённых файлов: 80 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,80 @@
/*
* editorContent.css - Some styles rules for elements in edit mode
* Original Code:
* Daniel Glazman <glazman@netscape.com>
*
* Contributor(s):
* Blagovest Dachev <blago@dachev.com>
*
* This sourcecode is licenced under The MIT License:
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to permit
* persons to whom the Software is furnished to do so, subject to the
* following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
* NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
* USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
@import url(chrome://communicator/skin/smileys.css);
a[name] {
min-height: 17px; margin-left: 2px; margin-top: 2px;
padding-left: 20px;
background-image: url(chrome://editor/content/images/tag-anchor.gif);
background-repeat: no-repeat;
background-position: top left;
}
/* Force border display for empty cells
and tables with 0 border
*/
table {
empty-cells: show;
}
/* give a red dotted border to tables and cells with no border
otherwise they are invisible
*/
table[empty-cells],
table[border="0"],
/* next two selectors on line below for the case where tbody is omitted */
table[border="0"] > tr > td, table[border="0"] > tr > th,
table[border="0"] > thead > tr > td, table[border="0"] > tbody > tr > td, table[border="0"] > tfoot > tr > td,
table[border="0"] > thead > tr > th, table[border="0"] > tbody > tr > th, table[border="0"] > tfoot > tr > th,
table:not([border]),
/* next two selectors on line below for the case where tbody is omitted */
table:not([border]) > tr > td, table:not([border]) > tr > th,
table:not([border]) > thead > tr > td, table:not([border]) > tbody > tr > td, table:not([border]) > tfoot > tr > td,
table:not([border]) > thead > tr > th, table:not([border]) > tbody > tr > th, table:not([border]) > tfoot > tr > th
{
border: 1px dotted red;
}
/* give a green dashed border to forms otherwise they are invisible
*/
form
{
border: 2px dashed green;
}
/* give a green dotted border to labels otherwise they are invisible
*/
label
{
border: 1px dotted green;
}
img {
-moz-force-broken-image-icon: 1;
}