-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
95 lines (89 loc) · 1.83 KB
/
style.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/* Optional: Makes the sample page fill the window. */
html,
body {
height: 100%;
margin: 0;
padding: 0;
background: #FAF6F0;
}
#container {
height: 305px;
display: flex;
max-width: 1300px;
margin: auto;
}
li{
display: flex;
align-items: flex-start;
justify-content: space-between;
}
p{
margin: 0;
}
ul{
padding: 0;
}
.active{
background-color: #F6F6F6;
}
.path-mark:hover{
color: orange;
}
.accordion-button{
border-radius: 0 !important;
}
.path-marker{
display: inline-flex;
gap: 4px
}
#sidebar {
flex-basis: 15rem;
flex-grow: 1;
padding: 1rem;
max-width: 30rem;
height: 100%;
box-sizing: border-box;
overflow: auto;
}
#sidebar-text {
flex-basis: 15rem;
flex-grow: 1;
padding: 1rem;
padding-top: 0;
padding-bottom: 0;
height: 100%;
box-sizing: border-box;
overflow: auto;
}
#map {
flex-basis: 0;
flex-grow: 4;
height: 100%;
}
#sidebar {
flex-direction: column;
}
.path-mark{
cursor: pointer;
}
.accordion-button.collapsed::after {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-button:not(.collapsed)::after{
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
@media (max-width: 992px) {
#container {
display: block;
flex-direction: column;
}
#sidebar-text{
padding: 0;
margin-top: 1rem;
}
#map{
display: block;
height: 400px;
flex-basis: 600px;
}
}