on-standards-rails 1.5.1.1 → 2.0.0.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -3
- data/lib/on-standards-rails.rb +0 -3
- data/lib/on/standards/rails/version.rb +1 -1
- data/on-standards-rails.gemspec +1 -4
- data/vendor/assets/javascripts/on-standards.js +17552 -18
- data/vendor/assets/stylesheets/on-standards.scss +67 -0
- data/vendor/assets/stylesheets/on-standards/_alert.scss +65 -0
- data/vendor/assets/stylesheets/on-standards/_animation.scss +27 -0
- data/vendor/assets/stylesheets/on-standards/_baseline.scss +351 -0
- data/vendor/assets/stylesheets/on-standards/_block-grid.scss +501 -0
- data/vendor/assets/stylesheets/on-standards/_breadcrumb.scss +23 -0
- data/vendor/assets/stylesheets/on-standards/_button-group.scss +293 -0
- data/vendor/assets/stylesheets/on-standards/_buttons.scss +241 -0
- data/vendor/assets/stylesheets/on-standards/_card.scss +292 -0
- data/vendor/assets/stylesheets/on-standards/_carousel.scss +252 -0
- data/vendor/assets/stylesheets/on-standards/_close.scss +27 -0
- data/vendor/assets/stylesheets/on-standards/_code.scss +58 -0
- data/vendor/assets/stylesheets/on-standards/_colors.scss +85 -0
- data/vendor/assets/stylesheets/on-standards/_custom-forms.scss +226 -0
- data/vendor/assets/stylesheets/on-standards/_dropdown.scss +193 -0
- data/vendor/assets/stylesheets/on-standards/_forms.scss +489 -0
- data/vendor/assets/stylesheets/on-standards/_functions.scss +19 -0
- data/vendor/assets/stylesheets/on-standards/_grid.scss +76 -0
- data/vendor/assets/stylesheets/on-standards/_images.scss +53 -0
- data/vendor/assets/stylesheets/on-standards/_input-group.scss +194 -0
- data/vendor/assets/stylesheets/on-standards/_jumbotron.scss +20 -0
- data/vendor/assets/stylesheets/on-standards/_list-group.scss +140 -0
- data/vendor/assets/stylesheets/on-standards/_media.scss +90 -0
- data/vendor/assets/stylesheets/on-standards/_mixins.scss +56 -0
- data/vendor/assets/stylesheets/on-standards/_modal.scss +143 -0
- data/vendor/assets/stylesheets/on-standards/_nav.scss +162 -0
- data/vendor/assets/stylesheets/on-standards/_navbar.scss +230 -0
- data/vendor/assets/stylesheets/on-standards/_normalize.scss +417 -0
- data/vendor/assets/stylesheets/on-standards/_off-canvas.scss +201 -0
- data/vendor/assets/stylesheets/on-standards/_pager.scss +57 -0
- data/vendor/assets/stylesheets/on-standards/_pagination.scss +73 -0
- data/vendor/assets/stylesheets/on-standards/_popover.scss +140 -0
- data/vendor/assets/stylesheets/on-standards/_print.scss +88 -0
- data/vendor/assets/stylesheets/on-standards/_progress.scss +156 -0
- data/vendor/assets/stylesheets/on-standards/_responsive-embed.scss +39 -0
- data/vendor/assets/stylesheets/on-standards/_tables.scss +193 -0
- data/vendor/assets/stylesheets/on-standards/_tags.scss +94 -0
- data/vendor/assets/stylesheets/on-standards/_tooltip.scss +85 -0
- data/vendor/assets/stylesheets/on-standards/_utilities-background.scss +19 -0
- data/vendor/assets/stylesheets/on-standards/_utilities-responsive.scss +49 -0
- data/vendor/assets/stylesheets/on-standards/_utilities-spacing.scss +39 -0
- data/vendor/assets/stylesheets/on-standards/_utilities.scss +93 -0
- data/vendor/assets/stylesheets/on-standards/_variables.scss +727 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_alert.scss +18 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_background-variant.scss +13 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_border-radius.scss +35 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_breakpoints.scss +86 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_buttons.scss +157 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_cards.scss +38 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_center-block.scss +7 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_clearfix.scss +7 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_forms.scss +89 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_gradients.scss +43 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_grid-framework.scss +44 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_grid.scss +75 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_hover.scss +59 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_image.scss +34 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_list-group.scss +30 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_lists.scss +7 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_modernizr.scss +11 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_nav-divider.scss +10 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_navbar-align.scss +9 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_pagination.scss +22 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_progress.scss +18 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_pulls.scss +6 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_reset-filter.scss +8 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_reset-text.scss +18 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_resize.scss +6 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_screen-reader.scss +32 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_size.scss +6 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_tab-focus.scss +5 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_table-row.scss +30 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_tag.scss +30 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_text-emphasis.scss +12 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_text-hide.scss +8 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_text-truncate.scss +8 -0
- data/vendor/assets/stylesheets/on-standards/modules/_type.scss +171 -0
- metadata +83 -58
- data/vendor/assets/javascripts/on-standards/vendor/chosen.jquery.min.js +0 -2
- data/vendor/assets/javascripts/on-standards/vendor/jquery.tooltipster.min.js +0 -1
- data/vendor/assets/javascripts/on-standards/vendor/sweet-alert.min.js +0 -1
- data/vendor/assets/stylesheets/foundation_and_overrides.scss +0 -1450
- data/vendor/assets/stylesheets/on-overrides.sass +0 -0
- data/vendor/assets/stylesheets/on-standards.sass +0 -7
- data/vendor/assets/stylesheets/on-standards/church_to_church.sass +0 -1323
- data/vendor/assets/stylesheets/on-standards/vendor/chosen.min.css +0 -3
- data/vendor/assets/stylesheets/on-standards/vendor/sweet-alert.scss +0 -429
- data/vendor/assets/stylesheets/on-standards/vendor/tooltipster.css +0 -274
@@ -0,0 +1,88 @@
|
|
1
|
+
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
|
2
|
+
|
3
|
+
// ==========================================================================
|
4
|
+
// Print styles.
|
5
|
+
// Inlined to avoid the additional HTTP request: h5bp.com/r
|
6
|
+
// ==========================================================================
|
7
|
+
|
8
|
+
@media print {
|
9
|
+
*,
|
10
|
+
*::before,
|
11
|
+
*::after {
|
12
|
+
text-shadow: none !important;
|
13
|
+
box-shadow: none !important;
|
14
|
+
}
|
15
|
+
|
16
|
+
a,
|
17
|
+
a:visited {
|
18
|
+
text-decoration: underline;
|
19
|
+
}
|
20
|
+
|
21
|
+
abbr[title]::after {
|
22
|
+
content: " (" attr(title) ")";
|
23
|
+
}
|
24
|
+
|
25
|
+
pre,
|
26
|
+
blockquote {
|
27
|
+
border: $border-width solid #999;
|
28
|
+
page-break-inside: avoid;
|
29
|
+
}
|
30
|
+
|
31
|
+
thead {
|
32
|
+
display: table-header-group; // h5bp.com/t
|
33
|
+
}
|
34
|
+
|
35
|
+
tr,
|
36
|
+
img {
|
37
|
+
page-break-inside: avoid;
|
38
|
+
}
|
39
|
+
|
40
|
+
img {
|
41
|
+
max-width: 100% !important;
|
42
|
+
}
|
43
|
+
|
44
|
+
p,
|
45
|
+
h2,
|
46
|
+
h3 {
|
47
|
+
orphans: 3;
|
48
|
+
widows: 3;
|
49
|
+
}
|
50
|
+
|
51
|
+
h2,
|
52
|
+
h3 {
|
53
|
+
page-break-after: avoid;
|
54
|
+
}
|
55
|
+
|
56
|
+
// Bootstrap specific changes start
|
57
|
+
|
58
|
+
// Bootstrap components
|
59
|
+
.navbar {
|
60
|
+
display: none;
|
61
|
+
}
|
62
|
+
.button,
|
63
|
+
.dropup > .button {
|
64
|
+
> .caret {
|
65
|
+
border-top-color: #000 !important;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
.label {
|
69
|
+
border: $border-width solid #000;
|
70
|
+
}
|
71
|
+
|
72
|
+
.table {
|
73
|
+
border-collapse: collapse !important;
|
74
|
+
|
75
|
+
td,
|
76
|
+
th {
|
77
|
+
background-color: #fff !important;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
.table-bordered {
|
81
|
+
th,
|
82
|
+
td {
|
83
|
+
border: 1px solid #ddd !important;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
// Bootstrap specific changes end
|
88
|
+
}
|
@@ -0,0 +1,156 @@
|
|
1
|
+
//
|
2
|
+
// Progress animations
|
3
|
+
//
|
4
|
+
|
5
|
+
@keyframes progress-bar-stripes {
|
6
|
+
from { background-position: $spacer-y 0; }
|
7
|
+
to { background-position: 0 0; }
|
8
|
+
}
|
9
|
+
|
10
|
+
|
11
|
+
//
|
12
|
+
// Basic progress bar
|
13
|
+
//
|
14
|
+
|
15
|
+
.progress {
|
16
|
+
display: block;
|
17
|
+
width: 100%;
|
18
|
+
height: $spacer-y; // todo: make a new var for this
|
19
|
+
margin-bottom: $spacer-y;
|
20
|
+
}
|
21
|
+
.progress[value] {
|
22
|
+
// IE10 uses `color` to set the bar background-color
|
23
|
+
color: #0074d9;
|
24
|
+
// Remove Firefox and Opera border
|
25
|
+
border: 0;
|
26
|
+
// Reset the default appearance
|
27
|
+
appearance: none;
|
28
|
+
}
|
29
|
+
.progress[value]::-webkit-progress-bar {
|
30
|
+
background-color: #eee;
|
31
|
+
@include border-radius($border-radius);
|
32
|
+
@include box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1));
|
33
|
+
}
|
34
|
+
.progress[value]::-webkit-progress-value::before {
|
35
|
+
content: attr(value);
|
36
|
+
}
|
37
|
+
.progress[value]::-webkit-progress-value {
|
38
|
+
background-color: #0074d9;
|
39
|
+
border-top-left-radius: $border-radius;
|
40
|
+
border-bottom-left-radius: $border-radius;
|
41
|
+
}
|
42
|
+
.progress[value="100"]::-webkit-progress-value {
|
43
|
+
border-top-right-radius: $border-radius;
|
44
|
+
border-bottom-right-radius: $border-radius;
|
45
|
+
}
|
46
|
+
|
47
|
+
// Firefox styles must be entirely separate or it busts Webkit styles.
|
48
|
+
//
|
49
|
+
// Commented out for now because linter.
|
50
|
+
//
|
51
|
+
// $-moz-document url-prefix() {
|
52
|
+
// .progress[value] {
|
53
|
+
// background-color: #eee;
|
54
|
+
// .border-radius($border-radius);
|
55
|
+
// .box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1));
|
56
|
+
// }
|
57
|
+
// .progress[value]::-moz-progress-bar {
|
58
|
+
// background-color: #0074d9;
|
59
|
+
// border-top-left-radius: $border-radius;
|
60
|
+
// border-bottom-left-radius: $border-radius;
|
61
|
+
// }
|
62
|
+
// .progress[value="0"]::-moz-progress-bar {
|
63
|
+
// color: $gray-50;
|
64
|
+
// min-width: 2rem;
|
65
|
+
// background-color: transparent;
|
66
|
+
// background-image: none;
|
67
|
+
// }
|
68
|
+
// .progress[value="100"]::-moz-progress-bar {
|
69
|
+
// border-top-right-radius: $border-radius;
|
70
|
+
// border-bottom-right-radius: $border-radius;
|
71
|
+
// }
|
72
|
+
// }
|
73
|
+
|
74
|
+
// IE9 hacks to accompany custom markup. We don't need to scope this via media queries, but I feel better doing it anyway.
|
75
|
+
@media screen and (min-width:0\0) {
|
76
|
+
.progress {
|
77
|
+
background-color: #eee;
|
78
|
+
@include border-radius($border-radius);
|
79
|
+
@include box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1));
|
80
|
+
}
|
81
|
+
.progress-bar {
|
82
|
+
display: inline-block;
|
83
|
+
height: $spacer-y;
|
84
|
+
text-indent: -999rem; // Simulate hiding of value as in native `<progress>`
|
85
|
+
background-color: #0074d9;
|
86
|
+
border-top-left-radius: $border-radius;
|
87
|
+
border-bottom-left-radius: $border-radius;
|
88
|
+
}
|
89
|
+
.progress[width^="0"] {
|
90
|
+
min-width: 2rem;
|
91
|
+
color: $gray-50;
|
92
|
+
background-color: transparent;
|
93
|
+
background-image: none;
|
94
|
+
}
|
95
|
+
.progress[width="100%"] {
|
96
|
+
border-top-right-radius: $border-radius;
|
97
|
+
border-bottom-right-radius: $border-radius;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
//
|
103
|
+
// Striped
|
104
|
+
//
|
105
|
+
|
106
|
+
.progress-striped[value]::-webkit-progress-value {
|
107
|
+
@include gradient-striped();
|
108
|
+
background-size: $spacer-y $spacer-y;
|
109
|
+
}
|
110
|
+
.progress-striped[value]::-moz-progress-bar {
|
111
|
+
@include gradient-striped();
|
112
|
+
background-size: $spacer-y $spacer-y;
|
113
|
+
}
|
114
|
+
// IE9
|
115
|
+
@media screen and (min-width:0\0) {
|
116
|
+
.progress-bar-striped {
|
117
|
+
@include gradient-striped();
|
118
|
+
background-size: $spacer-y $spacer-y;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
|
123
|
+
//
|
124
|
+
// Animated
|
125
|
+
//
|
126
|
+
|
127
|
+
.progress-animated[value]::-webkit-progress-value {
|
128
|
+
animation: progress-bar-stripes 2s linear infinite;
|
129
|
+
}
|
130
|
+
.progress-animated[value]::-moz-progress-bar {
|
131
|
+
animation: progress-bar-stripes 2s linear infinite;
|
132
|
+
}
|
133
|
+
// IE9
|
134
|
+
@media screen and (min-width:0\0) {
|
135
|
+
.progress-animated .progress-bar-striped {
|
136
|
+
animation: progress-bar-stripes 2s linear infinite;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
|
141
|
+
//
|
142
|
+
// Variations
|
143
|
+
//
|
144
|
+
|
145
|
+
.progress-success {
|
146
|
+
@include progress-variant($progress-bar-success-bg);
|
147
|
+
}
|
148
|
+
.progress-info {
|
149
|
+
@include progress-variant($progress-bar-info-bg);
|
150
|
+
}
|
151
|
+
.progress-warning {
|
152
|
+
@include progress-variant($progress-bar-warning-bg);
|
153
|
+
}
|
154
|
+
.progress-danger {
|
155
|
+
@include progress-variant($progress-bar-danger-bg);
|
156
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
// Credit: Nicolas Gallagher and SUIT CSS.
|
2
|
+
|
3
|
+
.embed-responsive {
|
4
|
+
position: relative;
|
5
|
+
display: block;
|
6
|
+
height: 0;
|
7
|
+
padding: 0;
|
8
|
+
overflow: hidden;
|
9
|
+
|
10
|
+
.embed-responsive-item,
|
11
|
+
iframe,
|
12
|
+
embed,
|
13
|
+
object,
|
14
|
+
video {
|
15
|
+
position: absolute;
|
16
|
+
top: 0;
|
17
|
+
bottom: 0;
|
18
|
+
left: 0;
|
19
|
+
width: 100%;
|
20
|
+
height: 100%;
|
21
|
+
border: 0;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.embed-responsive-21by9 {
|
26
|
+
padding-bottom: percentage(9 / 21);
|
27
|
+
}
|
28
|
+
|
29
|
+
.embed-responsive-16by9 {
|
30
|
+
padding-bottom: percentage(9 / 16);
|
31
|
+
}
|
32
|
+
|
33
|
+
.embed-responsive-4by3 {
|
34
|
+
padding-bottom: percentage(3 / 4);
|
35
|
+
}
|
36
|
+
|
37
|
+
.embed-responsive-1by1 {
|
38
|
+
padding-bottom: percentage(1 / 1);
|
39
|
+
}
|
@@ -0,0 +1,193 @@
|
|
1
|
+
//
|
2
|
+
// Basic Bootstrap table
|
3
|
+
//
|
4
|
+
|
5
|
+
.table {
|
6
|
+
width: 100%;
|
7
|
+
max-width: 100%;
|
8
|
+
margin-bottom: $spacer;
|
9
|
+
|
10
|
+
th,
|
11
|
+
td {
|
12
|
+
padding: $table-cell-padding;
|
13
|
+
line-height: $line-height;
|
14
|
+
vertical-align: top;
|
15
|
+
border-top: $table-border-width solid $table-border-color;
|
16
|
+
}
|
17
|
+
|
18
|
+
thead th {
|
19
|
+
vertical-align: bottom;
|
20
|
+
border-bottom: (2 * $table-border-width) solid $table-border-color;
|
21
|
+
}
|
22
|
+
|
23
|
+
tbody + tbody {
|
24
|
+
border-top: (2 * $table-border-width) solid $table-border-color;
|
25
|
+
}
|
26
|
+
|
27
|
+
.table {
|
28
|
+
background-color: $body-bg;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
|
33
|
+
//
|
34
|
+
// Condensed table w/ half padding
|
35
|
+
//
|
36
|
+
|
37
|
+
.table-sm {
|
38
|
+
th,
|
39
|
+
td {
|
40
|
+
padding: $table-sm-cell-padding;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
|
45
|
+
// Bordered version
|
46
|
+
//
|
47
|
+
// Add borders all around the table and between all the columns.
|
48
|
+
|
49
|
+
.table-bordered {
|
50
|
+
border: $table-border-width solid $table-border-color;
|
51
|
+
|
52
|
+
th,
|
53
|
+
td {
|
54
|
+
border: $table-border-width solid $table-border-color;
|
55
|
+
}
|
56
|
+
|
57
|
+
thead {
|
58
|
+
th,
|
59
|
+
td {
|
60
|
+
border-bottom-width: (2 * $table-border-width);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
|
66
|
+
// Zebra-striping
|
67
|
+
//
|
68
|
+
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
69
|
+
|
70
|
+
.table-striped {
|
71
|
+
tbody tr:nth-of-type(odd) {
|
72
|
+
background-color: $table-bg-accent;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
// Hover effect
|
78
|
+
//
|
79
|
+
// Placed here since it has to come after the potential zebra striping
|
80
|
+
|
81
|
+
.table-hover {
|
82
|
+
tbody tr {
|
83
|
+
@include hover {
|
84
|
+
background-color: $table-bg-hover;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
|
90
|
+
// Table backgrounds
|
91
|
+
//
|
92
|
+
// Exact selectors below required to override `.table-striped` and prevent
|
93
|
+
// inheritance to nested tables.
|
94
|
+
|
95
|
+
// Generate the contextual variants
|
96
|
+
@include table-row-variant(active, $table-bg-active);
|
97
|
+
@include table-row-variant(success, $state-success-bg);
|
98
|
+
@include table-row-variant(info, $state-info-bg);
|
99
|
+
@include table-row-variant(warning, $state-warning-bg);
|
100
|
+
@include table-row-variant(danger, $state-danger-bg);
|
101
|
+
|
102
|
+
|
103
|
+
// Responsive tables
|
104
|
+
//
|
105
|
+
// Wrap your tables in `.table-responsive` and we'll make them mobile friendly
|
106
|
+
// by enabling horizontal scrolling. Only applies <768px. Everything above that
|
107
|
+
// will display normally.
|
108
|
+
|
109
|
+
.table-responsive {
|
110
|
+
display: block;
|
111
|
+
width: 100%;
|
112
|
+
min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
|
113
|
+
overflow-x: auto;
|
114
|
+
|
115
|
+
// TODO: find out if we need this still.
|
116
|
+
//
|
117
|
+
// border: $table-border-width solid $table-border-color;
|
118
|
+
// -ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057
|
119
|
+
}
|
120
|
+
|
121
|
+
|
122
|
+
.thead-inverse {
|
123
|
+
th {
|
124
|
+
color: #fff;
|
125
|
+
background-color: $gray;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
.thead-default {
|
129
|
+
th {
|
130
|
+
color: $gray;
|
131
|
+
background-color: $gray-20;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
.table-inverse {
|
136
|
+
color: $gray-20;
|
137
|
+
background-color: $gray;
|
138
|
+
|
139
|
+
&.table-bordered {
|
140
|
+
border: 0;
|
141
|
+
}
|
142
|
+
|
143
|
+
th,
|
144
|
+
td,
|
145
|
+
thead th {
|
146
|
+
border-color: $gray;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
|
151
|
+
.table-reflow {
|
152
|
+
thead {
|
153
|
+
float: left;
|
154
|
+
}
|
155
|
+
|
156
|
+
tbody {
|
157
|
+
display: block;
|
158
|
+
white-space: nowrap;
|
159
|
+
}
|
160
|
+
|
161
|
+
th,
|
162
|
+
td {
|
163
|
+
border-top: $table-border-width solid $table-border-color;
|
164
|
+
border-left: $table-border-width solid $table-border-color;
|
165
|
+
|
166
|
+
&:last-child {
|
167
|
+
border-right: $table-border-width solid $table-border-color;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
|
171
|
+
thead,
|
172
|
+
tbody,
|
173
|
+
tfoot {
|
174
|
+
&:last-child {
|
175
|
+
tr:last-child {
|
176
|
+
th,
|
177
|
+
td {
|
178
|
+
border-bottom: $table-border-width solid $table-border-color;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
tr {
|
185
|
+
float: left;
|
186
|
+
|
187
|
+
th,
|
188
|
+
td {
|
189
|
+
display: block !important;
|
190
|
+
border: $table-border-width solid $table-border-color;
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|