Remove old theming, use correct theme colors and a friendlier icon
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
This commit is contained in:
parent
2b5bda2a44
commit
a3e14a94cc
@ -1,2 +0,0 @@
|
||||
//$theme-colors: ( "primary": #a7ce39, "secondary": #ffc800 );
|
||||
//$theme-colors: ( "primary": #a7ce39);
|
@ -1,4 +1,3 @@
|
||||
@import "../../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
|
||||
@ -11,25 +10,25 @@
|
||||
}
|
||||
|
||||
.tolerance {
|
||||
fill: theme-color();
|
||||
fill: $primary;
|
||||
fill-opacity:0.4;
|
||||
}
|
||||
|
||||
.border {
|
||||
fill: white;
|
||||
fill: $white;
|
||||
}
|
||||
|
||||
.center {
|
||||
fill: theme-color();
|
||||
fill: $primary;
|
||||
}
|
||||
|
||||
.stop1 {
|
||||
stop-color: theme-color();
|
||||
stop-color: $primary;
|
||||
stop-opacity:1;
|
||||
}
|
||||
|
||||
.stop2 {
|
||||
stop-color: theme-color();
|
||||
stop-color:$primary;
|
||||
stop-opacity: 0;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
|
||||
@ -6,7 +5,7 @@
|
||||
display:block;
|
||||
width:2.5em;
|
||||
height:2.5em;
|
||||
background-color: white;
|
||||
background-color: $body-bg;
|
||||
background-size: contain;
|
||||
margin-top:0.5em;
|
||||
}
|
||||
@ -16,13 +15,13 @@
|
||||
}
|
||||
|
||||
.pan-to {
|
||||
fill: #333333;
|
||||
fill: $secondary;
|
||||
}
|
||||
|
||||
.pan-to-centered {
|
||||
fill: theme-color()
|
||||
fill: $primary;
|
||||
}
|
||||
|
||||
.pan-to-disabled {
|
||||
fill: #808080;
|
||||
.pan-to-centered.pan-to-disabled {
|
||||
fill: $gray-300;
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
fm-map-feature-list-feature-container {
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
fm-map-feature-list-feature-container {
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
fm-map-feature-list-feature-container {
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
.widget {
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
.widget-container {
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
.widget-container {
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class="rounded-circle layer-switcher" (click)="handleClick($event)">
|
||||
<i class="fa fa-map"></i>
|
||||
<i class="fa fa-map-o"></i>
|
||||
<div class="layers hidden" [ngClass]="{'hidden':!(showLayerSwitcher|async)}" (click)="$event.stopPropagation();">
|
||||
<div class="card layers-card m-1">
|
||||
<div class="card-header" i18n>
|
||||
@ -8,13 +8,13 @@
|
||||
</div>
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item py-0">
|
||||
<span i18n><i class="fa fa-map" aria-hidden="true"></i> Base maps</span>
|
||||
<span i18n><i class="fa fa-map-o" aria-hidden="true"></i> Base maps</span>
|
||||
<div class="mb-4">
|
||||
<fm-map-layer-list [baseLayers]="true" [itemLayers]="baseLayers|async" [selectedLayer]="selectedBaseLayer|async" (onSelectLayer)="handleSelectBaseLayer($event)"></fm-map-layer-list>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item py-0">
|
||||
<span i18n><i class="fa fa-map" aria-hidden="true"></i> Overlays</span>
|
||||
<span i18n><i class="fa fa-map-o" aria-hidden="true"></i> Overlays</span>
|
||||
<div class="mb-4">
|
||||
<fm-map-layer-list [itemLayers]="overlayLayers|async" [selectedLayer]="selectedOverlayLayer|async" (onDelete)="handleOnDelete($event)" (onToggleVisibility)="handleOnToggleVisibility($event)" (onSetOpacity)="handleOnSetOpacity($event)" (onZoomToExtent)="handleZoomToExtent($event)" (onSelectLayer)="handleSelectOverlayLayer($event)"></fm-map-layer-list>
|
||||
</div>
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
|
||||
@ -6,11 +5,12 @@
|
||||
display:block;
|
||||
width:2.5em;
|
||||
height:2.5em;
|
||||
background-color: white;
|
||||
background-color: $body-bg;
|
||||
background-size: contain;
|
||||
margin-top:0.5em;
|
||||
text-align: center;
|
||||
line-height: 2.5em;
|
||||
color: $secondary;
|
||||
}
|
||||
|
||||
.layers {
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
aol-map { position:absolute;width:100%;height:100%;}
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
.big-icon {
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
.big-icon {
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../_theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
.big-icon {
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../../theme.scss";
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
||||
.big-icon {
|
||||
|
@ -1,2 +0,0 @@
|
||||
//$theme-colors: ( "primary": #a7ce39, "secondary": #ffc800 );
|
||||
//$theme-colors: ( "primary": #a7ce39);
|
@ -1,5 +1,3 @@
|
||||
//@import "theme.scss";
|
||||
|
||||
/* Import Bootstrap & Fonts */
|
||||
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
@ -1,5 +1,3 @@
|
||||
@import "../../theme.scss";
|
||||
|
||||
/* Import Bootstrap & Fonts */
|
||||
|
||||
@import "~bootstrap/scss/bootstrap.scss";
|
||||
|
Loading…
Reference in New Issue
Block a user