-
-
Notifications
You must be signed in to change notification settings - Fork 350
Expand file tree
/
Copy pathapp.component.css
More file actions
113 lines (104 loc) · 1.76 KB
/
app.component.css
File metadata and controls
113 lines (104 loc) · 1.76 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
103
104
105
106
107
108
109
110
111
112
113
:host {
display: flex;
flex-direction: column;
height: 100vh;
overflow: hidden;
}
.navbar {
position: sticky;
top: 0;
z-index: 5;
padding: 0 10px;
display: flex;
align-items: center;
height: 64px;
transition: all 0.25s ease;
flex-shrink: 0;
}
.sidenav-container {
flex: 1;
overflow: hidden;
}
.logo {
display: flex;
align-items: center;
justify-content: flex-start;
text-decoration: none;
margin-left: -4px;
height: 100%;
}
.logo-icon {
transform: scale(0.95);
transform-origin: left center;
width: auto;
display: block;
margin: auto 0;
}
.title-container {
position: absolute;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
animation: fadeSlide 0.4s ease;
margin-top: 4px;
gap: 3px;
}
.tag-title {
font-size: 0.85em;
font-weight: 500;
line-height: 1;
letter-spacing: 0.04em;
}
.tag-subtitle {
font-size: 0.65em;
margin-top: 0;
letter-spacing: 0.08em;
opacity: 0.6;
}
.menu-btn {
margin-right: 4px;
transition: all 0.2s ease;
}
.menu-btn:hover {
background: rgba(0,0,0,0.04);
transform: scale(1.05);
}
.content {
padding: 24px;
animation: fadeSlide 1s ease;
height: 100%;
box-sizing: border-box;
overflow-y: auto;
}
@keyframes fadeSlide {
from {
opacity: 0;
transform: translateY(-5px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 768px) {
.title-container {
font-size: 14px;
}
.tag-title {
font-size: 14px;
}
.tag-subtitle {
font-size: 11px;
}
.logo,
.logo-icon {
opacity: 0;
visibility: hidden;
width: 0;
margin: 0;
overflow: hidden;
}
}