touchstonejs-ui
Version:
React.js UI components for the TouchstoneJS platform http://touchstonejs.io
59 lines (46 loc) • 1 kB
text/less
/**
* Display-type utilities
*/
.u-block {
display: block ;
}
.u-hidden {
display: none ;
}
/**
* Completely remove from the flow but leave available to screen readers.
*/
.u-hidden-visually {
border: 0 ;
clip: rect(1px, 1px, 1px, 1px) ;
height: 1px ;
overflow: hidden ;
padding: 0 ;
position: absolute ;
width: 1px ;
}
.u-inline {
display: inline ;
}
/**
* 1. Fix for Firefox bug: an image styled `max-width:100%` within an
* inline-block will display at its default size, and not limit its width to
* 100% of an ancestral container.
*/
.u-inline-block {
display: inline-block ;
max-width: 100%; /* 1 */
}
.u-table {
display: table ;
}
.u-table-cell {
display: table-cell ;
}
.u-table-row {
display: table-row ;
}
// Responsive images (ensure images don't scale beyond their parents)
.u-img-responsive {
.img-responsive();
}