KNACSS/less/_10-gmaps.less

21 lines
370 B
Text
Raw Permalink Normal View History

2014-05-03 14:03:41 +02:00
/* ----------------------------- */
/* ==gmaps support */
/* ----------------------------- */
2014-05-03 10:46:54 +02:00
// google maps boolean
2014-05-04 14:54:52 +02:00
& when (@enable-gmaps = true) {
2014-05-03 10:46:54 +02:00
/* Google Gmap3 bug fix on images */
.gm-style img {
height: 100%;
}
2014-05-07 10:45:47 +02:00
2014-05-03 10:46:54 +02:00
:not(.gm-style) img {
height: auto;
}
2014-05-07 10:45:47 +02:00
2014-05-03 10:46:54 +02:00
.gm-style img,
.gmnoscreen img,
.gmnoprint img {
max-width: none !important;
}
2014-05-07 10:45:47 +02:00
}