Skip to content

Commit

Permalink
Merge pull request #147 from gebederry/dev-8
Browse files Browse the repository at this point in the history
Apply color picker in the pin editor
  • Loading branch information
MichalD96 authored Aug 17, 2024
2 parents ff4b6ab + dc4cb6d commit 7908d8e
Show file tree
Hide file tree
Showing 10 changed files with 128 additions and 165 deletions.
1 change: 1 addition & 0 deletions assets/css/coloris.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

119 changes: 21 additions & 98 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,7 @@ select {
margin-bottom: 2px;
}

.marker-popup-pin-input-icon,
.marker-popup-pin-input-color {
.marker-popup-pin-input-icon {
color: inherit;
background: #eee;
border: none;
Expand All @@ -374,102 +373,6 @@ select {
border-radius: 3px;
}

.pin-color.aquagreen {
color: #00ffa2;
}

.pin-color.beige {
color: #ffce70;
}

.pin-color.black {
color: #292929;
}

.pin-color.blue {
color: #31a6c7;
}

.pin-color.brown {
color: #7c411f;
}

.pin-color.cadetblue {
color: #416776;
}

.pin-color.darkblue {
color: #0066a2;
}

.pin-color.darkgreen {
color: #627134;
}

.pin-color.darkorange {
color: #e27839;
}

.pin-color.darkpurple {
color: #593769;
}

.pin-color.darkred {
color: #a13235;
}

.pin-color.gray {
color: #444444;
}

.pin-color.green {
color: #70ae25;
}

.pin-color.lightblue {
color: #88dbff;
}

.pin-color.lightgray {
color: #5e5e5e;
}

.pin-color.lightgreen {
color: #a3c62c;
}

.pin-color.lightorange {
color: #ff8c7d;
}

.pin-color.lightred {
color: #da4d6d;
}

.pin-color.orange {
color: #ee9232;
}

.pin-color.pink {
color: #c05b9f;
}

.pin-color.purple {
color: #6b65a4;
}

.pin-color.red {
color: #d43d29;
}

.pin-color.white {
color: #ffffff;
}

.pin-color.yellow {
color: #ffcc5c;
}

.links-container {
height: 44.45px;
display: flex;
Expand Down Expand Up @@ -515,6 +418,22 @@ select {
margin: 5px 0;
}

.leaflet-popup-content .clr-field input {
width: 100%;
border-radius: 3px;
}

.leaflet-popup-content .clr-field button {
width: 100%;
height: 100%;
border-radius: 3px;
}

#clr-picker #clr-swatches button {
width: 30px;
height: 30px;
}

.input-container-noflex {
user-select: none;
margin: 5px 0;
Expand Down Expand Up @@ -1309,6 +1228,10 @@ a.no-style:visited {
top: 16px;
right: 0;
}
#clr-picker #clr-swatches button {
width: 42px;
height: 42px;
}
}

@media (min-width: 769px) {
Expand Down
File renamed without changes
File renamed without changes
Loading

0 comments on commit 7908d8e

Please sign in to comment.