lolita 3.3.5 → 3.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/lolita/PIE-custom.htc +87 -87
- data/app/assets/stylesheets/lolita/PIE.htc +81 -81
- data/app/assets/stylesheets/lolita/application.css +6 -6
- data/app/assets/stylesheets/lolita/default.css.erb +169 -169
- data/app/assets/stylesheets/lolita/jquery-ui-1.8.16.lolita.css.erb +567 -567
- data/app/controllers/lolita/info_controller.rb +4 -5
- data/app/helpers/components/lolita/configuration/list_component.rb +10 -10
- data/app/views/components/lolita/configuration/column/_first.html.haml +1 -1
- data/app/views/components/lolita/configuration/column/header/_first.html.haml +1 -1
- data/app/views/components/lolita/configuration/column/header/_sort.html.haml +6 -6
- data/app/views/components/lolita/configuration/columns/header/_display.html.haml +5 -5
- data/app/views/components/lolita/configuration/field/array/checkbox/_display.html.haml +7 -7
- data/app/views/components/lolita/configuration/search/_display.html.haml +2 -2
- data/app/views/kaminari/lolita/_first_page.html.erb +11 -11
- data/app/views/kaminari/lolita/_gap.html.erb +8 -8
- data/app/views/kaminari/lolita/_last_page.html.erb +11 -11
- data/app/views/kaminari/lolita/_next_page.html.erb +11 -11
- data/app/views/kaminari/lolita/_page.html.erb +12 -12
- data/app/views/kaminari/lolita/_paginator.html.erb +23 -23
- data/app/views/kaminari/lolita/_prev_page.html.erb +11 -11
- data/app/views/lolita/info/index.html.erb +232 -232
- data/lib/lolita/adapter/field_helper.rb +18 -18
- data/lib/lolita/configuration/field/big_decimal.rb +12 -12
- data/lib/lolita/configuration/field/boolean.rb +12 -12
- data/lib/lolita/configuration/field/date.rb +12 -12
- data/lib/lolita/configuration/field/hidden.rb +12 -12
- data/lib/lolita/configuration/field/integer.rb +11 -11
- data/lib/lolita/configuration/field/string.rb +16 -16
- data/lib/lolita/configuration/field/time.rb +13 -13
- data/lib/lolita/configuration/field_set.rb +25 -25
- data/lib/lolita/configuration/nested_form.rb +104 -104
- data/lib/lolita/configuration/search.rb +104 -104
- data/lib/lolita/dbi/base.rb +56 -56
- data/lib/lolita/hooks/named_hook.rb +125 -125
- data/lib/lolita/lazy_loader.rb +54 -54
- data/lib/lolita/navigation/tree.rb +132 -132
- data/lib/lolita/ruby_ext/accessors.rb +26 -26
- data/lib/lolita/search/simple.rb +75 -75
- data/lib/lolita/support/formatter/rails.rb +56 -56
- data/lib/lolita/support/formatter.rb +62 -62
- data/lib/lolita/test/matchers.rb +77 -77
- data/lib/lolita/version.rb +1 -1
- data/lib/lolita.rb +2 -2
- data/spec/builder_spec.rb +120 -120
- data/spec/rails_app/app/controllers/application_controller.rb +3 -3
- data/spec/rails_app/app/helpers/application_helper.rb +3 -3
- data/spec/rails_app/app/mongoid/address.rb +7 -7
- data/spec/rails_app/app/mongoid/comment.rb +5 -5
- data/spec/rails_app/app/mongoid/preference.rb +5 -5
- data/spec/rails_app/app/mongoid/profile.rb +13 -13
- data/spec/rails_app/app/mongoid/tag.rb +3 -3
- data/spec/rails_app/app/views/components/lolita/configuration/list/_body_cell.html.erb +1 -1
- data/spec/rails_app/config/environment.rb +5 -5
- data/spec/rails_app/config/environments/production.rb +37 -37
- data/spec/rails_app/config/environments/test.rb +37 -37
- data/spec/rails_app/config/initializers/backtrace_silencers.rb +7 -7
- data/spec/rails_app/config/initializers/inflections.rb +2 -2
- data/spec/rails_app/config/initializers/secret_token.rb +1 -1
- data/spec/rails_app/lib/lolita/configuration/field/my_custom_collection.rb +13 -13
- data/spec/rails_app/log/development.log +14313 -753
- data/spec/rails_app/public/javascripts/jquery-1.5.1.min.js +15 -15
- data/spec/rails_app/public/javascripts/lolita/main.js +6 -6
- data/spec/rails_app/public/javascripts/modernizr-1.7.min.js +1 -1
- data/spec/rails_app/public/javascripts/rails.js +137 -137
- data/spec/rails_app/public/javascripts/tinymce/langs/en.js +221 -221
- data/spec/rails_app/public/javascripts/tinymce/license.txt +504 -504
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/about.htm +52 -52
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/anchor.htm +26 -26
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/charmap.htm +51 -51
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/color_picker.htm +74 -74
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/editor_template_src.js +1328 -1328
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/image.htm +80 -80
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/about.js +73 -73
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/anchor.js +42 -42
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/charmap.js +354 -354
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/color_picker.js +329 -329
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/image.js +247 -247
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/link.js +153 -153
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/source_editor.js +56 -56
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/langs/en.js +68 -68
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/langs/en_dlg.js +53 -53
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/link.htm +57 -57
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/shortcuts.htm +47 -47
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/skins/cirkuit/content.css +66 -66
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/skins/cirkuit/dialog.css +117 -117
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/skins/cirkuit/ui.css +988 -988
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/source_editor.htm +25 -25
- data/spec/rails_app/public/javascripts/tinymce/tiny_mce_popup.js +4 -4
- data/spec/rails_app/public/stylesheets/lolita/default.css +169 -169
- data/spec/rails_app/public/stylesheets/lolita/style.css +214 -214
- data/vendor/assets/javascripts/jquery-numeric.js +279 -279
- data/vendor/assets/javascripts/modernizr_1_7_min.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/content.css +66 -66
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/dialog.css +117 -117
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/ui.css +988 -988
- data/vendor/assets/stylesheets/jquery-ui-1.8.16.custom.css +567 -567
- metadata +342 -349
- data/app/controllers/lolita/field_data_controller.rb~ +0 -45
- data/app/views/components/lolita/configuration/field/array/autocomplete/_display.html.haml~ +0 -16
- data/app/views/components/lolita/configuration/filter/_display.html.haml~ +0 -9
- data/lib/lolita/configuration/filter.rb~ +0 -122
- data/lib/lolita/version.rb~ +0 -30
- data/spec/configuration/filter_spec.rb~ +0 -167
@@ -1,25 +1,25 @@
|
|
1
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
2
|
-
<head>
|
3
|
-
<title>{#advanced_dlg.code_title}</title>
|
4
|
-
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
5
|
-
<script type="text/javascript" src="js/source_editor.js"></script>
|
6
|
-
</head>
|
7
|
-
<body onresize="resizeInputs();" style="display:none; overflow:hidden;">
|
8
|
-
<form name="source" onsubmit="saveContent();return false;" action="#">
|
9
|
-
<div style="float: left" class="title"><label for="htmlSource">{#advanced_dlg.code_title}</label></div>
|
10
|
-
|
11
|
-
<div id="wrapline" style="float: right">
|
12
|
-
<input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<br style="clear: both" />
|
16
|
-
|
17
|
-
<textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,monospace; font-size: 12px;" dir="ltr" wrap="off" class="mceFocus"></textarea>
|
18
|
-
|
19
|
-
<div class="mceActionPanel">
|
20
|
-
<input type="submit" role="button" name="insert" value="{#update}" id="insert" />
|
21
|
-
<input type="button" role="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
|
22
|
-
</div>
|
23
|
-
</form>
|
24
|
-
</body>
|
25
|
-
</html>
|
1
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
2
|
+
<head>
|
3
|
+
<title>{#advanced_dlg.code_title}</title>
|
4
|
+
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
5
|
+
<script type="text/javascript" src="js/source_editor.js"></script>
|
6
|
+
</head>
|
7
|
+
<body onresize="resizeInputs();" style="display:none; overflow:hidden;">
|
8
|
+
<form name="source" onsubmit="saveContent();return false;" action="#">
|
9
|
+
<div style="float: left" class="title"><label for="htmlSource">{#advanced_dlg.code_title}</label></div>
|
10
|
+
|
11
|
+
<div id="wrapline" style="float: right">
|
12
|
+
<input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<br style="clear: both" />
|
16
|
+
|
17
|
+
<textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,monospace; font-size: 12px;" dir="ltr" wrap="off" class="mceFocus"></textarea>
|
18
|
+
|
19
|
+
<div class="mceActionPanel">
|
20
|
+
<input type="submit" role="button" name="insert" value="{#update}" id="insert" />
|
21
|
+
<input type="button" role="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
|
22
|
+
</div>
|
23
|
+
</form>
|
24
|
+
</body>
|
25
|
+
</html>
|
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
// Uncomment and change this document.domain value if you are loading the script cross subdomains
|
3
|
-
// document.domain = 'moxiecode.com';
|
4
|
-
|
1
|
+
|
2
|
+
// Uncomment and change this document.domain value if you are loading the script cross subdomains
|
3
|
+
// document.domain = 'moxiecode.com';
|
4
|
+
|
5
5
|
var tinymce=null,tinyMCEPopup,tinyMCE;tinyMCEPopup={init:function(){var b=this,a,c;a=b.getWin();tinymce=a.tinymce;tinyMCE=a.tinyMCE;b.editor=tinymce.EditorManager.activeEditor;b.params=b.editor.windowManager.params;b.features=b.editor.windowManager.features;b.dom=b.editor.windowManager.createInstance("tinymce.dom.DOMUtils",document);if(b.features.popup_css!==false){b.dom.loadCSS(b.features.popup_css||b.editor.settings.popup_css)}b.listeners=[];b.onInit={add:function(e,d){b.listeners.push({func:e,scope:d})}};b.isWindow=!b.getWindowArg("mce_inline");b.id=b.getWindowArg("mce_window_id");b.editor.windowManager.onOpen.dispatch(b.editor.windowManager,window)},getWin:function(){return(!window.frameElement&&window.dialogArguments)||opener||parent||top},getWindowArg:function(c,b){var a=this.params[c];return tinymce.is(a)?a:b},getParam:function(b,a){return this.editor.getParam(b,a)},getLang:function(b,a){return this.editor.getLang(b,a)},execCommand:function(d,c,e,b){b=b||{};b.skip_focus=1;this.restoreSelection();return this.editor.execCommand(d,c,e,b)},resizeToInnerSize:function(){var a=this;setTimeout(function(){var b=a.dom.getViewPort(window);a.editor.windowManager.resizeBy(a.getWindowArg("mce_width")-b.w,a.getWindowArg("mce_height")-b.h,a.id||window)},10)},executeOnLoad:function(s){this.onInit.add(function(){eval(s)})},storeSelection:function(){this.editor.windowManager.bookmark=tinyMCEPopup.editor.selection.getBookmark(1)},restoreSelection:function(){var a=tinyMCEPopup;if(!a.isWindow&&tinymce.isIE){a.editor.selection.moveToBookmark(a.editor.windowManager.bookmark)}},requireLangPack:function(){var b=this,a=b.getWindowArg("plugin_url")||b.getWindowArg("theme_url");if(a&&b.editor.settings.language&&b.features.translate_i18n!==false&&b.editor.settings.language_load!==false){a+="/langs/"+b.editor.settings.language+"_dlg.js";if(!tinymce.ScriptLoader.isDone(a)){document.write('<script type="text/javascript" src="'+tinymce._addVer(a)+'"><\/script>');tinymce.ScriptLoader.markDone(a)}}},pickColor:function(b,a){this.execCommand("mceColorPicker",true,{color:document.getElementById(a).value,func:function(e){document.getElementById(a).value=e;try{document.getElementById(a).onchange()}catch(d){}}})},openBrowser:function(a,c,b){tinyMCEPopup.restoreSelection();this.editor.execCallback("file_browser_callback",a,document.getElementById(a).value,c,window)},confirm:function(b,a,c){this.editor.windowManager.confirm(b,a,c,window)},alert:function(b,a,c){this.editor.windowManager.alert(b,a,c,window)},close:function(){var a=this;function b(){a.editor.windowManager.close(window);tinymce=tinyMCE=a.editor=a.params=a.dom=a.dom.doc=null}if(tinymce.isOpera){a.getWin().setTimeout(b,0)}else{b()}},_restoreSelection:function(){var a=window.event.srcElement;if(a.nodeName=="INPUT"&&(a.type=="submit"||a.type=="button")){tinyMCEPopup.restoreSelection()}},_onDOMLoaded:function(){var b=tinyMCEPopup,d=document.title,e,c,a;if(b.domLoaded){return}b.domLoaded=1;if(b.features.translate_i18n!==false){c=document.body.innerHTML;if(tinymce.isIE){c=c.replace(/ (value|title|alt)=([^"][^\s>]+)/gi,' $1="$2"')}document.dir=b.editor.getParam("directionality","");if((a=b.editor.translate(c))&&a!=c){document.body.innerHTML=a}if((a=b.editor.translate(d))&&a!=d){document.title=d=a}}if(!b.editor.getParam("browser_preferred_colors",false)||!b.isWindow){b.dom.addClass(document.body,"forceColors")}document.body.style.display="";if(tinymce.isIE){document.attachEvent("onmouseup",tinyMCEPopup._restoreSelection);b.dom.add(b.dom.select("head")[0],"base",{target:"_self"})}b.restoreSelection();b.resizeToInnerSize();if(!b.isWindow){b.editor.windowManager.setTitle(window,d)}else{window.focus()}if(!tinymce.isIE&&!b.isWindow){tinymce.dom.Event._add(document,"focus",function(){b.editor.windowManager.focus(b.id)})}tinymce.each(b.dom.select("select"),function(f){f.onkeydown=tinyMCEPopup._accessHandler});tinymce.each(b.listeners,function(f){f.func.call(f.scope,b.editor)});if(b.getWindowArg("mce_auto_focus",true)){window.focus();tinymce.each(document.forms,function(g){tinymce.each(g.elements,function(f){if(b.dom.hasClass(f,"mceFocus")&&!f.disabled){f.focus();return false}})})}document.onkeyup=tinyMCEPopup._closeWinKeyHandler},_accessHandler:function(a){a=a||window.event;if(a.keyCode==13||a.keyCode==32){a=a.target||a.srcElement;if(a.onchange){a.onchange()}return tinymce.dom.Event.cancel(a)}},_closeWinKeyHandler:function(a){a=a||window.event;if(a.keyCode==27){tinyMCEPopup.close()}},_wait:function(){if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);tinyMCEPopup._onDOMLoaded()}});if(document.documentElement.doScroll&&window==window.top){(function(){if(tinyMCEPopup.domLoaded){return}try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}tinyMCEPopup._onDOMLoaded()})()}document.attachEvent("onload",tinyMCEPopup._onDOMLoaded)}else{if(document.addEventListener){window.addEventListener("DOMContentLoaded",tinyMCEPopup._onDOMLoaded,false);window.addEventListener("load",tinyMCEPopup._onDOMLoaded,false)}}}};tinyMCEPopup.init();tinyMCEPopup._wait();
|
@@ -1,169 +1,169 @@
|
|
1
|
-
html, body, div, span, object, iframe,
|
2
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
3
|
-
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
|
4
|
-
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
|
5
|
-
fieldset, form, label, legend,
|
6
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
7
|
-
article, aside, canvas, details, figcaption, figure,
|
8
|
-
footer, header, hgroup, menu, nav, section, summary,
|
9
|
-
time, mark, audio, video {
|
10
|
-
margin: 0;
|
11
|
-
padding: 0;
|
12
|
-
border: 0;
|
13
|
-
font-size: 100%;
|
14
|
-
font: inherit;
|
15
|
-
vertical-align: baseline;
|
16
|
-
}
|
17
|
-
|
18
|
-
article, aside, details, figcaption, figure,
|
19
|
-
footer, header, hgroup, menu, nav, section {
|
20
|
-
display: block;
|
21
|
-
}
|
22
|
-
|
23
|
-
blockquote, q { quotes: none; }
|
24
|
-
|
25
|
-
blockquote:before, blockquote:after,
|
26
|
-
q:before, q:after { content: ''; content: none; }
|
27
|
-
|
28
|
-
ins { background-color: #ff9; color: #000; text-decoration: none; }
|
29
|
-
|
30
|
-
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
|
31
|
-
|
32
|
-
del { text-decoration: line-through; }
|
33
|
-
|
34
|
-
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
|
35
|
-
|
36
|
-
table { border-collapse: collapse; border-spacing: 0; }
|
37
|
-
|
38
|
-
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
|
39
|
-
|
40
|
-
input, select { vertical-align: middle; }
|
41
|
-
|
42
|
-
body { font:13px/1.231 sans-serif; *font-size:small; }
|
43
|
-
select, input, textarea, button { font: 99% "Helvetica Neue", Arial, sans-serif; }
|
44
|
-
|
45
|
-
pre, code, kbd, samp { font-family: monospace, sans-serif; }
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
a:hover, a:active { outline: none; }
|
51
|
-
|
52
|
-
ul, ol { margin-left: 2em; }
|
53
|
-
ol { list-style-type: decimal; }
|
54
|
-
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
|
55
|
-
|
56
|
-
small { font-size: 85%; }
|
57
|
-
strong, th { font-weight: bold; }
|
58
|
-
|
59
|
-
td { vertical-align: top; }
|
60
|
-
|
61
|
-
sup { top: -0.5em; }
|
62
|
-
sub { bottom: -0.25em; }
|
63
|
-
|
64
|
-
pre {
|
65
|
-
white-space: pre; white-space: pre-wrap; word-wrap: break-word;
|
66
|
-
padding: 15px;
|
67
|
-
}
|
68
|
-
|
69
|
-
textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
|
70
|
-
|
71
|
-
.ie6 legend, .ie7 legend { margin-left: -7px; }
|
72
|
-
|
73
|
-
input[type="radio"] { vertical-align: text-bottom; }
|
74
|
-
input[type="checkbox"] { vertical-align: bottom; }
|
75
|
-
.ie7 input[type="checkbox"] { vertical-align: baseline; }
|
76
|
-
.ie6 input { vertical-align: text-bottom; }
|
77
|
-
|
78
|
-
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
|
79
|
-
|
80
|
-
button, input, select, textarea { margin: 0; }
|
81
|
-
|
82
|
-
input:valid, textarea:valid { }
|
83
|
-
input:invalid, textarea:invalid {
|
84
|
-
border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
|
85
|
-
}
|
86
|
-
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
|
87
|
-
|
88
|
-
|
89
|
-
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
|
90
|
-
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
|
91
|
-
|
92
|
-
a:link { -webkit-tap-highlight-color: #FF5E99; }
|
93
|
-
|
94
|
-
button { width: auto; overflow: visible; }
|
95
|
-
|
96
|
-
.ie7 img { -ms-interpolation-mode: bicubic; }
|
97
|
-
|
98
|
-
body, select, input, textarea {
|
99
|
-
color: #444;
|
100
|
-
font-family: "Helvetica Neue", Arial, sans-serif;
|
101
|
-
}
|
102
|
-
|
103
|
-
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
|
104
|
-
|
105
|
-
|
106
|
-
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
|
107
|
-
.hidden { display: none; visibility: hidden; }
|
108
|
-
|
109
|
-
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
|
110
|
-
.visuallyhidden.focusable:active,
|
111
|
-
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
|
112
|
-
.invisible { visibility: hidden; }
|
113
|
-
|
114
|
-
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
|
115
|
-
.clearfix:after { clear: both; }
|
116
|
-
.clearfix { zoom: 1; }
|
117
|
-
|
118
|
-
|
119
|
-
button::-moz-focus-inner {
|
120
|
-
border: 0;
|
121
|
-
}
|
122
|
-
|
123
|
-
|
124
|
-
/**
|
125
|
-
* Media queries for responsive design.
|
126
|
-
*
|
127
|
-
* These follow after primary styles so they will successfully override.
|
128
|
-
*/
|
129
|
-
|
130
|
-
@media all and (orientation:portrait) {
|
131
|
-
/* Style adjustments for portrait mode goes here */
|
132
|
-
|
133
|
-
}
|
134
|
-
|
135
|
-
@media all and (orientation:landscape) {
|
136
|
-
/* Style adjustments for landscape mode goes here */
|
137
|
-
|
138
|
-
}
|
139
|
-
|
140
|
-
/* Grade-A Mobile Browsers (Opera Mobile, Mobile Safari, Android Chrome)
|
141
|
-
consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
|
142
|
-
@media screen and (max-device-width: 480px) {
|
143
|
-
|
144
|
-
|
145
|
-
/* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you: j.mp/textsizeadjust */
|
146
|
-
/* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
|
147
|
-
}
|
148
|
-
|
149
|
-
|
150
|
-
/**
|
151
|
-
* Print styles.
|
152
|
-
*
|
153
|
-
* Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
|
154
|
-
*/
|
155
|
-
@media print {
|
156
|
-
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
|
157
|
-
-ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
|
158
|
-
a, a:visited { color: #444 !important; text-decoration: underline; }
|
159
|
-
a[href]:after { content: " (" attr(href) ")"; }
|
160
|
-
abbr[title]:after { content: " (" attr(title) ")"; }
|
161
|
-
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
|
162
|
-
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
163
|
-
thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
|
164
|
-
tr, img { page-break-inside: avoid; }
|
165
|
-
@page { margin: 0.5cm; }
|
166
|
-
p, h2, h3 { orphans: 3; widows: 3; }
|
167
|
-
h2, h3{ page-break-after: avoid; }
|
168
|
-
}
|
169
|
-
|
1
|
+
html, body, div, span, object, iframe,
|
2
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
3
|
+
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
|
4
|
+
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
|
5
|
+
fieldset, form, label, legend,
|
6
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
7
|
+
article, aside, canvas, details, figcaption, figure,
|
8
|
+
footer, header, hgroup, menu, nav, section, summary,
|
9
|
+
time, mark, audio, video {
|
10
|
+
margin: 0;
|
11
|
+
padding: 0;
|
12
|
+
border: 0;
|
13
|
+
font-size: 100%;
|
14
|
+
font: inherit;
|
15
|
+
vertical-align: baseline;
|
16
|
+
}
|
17
|
+
|
18
|
+
article, aside, details, figcaption, figure,
|
19
|
+
footer, header, hgroup, menu, nav, section {
|
20
|
+
display: block;
|
21
|
+
}
|
22
|
+
|
23
|
+
blockquote, q { quotes: none; }
|
24
|
+
|
25
|
+
blockquote:before, blockquote:after,
|
26
|
+
q:before, q:after { content: ''; content: none; }
|
27
|
+
|
28
|
+
ins { background-color: #ff9; color: #000; text-decoration: none; }
|
29
|
+
|
30
|
+
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
|
31
|
+
|
32
|
+
del { text-decoration: line-through; }
|
33
|
+
|
34
|
+
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
|
35
|
+
|
36
|
+
table { border-collapse: collapse; border-spacing: 0; }
|
37
|
+
|
38
|
+
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
|
39
|
+
|
40
|
+
input, select { vertical-align: middle; }
|
41
|
+
|
42
|
+
body { font:13px/1.231 sans-serif; *font-size:small; }
|
43
|
+
select, input, textarea, button { font: 99% "Helvetica Neue", Arial, sans-serif; }
|
44
|
+
|
45
|
+
pre, code, kbd, samp { font-family: monospace, sans-serif; }
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
a:hover, a:active { outline: none; }
|
51
|
+
|
52
|
+
ul, ol { margin-left: 2em; }
|
53
|
+
ol { list-style-type: decimal; }
|
54
|
+
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
|
55
|
+
|
56
|
+
small { font-size: 85%; }
|
57
|
+
strong, th { font-weight: bold; }
|
58
|
+
|
59
|
+
td { vertical-align: top; }
|
60
|
+
|
61
|
+
sup { top: -0.5em; }
|
62
|
+
sub { bottom: -0.25em; }
|
63
|
+
|
64
|
+
pre {
|
65
|
+
white-space: pre; white-space: pre-wrap; word-wrap: break-word;
|
66
|
+
padding: 15px;
|
67
|
+
}
|
68
|
+
|
69
|
+
textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
|
70
|
+
|
71
|
+
.ie6 legend, .ie7 legend { margin-left: -7px; }
|
72
|
+
|
73
|
+
input[type="radio"] { vertical-align: text-bottom; }
|
74
|
+
input[type="checkbox"] { vertical-align: bottom; }
|
75
|
+
.ie7 input[type="checkbox"] { vertical-align: baseline; }
|
76
|
+
.ie6 input { vertical-align: text-bottom; }
|
77
|
+
|
78
|
+
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
|
79
|
+
|
80
|
+
button, input, select, textarea { margin: 0; }
|
81
|
+
|
82
|
+
input:valid, textarea:valid { }
|
83
|
+
input:invalid, textarea:invalid {
|
84
|
+
border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
|
85
|
+
}
|
86
|
+
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
|
87
|
+
|
88
|
+
|
89
|
+
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
|
90
|
+
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
|
91
|
+
|
92
|
+
a:link { -webkit-tap-highlight-color: #FF5E99; }
|
93
|
+
|
94
|
+
button { width: auto; overflow: visible; }
|
95
|
+
|
96
|
+
.ie7 img { -ms-interpolation-mode: bicubic; }
|
97
|
+
|
98
|
+
body, select, input, textarea {
|
99
|
+
color: #444;
|
100
|
+
font-family: "Helvetica Neue", Arial, sans-serif;
|
101
|
+
}
|
102
|
+
|
103
|
+
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
|
104
|
+
|
105
|
+
|
106
|
+
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
|
107
|
+
.hidden { display: none; visibility: hidden; }
|
108
|
+
|
109
|
+
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
|
110
|
+
.visuallyhidden.focusable:active,
|
111
|
+
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
|
112
|
+
.invisible { visibility: hidden; }
|
113
|
+
|
114
|
+
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
|
115
|
+
.clearfix:after { clear: both; }
|
116
|
+
.clearfix { zoom: 1; }
|
117
|
+
|
118
|
+
|
119
|
+
button::-moz-focus-inner {
|
120
|
+
border: 0;
|
121
|
+
}
|
122
|
+
|
123
|
+
|
124
|
+
/**
|
125
|
+
* Media queries for responsive design.
|
126
|
+
*
|
127
|
+
* These follow after primary styles so they will successfully override.
|
128
|
+
*/
|
129
|
+
|
130
|
+
@media all and (orientation:portrait) {
|
131
|
+
/* Style adjustments for portrait mode goes here */
|
132
|
+
|
133
|
+
}
|
134
|
+
|
135
|
+
@media all and (orientation:landscape) {
|
136
|
+
/* Style adjustments for landscape mode goes here */
|
137
|
+
|
138
|
+
}
|
139
|
+
|
140
|
+
/* Grade-A Mobile Browsers (Opera Mobile, Mobile Safari, Android Chrome)
|
141
|
+
consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
|
142
|
+
@media screen and (max-device-width: 480px) {
|
143
|
+
|
144
|
+
|
145
|
+
/* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you: j.mp/textsizeadjust */
|
146
|
+
/* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
|
147
|
+
}
|
148
|
+
|
149
|
+
|
150
|
+
/**
|
151
|
+
* Print styles.
|
152
|
+
*
|
153
|
+
* Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
|
154
|
+
*/
|
155
|
+
@media print {
|
156
|
+
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
|
157
|
+
-ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
|
158
|
+
a, a:visited { color: #444 !important; text-decoration: underline; }
|
159
|
+
a[href]:after { content: " (" attr(href) ")"; }
|
160
|
+
abbr[title]:after { content: " (" attr(title) ")"; }
|
161
|
+
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
|
162
|
+
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
163
|
+
thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
|
164
|
+
tr, img { page-break-inside: avoid; }
|
165
|
+
@page { margin: 0.5cm; }
|
166
|
+
p, h2, h3 { orphans: 3; widows: 3; }
|
167
|
+
h2, h3{ page-break-after: avoid; }
|
168
|
+
}
|
169
|
+
|