-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdf-data-explorer.component.scss
More file actions
103 lines (87 loc) · 1.87 KB
/
df-data-explorer.component.scss
File metadata and controls
103 lines (87 loc) · 1.87 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
:host {
display: block;
overflow: hidden;
// height is set dynamically via HostBinding based on actual viewport position
}
.data-explorer-container {
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
}
// Use explicit height: 100% chain instead of flex, so mat-sidenav-container
// propagates its height properly to children using height: 100%
.explorer-sidenav-container {
height: 100% !important;
min-height: 0 !important;
max-height: 100% !important;
overflow: hidden !important;
}
// Also target via ::ng-deep to override Angular Material's own host styles
::ng-deep mat-sidenav-container.explorer-sidenav-container {
height: 100% !important;
min-height: 0 !important;
max-height: 100% !important;
}
.explorer-sidenav {
width: 280px;
border-right: 1px solid #e0e0e0;
background: #fafafa;
.dark-theme & {
border-right-color: #424242;
background: #303030;
}
}
.sidenav-content {
height: 100%;
overflow-y: auto;
}
.explorer-content {
background: #fff;
.dark-theme & {
background: #424242;
}
}
// Force mat-sidenav-content to have bounded height and act as positioned parent
::ng-deep .mat-sidenav-content,
::ng-deep .mat-drawer-content {
height: 100% !important;
overflow: hidden !important;
position: relative !important;
}
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
color: #757575;
text-align: center;
padding: 24px;
.dark-theme & {
color: #bdbdbd;
}
.empty-icon {
font-size: 64px;
width: 64px;
height: 64px;
color: #bdbdbd;
margin-bottom: 16px;
.dark-theme & {
color: #616161;
}
}
h2 {
margin: 0 0 8px 0;
font-size: 20px;
font-weight: 500;
color: #424242;
.dark-theme & {
color: #e0e0e0;
}
}
p {
margin: 0;
font-size: 14px;
}
}