lib/assets/stylesheets/tao/ui/tables.scss in tao_ui-0.1.3 vs lib/assets/stylesheets/tao/ui/tables.scss in tao_ui-0.2.0
- old
+ new
@@ -1,46 +1,8 @@
@import 'tao/ui/globals';
+@import 'tao/ui/shared/tables';
table.table {
- width: 100%;
- max-width: 100%;
- border-collapse: collapse;
-
- th {
- border-top: 1px solid $table-border-color;
- border-bottom: 1px solid $table-border-color;
- padding: 0.875rem 0.625rem;
- font-size: $font-size-xs;
- font-weight: normal;
- line-height: 1.125;
- color: $lighter-grey-color;
- text-align: left;
- }
-
- td {
- border-bottom: 1px solid $table-border-color;
- padding: 1.125rem 0.625rem;
- line-height: 1.125;
- text-align: left;
- }
-
- th.align-left,
- td.align-left {
- text-align: left;
- }
-
- th.align-right,
- td.align-right {
- text-align: right;
- }
-
- th.align-center,
- td.align-center {
- text-align: center;
- }
-
- @if not $mobile {
- tbody tr:hover {
- background-color: $table-row-hover-color;
- }
+ tbody tr:hover {
+ background-color: $table-row-hover-color;
}
}