Add stylelint and fix lint issues

This commit is contained in:
Lukas Martinelli
2017-01-12 11:23:06 +01:00
parent 93c7f323fc
commit 69f2e12ea0
16 changed files with 133 additions and 114 deletions
+12 -7
View File
@@ -2,8 +2,8 @@
.maputnik-map {
position: fixed !important;
top: 40px;
right: 0px;
bottom: 0px;
right: 0;
bottom: 0;
height: 100%;
width: 75%;
}
@@ -14,7 +14,7 @@
cursor: help;
}
&-wrapper{
&-wrapper {
display: inline-block;
box-sizing: border-box;
font-size: $font-size-6;
@@ -32,7 +32,7 @@
font-size: 10px;
position: absolute;
top: 20px;
left: 0px;
left: 0;
width: 120px;
z-index: 3;
}
@@ -68,11 +68,15 @@
.maputnik-icon-button {
background-color: transparent;
&:hover {
background-color: transparent;
label, svg {
label,
svg {
cursor: pointer;
}
svg {
fill: $color-white;
}
@@ -102,6 +106,7 @@
display: inline-block;
width: 43%;
}
.maputnik-input-block-action {
vertical-align: top;
display: inline-block;
@@ -111,14 +116,14 @@
// SPACE HELPER
.maputnik-space {
flex-grow: 1;
@include vendor-prefix(flex-grow, 1);
}
// MESSAGE PANEL
.maputnik-message-panel {
padding: $margin-2;
&-error {
&-error {
color: $color-red;
}
}