Mercurial > nebulaweb3
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1d038bc9b3d2 |
---|---|
1 // main: ../style.scss | |
2 | |
3 /******************************** | |
4 ********************************* | |
5 BASIC | |
6 ********************************* | |
7 *********************************/ | |
8 | |
9 | |
10 /* Vector Maps | |
11 ========================*/ | |
12 .gmap { | |
13 width: 100%; | |
14 height: em(300); | |
15 | |
16 .overlay { | |
17 background: $color-scheme; | |
18 border-radius: 5px; | |
19 color: #fff; | |
20 padding: em(15,15); | |
21 position: relative; | |
22 font-family: $headings-font-family; | |
23 font-size: em(15,11); | |
24 z-index: 1; | |
25 transform: translateY(em(-20)); | |
26 | |
27 &:before { | |
28 z-index: 2; | |
29 @include size(0); | |
30 border-style: solid; | |
31 border-width: 10px 10px 0 10px; | |
32 border-color: $color-scheme transparent transparent transparent; | |
33 display: block; | |
34 content: ""; | |
35 @include position(absolute, null 50% 0 null); | |
36 transform: translateX(50%) translateY(100%); | |
37 } | |
38 } | |
39 } |