-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathstyles.scss
57 lines (50 loc) · 1.13 KB
/
styles.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
@use '@angular/material' as mat;
@use '@angular/cdk' as cdk;
@import 'bootstrap/scss/bootstrap-reboot';
@import 'bootstrap/scss/bootstrap-grid';
@import 'bootstrap/scss/utilities/flex';
@import 'bootstrap/scss/utilities/text';
@import 'bootstrap/scss/buttons';
@import 'bootstrap/scss/card';
// Material progress bar
@import '@angular/material/theming';
$primary: mat.define-palette(mat.$indigo-palette);
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
$theme: mat.define-light-theme($primary, $accent);
@include mat.progress-bar-theme($theme);
@include mat.snack-bar-theme($theme);
@include cdk.overlay();
.btn {
margin: 0.25rem;
}
// github-corner
.github-corner {
position: fixed;
top: 0;
right: 0;
}
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0);
}
20%,
60% {
transform: rotate(-25deg);
}
40%,
80% {
transform: rotate(10deg);
}
}
@media (max-width: 500px) {
.github-corner:hover .octo-arm {
animation: none;
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
}