[2] | 1 | /* |
---|
| 2 | * JG: edited to remove '!important' from rules so that embedded Galaxy items can have unique background colors. |
---|
| 3 | */ |
---|
| 4 | |
---|
| 5 | /* |
---|
| 6 | * WYMeditor : what you see is What You Mean web-based editor |
---|
| 7 | * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ |
---|
| 8 | * Dual licensed under the MIT (MIT-license.txt) |
---|
| 9 | * and GPL (GPL-license.txt) licenses. |
---|
| 10 | * |
---|
| 11 | * For further information visit: |
---|
| 12 | * http://www.wymeditor.org/ |
---|
| 13 | * |
---|
| 14 | * File Name: |
---|
| 15 | * wymeditor.css |
---|
| 16 | * Main editor css file. |
---|
| 17 | * See the documentation for more info. |
---|
| 18 | * |
---|
| 19 | * File Authors: |
---|
| 20 | * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) |
---|
| 21 | * Daniel Reszka (d.reszka a-t wymeditor dotorg) |
---|
| 22 | */ |
---|
| 23 | |
---|
| 24 | /* VISUAL FEEDBACK */ |
---|
| 25 | |
---|
| 26 | /* basic */ |
---|
| 27 | |
---|
| 28 | /* make HTML blocs visible */ |
---|
| 29 | p, |
---|
| 30 | h1, |
---|
| 31 | h2, |
---|
| 32 | h3, |
---|
| 33 | h4, |
---|
| 34 | h5, |
---|
| 35 | h6, |
---|
| 36 | ul, |
---|
| 37 | ol, |
---|
| 38 | table, |
---|
| 39 | blockquote, |
---|
| 40 | pre { background: #FFFFFF no-repeat 2px 2px; /* JG removed: !important */ |
---|
| 41 | padding:8px 5px 5px; /* JG removed: !important */ |
---|
| 42 | margin:10px} /* JG removed: !important */ |
---|
| 43 | td { background: #F0F4F8; } |
---|
| 44 | th { background: #ffffcc; } |
---|
| 45 | ul, |
---|
| 46 | ol { border-left:20px solid #B9C4D0; padding:0px 5px; } |
---|
| 47 | caption { background: #E4E4B0; padding: 5px; font-weight: bold; } |
---|
| 48 | table { font-size: 12px; min-width: 500px; border: none !important; border-collapse: separate !important } |
---|
| 49 | td { width: 25%; } |
---|
| 50 | blockquote { margin-left: 30px; } |
---|
| 51 | pre { background-color:transparent; border: 1px solid white; } |
---|
| 52 | |
---|
| 53 | /* Gecko min height fix */ |
---|
| 54 | p { min-height: 1em; } /*min-height is needed under Firefox, because empty parargraphs */ |
---|
| 55 | *+html p { min-height: auto; } /* but we have to remove it under IE7 because it triggers the 'haslayout' mode */ |
---|
| 56 | td { height: 1.6em; } |
---|
| 57 | |
---|
| 58 | /* labels */ |
---|
| 59 | /* JG commented out: |
---|
| 60 | p { background-image: url(lbl-p.png); } |
---|
| 61 | h1 { background-image: url(lbl-h1.png); } |
---|
| 62 | h2 { background-image: url(lbl-h2.png); } |
---|
| 63 | h3 { background-image: url(lbl-h3.png); } |
---|
| 64 | h4 { background-image: url(lbl-h4.png); } |
---|
| 65 | h5 { background-image: url(lbl-h5.png); } |
---|
| 66 | h6 { background-image: url(lbl-h6.png); } |
---|
| 67 | blockquote{ background-image: url(lbl-blockquote.png); } |
---|
| 68 | pre { background-image: url(lbl-pre.png); } |
---|
| 69 | */ |
---|
| 70 | |
---|
| 71 | /* specific HTML elements */ |
---|
| 72 | caption { text-align: left; } |
---|
| 73 | img { margin-right: 5px; |
---|
| 74 | border-style: solid; |
---|
| 75 | border-color: gray; |
---|
| 76 | border-width: 0; } |
---|
| 77 | a img { border-width: 1px; border-color: blue; } |
---|
| 78 | acronym { border: 1px solid gray; } |
---|
| 79 | span { background-color: #eef; } |
---|
| 80 | |
---|
| 81 | /* visual feedback for non-valid nesting of elements*/ |
---|
| 82 | h1 h1, h1 h2, h1 h3, h1 h4, h1 h5, h1 h6, h1 p, h1 pre, h1 address, |
---|
| 83 | h2 h1, h2 h2, h2 h3, h2 h4, h2 h5, h2 h6, h2 p, h2 pre, h2 address, |
---|
| 84 | h3 h1, h3 h2, h3 h3, h3 h4, h3 h5, h3 h6, h3 p, h3 pre, h3 address, |
---|
| 85 | h4 h1, h4 h2, h4 h3, h4 h4, h4 h5, h4 h6, h4 p, h4 pre, h4 address, |
---|
| 86 | h5 h1, h5 h2, h5 h3, h5 h4, h5 h5, h5 h6, h5 p, h5 pre, h5 address, |
---|
| 87 | h6 h1, h6 h2, h6 h3, h6 h4, h6 h4, h6 h6, h6 p, h6 pre, h6 address, |
---|
| 88 | p h1, p h2, p h3, p h4, p h5, p h6, p pre, p address, |
---|
| 89 | pre h1, pre h2, pre h3, pre h4, pre h5, pre h6, pre p, pre pre, pre address, |
---|
| 90 | address h1, address h2, address h3, address h4, address h5, address h6, |
---|
| 91 | address p, address pre, address address |
---|
| 92 | { background-color: #ff9999 !important; |
---|
| 93 | border: 1px solid red !important; |
---|
| 94 | font-size: 12px !important; |
---|
| 95 | font-weight: normal; } |
---|