mirror of
https://github.com/maputnik/editor.git
synced 2026-07-15 18:37:29 +00:00
Add stylelint and fix lint issues
This commit is contained in:
+50
-44
@@ -3,20 +3,22 @@
|
||||
min-width: 350px;
|
||||
max-width: 600px;
|
||||
background-color: $color-black;
|
||||
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
|
||||
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.maputnik-modal-section {
|
||||
padding-top: $margin-3;
|
||||
padding-bottom: $margin-3;
|
||||
}
|
||||
|
||||
.maputnik-modal-header {
|
||||
background-color: $color-gray;
|
||||
display: flex;
|
||||
display: -ms-flexbox;
|
||||
@include vendor-prefix(flex-direction, row)
|
||||
padding: $margin-3;
|
||||
|
||||
@include flex-row;
|
||||
}
|
||||
|
||||
.maputnik-modal-header-title {
|
||||
font-size: $font-size-5;
|
||||
margin: 0;
|
||||
@@ -25,6 +27,7 @@
|
||||
.maputnik-modal-header-toggle {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.maputnik-modal-content {
|
||||
padding: $margin-3;
|
||||
}
|
||||
@@ -35,33 +38,33 @@
|
||||
|
||||
//OVERLAY
|
||||
.maputnik-overlay-viewport {
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
z-index: 2;
|
||||
opacity: 0.875;
|
||||
background-color: rgb(28, 31, 36);
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
opacity: 0.875;
|
||||
background-color: rgb(28, 31, 36);
|
||||
}
|
||||
|
||||
.maputnik-overlay {
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
position: fixed;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
@include vendor-prefix(flex-direction, column)
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
position: fixed;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
@include flex-row;
|
||||
}
|
||||
|
||||
//OPEN MODAL
|
||||
.maputnik-upload-button {
|
||||
@extend .maputnik-big-button;
|
||||
}
|
||||
|
||||
.maputnik-public-style {
|
||||
vertical-align: top;
|
||||
margin-top: 10px;
|
||||
@@ -72,6 +75,7 @@
|
||||
font-size: $font-size-2;
|
||||
color: $color-lowgray;
|
||||
}
|
||||
|
||||
.maputnik-public-style-button {
|
||||
background-color: $color-gray;
|
||||
padding: $margin-3;
|
||||
@@ -81,10 +85,9 @@
|
||||
background-color: $color-midgray;
|
||||
}
|
||||
}
|
||||
|
||||
.maputnik-public-style-header {
|
||||
display: flex;
|
||||
display: -ms-flexbox;
|
||||
@include vendor-prefix(flex-direction, row)
|
||||
@include flex-row;
|
||||
}
|
||||
|
||||
.maputnik-public-style-thumbnail {
|
||||
@@ -93,38 +96,39 @@
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.maputnik-add-layer{
|
||||
.maputnik-add-layer {
|
||||
@extend .clearfix;
|
||||
}
|
||||
|
||||
//ADD MODAL
|
||||
.maputnik-add-layer-button {
|
||||
@extend .maputnik-big-button;
|
||||
|
||||
margin-right: $margin-3;
|
||||
float: right;
|
||||
display: inline-block;
|
||||
margin-top: 3;
|
||||
margin-bottom: $margin-3;
|
||||
text-align: right;
|
||||
@extend .maputnik-big-button;
|
||||
}
|
||||
|
||||
//SOURCE MODAL
|
||||
.maputnik-public-source {
|
||||
vertical-align: top;
|
||||
margin-top: 1.5%;
|
||||
margin-right: 1.5%;
|
||||
background-color: $color-gray;
|
||||
width: 48.5%;
|
||||
vertical-align: top;
|
||||
margin-top: 1.5%;
|
||||
margin-right: 1.5%;
|
||||
background-color: $color-gray;
|
||||
width: 48.5%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.maputnik-public-source-select {
|
||||
padding: $margin-3;
|
||||
font-size: $font-size-5;
|
||||
color: $color-lowgray;
|
||||
display: flex;
|
||||
display: -ms-flexbox;
|
||||
@include vendor-prefix(flex-direction, row)
|
||||
font-size: $font-size-5;
|
||||
color: $color-lowgray;
|
||||
background-color: transparent;
|
||||
|
||||
@include flex-row;
|
||||
}
|
||||
|
||||
.maputnik-public-source-name {
|
||||
@@ -138,14 +142,15 @@
|
||||
.maputnik-active-source-type-editor {
|
||||
min-width: 500px;
|
||||
}
|
||||
|
||||
.maputnik-active-source-type-editor-header {
|
||||
background-color: $color-gray;
|
||||
color: $color-lowgray;
|
||||
padding: $margin-2;
|
||||
display: flex;
|
||||
display: -ms-flexbox;
|
||||
@include vendor-prefix(flex-direction, row)
|
||||
|
||||
@include flex-row;
|
||||
}
|
||||
|
||||
.maputnik-active-source-type-editor-header-id {
|
||||
font-weight: 700;
|
||||
line-height: 2;
|
||||
@@ -153,10 +158,10 @@
|
||||
}
|
||||
|
||||
.maputnik-active-source-type-editor-content {
|
||||
border-color: $color-gray;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
padding: $margin-2;
|
||||
border-color: $color-gray;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
padding: $margin-2;
|
||||
}
|
||||
|
||||
.maputnik-add-source {
|
||||
@@ -165,6 +170,7 @@
|
||||
|
||||
.maputnik-add-source-button {
|
||||
@extend .maputnik-big-button;
|
||||
|
||||
display: inline-block;
|
||||
margin-top: 0;
|
||||
margin-right: $margin-3;
|
||||
|
||||
Reference in New Issue
Block a user