Import styling for Google maps from WCF 2.1 (WIP)
authorMatthias Schmidt <gravatronics@live.com>
Sun, 18 Sep 2016 08:08:00 +0000 (10:08 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 18 Sep 2016 08:08:00 +0000 (10:08 +0200)
wcfsetup/install/files/style/ui/googleMap.scss [new file with mode: 0644]

diff --git a/wcfsetup/install/files/style/ui/googleMap.scss b/wcfsetup/install/files/style/ui/googleMap.scss
new file mode 100644 (file)
index 0000000..09deb51
--- /dev/null
@@ -0,0 +1,45 @@
+// TODO: update css
+
+.googleMap {
+       height: 400px;
+}
+
+.sidebarGoogleMap {
+       height: 250px;
+}
+
+// CSS code taken from map type controls
+.googleMapsCustomControlContainer {
+       cursor: pointer !important;
+       margin-top: 5px;
+       
+       .googleMapsCustomControl {
+               // TODO: .userSelectNone;
+               
+               text-align: center;
+               position: relative;
+               color: rgb(86, 86, 86);
+               font-size: 11px !important;
+               background-color: rgb(255, 255, 255);
+               padding: 1px 6px;
+               border-radius: 3px;
+               background-clip: padding-box;
+               border: 1px solid rgba(0, 0, 0, 0.14902);
+               box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
+               min-width: 29px;
+               
+               &:hover {
+                       background-color: rgb(235, 235, 235);
+                       color: rgb(0, 0, 0);
+               }
+               
+               &.active {
+                       color: rgb(0, 0, 0);
+                       font-weight: 500;
+               }
+       }
+}
+
+.googleMapsUseLocationSuggestionLink {
+       font-size: $wcfFontSizeSmall;
+}