playbook_ui 7.14.0.pre.alpha1 → 7.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/playbook/pb_sample_helper.rb +1 -1
- data/app/pb_kits/playbook/pb_background/docs/_background_dark.html.erb +3 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_dark.jsx +12 -0
- data/app/pb_kits/playbook/pb_background/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_background/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb +0 -1
- data/app/pb_kits/playbook/pb_checkbox/_checkbox.jsx +10 -36
- data/app/pb_kits/playbook/pb_checkbox/_checkbox.scss +20 -26
- data/app/pb_kits/playbook/pb_checkbox/checkbox.rb +0 -5
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx +1 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_checkbox/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_date_range_stacked_dark.html.erb +1 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_date_range_stacked_dark.jsx +15 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/example.yml +4 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_dark.html.erb +5 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_dark.jsx +26 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_dark.html.erb +1 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_dark.jsx +14 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/example.yml +4 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_dark.html.erb +5 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_dark.jsx +28 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.jsx +4 -9
- data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.scss +7 -12
- data/app/pb_kits/playbook/pb_distribution_bar/distribution_bar.rb +1 -4
- data/app/pb_kits/playbook/pb_distribution_bar/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_distribution_bar/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_filter/Filter/CurrentFilters.jsx +1 -12
- data/app/pb_kits/playbook/pb_filter/docs/_filter_default.html.erb +0 -41
- data/app/pb_kits/playbook/pb_filter/docs/_filter_default.jsx +37 -84
- data/app/pb_kits/playbook/pb_filter/templates/_core.html.erb +7 -18
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dark.html.erb +21 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dark.jsx +43 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.html.erb +5 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.jsx +17 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml +5 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_flex/_flex.jsx +9 -25
- data/app/pb_kits/playbook/pb_flex/_flex.scss +7 -40
- data/app/pb_kits/playbook/pb_flex/_flex_item.jsx +2 -6
- data/app/pb_kits/playbook/pb_flex/_flex_item.scss +0 -10
- data/app/pb_kits/playbook/pb_flex/docs/_description.md +0 -6
- data/app/pb_kits/playbook/pb_flex/docs/_flex_default.html.erb +15 -15
- data/app/pb_kits/playbook/pb_flex/docs/_flex_default.jsx +15 -17
- data/app/pb_kits/playbook/pb_flex/docs/_flex_default.md +1 -3
- data/app/pb_kits/playbook/pb_flex/docs/{_flex_justify.html.erb → _flex_horizontal.html.erb} +21 -19
- data/app/pb_kits/playbook/pb_flex/docs/{_flex_align.jsx → _flex_horizontal.jsx} +77 -71
- data/app/pb_kits/playbook/pb_flex/docs/_flex_inline.html.erb +8 -8
- data/app/pb_kits/playbook/pb_flex/docs/_flex_inline.md +1 -5
- data/app/pb_kits/playbook/pb_flex/docs/_flex_reverse.html.erb +9 -9
- data/app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx +2 -2
- data/app/pb_kits/playbook/pb_flex/docs/_flex_spacing.html.erb +8 -23
- data/app/pb_kits/playbook/pb_flex/docs/_flex_spacing.jsx +4 -4
- data/app/pb_kits/playbook/pb_flex/docs/_flex_vertical.html.erb +68 -0
- data/app/pb_kits/playbook/pb_flex/docs/{_flex_justify.jsx → _flex_vertical.jsx} +99 -41
- data/app/pb_kits/playbook/pb_flex/docs/_flex_wrap.jsx +1 -1
- data/app/pb_kits/playbook/pb_flex/docs/example.yml +4 -9
- data/app/pb_kits/playbook/pb_flex/docs/index.js +2 -4
- data/app/pb_kits/playbook/pb_flex/flex.rb +12 -79
- data/app/pb_kits/playbook/pb_flex/flex_item.rb +1 -18
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.jsx +1 -7
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default_dark.html.erb +3 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default_dark.jsx +18 -0
- data/app/pb_kits/playbook/pb_icon/docs/example.yml +2 -1
- data/app/pb_kits/playbook/pb_icon/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_dark.html.erb +42 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_dark.jsx +66 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_dark.html.erb +4 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_dark.jsx +17 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_dark.html.erb +29 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_dark.jsx +38 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align_dark.html.erb +23 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align_dark.jsx +37 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_dark.html.erb +21 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_dark.jsx +35 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/example.yml +5 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_layout/_layout.scss +9 -9
- data/app/pb_kits/playbook/pb_layout/docs/_layout_sizes_dark.html.erb +32 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_sizes_dark.jsx +97 -0
- data/app/pb_kits/playbook/pb_layout/docs/example.yml +4 -0
- data/app/pb_kits/playbook/pb_layout/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_close_dark.html.erb +43 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_close_dark.jsx +105 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_dark.html.erb +25 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_dark.jsx +51 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list_dark.html.erb +13 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list_dark.jsx +54 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height_dark.html.erb +25 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height_dark.jsx +57 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_z_index_dark.html.erb +14 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_z_index_dark.jsx +54 -0
- data/app/pb_kits/playbook/pb_popover/docs/example.yml +13 -0
- data/app/pb_kits/playbook/pb_popover/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_select/_select.scss +4 -6
- data/app/pb_kits/playbook/pb_table/_table.jsx +0 -8
- data/app/pb_kits/playbook/pb_table/docs/_table_responsive_table.html.erb +4 -56
- data/app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx +3 -64
- data/app/pb_kits/playbook/pb_table/styles/_all.scss +0 -3
- data/app/pb_kits/playbook/pb_table/table.rb +1 -8
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.html.erb +4 -6
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.jsx +16 -92
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.scss +1 -12
- data/app/pb_kits/playbook/pb_timestamp/docs/_description.md +1 -1
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align.jsx +18 -26
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.html.erb +1 -21
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.jsx +8 -40
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.jsx +4 -12
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed_align.html.erb +54 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed_align.jsx +73 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.jsx +18 -26
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones_align.html.erb +177 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones_align.jsx +209 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated.html.erb +21 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated.jsx +28 -6
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_align.html.erb +123 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_align.jsx +146 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/example.yml +0 -8
- data/app/pb_kits/playbook/pb_timestamp/docs/index.js +0 -4
- data/app/pb_kits/playbook/pb_timestamp/timestamp.rb +1 -83
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +4 -2
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size_dark.html.erb +21 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size_dark.jsx +36 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/index.js +1 -0
- data/lib/playbook/version.rb +1 -1
- metadata +57 -31
- data/app/pb_kits/playbook/pb_checkbox/checkbox.test.js +0 -51
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.html.erb +0 -77
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.jsx +0 -78
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_custom_colors.html.erb +0 -4
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_custom_colors.jsx +0 -18
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_custom_colors.md +0 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_align.html.erb +0 -101
- data/app/pb_kits/playbook/pb_flex/docs/_flex_align.md +0 -7
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.html.erb +0 -33
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.jsx +0 -75
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.md +0 -9
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item.html.erb +0 -49
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item.md +0 -11
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item_example.jsx +0 -113
- data/app/pb_kits/playbook/pb_flex/docs/_flex_justify.md +0 -7
- data/app/pb_kits/playbook/pb_flex/docs/_flex_reverse.md +0 -5
- data/app/pb_kits/playbook/pb_flex/docs/_flex_spacing.md +0 -7
- data/app/pb_kits/playbook/pb_flex/docs/_flex_wrap.md +0 -5
- data/app/pb_kits/playbook/pb_table/styles/_desktop_collapse.scss +0 -135
- data/app/pb_kits/playbook/pb_table/styles/_mobile_collapse.scss +0 -135
- data/app/pb_kits/playbook/pb_table/styles/_tablet_collapse.scss +0 -135
@@ -1,7 +0,0 @@
|
|
1
|
-
##### Prop
|
2
|
-
|
3
|
-
*ATTENTION* - the spacing prop will be deprecated & renamed in the future.
|
4
|
-
|
5
|
-
* **Deprecated Prop**: `spacing` | **Type**: String | **Values**: none | around | evenly | between
|
6
|
-
|
7
|
-
* **New Prop**: `justify` | **Type**: String | **Values**: none | around | evenly | between
|
@@ -1,135 +0,0 @@
|
|
1
|
-
@import "../../tokens/border_radius";
|
2
|
-
@import "../../pb_caption/caption_mixin";
|
3
|
-
|
4
|
-
@media only screen and (max-width: $screen-xl-min) {
|
5
|
-
[class^=pb_table] {
|
6
|
-
&.table-sm.table-collapse-lg,
|
7
|
-
&.table-md.table-collapse-lg,
|
8
|
-
&.table-lg.table-collapse-lg {
|
9
|
-
width: 100%;
|
10
|
-
background: none !important;
|
11
|
-
|
12
|
-
thead {
|
13
|
-
tr {
|
14
|
-
left: -9999px;
|
15
|
-
position: absolute;
|
16
|
-
top: -9999px;
|
17
|
-
|
18
|
-
th {
|
19
|
-
display: block;
|
20
|
-
visibility: visible;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
tbody {
|
25
|
-
tr {
|
26
|
-
td {
|
27
|
-
display: block;
|
28
|
-
visibility: visible;
|
29
|
-
border-left-width: 1px !important;
|
30
|
-
border-right-width: 1px !important;
|
31
|
-
border-bottom-width: 0 !important;
|
32
|
-
border-color: $border_light !important;
|
33
|
-
min-height: 2.2em;
|
34
|
-
position: relative;
|
35
|
-
text-align:left;
|
36
|
-
white-space: normal;
|
37
|
-
&:before {
|
38
|
-
content: attr(data-title);
|
39
|
-
@include caption;
|
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_md !important;
|
53
|
-
border-top-width: 1px !important;
|
54
|
-
border-top-color: $border_light !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-xs !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
|
-
@media (hover:hover) {
|
95
|
-
&:hover {
|
96
|
-
tbody {
|
97
|
-
tr {
|
98
|
-
box-shadow: 0 0 0 $white !important;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
// reset the first and last to normalize
|
104
|
-
@each $name, $value in $cell-pad-list {
|
105
|
-
&.#{$name} {
|
106
|
-
tbody {
|
107
|
-
tr {
|
108
|
-
td {
|
109
|
-
&:first-child,
|
110
|
-
&:last-child {
|
111
|
-
padding: $value $cell-gutter !important;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
}
|
115
|
-
}
|
116
|
-
}
|
117
|
-
}
|
118
|
-
}
|
119
|
-
}
|
120
|
-
&.hide-labels {
|
121
|
-
tbody {
|
122
|
-
tr {
|
123
|
-
td {
|
124
|
-
&::before {
|
125
|
-
content: '';
|
126
|
-
left: 0;
|
127
|
-
padding-right: 0;
|
128
|
-
position: relative;
|
129
|
-
width: 0;
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|
133
|
-
}
|
134
|
-
}
|
135
|
-
}
|
@@ -1,135 +0,0 @@
|
|
1
|
-
@import "../../tokens/border_radius";
|
2
|
-
@import "../../pb_caption/caption_mixin";
|
3
|
-
|
4
|
-
@media only screen and (max-width: $screen-xs-max) {
|
5
|
-
[class^=pb_table] {
|
6
|
-
&.table-sm.table-collapse-sm,
|
7
|
-
&.table-md.table-collapse-sm,
|
8
|
-
&.table-lg.table-collapse-sm {
|
9
|
-
width: 100%;
|
10
|
-
background: none !important;
|
11
|
-
|
12
|
-
thead {
|
13
|
-
tr {
|
14
|
-
left: -9999px;
|
15
|
-
position: absolute;
|
16
|
-
top: -9999px;
|
17
|
-
|
18
|
-
th {
|
19
|
-
display: block;
|
20
|
-
visibility: visible;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
tbody {
|
25
|
-
tr {
|
26
|
-
td {
|
27
|
-
display: block;
|
28
|
-
visibility: visible;
|
29
|
-
border-left-width: 1px !important;
|
30
|
-
border-right-width: 1px !important;
|
31
|
-
border-bottom-width: 0 !important;
|
32
|
-
border-color: $border_light !important;
|
33
|
-
min-height: 2.2em;
|
34
|
-
position: relative;
|
35
|
-
text-align:left;
|
36
|
-
white-space: normal;
|
37
|
-
&:before {
|
38
|
-
content: attr(data-title);
|
39
|
-
@include caption;
|
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_md !important;
|
53
|
-
border-top-width: 1px !important;
|
54
|
-
border-top-color: $border_light !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-xs !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
|
-
@media (hover:hover) {
|
95
|
-
&:hover {
|
96
|
-
tbody {
|
97
|
-
tr {
|
98
|
-
box-shadow: 0 0 0 $white !important;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
// reset the first and last to normalize
|
104
|
-
@each $name, $value in $cell-pad-list {
|
105
|
-
&.#{$name} {
|
106
|
-
tbody {
|
107
|
-
tr {
|
108
|
-
td {
|
109
|
-
&:first-child,
|
110
|
-
&:last-child {
|
111
|
-
padding: $value $cell-gutter !important;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
}
|
115
|
-
}
|
116
|
-
}
|
117
|
-
}
|
118
|
-
}
|
119
|
-
}
|
120
|
-
&.hide-labels {
|
121
|
-
tbody {
|
122
|
-
tr {
|
123
|
-
td {
|
124
|
-
&::before {
|
125
|
-
content: '';
|
126
|
-
left: 0;
|
127
|
-
padding-right: 0;
|
128
|
-
position: relative;
|
129
|
-
width: 0;
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|
133
|
-
}
|
134
|
-
}
|
135
|
-
}
|
@@ -1,135 +0,0 @@
|
|
1
|
-
@import "../../tokens/border_radius";
|
2
|
-
@import "../../pb_caption/caption_mixin";
|
3
|
-
|
4
|
-
@media only screen and (max-width: $screen-lg-min) {
|
5
|
-
[class^=pb_table] {
|
6
|
-
&.table-sm.table-collapse-md,
|
7
|
-
&.table-md.table-collapse-md,
|
8
|
-
&.table-lg.table-collapse-md {
|
9
|
-
width: 100%;
|
10
|
-
background: none !important;
|
11
|
-
|
12
|
-
thead {
|
13
|
-
tr {
|
14
|
-
left: -9999px;
|
15
|
-
position: absolute;
|
16
|
-
top: -9999px;
|
17
|
-
|
18
|
-
th {
|
19
|
-
display: block;
|
20
|
-
visibility: visible;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
tbody {
|
25
|
-
tr {
|
26
|
-
td {
|
27
|
-
display: block;
|
28
|
-
visibility: visible;
|
29
|
-
border-left-width: 1px !important;
|
30
|
-
border-right-width: 1px !important;
|
31
|
-
border-bottom-width: 0 !important;
|
32
|
-
border-color: $border_light !important;
|
33
|
-
min-height: 2.2em;
|
34
|
-
position: relative;
|
35
|
-
text-align:left;
|
36
|
-
white-space: normal;
|
37
|
-
&:before {
|
38
|
-
content: attr(data-title);
|
39
|
-
@include caption;
|
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_md !important;
|
53
|
-
border-top-width: 1px !important;
|
54
|
-
border-top-color: $border_light !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-xs !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
|
-
@media (hover:hover) {
|
95
|
-
&:hover {
|
96
|
-
tbody {
|
97
|
-
tr {
|
98
|
-
box-shadow: 0 0 0 $white !important;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
// reset the first and last to normalize
|
104
|
-
@each $name, $value in $cell-pad-list {
|
105
|
-
&.#{$name} {
|
106
|
-
tbody {
|
107
|
-
tr {
|
108
|
-
td {
|
109
|
-
&:first-child,
|
110
|
-
&:last-child {
|
111
|
-
padding: $value $cell-gutter !important;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
}
|
115
|
-
}
|
116
|
-
}
|
117
|
-
}
|
118
|
-
}
|
119
|
-
}
|
120
|
-
&.hide-labels {
|
121
|
-
tbody {
|
122
|
-
tr {
|
123
|
-
td {
|
124
|
-
&::before {
|
125
|
-
content: '';
|
126
|
-
left: 0;
|
127
|
-
padding-right: 0;
|
128
|
-
position: relative;
|
129
|
-
width: 0;
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|
133
|
-
}
|
134
|
-
}
|
135
|
-
}
|