Sha256: 5d48aba098e3657afa330e43ed7225590cad9d80df1407197fed9ca55ed38bdd

Contents?: true

Size: 1.83 KB

Versions: 5

Compression:

Stored size: 1.83 KB

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-retina,
.show-print { display: none !important; }

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

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

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

// Large states
@include in-large {
    .show-medium,
    .show-small,
    .hide-large { display: none !important; }
}

// Medium states
@include in-medium {
    .show-large,
    .show-small,
    .hide-medium { display: none !important; }
}

// Small states
@include in-small  {
    .show-large,
    .show-medium,
    .hide-small { display: none !important; }
}

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

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

// Type states
@include if-retina {
    .hide-retina { display: none !important; }
    .show-retina { display: block !important; }
    table.show-retina { display: table !important; }
    tr.show-retina { display: table-row !important; }
    td.show-retina,
    th.show-retina { display: table-cell !important; }
}

@media print {
    .hide-print { display: none !important; }
    .show-print { display: block !important; }
    table.show-print { display: table !important; }
    tr.show-print { display: table-row !important; }
    td.show-print,
    th.show-print { display: table-cell !important; }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
titon-toolkit-1.1.0 scss/toolkit/layout/responsive.scss
titon-toolkit-1.1.0.rc.2 scss/toolkit/layout/responsive.scss
titon-toolkit-1.1.0.rc.1 scss/toolkit/layout/responsive.scss
titon-toolkit-1.0.5 scss/toolkit/layout/responsive.scss
titon-toolkit-1.0.4 scss/toolkit/layout/responsive.scss