.no-select { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .pointer { cursor: pointer; *cursor: hand; } .inline-block { display: inline-block; *display: inline; zoom: 1; } .clear { clear: both; } .zebra { &:nth-child(even) { background: rgba(191,191,191,0.2); } &:nth-child(odd) { background: rgba(223,223,223,0.2); } } .opacity(@opacity: 1) { -moz-opacity: @opacity; opacity: @opacity; -ms-filter: ~`"progid:DXImageTransform.Microsoft.Alpha(opacity=(" + "@{opacity}" * 100 + "))"`; filter: ~`"alpha(opacity = (" + "@{opacity}" * 100 + "))"`; } .border-radius (@radius: 5px) { -webkit-border-radius: @radius; -moz-border-radius: @radius; -ms-border-radius: @radius; -o-border-radius: @radius; border-radius: @radius; } .text-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }