zui
Version:
一个基于 Bootstrap 深度定制开源前端实践方案,帮助你快速构建现代跨屏应用。
52 lines (34 loc) • 1.24 kB
text/less
/// ========================================================================
/// Bootstrap: utilities.less
/// https://github.com/twbs/bootstrap/blob/master/less/utilities.less
///
/// ZUI: The file has been changed in ZUI. It will not keep update with the
/// Bootsrap version in the future.
/// http://openzui.com
/// ========================================================================
/// Bootrap: Copyright 2011-2016 Twitter, Inc. Licensed under MIT
/// ========================================================================
// Floats and clearfix
.clearfix { .clearfix-mixin(); }
.center-block { .center-block(); }
.pull-right { float: right ; }
.pull-left { float: left ; }
// Toggling content
.hide { display: none; }
.showing { display: block; }
.hidden {
display: none;
visibility: hidden ;
}
.show {
display: block;
visibility: visible ;
}
.invisible { visibility: hidden; }
.text-hide { .text-hide(); }
// For Affix plugin
.affix { position: fixed; }
// Padding and margin
.with-padding { padding: @padding-base-vertical @padding-base-horizontal; }
.no-padding { padding: 0; }
.no-margin { margin: 0; }