Co-authored-by: sora-ext Co-authored-by: soraefir Reviewed-on: #160
This commit is contained in:
207
src/style/custom.css
Normal file
207
src/style/custom.css
Normal file
@ -0,0 +1,207 @@
|
||||
.leaflet-popup-close-button {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.p-abs {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.list-group {
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
scrollbar-width: none;
|
||||
padding: 1rem 0rem;
|
||||
}
|
||||
|
||||
.list-group-item {
|
||||
border: 1px solid var(--darkdark);
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
padding: 0.5rem 0.8rem;
|
||||
}
|
||||
|
||||
.list-group-item:hover {
|
||||
filter: brightness(85%);
|
||||
}
|
||||
|
||||
.leaflet-control-attribution {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.display-none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.col-0 {
|
||||
flex: 0 0 0%;
|
||||
max-width: 0%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.map-container,
|
||||
.drawer-container {
|
||||
transition: flex 0.5s ease-in-out, max-width 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
.map-container {
|
||||
min-width: 52px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.drawer-container {
|
||||
height: 100%;
|
||||
right: 0;
|
||||
top: 0;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
.travel-path-icon {
|
||||
margin-left: -12px;
|
||||
margin-top: -32px;
|
||||
}
|
||||
|
||||
|
||||
.ml-auto {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.mr-auto {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.input .mx-input {
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.h-100 {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.map-menu {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
z-index: 1100;
|
||||
right: 0;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.map-menu-top {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.map-menu-bottom {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.map-menu-center {
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
.padding-1 {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.map-menu-item {
|
||||
background-color: var(--darkdark);
|
||||
padding: 5px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.map-menu-item:hover {
|
||||
filter: brightness(150%);
|
||||
}
|
||||
|
||||
.map-menu-sub {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.map-menu-item,
|
||||
.map-menu-sub-item {
|
||||
background-color: var(--darkdark);
|
||||
padding: 5px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.vue2leaflet-map {
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.leaflet-popup-content {
|
||||
margin: 10px 20px !important;
|
||||
/* display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: auto !important;
|
||||
max-width: 100%; */
|
||||
}
|
||||
|
||||
|
||||
.leaflet-popup>.leaflet-popup-content-wrapper {
|
||||
border-radius: var(--border-radius);
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
.leaflet-popup-button-group {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 5px;
|
||||
margin: 2px 6px;
|
||||
}
|
||||
|
||||
.leaflet-popup-button-group>a {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.leaflet-popup-button-group>a:hover {
|
||||
cursor: pointer;
|
||||
filter: brightness(150%);
|
||||
}
|
||||
|
||||
.leaflet-popup-button-group>a>i {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.query-result {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: var(--border-radius);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.query-result:hover {
|
||||
filter: brightness(85%);
|
||||
}
|
||||
|
||||
.scroll-content>div:first-child {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-bottom-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.scroll-content>div:nth-last-child(3) {
|
||||
border-top-right-radius: var(--border-radius);
|
||||
border-bottom-right-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.scroll-content>div:last-child {
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.mx-datepicker {
|
||||
width: 100% !important;
|
||||
}
|
Reference in New Issue
Block a user