-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy paththeme.scss
63 lines (50 loc) · 1.23 KB
/
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
@import '~@angular/material/theming';
html, body {
margin: 0;
height: 100vh;
font-family: Roboto, Arial, sans-serif;
}
.action-button-row {
text-align: center;
margin-top: 20px;
}
.action-button-row button,
.action-button-row a {
margin-right: 8px;
}
.mat-list-icon {
color: rgba(0, 0, 0, 0.54);
}
.input-field {
width: 100%;
}
@include mat-core();
$qc-atlas-ui-primary: mat-palette($mat-indigo);
$qc-atlas-ui-accent: mat-palette($mat-grey, A200, A100, A400);
$qc-atlas-ui-warn: mat-palette($mat-red);
$qc-atlas-ui-theme: mat-light-theme($qc-atlas-ui-primary, $qc-atlas-ui-accent, $qc-atlas-ui-warn);
@include angular-material-theme($qc-atlas-ui-theme);
.master-save-button {
position: fixed !important;
top: 50%;
right: 15px;
text-align:center;
float:left;
background: linear-gradient(to right, white 50%, mat-color($qc-atlas-ui-primary) 50%);
background-size: 200% 100%;
background-position: left bottom;
margin-left:10px;
transition:all 1s ease;
outline: 0 !important;
}
.master-save-button:hover {
background-position:right bottom;
color: white;
}
.master-save-icon {
color: mat-color($qc-atlas-ui-primary);
transition:all 1s ease;
}
.master-save-button:hover .master-save-icon {
color: white;
}