/
usr
/
share
/
sass
/
bootstrap
/
/usr/share/sass/bootstrap
mkdir
upload
Name
Size
Mode
Actions
mixins/
-
0755
rm
utilities/
-
0755
rm
vendor/
-
0755
rm
bootstrap-grid.scss
598
0644
edit
dl
rm
bootstrap-reboot.scss
409
0644
edit
dl
rm
bootstrap.scss
918
0644
edit
dl
rm
_alert.scss
1164
0644
edit
dl
rm
_badge.scss
1121
0644
edit
dl
rm
_breadcrumb.scss
1326
0644
edit
dl
rm
_button-group.scss
3626
0644
edit
dl
rm
_buttons.scss
2685
0644
edit
dl
rm
_card.scss
5935
0644
edit
dl
rm
_carousel.scss
4794
0644
edit
dl
rm
_close.scss
940
0644
edit
dl
rm
_code.scss
1012
0644
edit
dl
rm
_custom-forms.scss
15688
0644
edit
dl
rm
_dropdown.scss
4436
0644
edit
dl
rm
_forms.scss
9242
0644
edit
dl
rm
_functions.scss
4181
0644
edit
dl
rm
_grid.scss
1745
0644
edit
dl
rm
_images.scss
1157
0644
edit
dl
rm
_input-group.scss
6318
0644
edit
dl
rm
_jumbotron.scss
405
0644
edit
dl
rm
_list-group.scss
3870
0644
edit
dl
rm
_media.scss
83
0644
edit
dl
rm
_mixins.scss
1050
0644
edit
dl
rm
_modal.scss
6308
0644
edit
dl
rm
_nav.scss
2154
0644
edit
dl
rm
_navbar.scss
7529
0644
edit
dl
rm
_pagination.scss
1823
0644
edit
dl
rm
_popover.scss
4705
0644
edit
dl
rm
_print.scss
3033
0644
edit
dl
rm
_progress.scss
1171
0644
edit
dl
rm
_reboot.scss
11539
0644
edit
dl
rm
_root.scss
572
0644
edit
dl
rm
_spinners.scss
1263
0644
edit
dl
rm
_tables.scss
3544
0644
edit
dl
rm
_toasts.scss
1132
0644
edit
dl
rm
_tooltip.scss
2512
0644
edit
dl
rm
_transitions.scss
261
0644
edit
dl
rm
_type.scss
2222
0644
edit
dl
rm
_utilities.scss
536
0644
edit
dl
rm
_variables.scss
48498
0644
edit
dl
rm
Edit:
/usr/share/sass/bootstrap/_tables.scss
(3544B)
// // Basic Bootstrap table // .table { width: 100%; margin-bottom: $spacer; color: $table-color; background-color: $table-bg; // Reset for nesting within parents with `background-color`. th, td { padding: $table-cell-padding; vertical-align: top; border-top: $table-border-width solid $table-border-color; } thead th { vertical-align: bottom; border-bottom: (2 * $table-border-width) solid $table-border-color; } tbody + tbody { border-top: (2 * $table-border-width) solid $table-border-color; } } // // Condensed table w/ half padding // .table-sm { th, td { padding: $table-cell-padding-sm; } } // Border versions // // Add or remove borders all around the table and between all the columns. .table-bordered { border: $table-border-width solid $table-border-color; th, td { border: $table-border-width solid $table-border-color; } thead { th, td { border-bottom-width: 2 * $table-border-width; } } } .table-borderless { th, td, thead th, tbody + tbody { border: 0; } } // Zebra-striping // // Default zebra-stripe styles (alternating gray and transparent backgrounds) .table-striped { tbody tr:nth-of-type(#{$table-striped-order}) { background-color: $table-accent-bg; } } // Hover effect // // Placed here since it has to come after the potential zebra striping .table-hover { tbody tr { @include hover() { color: $table-hover-color; background-color: $table-hover-bg; } } } // Table backgrounds // // Exact selectors below required to override `.table-striped` and prevent // inheritance to nested tables. @each $color, $value in $theme-colors { @include table-row-variant($color, theme-color-level($color, $table-bg-level), theme-color-level($color, $table-border-level)); } @include table-row-variant(active, $table-active-bg); // Dark styles // // Same table markup, but inverted color scheme: dark background and light text. // stylelint-disable-next-line no-duplicate-selectors .table { .thead-dark { th { color: $table-dark-color; background-color: $table-dark-bg; border-color: $table-dark-border-color; } } .thead-light { th { color: $table-head-color; background-color: $table-head-bg; border-color: $table-border-color; } } } .table-dark { color: $table-dark-color; background-color: $table-dark-bg; th, td, thead th { border-color: $table-dark-border-color; } &.table-bordered { border: 0; } &.table-striped { tbody tr:nth-of-type(#{$table-striped-order}) { background-color: $table-dark-accent-bg; } } &.table-hover { tbody tr { @include hover() { color: $table-dark-hover-color; background-color: $table-dark-hover-bg; } } } } // Responsive tables // // Generate series of `.table-responsive-*` classes for configuring the screen // size of where your table will overflow. .table-responsive { @each $breakpoint in map-keys($grid-breakpoints) { $next: breakpoint-next($breakpoint, $grid-breakpoints); $infix: breakpoint-infix($next, $grid-breakpoints); &#{$infix} { @include media-breakpoint-down($breakpoint) { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; // Prevent double border on horizontal scroll due to use of `display: block;` > .table-bordered { border: 0; } } } } }
Save
cmd:
run