-
Notifications
You must be signed in to change notification settings - Fork 5
/
header.component.scss
116 lines (96 loc) · 2.39 KB
/
header.component.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
@use '@angular/material' as mat;
@use '../../theme.scss';
mat-toolbar-row {
background: white;
position: relative;
padding: 0.5rem 3rem;
font-weight: normal;
display: block;
height: auto !important;
@media (min-width: 992px) {
display: flex;
}
.brand {
display: inline-block;
padding-top: 0.3125rem;
padding-bottom: 0.3125rem;
margin-right: 1rem;
font-size: 1.5rem;
line-height: inherit;
white-space: nowrap;
color: mat.get-color-from-palette(theme.$ngapimock-primary);
}
.toggler {
float: right;
margin-top: 0px;
padding: 0.25rem 0.75rem;
font-size: 1.25rem;
border: 1px solid mat.get-color-from-palette(theme.$ngapimock-secondary, 300);;
border-radius: 0.25rem;
background-color: transparent;
@media (min-width: 992px) {
display: none;
}
&-icon {
display: inline-block;
width: 1.5em;
height: 1.5em;
vertical-align: middle;
content: "";
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
}
.collapse {
display: flex;
flex-basis: auto;
flex-grow: 1;
align-items: center;
ul {
display: flex;
flex-direction: column;
padding-left: 0;
list-style: none;
margin:0;
@media (min-width: 992px) {
flex-direction: row;
}
margin-right: auto !important;
li {
a {
display: block;
padding: 0 1rem;
text-decoration: none;
color: mat.get-color-from-palette(theme.$ngapimock-secondary, 500);
@media (min-width: 992px) {
padding: 0 0.5rem;
}
}
&.active a {
color: mat.get-color-from-palette(theme.$ngapimock-secondary, 900);
}
}
&.active a {
color: mat.get-color-from-palette(theme.$ngapimock-secondary, 900);
}
}
a {
font-size: 17.6px;
}
}
@media (max-width: 992px) {
.collapse:not(.show) {
display:none;
}
.github-buttons {
display:none;
}
}
}
.jumbotron {
margin-bottom: 2rem;
font-size: 1.5rem;
background: #4caf50;
color: white;
text-align: center;
padding: 1rem;
}