Sha256: 46062cd9925cce95d2c7d4a9c0d06baaefe5229aa152c41d925e02245df1a235

Contents?: true

Size: 873 Bytes

Versions: 3

Compression:

Stored size: 873 Bytes

Contents

/**
 * @copyright	Copyright 2010-2013, The Titon Project
 * @license		http://opensource.org/licenses/bsd-license.php
 * @link		http://titon.io
 */

@import "../common";

img, video, canvas {
	max-width: 100%;
	max-height: auto;
	height: auto;
}

.show-print { display: none; }

// Desktop states
@include in-desktop {
	.show-tablet,
	.show-mobile,
	.hide-desktop { display: none; }
}

// Tablet states
@include in-tablet {
	.show-desktop,
	.show-mobile,
	.hide-tablet { display: none; }
}

// Mobile states
@include in-mobile  {
	.show-desktop,
	.show-tablet,
	.hide-mobile { display: none; }
}

// Orientation states
@include if-portrait {
	.show-landscape,
	.hide-portrait { display: none; }
}

@include if-landscape {
	.show-portrait,
	.hide-landscape { display: none; }
}

// Type states
@media print {
	.show-print { display: block; }
	.hide-print { display: none; }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
titon-toolkit-0.9.4 src/scss/toolkit/layout/responsive.scss
titon-toolkit-0.9.3 src/scss/toolkit/layout/responsive.scss
titon-toolkit-0.9.2 src/scss/toolkit/layout/responsive.scss