@@ -1755,7 +1755,7 @@ watch(
17551755}
17561756
17571757:deep(.ol-control.ol-layerswitcher :hover ) {
1758- background : color-mix(in srgb , var (--p-primary-color ) 40 % , transparent );
1758+ background : color-mix(in srgb , var (--p-primary-color ) 80 % , transparent );
17591759}
17601760
17611761/* Attribution positioning - styling is in sr-common-styles.css */
@@ -1765,25 +1765,20 @@ watch(
17651765 left : auto ;
17661766}
17671767
1768- /* ScaleLine control styling */
1768+ /* ScaleLine control positioning - styling is in sr-common-styles.css */
17691769:deep(.ol-scale-line ) {
17701770 bottom : 0.25rem ;
17711771 left : 0.5rem ;
1772- background : rgba (255 , 255 , 255 , 0.25 );
1773- border-radius : var (--p-border-radius );
1774- }
1775-
1776- :deep(.ol-scale-line-inner ) {
1777- color : black ;
1778- font-size : 0.7rem ;
1779- font-weight : 500 ;
1780- border-color : black ;
17811772}
17821773
17831774:deep(.ol-control.ol-layerswitcher button ) {
1784- background- color : transparent ;
1775+ background : color-mix(in srgb , var ( --p-primary- color) 10 % , transparent ) ;
17851776 border-radius : var (--p-border-radius );
17861777}
1778+
1779+ :deep(.ol-control.ol-layerswitcher button :hover ) {
1780+ background : color-mix(in srgb , var (--p-primary-color ) 80% , transparent );
1781+ }
17871782:deep(.ol-control.ol-layerswitcher > button ::before ) {
17881783 border-radius : var (--p-border-radius );
17891784}
@@ -1901,7 +1896,7 @@ watch(
19011896}
19021897
19031898:deep(.ol-geocoder .gcd-gl-btn :hover ) {
1904- background : color-mix(in srgb , var (--p-primary-color ) 40 % , transparent ) !important ;
1899+ background : color-mix(in srgb , var (--p-primary-color ) 80 % , transparent ) !important ;
19051900 border : none !important ;
19061901}
19071902
@@ -1931,7 +1926,6 @@ watch(
19311926 left : 11rem ;
19321927 background-color : transparent ;
19331928 border-radius : var (--p-border-radius );
1934- color : white ;
19351929 max-width : 30rem ;
19361930}
19371931
@@ -1960,7 +1954,7 @@ watch(
19601954}
19611955
19621956:deep(.ol-control.ol-wmscapabilities :hover ) {
1963- background : color-mix(in srgb , var (--p-primary-color ) 40 % , transparent );
1957+ background : color-mix(in srgb , var (--p-primary-color ) 80 % , transparent );
19641958}
19651959
19661960:deep(.ol-control.ol-wmscapabilities > button ) {
@@ -1990,7 +1984,7 @@ watch(
19901984 top : 6rem ;
19911985 left : 0.5rem ;
19921986 right : auto ;
1993- background : color-mix(in srgb , var (--p-primary-color ) 20 % , transparent );
1987+ background : color-mix(in srgb , var (--p-primary-color ) 10 % , transparent );
19941988 border : 1px solid var (--p-primary-color );
19951989 border-radius : var (--p-border-radius );
19961990 margin : auto ;
@@ -2019,8 +2013,8 @@ watch(
20192013 right : auto ; /* Reset right positioning */
20202014 top : auto ; /* Unset top positioning */
20212015 transform : translateX (-50% ); /* Adjust for the element's width */
2022- color : var ( --p-primary-color ) ;
2023- background : rgba ( 255 , 255 , 255 , 0.25 );
2016+ color : black ;
2017+ background : color-mix(in srgb , var ( --p-primary-color ) 25 % , transparent );
20242018 border-radius : var (--p-border-radius );
20252019 font-size : 0.875rem ;
20262020 padding : 0.25rem 0.5rem ;
@@ -2032,14 +2026,14 @@ watch(
20322026:deep(.ol-zoom .ol-zoom-out ) {
20332027 margin : 2px ;
20342028 border-radius : var (--p-border-radius );
2035- background : transparent ;
2029+ background : color-mix(in srgb , var ( --p-primary-color ) 10 % , transparent ) ;
20362030 color : black ;
20372031 font-weight : 500 ;
20382032}
20392033
20402034:deep(.ol-zoom .ol-zoom-in ):hover ,
20412035:deep(.ol-zoom .ol-zoom-out ):hover {
2042- background : color-mix(in srgb , var (--p-primary-color ) 30 % , transparent );
2036+ background : color-mix(in srgb , var (--p-primary-color ) 80 % , transparent );
20432037}
20442038
20452039:deep(.ol-zoom .ol-zoom-in ):active ,
@@ -2058,7 +2052,7 @@ watch(
20582052 top : 0px ;
20592053 left : 25% ;
20602054 right : 25% ;
2061- border-top : 1px dashed var ( --p-primary-color ) ;
2055+ border-top : 1px dashed black ;
20622056}
20632057
20642058.hidden-control {
@@ -2094,7 +2088,7 @@ watch(
20942088}
20952089
20962090:deep(.ol-control.sr-upload-region-control :hover ) {
2097- background : color-mix(in srgb , var (--p-primary-color ) 40 % , transparent );
2091+ background : color-mix(in srgb , var (--p-primary-color ) 80 % , transparent );
20982092}
20992093
21002094:deep(.ol-control.sr-export-polygon-control ) {
@@ -2113,7 +2107,7 @@ watch(
21132107}
21142108
21152109:deep(.ol-control.sr-export-polygon-control :hover ) {
2116- background : color-mix(in srgb , var (--p-primary-color ) 40 % , transparent );
2110+ background : color-mix(in srgb , var (--p-primary-color ) 80 % , transparent );
21172111}
21182112
21192113:deep(.ol-measure-hud ) {
0 commit comments