Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions src/mapml.css
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
}

.leaflet-control-layers fieldset {
border: none;
margin: 0;
padding: 0;
min-height: 44px;
Expand All @@ -239,10 +238,6 @@
margin-inline-start: 0;
}

.leaflet-control-layers-list .leaflet-control-layers-overlays > :not(:last-of-type) {
border-bottom: 1px solid #e3e3e3;
}

.leaflet-control .leaflet-control-layers-toggle {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' width='24'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z'/%3E%3C/svg%3E");
background-size: 34px;
Expand Down Expand Up @@ -487,7 +482,6 @@ summary {
.mapml-draggable,
.mapml-draggable * {
cursor: row-resize;
background-color: white;
}

.leaflet-crosshair {
Expand Down Expand Up @@ -651,21 +645,32 @@ button.mapml-button:disabled,
}

.mapml-layer-item,
.mapml-layer-item *,
.mapml-layer-item ::before,
.mapml-layer-item ::after {
.mapml-layer-item * {
box-sizing: border-box;
}

.mapml-layer-item {
border: 0;
background-color: #fff;
border: 1px solid #fff;
margin: 0;
padding: 0;
}

.mapml-layer-item:not(:last-of-type) {
border-bottom: 1px solid #e3e3e3;
}
.mapml-layer-item[aria-grabbed="true"] {
border: 1px solid #e3e3e3;
border-radius: 0;
}
.mapml-layer-item:first-of-type {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.mapml-layer-item:last-of-type {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}

.mapml-layer-item-properties {
align-items: center;
Expand Down Expand Up @@ -708,6 +713,8 @@ button.mapml-button:disabled,
label.mapml-layer-item-toggle {
display: inline-flex;
align-items: center;
width: 100%; /* have the clickable area take up all available width */
min-height: 44px;
}

.mapml-layer-item-name {
Expand Down