//LAYOUT .newLine () { float: left; clear: left; } .transition (@time: @transition_time) { -webkit-transition: all @time; -moz-transition: all @time; -o-transition: all @time; -ms-transition: all @time; transition: all @time; } .flatShading () { //Disable borders, gradients and other effects. One flat colour shading. border: none; background-image: none; -webkit-box-shadow: none; box-shadow: none; border-radius: 0; } .noOffset () { .noMargin; .noPadding; } .noMargin () { margin: 0; } .noPadding () { padding: 0; } //------------------------------------------ //ICONS .setIconSize (@size, @b) when (@size =< 24px) { width: @size; height: @size; margin: ((24px - @size) / 2) 0; background-image: url('images/icons/rftIcons16@{b}.png'); } .setIconSize (@size, @b) when (@size > 24px) and (@size < 32) { width: @size; height: @size; margin: 0; background-image: url('images/icons/rftIcons24@{b}.png'); } .setIconSize (@size, @b) when (@size >= 32px) { width: @size; height: @size; margin: 0; background-image: url('images/icons/rftIcons32@{b}.png'); } .setIcon (@size, black) { .setIconSize(@size, "b"); } .setIcon (@size, white) { .setIconSize(@size, ""); } .setIcon (@size) { .setIconSize(@size, ""); } //------------------------------------------