-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathheader.component.scss
More file actions
102 lines (87 loc) · 1.43 KB
/
header.component.scss
File metadata and controls
102 lines (87 loc) · 1.43 KB
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
:host(app-header) {
padding-top: 0;
padding-bottom: 4.3em;
display: grid;
header {
position: fixed;
z-index: 999;
width: 100%;
nav {
display: flex;
flex-wrap: wrap;
align-items: center;
padding: 8px 16px;
color: white;
height: 4em;
background: #3f51b5;
.mat-raised-button {
color: #3f51b5;
margin-right: 1em;
font-weight: 400;
}
.progress-bar {
display: flex;
align-content: center;
align-items: center;
height: 5px;
}
.image-icon {
width: 20px;
height: 20px;
}
img {
vertical-align: middle;
}
#today {
font-size: 0.7em;
}
}
}
}
@media (max-width: 680px) {
:host(app-nav) {
padding-top: 0;
padding-bottom: 1em;
header {
position: relative;
nav {
height: 7em;
display: flex;
padding: 1em 2em 0;
> div {
margin-top: 1em;
}
}
}
}
:host(app-header) {
header {
nav {
height: 10em;
}
}
}
}
@media (max-width:599px){
:host(app-header) {
header {
nav {
#today{
margin-top: 1em;
}
}
}
}
}
@media (max-width: 425px) {
:host(app-nav) {
padding-bottom: 0;
header {
nav {
app-search-bar {
width: 75%;
}
}
}
}
}