1 | /* common */ |
---|
2 | .markItUp { |
---|
3 | display:inline-block; |
---|
4 | } |
---|
5 | .markItUp * { |
---|
6 | margin:0px; padding:0px; |
---|
7 | outline:none; |
---|
8 | } |
---|
9 | .markItUp a:link, |
---|
10 | .markItUp a:visited { |
---|
11 | color:#000; |
---|
12 | text-decoration:none; |
---|
13 | } |
---|
14 | .markItUp textarea { |
---|
15 | display:block; |
---|
16 | } |
---|
17 | .markItUpContainer { |
---|
18 | font:11px Verdana, Arial, Helvetica, sans-serif; |
---|
19 | } |
---|
20 | .markItUpEditor { |
---|
21 | font:12px 'Courier New', Courier, monospace; |
---|
22 | padding:5px; |
---|
23 | clear:both; |
---|
24 | overflow:auto; |
---|
25 | } |
---|
26 | .markItUpHeader ul:first-child { |
---|
27 | padding:2px; |
---|
28 | margin-bottom:2px; |
---|
29 | border-radius:2px; |
---|
30 | background:url('images/bg-header.png') repeat-x; |
---|
31 | } |
---|
32 | .markItUpFooter { |
---|
33 | display:none; |
---|
34 | } |
---|
35 | |
---|
36 | /* first row of buttons */ |
---|
37 | .markItUpHeader ul li { |
---|
38 | list-style:none; |
---|
39 | float:left; |
---|
40 | position:relative; |
---|
41 | margin:0; |
---|
42 | } |
---|
43 | .markItUpHeader ul li:hover > ul{ |
---|
44 | display:block; |
---|
45 | } |
---|
46 | .markItUpHeader ul .markItUpDropMenu { |
---|
47 | background:transparent url(images/menu.png) no-repeat 120% 100%; |
---|
48 | margin-right:5px; |
---|
49 | } |
---|
50 | /* next rows of buttons */ |
---|
51 | .markItUpHeader ul ul { |
---|
52 | display:none; |
---|
53 | position:absolute; |
---|
54 | top:22px; left:0px; |
---|
55 | background:#FFF; |
---|
56 | border:1px solid #444; |
---|
57 | border-radius:5px; |
---|
58 | } |
---|
59 | .markItUpHeader ul ul li { |
---|
60 | float:none; |
---|
61 | margin:0px; |
---|
62 | } |
---|
63 | .markItUpHeader ul .markItUpSize li { |
---|
64 | border-bottom:1px solid #444; |
---|
65 | border-radius:2px; |
---|
66 | } |
---|
67 | .markItUpHeader ul .markItUpSeparator { |
---|
68 | margin:2px 10px; |
---|
69 | width:1px; |
---|
70 | height:16px; |
---|
71 | overflow:hidden; |
---|
72 | background-color:#CCC; |
---|
73 | color:#ccc; |
---|
74 | } |
---|
75 | /* links */ |
---|
76 | .markItUpHeader ul a { |
---|
77 | display:block; |
---|
78 | width:16px; height:16px; |
---|
79 | text-indent:-10000px; |
---|
80 | background-position:center center; |
---|
81 | background-repeat:no-repeat; |
---|
82 | padding:2px; |
---|
83 | border:1px solid transparent; |
---|
84 | } |
---|
85 | .markItUpHeader ul a:hover { |
---|
86 | border-color:#08e; |
---|
87 | } |
---|
88 | .markItUpHeader ul ul a { |
---|
89 | display:block; |
---|
90 | text-indent:0; |
---|
91 | border:0; |
---|
92 | } |
---|
93 | .markItUpHeader ul .markItUpSize li a { |
---|
94 | width:90px; |
---|
95 | padding:2px 5px 2px 25px; |
---|
96 | background-position:2px 50%; |
---|
97 | } |
---|
98 | .markItUpHeader ul ul a:hover { |
---|
99 | } |
---|
100 | .markItUpHeader ul .markItUpSize li a:hover { |
---|
101 | color:#FFF; |
---|
102 | background-color:#000; |
---|
103 | } |
---|
104 | |
---|
105 | /* icons definitions */ |
---|
106 | .markItUp .markItUpBold a { |
---|
107 | background-image:url(images/bold.png); |
---|
108 | } |
---|
109 | .markItUp .markItUpItalic a { |
---|
110 | background-image:url(images/italic.png); |
---|
111 | } |
---|
112 | .markItUp .markItUpUnderline a { |
---|
113 | background-image:url(images/underline.png); |
---|
114 | } |
---|
115 | .markItUp .markItUpStroke a { |
---|
116 | background-image:url(images/stroke.png); |
---|
117 | } |
---|
118 | |
---|
119 | .markItUp .markItUpParagraph a { |
---|
120 | background-image:url(images/p.png); |
---|
121 | } |
---|
122 | .markItUp .markItUpCenter a { |
---|
123 | background-image:url(images/center.png); |
---|
124 | } |
---|
125 | .markItUp .markItUpRight a { |
---|
126 | background-image:url(images/right.png); |
---|
127 | } |
---|
128 | |
---|
129 | .markItUp .markItUpListUL a { |
---|
130 | background-image:url(images/list-bullet.png); |
---|
131 | } |
---|
132 | .markItUp .markItUpListOL a { |
---|
133 | background-image:url(images/list-numeric.png); |
---|
134 | } |
---|
135 | .markItUp .markItUpListLI a { |
---|
136 | background-image:url(images/list-item.png); |
---|
137 | } |
---|
138 | |
---|
139 | .markItUp .markItUpPicture a { |
---|
140 | background-image:url(images/picture.png); |
---|
141 | } |
---|
142 | .markItUp .markItUpLink a { |
---|
143 | background-image:url(images/link.png); |
---|
144 | } |
---|
145 | .markItUp .markItUpMail a { |
---|
146 | background-image:url(images/mail.png); |
---|
147 | } |
---|
148 | .markItUp .markItUpQuote a { |
---|
149 | background-image:url(images/quote.png); |
---|
150 | } |
---|
151 | |
---|
152 | .markItUp .markItUpSize a { |
---|
153 | background-image:url(images/fonts.png); |
---|
154 | } |
---|
155 | .markItUp .preview a { |
---|
156 | background-image:url(images/preview.png); |
---|
157 | } |
---|
158 | |
---|
159 | /* colors */ |
---|
160 | .markItUp .markItUpColors a { |
---|
161 | background-image:url(images/colors.png); |
---|
162 | } |
---|
163 | .markItUp .markItUpColors ul { |
---|
164 | width:81px; |
---|
165 | padding:1px; |
---|
166 | } |
---|
167 | .markItUp .markItUpColors li { |
---|
168 | border:1px solid white; |
---|
169 | width:25px; height:25px; |
---|
170 | overflow:hidden; |
---|
171 | padding:0px; margin:0px; |
---|
172 | float:left; |
---|
173 | border-radius:2px; |
---|
174 | } |
---|
175 | .markItUp .markItUpColors ul a { |
---|
176 | width:25px; height:25px; |
---|
177 | color:transparent; |
---|
178 | } |
---|
179 | .markItUp .markItUpColors li:hover { |
---|
180 | background-color:none; |
---|
181 | border:1px solid #08e; |
---|
182 | } |
---|
183 | |
---|
184 | .markItUp .markItUpColors .col1-1 a { background:yellow; } |
---|
185 | .markItUp .markItUpColors .col1-2 a { background:orange; } |
---|
186 | .markItUp .markItUpColors .col1-3 a { background:red; } |
---|
187 | |
---|
188 | .markItUp .markItUpColors .col2-1 a { background:blue; } |
---|
189 | .markItUp .markItUpColors .col2-2 a { background:purple; } |
---|
190 | .markItUp .markItUpColors .col2-3 a { background:green; } |
---|
191 | |
---|
192 | .markItUp .markItUpColors .col3-1 a { background:white; } |
---|
193 | .markItUp .markItUpColors .col3-2 a { background:gray; } |
---|
194 | .markItUp .markItUpColors .col3-3 a { background:black; } |
---|