mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 08:30:02 +00:00
Merge remote-tracking branch 'upstream/master' into fix/issue-567-better-solution-for-tooltips
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
.CodeMirror-lint-tooltip {
|
||||
z-index: 2000 !important;
|
||||
}
|
||||
|
||||
.codemirror-container {
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@@ -11,6 +11,11 @@
|
||||
border: none;
|
||||
background-color: $color-gray;
|
||||
color: lighten($color-lowgray, 12);
|
||||
|
||||
&:invalid {
|
||||
border: solid 1px #B71C1C;
|
||||
border-radius: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.maputnik-string {
|
||||
@@ -22,6 +27,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
.maputnik-number-container {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.maputnik-number-range {
|
||||
width: calc(100% - 4.5em);
|
||||
margin-right: 0.5em;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.maputnik-number {
|
||||
@extend .maputnik-input;
|
||||
}
|
||||
@@ -173,3 +188,8 @@
|
||||
margin-bottom: $margin-3;
|
||||
}
|
||||
}
|
||||
|
||||
.maputnik-input-block-content {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -180,10 +180,26 @@
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
padding: $margin-2;
|
||||
|
||||
.maputnik-input-block-label {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.maputnik-input-block-content {
|
||||
width: 70%;
|
||||
}
|
||||
}
|
||||
|
||||
.maputnik-add-source {
|
||||
@extend .clearfix;
|
||||
|
||||
.maputnik-input-block-label {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.maputnik-input-block-content {
|
||||
width: 70%;
|
||||
}
|
||||
}
|
||||
|
||||
.maputnik-add-source-button {
|
||||
@@ -264,3 +280,7 @@
|
||||
color: $color-green;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.modal-settings {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
@@ -7,3 +7,7 @@
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.ReactCollapse--collapse {
|
||||
transition: height 180ms;
|
||||
}
|
||||
|
||||
23
src/styles/_vars.scss
Normal file
23
src/styles/_vars.scss
Normal file
@@ -0,0 +1,23 @@
|
||||
$color-black: #191b20;
|
||||
$color-gray: #222429;
|
||||
$color-midgray: #303237;
|
||||
$color-lowgray: #a4a4a4;
|
||||
$color-white: #f0f0f0;
|
||||
$color-red: #cf4a4a;
|
||||
$color-green: #53b972;
|
||||
$margin-1: 3px;
|
||||
$margin-2: 5px;
|
||||
$margin-3: 10px;
|
||||
$margin-4: 30px;
|
||||
$margin-5: 40px;
|
||||
$font-size-1: 24px;
|
||||
$font-size-2: 20px;
|
||||
$font-size-3: 18px;
|
||||
$font-size-4: 16px;
|
||||
$font-size-5: 14px;
|
||||
$font-size-6: 12px;
|
||||
$font-family: Roboto, sans-serif;
|
||||
|
||||
$toolbar-height: 40px;
|
||||
$toolbar-offset: 0;
|
||||
|
||||
@@ -45,17 +45,12 @@
|
||||
}
|
||||
|
||||
.maputnik-delete-stop {
|
||||
display: inline-block;
|
||||
padding-bottom: 0;
|
||||
padding-top: 0;
|
||||
vertical-align: middle;
|
||||
|
||||
@extend .maputnik-icon-button;
|
||||
|
||||
vertical-align: top;
|
||||
|
||||
.maputnik-doc-wrapper {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.maputnik-doc-target {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.maputnik-add-stop {
|
||||
|
||||
@@ -1,26 +1,4 @@
|
||||
$color-black: #191b20;
|
||||
$color-gray: #222429;
|
||||
$color-midgray: #303237;
|
||||
$color-lowgray: #a4a4a4;
|
||||
$color-white: #f0f0f0;
|
||||
$color-red: #cf4a4a;
|
||||
$color-green: #53b972;
|
||||
$margin-1: 3px;
|
||||
$margin-2: 5px;
|
||||
$margin-3: 10px;
|
||||
$margin-4: 30px;
|
||||
$margin-5: 40px;
|
||||
$font-size-1: 24px;
|
||||
$font-size-2: 20px;
|
||||
$font-size-3: 18px;
|
||||
$font-size-4: 16px;
|
||||
$font-size-5: 14px;
|
||||
$font-size-6: 12px;
|
||||
$font-family: Roboto, sans-serif;
|
||||
|
||||
$toolbar-height: 40px;
|
||||
$toolbar-offset: 0;
|
||||
|
||||
@import 'vars';
|
||||
@import 'mixins';
|
||||
@import 'reset';
|
||||
@import 'base';
|
||||
@@ -37,8 +15,8 @@ $toolbar-offset: 0;
|
||||
@import 'zoomproperty';
|
||||
@import 'popup';
|
||||
@import 'map';
|
||||
@import 'react-collapse';
|
||||
@import 'codemirror';
|
||||
@import 'react-collapse';
|
||||
|
||||
/**
|
||||
* Hacks for webdriverio isVisibleWithinViewport
|
||||
|
||||
Reference in New Issue
Block a user