Brought in bootstrap-rtl and validate.js packages via bower for Matrix's patient...
[openemr.git] / public / assets / bootstrap-rtl-3-3-4 / less / mixins / gradients-rtl.less
blob3a69ad979789b366828d137bb9862d1350bf9516
1 // RTL Gradients
3 #gradient {
5   // Horizontal gradient, from right to left
6   //
7   // Creates two color stops, start and end, by specifying a color and position for each color stop.
8   // Color stops are not available in IE9 and below.
9   .horizontal(@start-color: #333; @end-color: #555; @start-percent: 0%; @end-percent: 100%) {
10     background-image: -webkit-linear-gradient(left, color-stop(@start-color @start-percent), color-stop(@end-color @end-percent)); // Safari 5.1-6, Chrome 10+
11     background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Opera 12
12     background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
13     background-repeat: repeat-x;
14     filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down
15   }
17   .horizontal-three-colors(@start-color: #c3325f; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #00b3ee) {
18     background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
19     background-image: -o-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
20     background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);
21     background-repeat: no-repeat;
22     filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
23   }