Sha256: 3ccb4b35cd980462212b9677bc645c242e49036b25b40b0465d24d1df17ec165
Contents?: true
Size: 1.45 KB
Versions: 5
Compression:
Stored size: 1.45 KB
Contents
// ============================================= // Mobile // Last Updated:2013-6-25 // ============================================= @mixin mobile { @media #{$mobile} { // responsive grid @include grid-responsive(false); // conditional helpers .mobile-only { display: block !important; } span.mobile-only { display: inline !important; } .hide-on-small-tablet { display: block !important; } span.hide-on-small-tablet { display: inline !important; } .small-tablet-only { display: none !important; } span.small-tablet-only { display: none !important; } .hide-on-mobile { display: none !important; } .desktop-only { display: none !important; } // spacer overrides .zero-mobile { @include helper_reset(); } .no-padding-mobile, .no-pad-mobile { @include helper_reset(padding, $spacers: padded pad-top pad-right pad-bottom pad-left); } .no-margin-mobile, .no-gap-mobile { @include helper_reset(margin, $spacers: gapped gap-top gap-right gap-bottom gap-left); } .no-border-mobile { border: 0; } @content; } } /////////////////////// // mobile // /////////////////////// @include mobile { .tabs:not(.mobile) { > ul { li { float:none; width:100%; a { @include rounded(0); border-bottom:none; } &:first-child a { @include rounded($default-radius $default-radius 0 0); } } } } }
Version data entries
5 entries across 5 versions & 1 rubygems