Sha256: 6a0b03d06ffd5571703e8f3bd1cecc186b2af0a23ab4cec348c814ee0ceaa900

Contents?: true

Size: 727 Bytes

Versions: 8

Compression:

Stored size: 727 Bytes

Contents

.map,
.chart {
	position: relative;
	padding-top: (9/16)*100%;
}

.map-square,
.chart-square {
	padding-top: 100%;
}

.map-content,
.chart-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.map-header {
	margin-top: -1.5rem;
	margin-bottom: 1.5rem;
	height: 15rem;
	position: relative;

	//todo
	margin-bottom: -1.5rem;

	&:before {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: 10rem;
		background: linear-gradient(to bottom, rgba($body-bg, 0) 5%, $body-bg 95%);
		pointer-events: none;
	}
}

.map-header-layer {
	height: 100%;
}

.map-static {
	height: 120px;
	width: 100%;
	max-width: 640px;
	background-position: center center;
	background-size: 640px 120px;
}

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
tabler-rubygem-0.1.4 assets/stylesheets/tabler/_maps.scss
tabler-rubygem-0.1.3 assets/stylesheets/tabler/_maps.scss
tabler_ui_rails-0.3.1 assets/stylesheets/dashboard/_maps.scss
tabler-rubygem-0.1.2 assets/stylesheets/tabler/_maps.scss
tabler_ui_rails-0.3.0 assets/stylesheets/dashboard/_maps.scss
tabler_ui_rails-0.2.1 assets/stylesheets/dashboard/_maps.scss
tabler_ui_rails-0.2.0 assets/stylesheets/dashboard/_maps.scss
tabler-rubygem-0.1.1 assets/stylesheets/tabler/_maps.scss