Mercurial > nebulaweb3
diff default/assets/scss/components/_gmaps.scss @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/default/assets/scss/components/_gmaps.scss Sat May 31 09:21:51 2025 +0800 @@ -0,0 +1,39 @@ +// main: ../style.scss + +/******************************** +********************************* +BASIC +********************************* +*********************************/ + + +/* Vector Maps +========================*/ +.gmap { + width: 100%; + height: em(300); + + .overlay { + background: $color-scheme; + border-radius: 5px; + color: #fff; + padding: em(15,15); + position: relative; + font-family: $headings-font-family; + font-size: em(15,11); + z-index: 1; + transform: translateY(em(-20)); + + &:before { + z-index: 2; + @include size(0); + border-style: solid; + border-width: 10px 10px 0 10px; + border-color: $color-scheme transparent transparent transparent; + display: block; + content: ""; + @include position(absolute, null 50% 0 null); + transform: translateX(50%) translateY(100%); + } + } +}