active_administration 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +2 -1
- data/active_administration.gemspec +2 -1
- data/app/assets/javascripts/active_administration/README.md +0 -0
- data/app/assets/javascripts/active_administration/metro-accordion.js +70 -0
- data/app/assets/javascripts/active_administration/metro-button-set.js +88 -0
- data/app/assets/javascripts/active_administration/metro-calendar.js +437 -0
- data/app/assets/javascripts/active_administration/metro-carousel.js +304 -0
- data/app/assets/javascripts/active_administration/metro-core.js +39 -0
- data/app/assets/javascripts/active_administration/metro-countdown.js +200 -0
- data/app/assets/javascripts/active_administration/metro-date-format.js +137 -0
- data/app/assets/javascripts/active_administration/metro-datepicker.js +138 -0
- data/app/assets/javascripts/active_administration/metro-dialog.js +221 -0
- data/app/assets/javascripts/active_administration/metro-drag-tile.js +46 -0
- data/app/assets/javascripts/active_administration/metro-dropdown.js +112 -0
- data/app/assets/javascripts/active_administration/metro-fluentmenu.js +57 -0
- data/app/assets/javascripts/active_administration/metro-global.js +4 -0
- data/app/assets/javascripts/active_administration/metro-hint.js +104 -0
- data/app/assets/javascripts/active_administration/metro-initiator.js +271 -0
- data/app/assets/javascripts/active_administration/metro-input-control.js +318 -0
- data/app/assets/javascripts/active_administration/metro-listview.js +53 -0
- data/app/assets/javascripts/active_administration/metro-live-tile.js +162 -0
- data/app/assets/javascripts/active_administration/metro-loader.js +46 -0
- data/app/assets/javascripts/active_administration/metro-locale.js +132 -0
- data/app/assets/javascripts/active_administration/metro-notify.js +120 -0
- data/app/assets/javascripts/active_administration/metro-panel.js +41 -0
- data/app/assets/javascripts/active_administration/metro-plugin-template.js +21 -0
- data/app/assets/javascripts/active_administration/metro-progressbar.js +97 -0
- data/app/assets/javascripts/active_administration/metro-pull.js +38 -0
- data/app/assets/javascripts/active_administration/metro-rating.js +99 -0
- data/app/assets/javascripts/active_administration/metro-scroll.js +756 -0
- data/app/assets/javascripts/active_administration/metro-slider.js +304 -0
- data/app/assets/javascripts/active_administration/metro-stepper.js +105 -0
- data/app/assets/javascripts/active_administration/metro-streamer.js +214 -0
- data/app/assets/javascripts/active_administration/metro-tab-control.js +96 -0
- data/app/assets/javascripts/active_administration/metro-table.js +74 -0
- data/app/assets/javascripts/active_administration/metro-tile-transform.js +65 -0
- data/app/assets/javascripts/active_administration/metro-times.js +190 -0
- data/app/assets/javascripts/active_administration/metro-touch-handler.js +65 -0
- data/app/assets/javascripts/active_administration/metro-treeview.js +64 -0
- data/app/assets/javascripts/active_administration/metro-wizard.js +148 -0
- data/app/assets/stylesheets/active_administration/accordion.less +64 -0
- data/app/assets/stylesheets/active_administration/balloon.less +88 -0
- data/app/assets/stylesheets/active_administration/breadcrumbs.less +118 -0
- data/app/assets/stylesheets/active_administration/buttons.less +383 -0
- data/app/assets/stylesheets/active_administration/calendar.less +123 -0
- data/app/assets/stylesheets/active_administration/carousel.less +118 -0
- data/app/assets/stylesheets/active_administration/colors.less +589 -0
- data/app/assets/stylesheets/active_administration/countdown.less +57 -0
- data/app/assets/stylesheets/active_administration/dataTables.less +134 -0
- data/app/assets/stylesheets/active_administration/fluent-menu.less +231 -0
- data/app/assets/stylesheets/active_administration/forms.less +414 -0
- data/app/assets/stylesheets/active_administration/funcs.less +178 -0
- data/app/assets/stylesheets/active_administration/grid.less +91 -0
- data/app/assets/stylesheets/active_administration/hint.less +120 -0
- data/app/assets/stylesheets/active_administration/iconFont-content.less +1353 -0
- data/app/assets/stylesheets/active_administration/iconFont.less +47 -0
- data/app/assets/stylesheets/active_administration/icons.less +10 -0
- data/app/assets/stylesheets/active_administration/images.less +75 -0
- data/app/assets/stylesheets/active_administration/layout.less +137 -0
- data/app/assets/stylesheets/active_administration/lists.less +258 -0
- data/app/assets/stylesheets/active_administration/menus.less +469 -0
- data/app/assets/stylesheets/active_administration/metro-bootstrap-responsive.less +300 -0
- data/app/assets/stylesheets/active_administration/metro-bootstrap.less +68 -0
- data/app/assets/stylesheets/active_administration/misc.less +72 -0
- data/app/assets/stylesheets/active_administration/navigation-bar.less +317 -0
- data/app/assets/stylesheets/active_administration/notice.less +52 -0
- data/app/assets/stylesheets/active_administration/notify.less +43 -0
- data/app/assets/stylesheets/active_administration/pagination.less +83 -0
- data/app/assets/stylesheets/active_administration/panels.less +38 -0
- data/app/assets/stylesheets/active_administration/progress-bar.less +25 -0
- data/app/assets/stylesheets/active_administration/rating.less +103 -0
- data/app/assets/stylesheets/active_administration/reset.less +219 -0
- data/app/assets/stylesheets/active_administration/scroll.less +141 -0
- data/app/assets/stylesheets/active_administration/sidebar.less +158 -0
- data/app/assets/stylesheets/active_administration/slider.less +106 -0
- data/app/assets/stylesheets/active_administration/stepper.less +80 -0
- data/app/assets/stylesheets/active_administration/streamer.less +250 -0
- data/app/assets/stylesheets/active_administration/tab-control.less +79 -0
- data/app/assets/stylesheets/active_administration/tables.less +170 -0
- data/app/assets/stylesheets/active_administration/tiles.less +599 -0
- data/app/assets/stylesheets/active_administration/transform.less +23 -0
- data/app/assets/stylesheets/active_administration/treeview.less +96 -0
- data/app/assets/stylesheets/active_administration/typography.less +382 -0
- data/app/assets/stylesheets/active_administration/utils.less +180 -0
- data/app/assets/stylesheets/active_administration/variables.less +250 -0
- data/app/assets/stylesheets/active_administration/window.less +225 -0
- data/app/assets/stylesheets/active_administration/wizard.less +53 -0
- data/lib/active_admin/version.rb +1 -1
- metadata +103 -10
@@ -0,0 +1,52 @@
|
|
1
|
+
|
2
|
+
.notice {
|
3
|
+
display: block;
|
4
|
+
min-width: 200px;
|
5
|
+
height: auto;
|
6
|
+
position: relative;
|
7
|
+
background-color: @lightBlue;
|
8
|
+
padding: 20px;
|
9
|
+
|
10
|
+
* {
|
11
|
+
color: inherit;
|
12
|
+
}
|
13
|
+
|
14
|
+
&:before {
|
15
|
+
content: "";
|
16
|
+
width: 10px;
|
17
|
+
height: 10px;
|
18
|
+
display: block;
|
19
|
+
position: absolute;
|
20
|
+
background-color: inherit;
|
21
|
+
left: -5px;
|
22
|
+
top: 50%;
|
23
|
+
margin-top: -5px;
|
24
|
+
.rotate(45deg);
|
25
|
+
}
|
26
|
+
|
27
|
+
&.marker-on-top {
|
28
|
+
&:before {
|
29
|
+
top: 0;
|
30
|
+
left: 50%;
|
31
|
+
margin-left: -5px;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
&.marker-on-right {
|
36
|
+
&:before {
|
37
|
+
top: 50%;
|
38
|
+
margin-top: -5px;
|
39
|
+
left: 100%;
|
40
|
+
margin-left: -5px;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
&.marker-on-bottom {
|
45
|
+
&:before {
|
46
|
+
top: 100%;
|
47
|
+
margin-left: -5px;
|
48
|
+
left: 50%;
|
49
|
+
margin-top: -5px;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
|
2
|
+
&.notify-container {
|
3
|
+
position: fixed;
|
4
|
+
right: 0;
|
5
|
+
top: 0;
|
6
|
+
//bottom: 0;
|
7
|
+
z-index: @zindexCharms;
|
8
|
+
//border: 1px #000 dotted;
|
9
|
+
//background-color: @dark;
|
10
|
+
|
11
|
+
.notify {
|
12
|
+
background-color: @white;
|
13
|
+
//border: 1px @grayLight solid;
|
14
|
+
display: block;
|
15
|
+
position: relative;
|
16
|
+
min-width: 220px;
|
17
|
+
#font > .segoe;
|
18
|
+
color: @dark;
|
19
|
+
padding: 10px;
|
20
|
+
margin: 2px 2px 2px 0;
|
21
|
+
|
22
|
+
.caption {
|
23
|
+
font-size: 18px;
|
24
|
+
line-height: 20px;
|
25
|
+
margin-bottom: 5px;
|
26
|
+
}
|
27
|
+
.content {
|
28
|
+
font-size: 14px;
|
29
|
+
line-height: 16px;
|
30
|
+
}
|
31
|
+
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.notify-wrapper {
|
36
|
+
position: relative;
|
37
|
+
background-color: @dark;
|
38
|
+
width: auto;
|
39
|
+
height: auto;
|
40
|
+
min-width: 250px;
|
41
|
+
color: @white;
|
42
|
+
|
43
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
.pagination {
|
2
|
+
width: auto;
|
3
|
+
margin-bottom: 10px;
|
4
|
+
|
5
|
+
& > ul {
|
6
|
+
.unstyled;
|
7
|
+
margin: 0;
|
8
|
+
.clearfix;
|
9
|
+
|
10
|
+
li {
|
11
|
+
display: block;
|
12
|
+
float: left;
|
13
|
+
margin-right: 1px;
|
14
|
+
position: relative;
|
15
|
+
|
16
|
+
a {
|
17
|
+
.button;
|
18
|
+
color: inherit;
|
19
|
+
display: block;
|
20
|
+
float: left;
|
21
|
+
margin-right: 1px;
|
22
|
+
}
|
23
|
+
|
24
|
+
&.first, &.prev, &.next, &.last {
|
25
|
+
a {
|
26
|
+
//font-size: 20pt;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
&.active {
|
31
|
+
a {
|
32
|
+
background-color: @lightBlue ;
|
33
|
+
color: @white;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
&.disabled, &.spaces {
|
37
|
+
a {
|
38
|
+
background-color: darken(@white, 5%);
|
39
|
+
color: #1e1e1e;
|
40
|
+
cursor: not-allowed;
|
41
|
+
|
42
|
+
&:active {
|
43
|
+
top: 0;
|
44
|
+
left: 0;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
&.disabled {
|
49
|
+
a {
|
50
|
+
color: #1e1e1e;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
&.spaces {
|
55
|
+
a {
|
56
|
+
background-color: @white;
|
57
|
+
cursor: default;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
&.small {
|
64
|
+
ul {
|
65
|
+
li {
|
66
|
+
a {
|
67
|
+
padding: 2px 10px;
|
68
|
+
font-size: 11.9px;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
&.mini {
|
74
|
+
ul {
|
75
|
+
li {
|
76
|
+
a {
|
77
|
+
padding: 0px 6px;
|
78
|
+
font-size: 10.5px;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
.panel {
|
2
|
+
.border;
|
3
|
+
.panel-header {
|
4
|
+
padding: 10px;
|
5
|
+
background-color: @grayLighter;
|
6
|
+
width: 100%;
|
7
|
+
.subheader-secondary;
|
8
|
+
color: @dark;
|
9
|
+
cursor: default;
|
10
|
+
}
|
11
|
+
.panel-content {
|
12
|
+
width: 100%;
|
13
|
+
height: auto;
|
14
|
+
padding: 10px;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
[data-role=panel] {
|
19
|
+
.panel-header {
|
20
|
+
cursor: pointer;
|
21
|
+
&:after {
|
22
|
+
font-family: @sysIconFontName;
|
23
|
+
content: "\e000";
|
24
|
+
float: right;
|
25
|
+
color: inherit;
|
26
|
+
.rotate(180deg);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
&.collapsed {
|
31
|
+
.panel-header {
|
32
|
+
&:after {
|
33
|
+
content: "\e000";
|
34
|
+
.rotate(90deg);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
.progress-bar {
|
2
|
+
display: block;
|
3
|
+
position: relative;
|
4
|
+
height: 10px;
|
5
|
+
width: 100%;
|
6
|
+
margin-bottom: 10px;
|
7
|
+
background-color: @grayLighter;
|
8
|
+
.clearfix;
|
9
|
+
|
10
|
+
.bar {
|
11
|
+
position: relative;
|
12
|
+
display: block;
|
13
|
+
float: left;
|
14
|
+
width: 0;
|
15
|
+
background-color: @cyan;
|
16
|
+
height: 100%;
|
17
|
+
}
|
18
|
+
|
19
|
+
&.small {
|
20
|
+
height: 5px;
|
21
|
+
}
|
22
|
+
&.large {
|
23
|
+
height: 15px;
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,103 @@
|
|
1
|
+
.rating {
|
2
|
+
color: #2784a7;
|
3
|
+
cursor: pointer;
|
4
|
+
display: block;
|
5
|
+
width: auto;
|
6
|
+
margin: 0 10px 10px 0;
|
7
|
+
height: @ratingSize;
|
8
|
+
.clearfix;
|
9
|
+
|
10
|
+
ul {
|
11
|
+
list-style: none;
|
12
|
+
color: inherit;
|
13
|
+
display: block;
|
14
|
+
margin: 0;
|
15
|
+
padding: 0;
|
16
|
+
margin-bottom: 5px;
|
17
|
+
.clearfix;
|
18
|
+
|
19
|
+
li {
|
20
|
+
display: block;
|
21
|
+
float: left;
|
22
|
+
position: relative;
|
23
|
+
font-family: @sysIconFontName;
|
24
|
+
font-size: @ratingSize;
|
25
|
+
line-height: @ratingSize;
|
26
|
+
color: inherit;
|
27
|
+
|
28
|
+
&:before {
|
29
|
+
content: @ratingNo;
|
30
|
+
}
|
31
|
+
|
32
|
+
&.rated {
|
33
|
+
&:before {
|
34
|
+
content: @ratingRated;
|
35
|
+
}
|
36
|
+
&.half {
|
37
|
+
&:before {
|
38
|
+
content: @ratingHalf;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
&.half {
|
44
|
+
&:before {
|
45
|
+
content: @ratingHalf;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
.score-hint {
|
51
|
+
display: block;
|
52
|
+
font-size: 12px;
|
53
|
+
color: @dark;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.rating.active {
|
58
|
+
ul {
|
59
|
+
&:hover > li:before {
|
60
|
+
content: @ratingRated;
|
61
|
+
}
|
62
|
+
|
63
|
+
li {
|
64
|
+
&:hover ~ li {
|
65
|
+
&:before {
|
66
|
+
content: @ratingNo !important;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
&:hover {
|
71
|
+
&:before {
|
72
|
+
content: @ratingRated !important;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
.rating {
|
81
|
+
&.small {
|
82
|
+
li {
|
83
|
+
font-size: @ratingSize / 1.5;
|
84
|
+
line-height: @ratingSize / 1.5;
|
85
|
+
}
|
86
|
+
|
87
|
+
.score-hint {
|
88
|
+
margin-top: -5px;
|
89
|
+
font-size: 12px;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
&.large {
|
94
|
+
li {
|
95
|
+
font-size: @ratingSize * 1.5;
|
96
|
+
}
|
97
|
+
|
98
|
+
.score-hint {
|
99
|
+
margin-top: 10px;
|
100
|
+
font-size: 16px;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
@@ -0,0 +1,219 @@
|
|
1
|
+
html {
|
2
|
+
font-size: 62.5%;
|
3
|
+
}
|
4
|
+
|
5
|
+
body {
|
6
|
+
font-size: 1.4rem;
|
7
|
+
}
|
8
|
+
|
9
|
+
html, body {
|
10
|
+
padding: 0;
|
11
|
+
margin: 0;
|
12
|
+
height: 100%;
|
13
|
+
}
|
14
|
+
|
15
|
+
html, body, * {
|
16
|
+
-webkit-box-sizing: border-box;
|
17
|
+
-moz-box-sizing: border-box;
|
18
|
+
-ms-box-sizing: border-box;
|
19
|
+
-o-box-sizing: border-box;
|
20
|
+
box-sizing: border-box;
|
21
|
+
}
|
22
|
+
|
23
|
+
article,
|
24
|
+
aside,
|
25
|
+
details,
|
26
|
+
figcaption,
|
27
|
+
figure,
|
28
|
+
footer,
|
29
|
+
header,
|
30
|
+
hgroup,
|
31
|
+
nav,
|
32
|
+
section {
|
33
|
+
display: block;
|
34
|
+
}
|
35
|
+
|
36
|
+
audio,
|
37
|
+
canvas,
|
38
|
+
video {
|
39
|
+
display: inline-block;
|
40
|
+
}
|
41
|
+
|
42
|
+
audio:not([controls]) {
|
43
|
+
display: none;
|
44
|
+
}
|
45
|
+
|
46
|
+
html {
|
47
|
+
// -webkit-text-size-adjust: 100%;
|
48
|
+
// -ms-text-size-adjust: 100%;
|
49
|
+
}
|
50
|
+
|
51
|
+
a:hover,
|
52
|
+
a:active,
|
53
|
+
.tile:active {
|
54
|
+
outline: 0;
|
55
|
+
}
|
56
|
+
|
57
|
+
sub,
|
58
|
+
sup {
|
59
|
+
position: relative;
|
60
|
+
font-size: 75%;
|
61
|
+
line-height: 0;
|
62
|
+
vertical-align: baseline;
|
63
|
+
}
|
64
|
+
sup {
|
65
|
+
top: -0.5em;
|
66
|
+
}
|
67
|
+
sub {
|
68
|
+
bottom: -0.25em;
|
69
|
+
}
|
70
|
+
|
71
|
+
img {
|
72
|
+
max-width: 100%;
|
73
|
+
height: auto;
|
74
|
+
|
75
|
+
vertical-align: middle;
|
76
|
+
border: 0;
|
77
|
+
-ms-interpolation-mode: bicubic;
|
78
|
+
}
|
79
|
+
|
80
|
+
#map_canvas img,
|
81
|
+
.google-maps img {
|
82
|
+
max-width: none;
|
83
|
+
}
|
84
|
+
|
85
|
+
button,
|
86
|
+
input,
|
87
|
+
select,
|
88
|
+
textarea {
|
89
|
+
margin: 0;
|
90
|
+
font-size: 100%;
|
91
|
+
vertical-align: middle;
|
92
|
+
}
|
93
|
+
|
94
|
+
button,
|
95
|
+
input {
|
96
|
+
line-height: normal;
|
97
|
+
}
|
98
|
+
|
99
|
+
button::-moz-focus-inner,
|
100
|
+
input::-moz-focus-inner {
|
101
|
+
padding: 0;
|
102
|
+
border: 0;
|
103
|
+
}
|
104
|
+
|
105
|
+
button,
|
106
|
+
html input[type="button"],
|
107
|
+
input[type="reset"],
|
108
|
+
input[type="submit"] {
|
109
|
+
-webkit-appearance: button;
|
110
|
+
cursor: pointer;
|
111
|
+
}
|
112
|
+
label,
|
113
|
+
select,
|
114
|
+
button,
|
115
|
+
input[type="button"],
|
116
|
+
input[type="reset"],
|
117
|
+
input[type="submit"],
|
118
|
+
input[type="radio"],
|
119
|
+
input[type="checkbox"] {
|
120
|
+
cursor: pointer;
|
121
|
+
}
|
122
|
+
input[type="search"] {
|
123
|
+
-webkit-appearance: textfield;
|
124
|
+
-webkit-box-sizing: content-box;
|
125
|
+
-moz-box-sizing: content-box;
|
126
|
+
-ms-box-sizing: content-box;
|
127
|
+
-o-box-sizing: content-box;
|
128
|
+
box-sizing: content-box;
|
129
|
+
}
|
130
|
+
input[type="search"]::-webkit-search-decoration,
|
131
|
+
input[type="search"]::-webkit-search-cancel-button {
|
132
|
+
-webkit-appearance: none;
|
133
|
+
}
|
134
|
+
textarea {
|
135
|
+
overflow: auto;
|
136
|
+
vertical-align: top;
|
137
|
+
}
|
138
|
+
|
139
|
+
input[type=text]::-ms-clear,
|
140
|
+
input[type=email]::-ms-clear,
|
141
|
+
input[type=url]::-ms-clear,
|
142
|
+
input[type=tel]::-ms-clear,
|
143
|
+
input[type=number]::-ms-clear,
|
144
|
+
input[type=time]::-ms-clear {
|
145
|
+
display: none;
|
146
|
+
}
|
147
|
+
|
148
|
+
input[type=password]::-ms-reveal {
|
149
|
+
display: none;
|
150
|
+
}
|
151
|
+
|
152
|
+
* {
|
153
|
+
border-collapse: collapse;
|
154
|
+
}
|
155
|
+
|
156
|
+
a {
|
157
|
+
text-decoration: none;
|
158
|
+
}
|
159
|
+
|
160
|
+
@media print {
|
161
|
+
* {
|
162
|
+
text-shadow: none !important;
|
163
|
+
color: #000 !important;
|
164
|
+
background: transparent !important;
|
165
|
+
box-shadow: none !important;
|
166
|
+
}
|
167
|
+
|
168
|
+
a,
|
169
|
+
a:visited {
|
170
|
+
text-decoration: underline;
|
171
|
+
}
|
172
|
+
|
173
|
+
a[href]:after {
|
174
|
+
content: " (" attr(href) ")";
|
175
|
+
}
|
176
|
+
|
177
|
+
abbr[title]:after {
|
178
|
+
content: " (" attr(title) ")";
|
179
|
+
}
|
180
|
+
|
181
|
+
.ir a:after,
|
182
|
+
a[href^="javascript:"]:after,
|
183
|
+
a[href^="#"]:after {
|
184
|
+
content: "";
|
185
|
+
}
|
186
|
+
|
187
|
+
pre,
|
188
|
+
blockquote {
|
189
|
+
border: 1px solid #999;
|
190
|
+
page-break-inside: avoid;
|
191
|
+
}
|
192
|
+
|
193
|
+
thead {
|
194
|
+
display: table-header-group;
|
195
|
+
}
|
196
|
+
|
197
|
+
tr,
|
198
|
+
img {
|
199
|
+
page-break-inside: avoid;
|
200
|
+
}
|
201
|
+
|
202
|
+
img {
|
203
|
+
max-width: 100% !important;
|
204
|
+
}
|
205
|
+
|
206
|
+
//@page {margin: 0.5cm;}
|
207
|
+
|
208
|
+
p,
|
209
|
+
h2,
|
210
|
+
h3 {
|
211
|
+
orphans: 3;
|
212
|
+
widows: 3;
|
213
|
+
}
|
214
|
+
|
215
|
+
h2,
|
216
|
+
h3 {
|
217
|
+
page-break-after: avoid;
|
218
|
+
}
|
219
|
+
}
|