| 1 | .jstEditor { |
|---|
| 2 | border-width : 0 1px 1px 1px; |
|---|
| 3 | border-style : solid; |
|---|
| 4 | border-color : #ddd; |
|---|
| 5 | background : #f7f7f7; |
|---|
| 6 | } |
|---|
| 7 | .jstEditor textarea, .jstEditor iframe { |
|---|
| 8 | -webkit-box-sizing: border-box; |
|---|
| 9 | -moz-box-sizing: border-box; |
|---|
| 10 | box-sizing: border-box; |
|---|
| 11 | margin: 0; |
|---|
| 12 | border: 1px solid #fbfbfb; |
|---|
| 13 | width: 100%; |
|---|
| 14 | padding: .5em 0 0 0; |
|---|
| 15 | min-height: 100px; |
|---|
| 16 | } |
|---|
| 17 | .jstHandle { |
|---|
| 18 | height: 8px; |
|---|
| 19 | background: #ccc url(?pf=dcLegacyEditor/css/jsToolBar/resize.png) no-repeat center center; |
|---|
| 20 | font-size: 0.1em; |
|---|
| 21 | cursor: s-resize; |
|---|
| 22 | border-color: #ccc #ccc #ccc #000; |
|---|
| 23 | border-width: 0 1px 1px 1px; |
|---|
| 24 | border-style: solid; |
|---|
| 25 | } |
|---|
| 26 | .jstEditor textarea:focus, .jstEditor iframe:focus { |
|---|
| 27 | border-color: #bee74b; |
|---|
| 28 | } |
|---|
| 29 | .jstElements { |
|---|
| 30 | -webkit-box-sizing: border-box; |
|---|
| 31 | -moz-box-sizing: border-box; |
|---|
| 32 | box-sizing: border-box; |
|---|
| 33 | padding: 0 32px 0 1rem; |
|---|
| 34 | border: 1px solid #dfdfdf; |
|---|
| 35 | overflow: hidden; |
|---|
| 36 | background: #f5f5f5; |
|---|
| 37 | border-radius: 4px 4px 0 0; |
|---|
| 38 | position: relative; |
|---|
| 39 | line-height: 30px; |
|---|
| 40 | } |
|---|
| 41 | .jstElements select, .jstElements button { |
|---|
| 42 | vertical-align: middle; |
|---|
| 43 | } |
|---|
| 44 | .jstElements select { |
|---|
| 45 | width: 12em; |
|---|
| 46 | margin-right: .6rem; |
|---|
| 47 | border: 1px solid #ddd; |
|---|
| 48 | } |
|---|
| 49 | .jstElements button { |
|---|
| 50 | width: 30px; |
|---|
| 51 | height: 28px; |
|---|
| 52 | border-style: solid; |
|---|
| 53 | border-width: 1px; |
|---|
| 54 | margin-left: 2px; |
|---|
| 55 | margin-bottom: 2px; |
|---|
| 56 | border-color: #e5e5e5 #ccc #ccc #e5e5e5; |
|---|
| 57 | background-color : #f7f7f7; |
|---|
| 58 | background-position : 50% 50%; |
|---|
| 59 | background-repeat: no-repeat; |
|---|
| 60 | background-size: inherit; |
|---|
| 61 | } |
|---|
| 62 | .jstElements button:hover, .jstElements button:focus { |
|---|
| 63 | border-color : #ddd; |
|---|
| 64 | background-color: #fff; |
|---|
| 65 | } |
|---|
| 66 | .jstElements button span { |
|---|
| 67 | display: none; |
|---|
| 68 | } |
|---|
| 69 | .jstElements span { |
|---|
| 70 | display : inline-block; |
|---|
| 71 | vertical-align: top; |
|---|
| 72 | } |
|---|
| 73 | span.jstSpacer { |
|---|
| 74 | width : 8px; |
|---|
| 75 | } |
|---|
| 76 | .jstSwitcher { |
|---|
| 77 | display: block; |
|---|
| 78 | list-style: none; |
|---|
| 79 | margin: 0; |
|---|
| 80 | padding: 0 0 5px 0; |
|---|
| 81 | background: #dfdfdf; |
|---|
| 82 | border-top: 1px solid #999; |
|---|
| 83 | } |
|---|
| 84 | .jstSwitcher li { |
|---|
| 85 | display: inline; |
|---|
| 86 | margin: 0 0 0 5px; |
|---|
| 87 | padding: 2px 8px; |
|---|
| 88 | } |
|---|
| 89 | .jstSwitcher li.jstSwitcherCurrent { |
|---|
| 90 | color: #fff; |
|---|
| 91 | background: #677374; |
|---|
| 92 | border-radius: 0 0 2px 2px; |
|---|
| 93 | } |
|---|
| 94 | .jstSwitcher a { |
|---|
| 95 | font-weight: normal; |
|---|
| 96 | border-bottom: none !important; |
|---|
| 97 | } |
|---|
| 98 | |
|---|
| 99 | /* Buttons |
|---|
| 100 | -------------------------------------------------------- */ |
|---|
| 101 | button.jstb_strong { |
|---|
| 102 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_strong.png); |
|---|
| 103 | } |
|---|
| 104 | button.jstb_em { |
|---|
| 105 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_em.png); |
|---|
| 106 | } |
|---|
| 107 | button.jstb_ins { |
|---|
| 108 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_ins.png); |
|---|
| 109 | } |
|---|
| 110 | button.jstb_del { |
|---|
| 111 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_del.png); |
|---|
| 112 | } |
|---|
| 113 | button.jstb_quote { |
|---|
| 114 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_quote.png); |
|---|
| 115 | } |
|---|
| 116 | button.jstb_code { |
|---|
| 117 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_code.png); |
|---|
| 118 | } |
|---|
| 119 | button.jstb_mark { |
|---|
| 120 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_mark.png); |
|---|
| 121 | } |
|---|
| 122 | button.jstb_paragraph { |
|---|
| 123 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_paragraph.png); |
|---|
| 124 | } |
|---|
| 125 | button.jstb_br { |
|---|
| 126 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_br.png); |
|---|
| 127 | } |
|---|
| 128 | button.jstb_blockquote { |
|---|
| 129 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_bquote.png); |
|---|
| 130 | } |
|---|
| 131 | button.jstb_pre { |
|---|
| 132 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_pre.png); |
|---|
| 133 | } |
|---|
| 134 | button.jstb_ul { |
|---|
| 135 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_ul.png); |
|---|
| 136 | } |
|---|
| 137 | button.jstb_ol { |
|---|
| 138 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_ol.png); |
|---|
| 139 | } |
|---|
| 140 | button.jstb_link { |
|---|
| 141 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_link.png); |
|---|
| 142 | } |
|---|
| 143 | button.jstb_img { |
|---|
| 144 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_img.png); |
|---|
| 145 | } |
|---|
| 146 | button.jstb_img_select { |
|---|
| 147 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_img_select.png); |
|---|
| 148 | } |
|---|
| 149 | button.jstb_post_link { |
|---|
| 150 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_post.png); |
|---|
| 151 | } |
|---|
| 152 | button.jstb_removeFormat { |
|---|
| 153 | background-color: #e5e5e5; |
|---|
| 154 | background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_clean.png); |
|---|
| 155 | position: absolute; |
|---|
| 156 | right: 2px; |
|---|
| 157 | top: 1px; |
|---|
| 158 | border-color: #ccc; |
|---|
| 159 | } |
|---|
| 160 | |
|---|
| 161 | /* WYSIWYG Iframe */ |
|---|
| 162 | .wysiwygIframe { |
|---|
| 163 | border-width : 1px; |
|---|
| 164 | border-style : solid; |
|---|
| 165 | border-color : #000 #ccc #ccc #000; |
|---|
| 166 | width : 100%; |
|---|
| 167 | } |
|---|
| 168 | |
|---|
| 169 | /* WYSIWYG Document */ |
|---|
| 170 | body.wysiwygDoc { |
|---|
| 171 | font: 12px "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif; |
|---|
| 172 | color : #000; |
|---|
| 173 | background: #f9f9f9; |
|---|
| 174 | margin: 0; |
|---|
| 175 | padding : 2px; |
|---|
| 176 | border: none; |
|---|
| 177 | } |
|---|
| 178 | .wysiwygDoc pre, .wysiwygDoc code, .wysiwygDoc kbd, .wysiwygDoc samp { |
|---|
| 179 | font-family:"Courier New",Courier,monospace; |
|---|
| 180 | font-size : 1.1em; |
|---|
| 181 | } |
|---|
| 182 | .wysiwygDoc code { |
|---|
| 183 | color : #666; |
|---|
| 184 | font-weight : bold; |
|---|
| 185 | } |
|---|
| 186 | body.wysiwygDoc > p:first-child { |
|---|
| 187 | margin-top: 0; |
|---|
| 188 | } |
|---|