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(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 | } |
---|
61 | .jstElements button:hover, .jstElements button:focus { |
---|
62 | border-color : #ddd; |
---|
63 | background-color: #fff; |
---|
64 | } |
---|
65 | .jstElements button span { |
---|
66 | display: none; |
---|
67 | } |
---|
68 | .jstElements span { |
---|
69 | display : inline-block; |
---|
70 | vertical-align: top; |
---|
71 | } |
---|
72 | span.jstSpacer { |
---|
73 | width : 8px; |
---|
74 | } |
---|
75 | .jstSwitcher { |
---|
76 | display: block; |
---|
77 | list-style: none; |
---|
78 | margin: 0; |
---|
79 | padding: 0 0 5px 0; |
---|
80 | background: #dfdfdf; |
---|
81 | border-top: 1px solid #999; |
---|
82 | } |
---|
83 | .jstSwitcher li { |
---|
84 | display: inline; |
---|
85 | margin: 0 0 0 5px; |
---|
86 | padding: 2px 8px; |
---|
87 | } |
---|
88 | .jstSwitcher li.jstSwitcherCurrent { |
---|
89 | color: #fff; |
---|
90 | background: #677374; |
---|
91 | border-radius: 0 0 2px 2px; |
---|
92 | } |
---|
93 | .jstSwitcher a { |
---|
94 | font-weight: normal; |
---|
95 | border-bottom: none !important; |
---|
96 | } |
---|
97 | |
---|
98 | /* Buttons |
---|
99 | -------------------------------------------------------- */ |
---|
100 | button.jstb_strong { |
---|
101 | background-image: url(bt_strong.png); |
---|
102 | } |
---|
103 | button.jstb_em { |
---|
104 | background-image: url(bt_em.png); |
---|
105 | } |
---|
106 | button.jstb_ins { |
---|
107 | background-image: url(bt_ins.png); |
---|
108 | } |
---|
109 | button.jstb_del { |
---|
110 | background-image: url(bt_del.png); |
---|
111 | } |
---|
112 | button.jstb_quote { |
---|
113 | background-image: url(bt_quote.png); |
---|
114 | } |
---|
115 | button.jstb_code { |
---|
116 | background-image: url(bt_code.png); |
---|
117 | } |
---|
118 | button.jstb_paragraph { |
---|
119 | background-image: url(bt_paragraph.png); |
---|
120 | } |
---|
121 | button.jstb_br { |
---|
122 | background-image: url(bt_br.png); |
---|
123 | } |
---|
124 | button.jstb_blockquote { |
---|
125 | background-image: url(bt_bquote.png); |
---|
126 | } |
---|
127 | button.jstb_pre { |
---|
128 | background-image: url(bt_pre.png); |
---|
129 | } |
---|
130 | button.jstb_ul { |
---|
131 | background-image: url(bt_ul.png); |
---|
132 | } |
---|
133 | button.jstb_ol { |
---|
134 | background-image: url(bt_ol.png); |
---|
135 | } |
---|
136 | button.jstb_link { |
---|
137 | background-image: url(bt_link.png); |
---|
138 | } |
---|
139 | button.jstb_img { |
---|
140 | background-image: url(bt_img.png); |
---|
141 | } |
---|
142 | button.jstb_img_select { |
---|
143 | background-image: url(bt_img_select.png); |
---|
144 | } |
---|
145 | button.jstb_post_link { |
---|
146 | background-image: url(bt_post.png); |
---|
147 | } |
---|
148 | button.jstb_removeFormat { |
---|
149 | background-color: #e5e5e5; |
---|
150 | background-image: url(bt_clean.png); |
---|
151 | position: absolute; |
---|
152 | right: 2px; |
---|
153 | top: 1px; |
---|
154 | border-color: #ccc; |
---|
155 | } |
---|
156 | |
---|
157 | /* WYSIWYG Iframe */ |
---|
158 | .wysiwygIframe { |
---|
159 | border-width : 1px; |
---|
160 | border-style : solid; |
---|
161 | border-color : #000 #ccc #ccc #000; |
---|
162 | width : 100%; |
---|
163 | } |
---|
164 | |
---|
165 | /* WYSIWYG Document */ |
---|
166 | body.wysiwygDoc { |
---|
167 | font: 12px "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif; |
---|
168 | color : #000; |
---|
169 | background: #f9f9f9; |
---|
170 | margin: 0; |
---|
171 | padding : 2px; |
---|
172 | border: none; |
---|
173 | } |
---|
174 | .wysiwygDoc pre, .wysiwygDoc code, .wysiwygDoc kbd, .wysiwygDoc samp { |
---|
175 | font-family:"Courier New",Courier,monospace; |
---|
176 | font-size : 1.1em; |
---|
177 | } |
---|
178 | .wysiwygDoc code { |
---|
179 | color : #666; |
---|
180 | font-weight : bold; |
---|
181 | } |
---|
182 | body.wysiwygDoc > p:first-child { |
---|
183 | margin-top: 0; |
---|
184 | } |
---|