nitro_sg 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/fonts/fontawesome.js +1978 -0
  3. data/fonts/regular.js +1217 -0
  4. data/lib/nitro_sg/version.rb +1 -1
  5. data/sass-mixins/_global.scss +415 -0
  6. data/sass-mixins/_normalize.scss +424 -0
  7. data/sass-mixins/_print.scss +101 -0
  8. data/sass-mixins/application.scss +29 -0
  9. data/sass-mixins/application.scss.flow +1592 -0
  10. data/sass-mixins/base-mixins/_all.scss +11 -0
  11. data/sass-mixins/base-mixins/_all.scss.flow +6 -0
  12. data/sass-mixins/base-mixins/_border-radius.scss +25 -0
  13. data/sass-mixins/base-mixins/_breakpoints.scss +95 -0
  14. data/sass-mixins/base-mixins/_color.sass +22 -0
  15. data/sass-mixins/base-mixins/_forms.scss +33 -0
  16. data/sass-mixins/base-mixins/_general.scss +599 -0
  17. data/sass-mixins/base-mixins/_grid-framework.scss +81 -0
  18. data/sass-mixins/base-mixins/_grid.scss +126 -0
  19. data/sass-mixins/base-mixins/_hover.scss +26 -0
  20. data/sass-mixins/base-mixins/_images.scss +33 -0
  21. data/sass-mixins/base-mixins/_media-queries.sass +58 -0
  22. data/sass-mixins/base-mixins/_type.scss +46 -0
  23. data/sass-mixins/base-variables/_all.scss +11 -0
  24. data/sass-mixins/base-variables/_animation-curves.scss +37 -0
  25. data/sass-mixins/base-variables/_bootstrap-variables.scss +284 -0
  26. data/sass-mixins/base-variables/_border-radius.sass +27 -0
  27. data/sass-mixins/base-variables/_color-bootstrap.scss +62 -0
  28. data/sass-mixins/base-variables/_color-deprecated.scss +26 -0
  29. data/sass-mixins/base-variables/_color-ui-elements.scss +20 -0
  30. data/sass-mixins/base-variables/_colors-export.scss +13 -0
  31. data/sass-mixins/base-variables/_colors-export.scss.flow +92 -0
  32. data/sass-mixins/base-variables/_colors.scss +267 -0
  33. data/sass-mixins/base-variables/_colors.scss.flow +5 -0
  34. data/sass-mixins/base-variables/_fonts.scss +97 -0
  35. data/sass-mixins/base-variables/_forms.scss +44 -0
  36. data/sass-mixins/base-variables/_opacity.scss +9 -0
  37. data/sass-mixins/base-variables/_positioning.scss +24 -0
  38. data/sass-mixins/base-variables/_shadows.scss +5 -0
  39. data/sass-mixins/base-variables/_sizing-ui-elements.scss +2 -0
  40. data/sass-mixins/base-variables/_spacing.sass +27 -0
  41. data/sass-mixins/base-variables/_typography.sass +79 -0
  42. data/sass-mixins/class-helpers/_all.scss +17 -0
  43. data/sass-mixins/class-helpers/_borders.scss +40 -0
  44. data/sass-mixins/class-helpers/_color.sass +61 -0
  45. data/sass-mixins/class-helpers/_display.scss +40 -0
  46. data/sass-mixins/class-helpers/_flexbox.scss +213 -0
  47. data/sass-mixins/class-helpers/_glyphicons.scss +307 -0
  48. data/sass-mixins/class-helpers/_line-height.scss +21 -0
  49. data/sass-mixins/class-helpers/_radius-and-shadows.scss +49 -0
  50. data/sass-mixins/class-helpers/_responsive-utilities.scss +179 -0
  51. data/sass-mixins/class-helpers/_screen-readers.scss +34 -0
  52. data/sass-mixins/class-helpers/_spacing.scss +51 -0
  53. data/sass-mixins/class-helpers/_type.scss +323 -0
  54. data/sass-mixins/class-helpers/_z-index.scss +10 -0
  55. data/sass-mixins/components.scss +5 -0
  56. data/sass-mixins/nitro-ui/_alerts.scss +139 -0
  57. data/sass-mixins/nitro-ui/_all.scss +33 -0
  58. data/sass-mixins/nitro-ui/_animations.scss +37 -0
  59. data/sass-mixins/nitro-ui/_carousel.scss +281 -0
  60. data/sass-mixins/nitro-ui/_code.scss +87 -0
  61. data/sass-mixins/nitro-ui/_connect-cards.scss +150 -0
  62. data/sass-mixins/nitro-ui/_dashboards.scss +516 -0
  63. data/sass-mixins/nitro-ui/_fixed-confirmation-toast.scss +48 -0
  64. data/sass-mixins/nitro-ui/_full-menu.scss +168 -0
  65. data/sass-mixins/nitro-ui/_grid.scss +92 -0
  66. data/sass-mixins/nitro-ui/_icon-toggle.scss +37 -0
  67. data/sass-mixins/nitro-ui/_jumbotron.scss +65 -0
  68. data/sass-mixins/nitro-ui/_links.scss +69 -0
  69. data/sass-mixins/nitro-ui/_list-group.scss +219 -0
  70. data/sass-mixins/nitro-ui/_media.scss +66 -0
  71. data/sass-mixins/nitro-ui/_modals.scss +311 -0
  72. data/sass-mixins/nitro-ui/_notify.scss +56 -0
  73. data/sass-mixins/nitro-ui/_popovers.scss +167 -0
  74. data/sass-mixins/nitro-ui/_progress-bars.scss +125 -0
  75. data/sass-mixins/nitro-ui/_responsive-embed.scss +35 -0
  76. data/sass-mixins/nitro-ui/_side-modal.scss +92 -0
  77. data/sass-mixins/nitro-ui/_tables-responsive.scss +253 -0
  78. data/sass-mixins/nitro-ui/_tables.scss +296 -0
  79. data/sass-mixins/nitro-ui/_thumbnails.scss +38 -0
  80. data/sass-mixins/nitro-ui/_tooltip.scss +124 -0
  81. data/sass-mixins/nitro-ui/_typography.scss +176 -0
  82. data/sass-mixins/nitro-ui/_value-stat.scss +149 -0
  83. data/sass-mixins/nitro-ui/_wells.scss +37 -0
  84. data/sass-mixins/nitro-ui/buttons/_all.scss +97 -0
  85. data/sass-mixins/nitro-ui/buttons/_button-capping.scss +21 -0
  86. data/sass-mixins/nitro-ui/buttons/_button-groups.scss +236 -0
  87. data/sass-mixins/nitro-ui/buttons/_button-mixins.scss +66 -0
  88. data/sass-mixins/nitro-ui/buttons/_button-variables.scss +51 -0
  89. data/sass-mixins/nitro-ui/buttons/_choice-buttons.scss +9 -0
  90. data/sass-mixins/nitro-ui/buttons/_circle-buttons.scss +30 -0
  91. data/sass-mixins/nitro-ui/buttons/_close.scss +45 -0
  92. data/sass-mixins/nitro-ui/buttons/_dropdowns.scss +270 -0
  93. data/sass-mixins/nitro-ui/buttons/_ghost-buttons.scss +58 -0
  94. data/sass-mixins/nitro-ui/buttons/_link-buttons.scss +53 -0
  95. data/sass-mixins/nitro-ui/buttons/_solid-buttons.scss +69 -0
  96. data/sass-mixins/nitro-ui/cards-panels/_all.scss +3 -0
  97. data/sass-mixins/nitro-ui/cards-panels/_cards.scss +409 -0
  98. data/sass-mixins/nitro-ui/cards-panels/_collapsible-card.scss +19 -0
  99. data/sass-mixins/nitro-ui/cards-panels/_panel-collapse.scss +34 -0
  100. data/sass-mixins/nitro-ui/cards-panels/_panel-list-groups.scss +41 -0
  101. data/sass-mixins/nitro-ui/cards-panels/_panel-tables.scss +111 -0
  102. data/sass-mixins/nitro-ui/cards-panels/_panels.scss +120 -0
  103. data/sass-mixins/nitro-ui/forms/_all.scss +18 -0
  104. data/sass-mixins/nitro-ui/forms/_checkbox-radio.scss +154 -0
  105. data/sass-mixins/nitro-ui/forms/_checkbox-toggle.scss +77 -0
  106. data/sass-mixins/nitro-ui/forms/_color-feedback.scss +53 -0
  107. data/sass-mixins/nitro-ui/forms/_dropdown.scss +12 -0
  108. data/sass-mixins/nitro-ui/forms/_form-group.scss +104 -0
  109. data/sass-mixins/nitro-ui/forms/_general-element-reset.scss +120 -0
  110. data/sass-mixins/nitro-ui/forms/_help-block.scss +11 -0
  111. data/sass-mixins/nitro-ui/forms/_horizontal-forms.scss +69 -0
  112. data/sass-mixins/nitro-ui/forms/_input-groups.scss +169 -0
  113. data/sass-mixins/nitro-ui/forms/_label.scss +29 -0
  114. data/sass-mixins/nitro-ui/forms/_multi-input-group.scss +89 -0
  115. data/sass-mixins/nitro-ui/forms/_static-form-text.scss +19 -0
  116. data/sass-mixins/nitro-ui/forms/_validation-states.scss +78 -0
  117. data/sass-mixins/nitro-ui/layouts/_sidebar-layout.scss +59 -0
  118. data/sass-mixins/nitro-ui/navigation/_all.scss +36 -0
  119. data/sass-mixins/nitro-ui/navigation/_breadcrumbs.scss +30 -0
  120. data/sass-mixins/nitro-ui/navigation/_pager.scss +71 -0
  121. data/sass-mixins/nitro-ui/navigation/_pagination.scss +212 -0
  122. data/sass-mixins/nitro-ui/navigation/navbar/_brand.scss +25 -0
  123. data/sass-mixins/nitro-ui/navigation/navbar/_collapse-content.scss +49 -0
  124. data/sass-mixins/nitro-ui/navigation/navbar/_default-navbar.scss +33 -0
  125. data/sass-mixins/nitro-ui/navigation/navbar/_dropdowns-buttons.scss +29 -0
  126. data/sass-mixins/nitro-ui/navigation/navbar/_floats.scss +21 -0
  127. data/sass-mixins/nitro-ui/navigation/navbar/_flush.scss +14 -0
  128. data/sass-mixins/nitro-ui/navigation/navbar/_forms.scss +41 -0
  129. data/sass-mixins/nitro-ui/navigation/navbar/_header.scss +31 -0
  130. data/sass-mixins/nitro-ui/navigation/navbar/_inverse-navbar.scss +32 -0
  131. data/sass-mixins/nitro-ui/navigation/navbar/_light-navbar.scss +36 -0
  132. data/sass-mixins/nitro-ui/navigation/navbar/_links.scss +52 -0
  133. data/sass-mixins/nitro-ui/navigation/navbar/_mixins.scss +161 -0
  134. data/sass-mixins/nitro-ui/navigation/navbar/_navbar.scss +29 -0
  135. data/sass-mixins/nitro-ui/navigation/navbar/_position.scss +50 -0
  136. data/sass-mixins/nitro-ui/navigation/navbar/_text.scss +13 -0
  137. data/sass-mixins/nitro-ui/navigation/navbar/_toggle-button.scss +37 -0
  138. data/sass-mixins/nitro-ui/navigation/navbar/_variables.scss +8 -0
  139. data/sass-mixins/nitro-ui/navigation/navs/_nav-dropdowns.scss +10 -0
  140. data/sass-mixins/nitro-ui/navigation/navs/_nav-justified.scss +32 -0
  141. data/sass-mixins/nitro-ui/navigation/navs/_nav-pills.scss +41 -0
  142. data/sass-mixins/nitro-ui/navigation/navs/_nav-tabs-justified.scss +30 -0
  143. data/sass-mixins/nitro-ui/navigation/navs/_nav-tabs.scss +41 -0
  144. data/sass-mixins/nitro-ui/navigation/navs/_nav.scss +383 -0
  145. data/sass-mixins/nitro-ui/navigation/navs/_navs.scss +70 -0
  146. data/sass-mixins/nitro-ui/navigation/navs/_tabbable-tabs.scss +12 -0
  147. data/sass-mixins/nitro-ui/navigation/navs/_variables.scss +23 -0
  148. data/sass-mixins/nitro-ui/tables/_all.scss +14 -0
  149. data/sass-mixins/nitro-ui/tables/_as-cards.scss +49 -0
  150. data/sass-mixins/nitro-ui/tables/_content.scss +13 -0
  151. data/sass-mixins/nitro-ui/tables/_headers.scss +17 -0
  152. data/sass-mixins/nitro-ui/tables/_hover.scss +66 -0
  153. data/sass-mixins/nitro-ui/tables/_mixins.scss +0 -0
  154. data/sass-mixins/nitro-ui/tables/_mobile.scss +138 -0
  155. data/sass-mixins/nitro-ui/tables/_reset.scss +17 -0
  156. data/sass-mixins/nitro-ui/tables/_single-line.scss +35 -0
  157. data/sass-mixins/nitro-ui/tables/_structure.scss +39 -0
  158. data/sass-mixins/nitro-ui/tables/_table-card.scss +88 -0
  159. data/sass-mixins/nitro-ui/tables/_table-dark.scss +92 -0
  160. data/sass-mixins/nitro-ui/tables/_variables.scss +23 -0
  161. data/sass-mixins/vendor/_bootstrap-overrides.scss +41 -0
  162. data/sass-mixins/vendor/_dropzone.scss +388 -0
  163. data/sass-mixins/vendor/_nitro-bootstrap.scss +95 -0
  164. data/sass-mixins/vendor/_nitro-dropzone.scss +56 -0
  165. data/sass-mixins/vendor/_react-datetime.scss +105 -0
  166. data/sass-mixins/vendor/_selectize.scss +407 -0
  167. data/sass-mixins/vendor/_sweet-alert-extended.scss +3 -0
  168. data/sass-mixins/vendor/react-select.css +375 -0
  169. data/sass-mixins/vendor/svg-with-js.css +5 -0
  170. data/sass-mixins/vendor/type-ahead.scss +43 -0
  171. metadata +170 -2
@@ -0,0 +1,70 @@
1
+ //
2
+ // Navs
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base class
7
+ // --------------------------------------------------
8
+
9
+ .nav {
10
+ margin-bottom: 0;
11
+ padding-left: 0; // Override default ul/ol
12
+ list-style: none;
13
+ @include clearfix;
14
+
15
+ > li {
16
+ position: relative;
17
+ display: block;
18
+
19
+ > a {
20
+ position: relative;
21
+ display: block;
22
+ padding:($space-small - 3px) $space-large;
23
+ &:hover,
24
+ &:focus {
25
+ text-decoration: none;
26
+ @include text-color($sky);
27
+ background-color: $sky;
28
+ }
29
+ }
30
+
31
+ // Disabled state sets text to gray and nukes hover/tab effects
32
+ &.disabled > a {
33
+ color: $nav-disabled-link-color;
34
+
35
+ &:hover,
36
+ &:focus {
37
+ color: $nav-disabled-link-hover-color;
38
+ text-decoration: none;
39
+ background-color: transparent;
40
+ cursor: $cursor-disabled;
41
+ }
42
+ }
43
+ }
44
+
45
+ // Open dropdowns
46
+ .open > a {
47
+ &,
48
+ &:hover,
49
+ &:focus {
50
+ background-color: $nav-link-hover-bg;
51
+ border-color: $link-color;
52
+ }
53
+ }
54
+
55
+ // Nav dividers (deprecated with v3.0.1)
56
+ //
57
+ // This should have been removed in v3 with the dropping of `.nav-list`, but
58
+ // we missed it. We don't currently support this anywhere, but in the interest
59
+ // of maintaining backward compatibility in case you use it, it's deprecated.
60
+ .nav-divider {
61
+ @include nav-divider;
62
+ }
63
+
64
+ // Prevent IE8 from misplacing imgs
65
+ //
66
+ // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
67
+ > li > a > img {
68
+ max-width: none;
69
+ }
70
+ }
@@ -0,0 +1,12 @@
1
+ // Tabbable tabs
2
+ // -------------------------
3
+
4
+ // Hide tabbable panes to start, show them when `.active`
5
+ .tab-content {
6
+ > .tab-pane {
7
+ display: none;
8
+ }
9
+ > .active {
10
+ display: block;
11
+ }
12
+ }
@@ -0,0 +1,23 @@
1
+ //=== Shared nav styles
2
+ $nav-link-padding: 10px 15px !default;
3
+ $nav-link-hover-bg: $gray-5 !default;
4
+
5
+ $nav-disabled-link-color: $gray-light !default;
6
+ $nav-disabled-link-hover-color: $gray-light !default;
7
+
8
+ //== Tabs
9
+ $nav-tabs-border-color: #ddd !default;
10
+
11
+ $nav-tabs-link-hover-border-color: $gray-5 !default;
12
+
13
+ $nav-tabs-active-link-hover-bg: $body-bg !default;
14
+ $nav-tabs-active-link-hover-color: $gray !default;
15
+ $nav-tabs-active-link-hover-border-color: #ddd !default;
16
+
17
+ $nav-tabs-justified-link-border-color: #ddd !default;
18
+ $nav-tabs-justified-active-link-border-color: $body-bg !default;
19
+
20
+ //== Pills
21
+ $nav-pills-border-radius: $border-radius-base !default;
22
+ $nav-pills-active-link-hover-bg: $component-active-bg !default;
23
+ $nav-pills-active-link-hover-color: $component-active-color !default;
@@ -0,0 +1,14 @@
1
+ @import "variables";
2
+ @import "mixins";
3
+
4
+ @import "reset";
5
+ @import "structure";
6
+ @import "table-card";
7
+ @import "content";
8
+ @import "headers";
9
+
10
+ @import "hover";
11
+ @import "as-cards";
12
+ @import "single-line";
13
+ @import "table-dark";
14
+ @import "mobile";
@@ -0,0 +1,49 @@
1
+ table {
2
+ &.table-sm,
3
+ &.table-md,
4
+ &.table-lg {
5
+ &.as-cards {
6
+ thead {
7
+ tr {
8
+ display: flex;
9
+ width: 100%;
10
+
11
+ th {
12
+ flex-grow: 1;
13
+ }
14
+ }
15
+ }
16
+ tbody {
17
+ tr {
18
+ display: flex;
19
+ align-items: stretch;
20
+ flex-direction: row;
21
+ justify-content: flex-start;
22
+ width: 100%;
23
+ margin: $space-base 0;
24
+
25
+ td {
26
+ background: $white;
27
+ flex-grow: 1;
28
+ border-width: 1px 0;
29
+
30
+ &:first-child {
31
+ border-left-width: 1px;
32
+ border-radius: $border-rad-light 0 0 $border-rad-light;
33
+ }
34
+ &:last-child {
35
+ border-right-width: 1px;
36
+ border-radius: 0 $border-rad-light $border-rad-light 0;
37
+ }
38
+ }
39
+
40
+ &:last-child {
41
+ td {
42
+ border-top-width: 1px !important;
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,13 @@
1
+ table {
2
+ &.table-sm,
3
+ &.table-md,
4
+ &.table-lg {
5
+ tbody {
6
+ tr {
7
+ td {
8
+ font-size: $default-font-size;
9
+ }
10
+ }
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,17 @@
1
+ table {
2
+ &.table-sm,
3
+ &.table-md,
4
+ &.table-lg {
5
+ thead {
6
+ tr {
7
+ th {
8
+ color: $ink-lightest;
9
+ font-size: $default-header-size;
10
+ font-weight: $regular;
11
+ text-transform: uppercase;
12
+ border-bottom: 1px solid $sky;
13
+ }
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,66 @@
1
+ $transition-speed: 0.2s;
2
+
3
+ table {
4
+ &.table-sm,
5
+ &.table-md,
6
+ &.table-lg {
7
+ &:not(.no-hover) {
8
+ border-collapse: separate;
9
+
10
+ tbody {
11
+ tr {
12
+ box-shadow: 0 0 0 $white;
13
+ transition: box-shadow $transition-speed ease;
14
+
15
+ td {
16
+ border-top-color: transparent;
17
+ border-top-width: 1px !important;
18
+ transition: all $transition-speed ease;
19
+ }
20
+
21
+ &:hover {
22
+ box-shadow: 0 2px 10px 0 $black-opacity-1;
23
+
24
+ td {
25
+ background: $white;
26
+ border-color: $sky-dark;
27
+ border-top-width: 1px;
28
+ border-top-color: transparent;
29
+ }
30
+ }
31
+ }
32
+ }
33
+ &.as-cards {
34
+ tbody {
35
+ tr {
36
+ td {
37
+ border-top-color: $sky;
38
+ border-top-width: 1px;
39
+ }
40
+
41
+ &:hover {
42
+ td {
43
+ border-top-width: 1px;
44
+ border-top-color: $sky;
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ &.table-card {
51
+ tbody {
52
+ tr {
53
+ td {
54
+ &:first-child {
55
+ border-left-width: 1px;
56
+ }
57
+ &:last-child {
58
+ border-right-width: 1px;
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
File without changes
@@ -0,0 +1,138 @@
1
+ @media only screen and (max-width: $screen-xs-max) {
2
+ .table-sm,
3
+ .table-md,
4
+ .table-lg {
5
+ width: 100%;
6
+ background: none !important;
7
+
8
+ thead {
9
+ tr {
10
+ left: -9999px;
11
+ position: absolute;
12
+ top: -9999px;
13
+
14
+ th {
15
+ display: block;
16
+ visibility: visible;
17
+ }
18
+ }
19
+ }
20
+ tbody {
21
+ tr {
22
+ td {
23
+ display: block;
24
+ visibility: visible;
25
+ border-left-width: 1px !important;
26
+ border-right-width: 1px !important;
27
+ border-bottom-width: 0 !important;
28
+ border-color: $sky !important;
29
+ min-height: 2.2em;
30
+ padding-left: 34%;
31
+ position: relative;
32
+ text-align:left;
33
+ white-space: normal;
34
+
35
+ &:before {
36
+ content: attr(data-title);
37
+ color: $ink !important;
38
+ font-weight: $bold !important;
39
+ text-align: left !important;
40
+ width: 100% !important;
41
+ white-space: nowrap !important;
42
+ text-overflow: ellipsis !important;
43
+ position: relative !important;
44
+ top: 0 !important;
45
+ left: 0 !important;
46
+ height: 100% !important;
47
+ padding-left: 0 !important;
48
+ display: block !important;
49
+ }
50
+
51
+ &:first-child {
52
+ margin-top: $space-larger !important;
53
+ border-top-width: 1px !important;
54
+ border-top-color: $sky !important;
55
+ border-radius: $border-rad-light $border-rad-light 0 0;
56
+ }
57
+
58
+ &:last-child {
59
+ border-radius: 0 0 $border-rad-light $border-rad-light;
60
+ border-bottom-width: 1px !important;
61
+ }
62
+ }
63
+
64
+ &:first-child {
65
+ td {
66
+ &:first-child {
67
+ margin-top: $space-base !important;
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ &.table-card {
74
+ background: none !important;
75
+
76
+ tbody {
77
+ tr {
78
+ td {
79
+ background: $white !important;
80
+ border-left-width: 1px !important;
81
+ border-right-width: 1px !important;
82
+ border-top-width: 1px !important;
83
+
84
+ &:first-child {
85
+ border-radius: $border-rad-light $border-rad-light 0 0 !important;
86
+ }
87
+ &:last-child {
88
+ border-radius: 0 0 $border-rad-light $border-rad-light !important;
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ &:hover {
95
+ tbody {
96
+ tr {
97
+ box-shadow: 0 0 0 $white !important;
98
+ }
99
+ }
100
+ }
101
+ }
102
+ @each $name, $value in $cell-pad-list {
103
+ &.#{$name} {
104
+ tbody {
105
+ tr {
106
+ td {
107
+ &:first-child,
108
+ &:last-child {
109
+ padding: $value $cell-gutter !important;
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+
118
+ @media only screen and (max-width: $screen-xs-max) {
119
+ .table-sm,
120
+ .table-md,
121
+ .table-lg {
122
+ &.hide-labels {
123
+ tbody {
124
+ tr {
125
+ td {
126
+ &::before {
127
+ content: '';
128
+ left: 0;
129
+ padding-right: 0;
130
+ position: relative;
131
+ width: 0;
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
138
+ }
@@ -0,0 +1,17 @@
1
+ table {
2
+ &.table-sm,
3
+ &.table-md,
4
+ &.table-lg {
5
+ border-collapse: collapse;
6
+ background-color: unset;
7
+ background: unset;
8
+
9
+ thead {
10
+ tr {
11
+ th {
12
+ text-align: inherit;
13
+ }
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,35 @@
1
+ table {
2
+ &.single-line {
3
+ width: 100%;
4
+ max-width: 100vw;
5
+ table-layout: fixed;
6
+
7
+ tbody {
8
+ tr {
9
+ td {
10
+ white-space: nowrap;
11
+ text-overflow: ellipsis;
12
+ overflow: hidden;
13
+
14
+ & > * {
15
+ &:not(.btn, br) {
16
+ display: inline-block !important;
17
+ }
18
+ }
19
+
20
+ .btn {
21
+ display: block !important;
22
+ }
23
+
24
+ br {
25
+ content:' ' !important;
26
+
27
+ &::after {
28
+ content:' ';
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }