{: versionI"3.2.14 (Media Mark):EF:shaI"-ab25582d288d6132d54c2a530d5886840a57282c;F: contents"Xo:Sass::Tree::RootNode :@children[o:Sass::Tree::CommentNode : @value[I"J/* * Tables * -------------------------------------------------- */:ET: @type: silent;[: @linei: @options{o:Sass::Tree::RuleNode : @rule[I" table; T: @tabsi:@parsed_ruleso:"Sass::Selector::CommaSequence: @members[o:Sass::Selector::Sequence;[o:#Sass::Selector::SimpleSequence ;[o:Sass::Selector::Element : @name[I" table; T:@namespace0; i :@filenameI"; T: @subject0: @sourceso:Set: @hash{; i ;@; i ;@;[o:Sass::Tree::PropNode ;[I"max-width; T;o:Sass::Script::String;I" 100%; T; :identifier; @ ;i:@prop_syntax:new;[; i ; @ o; ;[I"background-color; T;o:Sass::Script::Variable ;I" table-bg; T:@underscored_nameI" table_bg; T; i ; @ ;i;!;";[; i ; @ ; i :@has_childrenT; @ o; ;[I"th; T;i;o;;[o;;[o; ;[o; ;[I"th; T;0; i;I"; T;0;o;;{; i;@5; i;@5;[o; ;[I"text-align; T;o;;I" left; T; ; ; @ ;i;!;";[; i; @ ; i;%T; @ o; ;[I"/* Baseline styles */; T; ; ;[; i; @ o; ;[I" .table; T;i;o;;[o;;[o; ;[o:Sass::Selector::Class;[I" table; T; i;I"; T;0;o;;{; i;@O; i;@O;[o; ;[I" width; T;o;;I" 100%; T; ; ; @ ;i;!;";[; i; @ o; ;[I"margin-bottom; T;o;# ;I"line-height-computed; T;$I"line_height_computed; T; i; @ ;i;!;";[; i; @ o; ;[I"/* Cells */; T; ; ;[; i; @ o; ;[I""> thead, > tbody, > tfoot; T;i;o;;[o;;[I">; To; ;[o; ;[I" thead; T;0; i;I"; T;0;o;;{; i;@qo;;[I" ; TI">; To; ;[o; ;[I" tbody; T;0; i;@q;0;o;;{; i;@qo;;[I" ; TI">; To; ;[o; ;[I" tfoot; T;0; i;@q;0;o;;{; i;@q; i;@q;[o; ;[I" > tr; T;i;o;;[o;;[I">; To; ;[o; ;[I"tr; T;0; i;I"; T;0;o;;{; i;@; i;@;[o; ;[I"> th, > td; T;i;o;;[o;;[I">; To; ;[o; ;[I"th; T;0; i;I"; T;0;o;;{; i;@o;;[I" ; TI">; To; ;[o; ;[I"td; T;0; i;@;0;o;;{; i;@; i;@;[ o; ;[I" padding; T;o;# ;I"table-cell-padding; T;$I"table_cell_padding; T; i ; @ ;i;!;";[; i ; @ o; ;[I"line-height; T;o;# ;I"line-height-base; T;$I"line_height_base; T; i!; @ ;i;!;";[; i!; @ o; ;[I"vertical-align; T;o;;I"top; T; ; ; @ ;i;!;";[; i"; @ o; ;[I"border-top; T;o:Sass::Script::List ;[o:Sass::Script::Number ;i:@numerator_units[I"px; T:@denominator_units[; i#:@originalI"1px; F; @ o; ;I" solid; T; ; ; i#; @ o;# ;I"table-border-color; T;$I"table_border_color; T; i#; @ :@separator: space; i#; @ ;i;!;";[; i#; @ ; i;%T; @ ; i;%T; @ ; i;%T; @ o; ;[I"+/* Bottom align for column headings */; T; ; ;[; i'; @ o; ;[I"> thead > tr > th; T;i;o;;[o;;[ I">; To; ;[o; ;[I" thead; T;0; i(;I"; T;0;o;;{; i(;@I">; To; ;[o; ;[I"tr; T;0; i(;@;0;o;;{; i(;@I">; To; ;[o; ;[I"th; T;0; i(;@;0;o;;{; i(;@; i(;@;[o; ;[I"vertical-align; T;o;;I" bottom; T; ; ; @ ;i;!;";[; i); @ o; ;[I"border-bottom; T;o;' ;[o;( ;i;)[I"px; T;*[; i*;+I"2px; F; @ o; ;I" solid; T; ; ; i*; @ o;# ;I"table-border-color; T;$I"table_border_color; T; i*; @ ;,;-; i*; @ ;i;!;";[; i*; @ ; i(;%T; @ o; ;[I"2/* Remove top border from thead by default */; T; ; ;[; i,; @ o; ;[I"C> caption + thead, > colgroup + thead, > thead:first-child; T;i;o;;[o;;[ I">; To; ;[o; ;[I" caption; T;0; i/;I"; T;0;o;;{; i/;@#I"+; To; ;[o; ;[I" thead; T;0; i/;@#;0;o;;{; i/;@#o;;[ I" ; TI">; To; ;[o; ;[I" colgroup; T;0; i/;@#;0;o;;{; i/;@#I"+; To; ;[o; ;[I" thead; T;0; i/;@#;0;o;;{; i/;@#o;;[I" ; TI">; To; ;[o; ;[I" thead; T;0; i/;@#o:Sass::Selector::Pseudo :@syntactic_type: class;[I"first-child; T: @arg0; i/;@#;0;o;;{; i/;@#; i/;@#;[o; ;[I"> tr:first-child; T;i;o;;[o;;[I">; To; ;[o; ;[I"tr; T;0; i0;I"; To;. ;/;0;[I"first-child; T;10; i0;@];0;o;;{; i0;@]; i0;@];[o; ;[I"> th, > td; T;i;o;;[o;;[I">; To; ;[o; ;[I"th; T;0; i2;I"; T;0;o;;{; i2;@qo;;[I" ; TI">; To; ;[o; ;[I"td; T;0; i2;@q;0;o;;{; i2;@q; i2;@q;[o; ;[I"border-top; T;o;;I"0; T; ; ; @ ;i;!;";[; i3; @ ; i2;%T; @ ; i0;%T; @ ; i/;%T; @ o; ;[I"//* Account for multiple tbody instances */; T; ; ;[; i7; @ o; ;[I"> tbody + tbody; T;i;o;;[o;;[ I">; To; ;[o; ;[I" tbody; T;0; i8;I"; T;0;o;;{; i8;@I"+; To; ;[o; ;[I" tbody; T;0; i8;@;0;o;;{; i8;@; i8;@;[o; ;[I"border-top; T;o;' ;[o;( ;i;)[I"px; T;*[; i9;+I"2px; F; @ o; ;I" solid; T; ; ; i9; @ o;# ;I"table-border-color; T;$I"table_border_color; T; i9; @ ;,;-; i9; @ ;i;!;";[; i9; @ ; i8;%T; @ o; ;[I"/* Nesting */; T; ; ;[; i<; @ o; ;[I" .table; T;i;o;;[o;;[o; ;[o;&;[I" table; T; i=;I"; T;0;o;;{; i=;@; i=;@;[o; ;[I"background-color; T;o;# ;I" body-bg; T;$I" body_bg; T; i>; @ ;i;!;";[; i>; @ ; i=;%T; @ ; i;%T; @ o; ;[I"*/* Condensed table w/ half padding */; T; ; ;[; iC; @ o; ;[I".table-condensed; T;i;o;;[o;;[o; ;[o;&;[I"table-condensed; T; iE;I"; T;0;o;;{; iE;@; iE;@;[o; ;[I""> thead, > tbody, > tfoot; T;i;o;;[o;;[I">; To; ;[o; ;[I" thead; T;0; iH;I"; T;0;o;;{; iH;@o;;[I" ; TI">; To; ;[o; ;[I" tbody; T;0; iH;@;0;o;;{; iH;@o;;[I" ; TI">; To; ;[o; ;[I" tfoot; T;0; iH;@;0;o;;{; iH;@; iH;@;[o; ;[I" > tr; T;i;o;;[o;;[I">; To; ;[o; ;[I"tr; T;0; iI;I"; T;0;o;;{; iI;@; iI;@;[o; ;[I"> th, > td; T;i;o;;[o;;[I">; To; ;[o; ;[I"th; T;0; iK;I"; T;0;o;;{; iK;@'o;;[I" ; TI">; To; ;[o; ;[I"td; T;0; iK;@';0;o;;{; iK;@'; iK;@';[o; ;[I" padding; T;o;# ;I"!table-condensed-cell-padding; T;$I"!table_condensed_cell_padding; T; iL; @ ;i;!;";[; iL; @ ; iK;%T; @ ; iI;%T; @ ; iH;%T; @ ; iE;%T; @ o; ;[I"_/* Bordered version * * Add borders all around the table and between all the columns. */; T; ; ;[; iS; @ o; ;[I".table-bordered; T;i;o;;[o;;[o; ;[o;&;[I"table-bordered; T; iW;I"; T;0;o;;{; iW;@M; iW;@M;[o; ;[I" border; T;o;' ;[o;( ;i;)[I"px; T;*[; iX;+I"1px; F; @ o; ;I" solid; T; ; ; iX; @ o;# ;I"table-border-color; T;$I"table_border_color; T; iX; @ ;,;-; iX; @ ;i;!;";[; iX; @ o; ;[I""> thead, > tbody, > tfoot; T;i;o;;[o;;[I">; To; ;[o; ;[I" thead; T;0; i[;I"; T;0;o;;{; i[;@no;;[I" ; TI">; To; ;[o; ;[I" tbody; T;0; i[;@n;0;o;;{; i[;@no;;[I" ; TI">; To; ;[o; ;[I" tfoot; T;0; i[;@n;0;o;;{; i[;@n; i[;@n;[o; ;[I" > tr; T;i;o;;[o;;[I">; To; ;[o; ;[I"tr; T;0; i\;I"; T;0;o;;{; i\;@; i\;@;[o; ;[I"> th, > td; T;i;o;;[o;;[I">; To; ;[o; ;[I"th; T;0; i^;I"; T;0;o;;{; i^;@o;;[I" ; TI">; To; ;[o; ;[I"td; T;0; i^;@;0;o;;{; i^;@; i^;@;[o; ;[I" border; T;o;' ;[o;( ;i;)[I"px; T;*[; i_;+I"1px; F; @ o; ;I" solid; T; ; ; i_; @ o;# ;I"table-border-color; T;$I"table_border_color; T; i_; @ ;,;-; i_; @ ;i;!;";[; i_; @ ; i^;%T; @ ; i\;%T; @ ; i[;%T; @ o; ;[I"> thead > tr; T;i;o;;[o;;[ I">; To; ;[o; ;[I" thead; T;0; ic;I"; T;0;o;;{; ic;@I">; To; ;[o; ;[I"tr; T;0; ic;@;0;o;;{; ic;@; ic;@;[o; ;[I"> th, > td; T;i;o;;[o;;[I">; To; ;[o; ;[I"th; T;0; ie;I"; T;0;o;;{; ie;@o;;[I" ; TI">; To; ;[o; ;[I"td; T;0; ie;@;0;o;;{; ie;@; ie;@;[o; ;[I"border-bottom-width; T;o;;I"2px; T; ; ; @ ;i;!;";[; if; @ ; ie;%T; @ ; ic;%T; @ ; iW;%T; @ o; ;[I"j/* Zebra-striping * * Default zebra-stripe styles (alternating gray and transparent backgrounds) */; T; ; ;[; il; @ o; ;[I".table-striped; T;i;o;;[o;;[o; ;[o;&;[I"table-striped; T; ip;I"; T;0;o;;{; ip;@; ip;@;[o; ;[I" > tbody > tr:nth-child(odd); T;i;o;;[o;;[ I">; To; ;[o; ;[I" tbody; T;0; iq;I"; T;0;o;;{; iq;@!I">; To; ;[o; ;[I"tr; T;0; iq;@!o;. ;/;0;[I"nth-child; T;1[I"odd; T; iq;@!;0;o;;{; iq;@!; iq;@!;[o; ;[I"> td, > th; T;i;o;;[o;;[I">; To; ;[o; ;[I"td; T;0; is;I"; T;0;o;;{; is;@?o;;[I" ; TI">; To; ;[o; ;[I"th; T;0; is;@?;0;o;;{; is;@?; is;@?;[o; ;[I"background-color; T;o;# ;I"table-bg-accent; T;$I"table_bg_accent; T; it; @ ;i;!;";[; it; @ ; is;%T; @ ; iq;%T; @ ; ip;%T; @ o; ;[I"a/* Hover effect * * Placed here since it has to come after the potential zebra striping */; T; ; ;[; iz; @ o; ;[I".table-hover; T;i;o;;[o;;[o; ;[o;&;[I"table-hover; T; i~;I"; T;0;o;;{; i~;@e; i~;@e;[o; ;[I"> tbody > tr:hover; T;i;o;;[o;;[ I">; To; ;[o; ;[I" tbody; T;0; i;I"; T;0;o;;{; i;@vI">; To; ;[o; ;[I"tr; T;0; i;@vo;. ;/;0;[I" hover; T;10; i;@v;0;o;;{; i;@v; i;@v;[o; ;[I"> td, > th; T;i;o;;[o;;[I">; To; ;[o; ;[I"td; T;0; i|;I"; T;0;o;;{; i|;@o;;[I" ; TI">; To; ;[o; ;[I"th; T;0; i|;@;0;o;;{; i|;@; i|;@;[o; ;[I"background-color; T;o;# ;I"table-bg-hover; T;$I"table_bg_hover; T; i}; @ ;i;!;";[; i}; @ ; i|;%T; @ ; i;%T; @ ; i~;%T; @ o; ;[I"?/* Table cell sizing * * Reset default table behavior */; T; ; ;[; i; @ o; ;[I"table col[class*="col-"]; T;i;o;;[o;;[o; ;[o; ;[I" table; T;0; i;I"; T;0;o;;{; i;@o; ;[o; ;[I"col; T;0; i;@o:Sass::Selector::Attribute ;[I" class; T;0:@operatorI"*=; T;[I" "col-"; T: @flags0; i;@;0;o;;{; i;@; i;@;[ o; ;[I" position; T;o;;I" static; T; ; ; @ ;i;!;";[; i; @ o; ;[I"k/* Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623) */; T; ; ;[; i; @ o; ;[I" float; T;o;;I" none; T; ; ; @ ;i;!;";[; i; @ o; ;[I" display; T;o;;I"table-column; T; ; ; @ ;i;!;";[; i; @ ; i;%T; @ o; ;[I" table; T;i;o;;[o;;[o; ;[o; ;[I" table; T;0; i;I"; T;0;o;;{; i;@; i;@;[o; ;[I" td, th; T;i;o;;[o;;[o; ;[o; ;[I"td; T;0; i;I"; T;0;o;;{; i;@o;;[I" ; To; ;[o; ;[I"th; T;0; i;@;0;o;;{; i;@; i;@;[o; ;[I"&[class*="col-"]; T;i;o;;[o;;[o; ;[o:Sass::Selector::Parent; i;I"; To;2 ;[I" class; T;0;3I"*=; T;[I" "col-"; T;40; i;@;0;o;;{; i;@; i;@;[ o; ;[I" position; T;o;;I" static; T; ; ; @ ;i;!;";[; i; @ o; ;[I"k/* Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623) */; T; ; ;[; i; @ o; ;[I" float; T;o;;I" none; T; ; ; @ ;i;!;";[; i; @ o; ;[I" display; T;o;;I"table-cell; T; ; ; @ ;i;!;";[; i; @ ; i;%T; @ ; i;%T; @ ; i;%T; @ o; ;[I"/* Table backgrounds * * Exact selectors below required to override `.table-striped` and prevent * inheritance to nested tables. */; T; ; ;[; i; @ o; ;[I"+/* Generate the contextual variants */; T; ; ;[; i; @ o:Sass::Tree::MixinNode ;I"table-row-variant; T: @args[o; ;I" active; T; : string; i; @ o;# ;I"table-bg-active; T;$I"table_bg_active; T; i; @ :@keywords{: @splat0;[; i; @ o;6 ;I"table-row-variant; T;7[o; ;I" success; T; ;8; i; @ o;# ;I"state-success-bg; T;$I"state_success_bg; T; i; @ ;9{;:0;[; i; @ o;6 ;I"table-row-variant; T;7[o; ;I" info; T; ;8; i; @ o;# ;I"state-info-bg; T;$I"state_info_bg; T; i; @ ;9{;:0;[; i; @ o;6 ;I"table-row-variant; T;7[o; ;I" warning; T; ;8; i; @ o;# ;I"state-warning-bg; T;$I"state_warning_bg; T; i; @ ;9{;:0;[; i; @ o;6 ;I"table-row-variant; T;7[o; ;I" danger; T; ;8; i; @ o;# ;I"state-danger-bg; T;$I"state_danger_bg; T; i; @ ;9{;:0;[; i; @ o; ;[I"/* Responsive tables * * Wrap your tables in `.table-responsive` and we'll make them mobile friendly * by enabling horizontal scrolling. Only applies <768px. Everything above that * will display normally. */; T; ; ;[; i; @ o:Sass::Tree::MediaNode : @query[ I"(; To; ;I"max-width; T; ; ; i; @ I": ; To;# ;I"screen-xs-max; T;$I"screen_xs_max; T; i; @ I"); T;i;I"; T;[o; ;[I".table-responsive; T;i;o;;[o;;[o; ;[o;&;[I"table-responsive; T; i;I"; T;0;o;;{; i;@; i;@;[o; ;[I" width; T;o;;I" 100%; T; ; ; @ ;i;!;";[; i; @ o; ;[I"margin-bottom; T;o:Sass::Script::Operation :@operand1o;# ;I"line-height-computed; T;$I"line_height_computed; T; i; @ :@operand2o;( ;f 0.75;)[;*[; i;+I" 0.75; F; @ ;3: times; i; @ ;i;!;";[; i; @ o; ;[I"overflow-y; T;o;;I" hidden; T; ; ; @ ;i;!;";[; i; @ o; ;[I"overflow-x; T;o;;I" scroll; T; ; ; @ ;i;!;";[; i; @ o; ;[I"-ms-overflow-style; T;o;;I"-ms-autohiding-scrollbar; T; ; ; @ ;i;!;";[; i; @ o; ;[I" border; T;o;' ;[o;( ;i;)[I"px; T;*[; i;+I"1px; F; @ o; ;I" solid; T; ; ; i; @ o;# ;I"table-border-color; T;$I"table_border_color; T; i; @ ;,;-; i; @ ;i;!;";[; i; @ o; ;[I"-webkit-overflow-scrolling; T;o;;I" touch; T; ; ; @ ;i;!;";[; i; @ o; ;[I"/* Tighten up spacing */; T; ; ;[; i; @ o; ;[I" > .table; T;i;o;;[o;;[I">; To; ;[o;&;[I" table; T; i;I"; T;0;o;;{; i;@; i;@;[o; ;[I"margin-bottom; T;o;;I"0; T; ; ; @ ;i;!;";[; i; @ o; ;[I"*/* Ensure the content doesn't wrap */; T; ; ;[; i; @ o; ;[I"*> thead, > tbody, > tfoot; T;i;o;;[o;;[I">; To; ;[o; ;[I" thead; T;0; i;I"; T;0;o;;{; i;@o;;[I" ; TI">; To; ;[o; ;[I" tbody; T;0; i;@;0;o;;{; i;@o;;[I" ; TI">; To; ;[o; ;[I" tfoot; T;0; i;@;0;o;;{; i;@; i;@;[o; ;[I" > tr; T;i;o;;[o;;[I">; To; ;[o; ;[I"tr; T;0; i;I"; T;0;o;;{; i;@; i;@;[o; ;[I"> th, > td; T;i;o;;[o;;[I">; To; ;[o; ;[I"th; T;0; i;I"; T;0;o;;{; i;@,o;;[I" ; TI">; To; ;[o; ;[I"td; T;0; i;@,;0;o;;{; i;@,; i;@,;[o; ;[I"white-space; T;o;;I" nowrap; T; ; ; @ ;i;!;";[; i; @ ; i;%T; @ ; i;%T; @ ; i;%T; @ ; i;%T; @ o; ;[I"4/* Special overrides for the bordered tables */; T; ; ;[; i; @ o; ;[I"> .table-bordered; T;i;o;;[o;;[I">; To; ;[o;&;[I"table-bordered; T; i;I"; T;0;o;;{; i;@R; i;@R;[ o; ;[I" border; T;o;;I"0; T; ; ; @ ;i;!;";[; i; @ o; ;[I"J/* Nuke the appropriate borders so that the parent can handle them */; T; ; ;[; i; @ o; ;[I"*> thead, > tbody, > tfoot; T;i;o;;[o;;[I">; To; ;[o; ;[I" thead; T;0; i;I"; T;0;o;;{; i;@mo;;[I" ; TI">; To; ;[o; ;[I" tbody; T;0; i;@m;0;o;;{; i;@mo;;[I" ; TI">; To; ;[o; ;[I" tfoot; T;0; i;@m;0;o;;{; i;@m; i;@m;[o; ;[I" > tr; T;i;o;;[o;;[I">; To; ;[o; ;[I"tr; T;0; i;I"; T;0;o;;{; i;@; i;@;[o; ;[I"1> th:first-child, > td:first-child; T;i;o;;[o;;[I">; To; ;[o; ;[I"th; T;0; i;I"; To;. ;/;0;[I"first-child; T;10; i;@;0;o;;{; i;@o;;[I" ; TI">; To; ;[o; ;[I"td; T;0; i;@o;. ;/;0;[I"first-child; T;10; i;@;0;o;;{; i;@; i;@;[o; ;[I"border-left; T;o;;I"0; T; ; ; @ ;i;!;";[; i; @ ; i;%T; @ o; ;[I"/> th:last-child, > td:last-child; T;i;o;;[o;;[I">; To; ;[o; ;[I"th; T;0; i;I"; To;. ;/;0;[I"last-child; T;10; i;@;0;o;;{; i;@o;;[I" ; TI">; To; ;[o; ;[I"td; T;0; i;@o;. ;/;0;[I"last-child; T;10; i;@;0;o;;{; i;@; i;@;[o; ;[I"border-right; T;o;;I"0; T; ; ; @ ;i;!;";[; i; @ ; i;%T; @ ; i;%T; @ ; i;%T; @ o; ;[I"/* Only nuke the last row's bottom-border in `tbody` and `tfoot` since * chances are there will be only one `tr` in a `thead` and that would * remove the border altogether. */; T; ; ;[; i; @ o; ;[I"> tbody, > tfoot; T;i;o;;[o;;[I">; To; ;[o; ;[I" tbody; T;0; i;I"; T;0;o;;{; i;@o;;[I" ; TI">; To; ;[o; ;[I" tfoot; T;0; i;@;0;o;;{; i;@; i;@;[o; ;[I"> tr:last-child; T;i;o;;[o;;[I">; To; ;[o; ;[I"tr; T;0; i;I"; To;. ;/;0;[I"last-child; T;10; i;@;0;o;;{; i;@; i;@;[o; ;[I"> th, > td; T;i;o;;[o;;[I">; To; ;[o; ;[I"th; T;0; i;I"; T;0;o;;{; i;@)o;;[I" ; TI">; To; ;[o; ;[I"td; T;0; i;@);0;o;;{; i;@); i;@);[o; ;[I"border-bottom; T;o;;I"0; T; ; ; @ ;i;!;";[; i; @ ; i;%T; @ ; i;%T; @ ; i;%T; @ ; i;%T; @ ; i;%T; @ ; i;%T; @ :@templateI"// // Tables // -------------------------------------------------- table { max-width: 100%; background-color: $table-bg; } th { text-align: left; } // Baseline styles .table { width: 100%; margin-bottom: $line-height-computed; // Cells > thead, > tbody, > tfoot { > tr { > th, > td { padding: $table-cell-padding; line-height: $line-height-base; vertical-align: top; border-top: 1px solid $table-border-color; } } } // Bottom align for column headings > thead > tr > th { vertical-align: bottom; border-bottom: 2px solid $table-border-color; } // Remove top border from thead by default > caption + thead, > colgroup + thead, > thead:first-child { > tr:first-child { > th, > td { border-top: 0; } } } // Account for multiple tbody instances > tbody + tbody { border-top: 2px solid $table-border-color; } // Nesting .table { background-color: $body-bg; } } // Condensed table w/ half padding .table-condensed { > thead, > tbody, > tfoot { > tr { > th, > td { padding: $table-condensed-cell-padding; } } } } // Bordered version // // Add borders all around the table and between all the columns. .table-bordered { border: 1px solid $table-border-color; > thead, > tbody, > tfoot { > tr { > th, > td { border: 1px solid $table-border-color; } } } > thead > tr { > th, > td { border-bottom-width: 2px; } } } // Zebra-striping // // Default zebra-stripe styles (alternating gray and transparent backgrounds) .table-striped { > tbody > tr:nth-child(odd) { > td, > th { background-color: $table-bg-accent; } } } // Hover effect // // Placed here since it has to come after the potential zebra striping .table-hover { > tbody > tr:hover { > td, > th { background-color: $table-bg-hover; } } } // Table cell sizing // // Reset default table behavior table col[class*="col-"] { position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623) float: none; display: table-column; } table { td, th { &[class*="col-"] { position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623) float: none; display: table-cell; } } } // Table backgrounds // // Exact selectors below required to override `.table-striped` and prevent // inheritance to nested tables. // Generate the contextual variants @include table-row-variant('active', $table-bg-active); @include table-row-variant('success', $state-success-bg); @include table-row-variant('info', $state-info-bg); @include table-row-variant('warning', $state-warning-bg); @include table-row-variant('danger', $state-danger-bg); // Responsive tables // // Wrap your tables in `.table-responsive` and we'll make them mobile friendly // by enabling horizontal scrolling. Only applies <768px. Everything above that // will display normally. @media (max-width: $screen-xs-max) { .table-responsive { width: 100%; margin-bottom: ($line-height-computed * 0.75); overflow-y: hidden; overflow-x: scroll; -ms-overflow-style: -ms-autohiding-scrollbar; border: 1px solid $table-border-color; -webkit-overflow-scrolling: touch; // Tighten up spacing > .table { margin-bottom: 0; // Ensure the content doesn't wrap > thead, > tbody, > tfoot { > tr { > th, > td { white-space: nowrap; } } } } // Special overrides for the bordered tables > .table-bordered { border: 0; // Nuke the appropriate borders so that the parent can handle them > thead, > tbody, > tfoot { > tr { > th:first-child, > td:first-child { border-left: 0; } > th:last-child, > td:last-child { border-right: 0; } } } // Only nuke the last row's bottom-border in `tbody` and `tfoot` since // chances are there will be only one `tr` in a `thead` and that would // remove the border altogether. > tbody, > tfoot { > tr:last-child { > th, > td { border-bottom: 0; } } } } } } ; T; i;%T; @