Sha256: 34a7028ec5afe21af7453376550f8f253ed6534c0b5ffb5be3e636e846c72b05

Contents?: true

Size: 928 Bytes

Versions: 2

Compression:

Stored size: 928 Bytes

Contents

/**
 * @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

2 entries across 2 versions & 1 rubygems

Version Path
titon-toolkit-0.11.2 scss/toolkit/layout/responsive.scss
titon-toolkit-0.10.0 src/scss/toolkit/layout/responsive.scss