-
Notifications
You must be signed in to change notification settings - Fork 7
/
imits-theme.scss
124 lines (114 loc) · 3.23 KB
/
imits-theme.scss
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
@use '@angular/material' as mat;
// Plus imports for other components in your app.
// Include the common styles for Angular Material. We include this here so that you only
// have to load a single css file for Angular Material in your app.
// Be sure that you only ever include this mixin once!
@include mat.core();
// Define the palettes for your theme using the Material Design palettes available in palette.scss
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
// hue.
// $impc-app-primary: mat-palette($mat-grey, 200);
// $impc-app-secondary: mat-palette($mat-light-blue, 800);
// $impc-app-accent: mat-palette($mat-orange, 600);
$impc-app-primary: mat.define-palette(mat.$blue-palette, 600);
$impc-app-secondary: mat.define-palette(mat.$light-blue-palette, 800);
$impc-app-accent: mat.define-palette(mat.$blue-palette, 300);
// The warn palette is optional (defaults to red).
$impc-app-warn: mat.define-palette(mat.$grey-palette, 200);
// Create the theme object (a Sass map containing all of the palettes).
$impc-app-theme: mat.define-light-theme((
color: (
primary: $impc-app-primary,
accent: $impc-app-accent,
warn: $impc-app-warn
),
typography: mat.define-typography-config(),
density: 0
));
// Include theme styles for core and each component used in your app.
// Alternatively, you can import and @include the theme mixins for each component
// that you are using.
@include mat.core-theme($impc-app-theme);
@include mat.all-component-themes($impc-app-theme);
.flex-row {
display: flex;
flex-direction: row;
}
.flex-col {
display: flex;
flex-direction: column;
}
mat-toolbar {
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
z-index: 900;
>.mat-mdc-mini-fab {
margin-right: 10px;
}
.spacer {
flex: 1 1 auto;
}
.title {
vertical-align: middle;
}
.title a {
color: inherit;
}
.logo {
margin-left: 20px;
img {
vertical-align: middle;
width: 50px;
height: auto;
}
}
}
.mat-mdc-card {
padding: 16px;
.mat-mdc-card-content {
padding: 0;
}
.mat-mdc-card-title {
font-size: 24px;
font-weight: 600;
}
.mat-mdc-card-subtitle {
margin-bottom: 16px;
}
.mdc-card__actions {
padding: 8px 0;
}
.mdc-card__actions:last-child {
margin-bottom: -8px;
padding-bottom: 0;
}
}
.mat-mdc-table {
.mdc-data-table__header-cell {
color: #0000008a;
font-size: 12px;
font-weight: 600;
line-height: 1.15;
}
.mat-mdc-cell:first-of-type {
padding-left: 24px;
}
}
.filter-form .mdc-list-item__primary-text {
font-size: 12px !important;
}
#reports-page {
.mat-mdc-tab {
border: 1px solid transparent;
border-bottom-color: rgba(0,0,0,.12);
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
.mdc-tab-indicator .mdc-tab-indicator__content {
border: 0
}
&.mdc-tab--active.mdc-tab-indicator--active, &:hover {
border-color: rgba(0,0,0, .12);
border-bottom-color: transparent;
border-top-left-radius: 0.375em;
border-top-right-radius: 0.375em;
}
}
}