-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
78 lines (64 loc) · 1.36 KB
/
main.css
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
/* Calcite Dev Summit 2024 Demo Template */
/* Demo template supporting styles */
@import 'https://js.arcgis.com/4.31/@arcgis/core/assets/esri/themes/light/main.css';
html,
body,
arcgis-map {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
calcite-menu-item {
--calcite-color-foreground-1: var(--calcite-color-background);
}
calcite-navigation-logo {
--calcite-ui-icon-color: var(--calcite-color-brand);
}
calcite-shell-panel[slot='panel-start'] calcite-panel {
border-top: 0;
}
calcite-action-pad {
margin-inline-end: 0.5rem;
}
arcgis-feature-table {
width: 100%;
height: 100%;
}
arcgis-editor {
/* position: absolute;
bottom: 0;
width: 100%; */
transition: all 0.2s ease-in-out;
/* transform: translateY(100%); */
}
.editor-show {
/* transform: translateY(0); */
}
.grid-container calcite-panel {
box-shadow: var(--calcite-shadow-sm);
}
.hidden {
display: none;
}
.grid-container {
overflow-y: auto;
margin: 1rem;
height: 100%;
max-height: calc(100%);
display: grid;
grid-auto-columns: 1fr;
grid-template-columns: minmax(18rem, 0.35fr) 1fr auto;
gap: 1rem 1rem;
grid-template-areas: 'panel-sidebar panel-map';
}
@media screen and (max-width: 800px) {
.grid-container {
grid-template-columns: 1fr;
grid-template-areas: 'panel-main' 'panel-info';
}
.panel-main,
.panel-info {
height: 40vh;
}
}