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,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: #AE91EB; color:#fff; text-shadow: none; }
|
90
|
-
::selection { background:#AE91EB; 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: #AE91EB; color:#fff; text-shadow: none; }
|
90
|
+
::selection { background:#AE91EB; 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
|
+
|