blob: 34516bbf4c953dca8a1e722fc647aad4f6de7977 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
table {
width: 100%;
}
.mat-form-field {
font-size: 14px;
width: 100%;
}
td, th {
width: 25%;
}
.mat-accordion .mat-header-row {
padding-left: 1.5rem;
padding-right: 2rem;
border-bottom: none;
}
//copied from https://github.com/angular/material2/blob/master/src/lib/table/table.scss
$mat-header-row-height: 56px;
$mat-row-height: 48px;
$mat-row-horizontal-padding: 24px;
.mat-header-row {
min-height: $mat-header-row-height;
}
.mat-row {
min-height: $mat-row-height;
}
.mat-row, .mat-header-row {
display: flex;
border-bottom-width: 1px;
border-bottom-style: solid;
align-items: center;
padding: 0 $mat-row-horizontal-padding;
box-sizing: border-box;
// Workaround for https://goo.gl/pFmjJD in IE 11. Adds a pseudo
// element that will stretch the row the correct height. See:
// https://connect.microsoft.com/IE/feedback/details/802625
&::after {
display: inline-block;
min-height: inherit;
content: '';
}
}
.mat-cell, .mat-header-cell {
flex: 1;
overflow: hidden;
word-wrap: break-word;
}
.mat-expansion-panel {
margin: 0;
border-radius: 4px;
overflow: hidden;
transition: margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);
}
|