Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #288 from smeranda/header_ui

Add a few CSS3 rules to the mixins.
  • Loading branch information...
commit 01a389060527fcd8e4ff6739f2c28cdd9dc03829 2 parents dc59235 + 732ec3f
@saltybeagle saltybeagle authored
Showing with 19 additions and 0 deletions.
  1. +19 −0 wdn/templates_3.1/less/_mixins/css3.less
View
19 wdn/templates_3.1/less/_mixins/css3.less
@@ -113,6 +113,14 @@
background: linear-gradient(top, @from @from_stop,@to @to_stop); // W3C
}
+.repeating-linear-gradient(@angle, @color_stop1, @color_stop2, @color_stop3, @color_stop4) {
+ background: -webkit-repeating-linear-gradient(@angle, @color_stop1, @color_stop2, @color_stop3, @color_stop4);
+ background: -moz-repeating-linear-gradient(@angle, @color_stop1, @color_stop2, @color_stop3, @color_stop4);
+ background: -ms-repeating-linear-gradient(@angle, @color_stop1, @color_stop2, @color_stop3, @color_stop4);
+ background: -o-repeating-linear-gradient(@angle, @color_stop1, @color_stop2, @color_stop3, @color_stop4);
+ background: repeating-linear-gradient(@angle, @color_stop1, @color_stop2, @color_stop3, @color_stop4);
+}
+
// Box Flex
.box-flex-display()
{
@@ -206,3 +214,14 @@
-ms-transform:translate(@move_x, @move_y);
transform: translate(@move_x, @move_y);
}
+
+// Columns
+.columns(@column-count) {
+ .columns(@column-count, auto);
+}
+
+.columns(@column-count, @column-width) {
+ -webkit-columns: @arguments;
+ -moz-columns: @arguments;
+ columns: @arguments;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.