maputnik/src/styles/_input.scss

136 lines
2.2 KiB
SCSS
Raw Normal View History

2017-01-11 09:35:48 +01:00
.maputnik-base {
display: inline-block;
box-sizing: border-box;
font-size: $font-size-6;
line-height: 2;
padding-left: $margin-2;
padding-right: $margin-2;
}
.maputnik-input {
@extend .maputnik-base;
border: none;
background-color: $color-gray;
color: $color-lowgray;
}
.maputnik-string {
@extend .maputnik-input;
width: 50%;
}
.maputnik-number {
@extend .maputnik-input;
}
//COLOR PICKER
.maputnik-color {
@extend .maputnik-input;
2017-01-11 11:35:33 +01:00
height: 26px;
2017-01-11 09:35:48 +01:00
}
.maputnik-color-wrapper {
position: relative;
display: inline;
}
.maputnik-color-picker-offset {
}
.maputnik-color-picker-overlay {
}
2017-01-11 11:35:33 +01:00
.maputnik-checkbox-wrapper {
display: inline-block;
box-sizing: border-box;
padding: 0px;
position: relative;
text-align: center;
vertical-align: middle;
cursor: pointer;
}
.maputnik-checkbox {
position: absolute;
z-index: -1;
opacity: 0;
width: 50%;
}
.maputnik-checkbox-box {
display: inline-block;
text-align: center;
height: 24px;
width: 24px;
margin-right: $margin-2;
background-color: $color-gray;
border-radius: 2px;
border-style: solid;
border-width: 2px;
border-color: $color-gray;
transition: background-color 0.1s ease-out;
}
.maputnik-checkbox-icon {
width: 50%;
height: 50%;
margin-top: 1px;
fill: $color-lowgray;
}
.maputnik-zoom-spec-property {
@extend .clearfix;
display: block;
margin: $margin-3;
}
.maputnik-zoom-spec-property-label {
display: inline-block;
width: 41%;
}
.maputnik-zoom-spec-property-stop-item {
margin-bottom: $margin-2;
margin-top: $margin-2;
}
.maputnik-zoom-spec-property-stop-edit {
display: inline-block;
width: 7%;
margin-right: 1.5%;
> * {
width: 100%;
}
}
.maputnik-zoom-spec-property-stop-value {
display: inline-block;
width: 41.5%;
> * {
width: 100%;
}
}
.maputnik-delete-stop {
background-color: transparent;
vertical-align: top;
.maputnik-doc-wrapper {
width: auto;
}
.maputnik-doc-target {
cursor: pointer;
}
&:hover {
background-color: transparent;
svg {
fill: $color-white;
}
}
}
.maputnik-add-stop {
display: inline-block;
float: right;
margin-right: $margin-2;
}
.maputnik-select {
@extend .maputnik-input;
height: 2.15em;
width: 50%;
}