diff --git a/projects/common-map/src/fm-map/_theme.scss b/projects/common-map/src/fm-map/_theme.scss deleted file mode 100644 index ac853f9..0000000 --- a/projects/common-map/src/fm-map/_theme.scss +++ /dev/null @@ -1,2 +0,0 @@ -//$theme-colors: ( "primary": #a7ce39, "secondary": #ffc800 ); -//$theme-colors: ( "primary": #a7ce39); \ No newline at end of file diff --git a/projects/common-map/src/fm-map/components/aol/gps-location/gps-location.component.scss b/projects/common-map/src/fm-map/components/aol/gps-location/gps-location.component.scss index c199d1b..20916c6 100644 --- a/projects/common-map/src/fm-map/components/aol/gps-location/gps-location.component.scss +++ b/projects/common-map/src/fm-map/components/aol/gps-location/gps-location.component.scss @@ -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; } diff --git a/projects/common-map/src/fm-map/components/aol/pan-to-location/pan-to-location.component.scss b/projects/common-map/src/fm-map/components/aol/pan-to-location/pan-to-location.component.scss index 60ac0b3..173ab5e 100644 --- a/projects/common-map/src/fm-map/components/aol/pan-to-location/pan-to-location.component.scss +++ b/projects/common-map/src/fm-map/components/aol/pan-to-location/pan-to-location.component.scss @@ -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; } \ No newline at end of file diff --git a/projects/common-map/src/fm-map/components/feature-list-container/feature-list-container.component.scss b/projects/common-map/src/fm-map/components/feature-list-container/feature-list-container.component.scss index b250578..9317554 100644 --- a/projects/common-map/src/fm-map/components/feature-list-container/feature-list-container.component.scss +++ b/projects/common-map/src/fm-map/components/feature-list-container/feature-list-container.component.scss @@ -1,19 +1,18 @@ -@import "../../_theme.scss"; -@import "~bootstrap/scss/bootstrap.scss"; - - - -.row { - border-bottom: 1px solid gray('500'); - user-select: none; -} - -.row:hover { - background-color: gray('100'); -} - -@media screen and (min-width: 44rem) { - .feature-list-container { - margin-top: 4rem; - } -} +@import "~bootstrap/scss/bootstrap.scss"; + + + +.row { + border-bottom: 1px solid gray('500'); + user-select: none; +} + +.row:hover { + background-color: gray('100'); +} + +@media screen and (min-width: 44rem) { + .feature-list-container { + margin-top: 4rem; + } +} diff --git a/projects/common-map/src/fm-map/components/feature-list-cropfield/feature-list-cropfield.component.scss b/projects/common-map/src/fm-map/components/feature-list-cropfield/feature-list-cropfield.component.scss index 3cc014e..3706754 100644 --- a/projects/common-map/src/fm-map/components/feature-list-cropfield/feature-list-cropfield.component.scss +++ b/projects/common-map/src/fm-map/components/feature-list-cropfield/feature-list-cropfield.component.scss @@ -1,4 +1,3 @@ -@import "../../_theme.scss"; @import "~bootstrap/scss/bootstrap.scss"; fm-map-feature-list-feature-container { diff --git a/projects/common-map/src/fm-map/components/feature-list-croppingscheme/feature-list-croppingscheme.component.scss b/projects/common-map/src/fm-map/components/feature-list-croppingscheme/feature-list-croppingscheme.component.scss index e25dfbb..966dc09 100644 --- a/projects/common-map/src/fm-map/components/feature-list-croppingscheme/feature-list-croppingscheme.component.scss +++ b/projects/common-map/src/fm-map/components/feature-list-croppingscheme/feature-list-croppingscheme.component.scss @@ -1,4 +1,3 @@ -@import "../../_theme.scss"; @import "~bootstrap/scss/bootstrap.scss"; fm-map-feature-list-feature-container { diff --git a/projects/common-map/src/fm-map/components/feature-list-feature-cropfield/feature-list-feature-cropfield.component.scss b/projects/common-map/src/fm-map/components/feature-list-feature-cropfield/feature-list-feature-cropfield.component.scss index 95f4b07..da7a010 100644 --- a/projects/common-map/src/fm-map/components/feature-list-feature-cropfield/feature-list-feature-cropfield.component.scss +++ b/projects/common-map/src/fm-map/components/feature-list-feature-cropfield/feature-list-feature-cropfield.component.scss @@ -1,30 +1,29 @@ -@import "../../_theme.scss"; -@import "~bootstrap/scss/bootstrap.scss"; - - - -.card-title { - font-size: 1rem; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -.thumbnail > img { - width: 100%; - height: auto; -} - -.thumbnail > div { - width: 100%; - font-size: 2rem; - text-align: center; - min-height: 3rem; - color: white; - padding-top: 0.5rem; -} - -.col { - overflow: hidden; -} - +@import "~bootstrap/scss/bootstrap.scss"; + + + +.card-title { + font-size: 1rem; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.thumbnail > img { + width: 100%; + height: auto; +} + +.thumbnail > div { + width: 100%; + font-size: 2rem; + text-align: center; + min-height: 3rem; + color: white; + padding-top: 0.5rem; +} + +.col { + overflow: hidden; +} + diff --git a/projects/common-map/src/fm-map/components/feature-list-feature-croppingscheme/feature-list-feature-croppingscheme.component.scss b/projects/common-map/src/fm-map/components/feature-list-feature-croppingscheme/feature-list-feature-croppingscheme.component.scss index 95f4b07..da7a010 100644 --- a/projects/common-map/src/fm-map/components/feature-list-feature-croppingscheme/feature-list-feature-croppingscheme.component.scss +++ b/projects/common-map/src/fm-map/components/feature-list-feature-croppingscheme/feature-list-feature-croppingscheme.component.scss @@ -1,30 +1,29 @@ -@import "../../_theme.scss"; -@import "~bootstrap/scss/bootstrap.scss"; - - - -.card-title { - font-size: 1rem; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -.thumbnail > img { - width: 100%; - height: auto; -} - -.thumbnail > div { - width: 100%; - font-size: 2rem; - text-align: center; - min-height: 3rem; - color: white; - padding-top: 0.5rem; -} - -.col { - overflow: hidden; -} - +@import "~bootstrap/scss/bootstrap.scss"; + + + +.card-title { + font-size: 1rem; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.thumbnail > img { + width: 100%; + height: auto; +} + +.thumbnail > div { + width: 100%; + font-size: 2rem; + text-align: center; + min-height: 3rem; + color: white; + padding-top: 0.5rem; +} + +.col { + overflow: hidden; +} + diff --git a/projects/common-map/src/fm-map/components/feature-list-feature/feature-list-feature.component.scss b/projects/common-map/src/fm-map/components/feature-list-feature/feature-list-feature.component.scss index 95f4b07..da7a010 100644 --- a/projects/common-map/src/fm-map/components/feature-list-feature/feature-list-feature.component.scss +++ b/projects/common-map/src/fm-map/components/feature-list-feature/feature-list-feature.component.scss @@ -1,30 +1,29 @@ -@import "../../_theme.scss"; -@import "~bootstrap/scss/bootstrap.scss"; - - - -.card-title { - font-size: 1rem; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -.thumbnail > img { - width: 100%; - height: auto; -} - -.thumbnail > div { - width: 100%; - font-size: 2rem; - text-align: center; - min-height: 3rem; - color: white; - padding-top: 0.5rem; -} - -.col { - overflow: hidden; -} - +@import "~bootstrap/scss/bootstrap.scss"; + + + +.card-title { + font-size: 1rem; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.thumbnail > img { + width: 100%; + height: auto; +} + +.thumbnail > div { + width: 100%; + font-size: 2rem; + text-align: center; + min-height: 3rem; + color: white; + padding-top: 0.5rem; +} + +.col { + overflow: hidden; +} + diff --git a/projects/common-map/src/fm-map/components/feature-list/feature-list.component.scss b/projects/common-map/src/fm-map/components/feature-list/feature-list.component.scss index e2233f0..c6b4418 100644 --- a/projects/common-map/src/fm-map/components/feature-list/feature-list.component.scss +++ b/projects/common-map/src/fm-map/components/feature-list/feature-list.component.scss @@ -1,4 +1,3 @@ -@import "../../_theme.scss"; @import "~bootstrap/scss/bootstrap.scss"; fm-map-feature-list-feature-container { diff --git a/projects/common-map/src/fm-map/components/item-list-item/item-list-item.component.scss b/projects/common-map/src/fm-map/components/item-list-item/item-list-item.component.scss index ef6f471..ed170c3 100644 --- a/projects/common-map/src/fm-map/components/item-list-item/item-list-item.component.scss +++ b/projects/common-map/src/fm-map/components/item-list-item/item-list-item.component.scss @@ -1,27 +1,26 @@ -@import "../../_theme.scss"; -@import "~bootstrap/scss/bootstrap.scss"; - -.widget { - padding:0.8rem; - height:100%; - width:100%; - color:#ffffff; - position:relative; -} - -.icon { - display:block; - font-size:6rem; - text-align:center; -} -.title { - display:block; - position:absolute; - width:calc(100% - 1.6rem ); - padding-top:0.5rem; - bottom:0.8rem; - height:2rem; - overflow:hidden; - white-space:nowrap; - text-overflow:ellipsis; -} +@import "~bootstrap/scss/bootstrap.scss"; + +.widget { + padding:0.8rem; + height:100%; + width:100%; + color:#ffffff; + position:relative; +} + +.icon { + display:block; + font-size:6rem; + text-align:center; +} +.title { + display:block; + position:absolute; + width:calc(100% - 1.6rem ); + padding-top:0.5rem; + bottom:0.8rem; + height:2rem; + overflow:hidden; + white-space:nowrap; + text-overflow:ellipsis; +} diff --git a/projects/common-map/src/fm-map/components/item-list/item-list.component.scss b/projects/common-map/src/fm-map/components/item-list/item-list.component.scss index 81daa71..16982ec 100644 --- a/projects/common-map/src/fm-map/components/item-list/item-list.component.scss +++ b/projects/common-map/src/fm-map/components/item-list/item-list.component.scss @@ -1,4 +1,3 @@ -@import "../../_theme.scss"; @import "~bootstrap/scss/bootstrap.scss"; .widget-container { diff --git a/projects/common-map/src/fm-map/components/item-widget-list/item-widget-list.component.scss b/projects/common-map/src/fm-map/components/item-widget-list/item-widget-list.component.scss index f2aec84..622a821 100644 --- a/projects/common-map/src/fm-map/components/item-widget-list/item-widget-list.component.scss +++ b/projects/common-map/src/fm-map/components/item-widget-list/item-widget-list.component.scss @@ -1,42 +1,41 @@ -@import "../../_theme.scss"; -@import "~bootstrap/scss/bootstrap.scss"; - -.widget-container { - overflow:auto; - margin-bottom:1rem; -} - -.widget { - position:relative; - border: 1px solid gray('500'); - user-select: none; - display:inline-block; - width:50%; - overflow:hidden; - float:left; -} - -.widget:after { - content: ""; - display: block; - padding-bottom: 100%; -} - -.content { - position:absolute; - width:100%; - height:100%; -} - -.widget:hover { - background-color: gray('100'); -} - -.widget-container { - padding:1rem; -} - -.item-container { - display:block; - height:100%; -} +@import "~bootstrap/scss/bootstrap.scss"; + +.widget-container { + overflow:auto; + margin-bottom:1rem; +} + +.widget { + position:relative; + border: 1px solid gray('500'); + user-select: none; + display:inline-block; + width:50%; + overflow:hidden; + float:left; +} + +.widget:after { + content: ""; + display: block; + padding-bottom: 100%; +} + +.content { + position:absolute; + width:100%; + height:100%; +} + +.widget:hover { + background-color: gray('100'); +} + +.widget-container { + padding:1rem; +} + +.item-container { + display:block; + height:100%; +} diff --git a/projects/common-map/src/fm-map/components/layer-switcher/layer-switcher.component.html b/projects/common-map/src/fm-map/components/layer-switcher/layer-switcher.component.html index d238ae7..cd61741 100644 --- a/projects/common-map/src/fm-map/components/layer-switcher/layer-switcher.component.html +++ b/projects/common-map/src/fm-map/components/layer-switcher/layer-switcher.component.html @@ -1,5 +1,5 @@