bigbluebutton-Github/bigbluebutton-html5/app/client/stylesheets/mixins.less
2015-05-15 13:17:33 -07:00

19 lines
592 B
Plaintext
Executable File

.radius(@size: 4px) {
-moz-border-radius: @size;
-webkit-border-radius: @size;
border-radius: @size;
}
.linear-gradient(@color1, @color2) {
background: -moz-linear-gradient(@color1, @color2); /* For Firefox 3.6 to 15 */
background: -o-linear-gradient(@color1, @color2); /* For Opera 11.1 to 12.0 */
background: -webkit-linear-gradient(@color1, @color2); /* For Safari 5.1 to 6.0 */
background: linear-gradient(@color1, @color2); /* Standard syntax (must be last) */
}
.vertically-centered {
position: relative;
top: 50%;
transform: translateY(-50%);
}