annotate static/js/tiny_mce/themes/simple/skins/default/ui.css @ 973:6f55c086db1e
Guess file extension based on content-type.
When downloading a file, and no path is supplied to store it, guess the file
extension using mimetypes and the content-type header.
Also supply a unit test for the HotLinkImageForm.
author |
Brian Neal <bgneal@gmail.com> |
date |
Thu, 01 Oct 2015 19:44:45 -0500 |
parents |
88b2b9cb8c1f |
children |
|
rev |
line source |
bgneal@312
|
1 /* Reset */
|
bgneal@312
|
2 .defaultSimpleSkin table, .defaultSimpleSkin tbody, .defaultSimpleSkin a, .defaultSimpleSkin img, .defaultSimpleSkin tr, .defaultSimpleSkin div, .defaultSimpleSkin td, .defaultSimpleSkin iframe, .defaultSimpleSkin span, .defaultSimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000}
|
bgneal@312
|
3
|
bgneal@312
|
4 /* Containers */
|
bgneal@312
|
5 .defaultSimpleSkin {position:relative}
|
bgneal@312
|
6 .defaultSimpleSkin table.mceLayout {background:#F0F0EE; border:1px solid #CCC;}
|
bgneal@312
|
7 .defaultSimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #CCC;}
|
bgneal@312
|
8 .defaultSimpleSkin .mceToolbar {height:24px;}
|
bgneal@312
|
9
|
bgneal@312
|
10 /* Layout */
|
bgneal@312
|
11 .defaultSimpleSkin span.mceIcon, .defaultSimpleSkin img.mceIcon {display:block; width:20px; height:20px}
|
bgneal@312
|
12 .defaultSimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px}
|
bgneal@312
|
13
|
bgneal@312
|
14 /* Button */
|
bgneal@312
|
15 .defaultSimpleSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px}
|
bgneal@312
|
16 .defaultSimpleSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0}
|
bgneal@312
|
17 .defaultSimpleSkin a.mceButtonActive {border:1px solid #0A246A; background-color:#C2CBE0}
|
bgneal@312
|
18 .defaultSimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
|
bgneal@312
|
19
|
bgneal@312
|
20 /* Separator */
|
bgneal@312
|
21 .defaultSimpleSkin .mceSeparator {display:block; background:url(../../img/icons.gif) -180px 0; width:2px; height:20px; margin:0 2px 0 4px}
|
bgneal@312
|
22
|
bgneal@312
|
23 /* Theme */
|
bgneal@312
|
24 .defaultSimpleSkin span.mce_bold {background-position:0 0}
|
bgneal@312
|
25 .defaultSimpleSkin span.mce_italic {background-position:-60px 0}
|
bgneal@312
|
26 .defaultSimpleSkin span.mce_underline {background-position:-140px 0}
|
bgneal@312
|
27 .defaultSimpleSkin span.mce_strikethrough {background-position:-120px 0}
|
bgneal@312
|
28 .defaultSimpleSkin span.mce_undo {background-position:-160px 0}
|
bgneal@312
|
29 .defaultSimpleSkin span.mce_redo {background-position:-100px 0}
|
bgneal@312
|
30 .defaultSimpleSkin span.mce_cleanup {background-position:-40px 0}
|
bgneal@312
|
31 .defaultSimpleSkin span.mce_insertunorderedlist {background-position:-20px 0}
|
bgneal@312
|
32 .defaultSimpleSkin span.mce_insertorderedlist {background-position:-80px 0}
|