-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathGPFpanel.scss
More file actions
110 lines (91 loc) · 1.79 KB
/
Copy pathGPFpanel.scss
File metadata and controls
110 lines (91 loc) · 1.79 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
@use '../../mixins.scss' as mx;
.GPF-dialog {
margin: 0;
padding: 0;
border: none;
width: 100%;
max-height: 80%;
position: fixed;
pointer-events: auto;
bottom: 0;
cursor: auto;
z-index: auto;
&[open] {
display: flex;
flex-direction: column;
}
@include mx.respond-from('sm') {
border-radius: 0.25rem;
width: 380px;
position: absolute;
top: 0.5rem;
max-height: calc(var(--map-height) - 20%);
&.GPF-dialog__left {
left: 0.5rem;
width: 330px;
}
&.GPF-dialog__right {
right: 4rem;
left: auto;
}
&.GPF-dialog--md {
width: 280px;
}
&.GPF-dialog--sm {
width: 200px;
}
}
&__header {
padding: 0.5rem;
display: flex;
gap: 1rem;
align-items: center;
justify-content: space-between;
@include mx.respond-from('sm') {
border-radius: 0.25rem 0.25rem 0 0;
}
.GPF-dialog__title {
display: flex;
gap: 0.5rem;
&-name {
font-size: 0.875rem;
}
}
.GPF-dialog__buttons {
display: flex;
}
}
&__content {
padding: 0 0.75rem 1.5rem;
overflow: hidden auto;
@include mx.respond-from('sm') {
max-height: calc(var(--map-height) - 20% - 48px);
}
.GPwidget {
position: unset;
}
&:empty {
padding: 0;
}
}
&:has(.fr-tabnav.fr-hidden) {
.GPF-dialog__content {
padding-top: 1.5rem;
}
}
&__footer {
display: flex;
flex-direction: column;
&:has(.GPF-dialog__btns-group:not(:empty)), &:has(.GPF-dialog__footer-content:not(:empty)) {
padding: 0 0.75rem 0.75rem;
// border-top: 1px solid grey;
&::before {
display: flex;
width:auto;
height: 1px;
content:"";
margin: 0 0 0.5rem;
}
}
}
}