2 * Copyright 2015 Google Inc. All Rights Reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 @import "../variables";
22 border: $data-table-dividers;
23 border-collapse: collapse;
25 font-size: $data-table-font-size;
26 background-color: unquote("rgb(#{$color-white})");
31 .mdl-data-table__select {
39 height: $data-table-row-height;
40 @include material-animation-default(0.28s);
41 transition-property: background-color;
44 background-color: $data-table-selection-color;
48 background-color: $data-table-hover-color;
54 padding: 0 $data-table-column-padding 12px $data-table-column-padding;
68 vertical-align: middle;
69 height: $data-table-row-height;
70 border-top: $data-table-dividers;
71 border-bottom: $data-table-dividers;
72 padding-top: $data-table-cell-top;
73 box-sizing: border-box;
75 .mdl-data-table__select {
76 vertical-align: middle;
82 vertical-align: bottom;
83 text-overflow: ellipsis;
84 @include typo-body-2();
85 height: $data-table-row-height;
86 font-size: $data-table-header-font-size;
87 color: $data-table-header-color;
89 box-sizing: border-box;
91 &.mdl-data-table__header--sorted-ascending,
92 &.mdl-data-table__header--sorted-descending {
93 color: $data-table-header-sorted-color;
96 font-size: $data-table-header-sort-icon-size;
104 color: $data-table-header-sorted-icon-hover-color;
108 &.mdl-data-table__header--sorted-descending:before {
114 .mdl-data-table__select {
118 .mdl-data-table__cell--non-numeric.mdl-data-table__cell--non-numeric {