rsuite
Version:
A suite of react components
82 lines (63 loc) • 1.01 kB
text/less
@import 'core';
//
// Utility classes
// --------------------------------------------------
// Floats
// -------------------------
.clearfix {
.clearfix();
}
.pull-right {
float: right ;
}
.pull-left {
float: left ;
}
// Toggling content
// -------------------------
.hide {
display: none ;
}
.show {
display: block ;
}
.invisible {
visibility: hidden;
}
// Hide from screenreaders and browsers
.hidden {
display: none ;
}
// Animations
// -------------------------
.fade {
opacity: 0;
transition: opacity 0.15s linear;
&.in {
opacity: 1;
}
}
.collapse {
display: none;
&.in {
display: block;
}
tr&.in {
display: table-row;
}
tbody&.in {
display: table-row-group;
}
}
.collapsing {
position: relative;
height: 0;
overflow: hidden;
transition: height 0.35s ease, visibility 0.35s ease;
}
.sr-only {
position: absolute;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}