bootstrap_farsi 3.2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +100 -0
  6. data/Rakefile +2 -0
  7. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.eot +0 -0
  8. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.svg +229 -0
  9. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  10. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.woff +0 -0
  11. data/app/assets/javascripts/twitter/bootstrap.js +6 -0
  12. data/app/assets/javascripts/twitter/bootstrap/.DS_Store +0 -0
  13. data/app/assets/javascripts/twitter/bootstrap/affix.js +142 -0
  14. data/app/assets/javascripts/twitter/bootstrap/alert.js +92 -0
  15. data/app/assets/javascripts/twitter/bootstrap/button.js +110 -0
  16. data/app/assets/javascripts/twitter/bootstrap/carousel.js +223 -0
  17. data/app/assets/javascripts/twitter/bootstrap/collapse.js +170 -0
  18. data/app/assets/javascripts/twitter/bootstrap/dropdown.js +151 -0
  19. data/app/assets/javascripts/twitter/bootstrap/modal.js +280 -0
  20. data/app/assets/javascripts/twitter/bootstrap/popover.js +113 -0
  21. data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +170 -0
  22. data/app/assets/javascripts/twitter/bootstrap/tab.js +128 -0
  23. data/app/assets/javascripts/twitter/bootstrap/tooltip.js +457 -0
  24. data/app/assets/javascripts/twitter/bootstrap/transition.js +59 -0
  25. data/app/frameworks/twitter/bootstrap/alerts.less +68 -0
  26. data/app/frameworks/twitter/bootstrap/badges.less +55 -0
  27. data/app/frameworks/twitter/bootstrap/bi-app/bi-app-ltr.less +12 -0
  28. data/app/frameworks/twitter/bootstrap/bi-app/bi-app-rtl.less +16 -0
  29. data/app/frameworks/twitter/bootstrap/bi-app/mixins.less +326 -0
  30. data/app/frameworks/twitter/bootstrap/bi-app/variables-ltr.less +16 -0
  31. data/app/frameworks/twitter/bootstrap/bi-app/variables-rtl.less +16 -0
  32. data/app/frameworks/twitter/bootstrap/bootstrap.less +53 -0
  33. data/app/frameworks/twitter/bootstrap/breadcrumbs.less +26 -0
  34. data/app/frameworks/twitter/bootstrap/button-groups.less +240 -0
  35. data/app/frameworks/twitter/bootstrap/buttons.less +157 -0
  36. data/app/frameworks/twitter/bootstrap/carousel.less +241 -0
  37. data/app/frameworks/twitter/bootstrap/close.less +33 -0
  38. data/app/frameworks/twitter/bootstrap/code.less +69 -0
  39. data/app/frameworks/twitter/bootstrap/component-animations.less +31 -0
  40. data/app/frameworks/twitter/bootstrap/dropdowns.less +215 -0
  41. data/app/frameworks/twitter/bootstrap/forms.less +540 -0
  42. data/app/frameworks/twitter/bootstrap/glyphicons.less +233 -0
  43. data/app/frameworks/twitter/bootstrap/grid.less +84 -0
  44. data/app/frameworks/twitter/bootstrap/input-groups.less +166 -0
  45. data/app/frameworks/twitter/bootstrap/jumbotron.less +48 -0
  46. data/app/frameworks/twitter/bootstrap/labels.less +64 -0
  47. data/app/frameworks/twitter/bootstrap/list-group.less +131 -0
  48. data/app/frameworks/twitter/bootstrap/media.less +56 -0
  49. data/app/frameworks/twitter/bootstrap/mixins.less +39 -0
  50. data/app/frameworks/twitter/bootstrap/mixins/alerts.less +14 -0
  51. data/app/frameworks/twitter/bootstrap/mixins/background-variant.less +8 -0
  52. data/app/frameworks/twitter/bootstrap/mixins/border-radius.less +10 -0
  53. data/app/frameworks/twitter/bootstrap/mixins/buttons.less +50 -0
  54. data/app/frameworks/twitter/bootstrap/mixins/center-block.less +7 -0
  55. data/app/frameworks/twitter/bootstrap/mixins/clearfix.less +22 -0
  56. data/app/frameworks/twitter/bootstrap/mixins/forms.less +81 -0
  57. data/app/frameworks/twitter/bootstrap/mixins/gradients.less +59 -0
  58. data/app/frameworks/twitter/bootstrap/mixins/grid-framework.less +91 -0
  59. data/app/frameworks/twitter/bootstrap/mixins/grid.less +122 -0
  60. data/app/frameworks/twitter/bootstrap/mixins/hide-text.less +21 -0
  61. data/app/frameworks/twitter/bootstrap/mixins/image.less +34 -0
  62. data/app/frameworks/twitter/bootstrap/mixins/labels.less +12 -0
  63. data/app/frameworks/twitter/bootstrap/mixins/list-group.less +29 -0
  64. data/app/frameworks/twitter/bootstrap/mixins/nav-divider.less +10 -0
  65. data/app/frameworks/twitter/bootstrap/mixins/nav-vertical-align.less +9 -0
  66. data/app/frameworks/twitter/bootstrap/mixins/opacity.less +8 -0
  67. data/app/frameworks/twitter/bootstrap/mixins/pagination.less +23 -0
  68. data/app/frameworks/twitter/bootstrap/mixins/panels.less +24 -0
  69. data/app/frameworks/twitter/bootstrap/mixins/progress-bar.less +10 -0
  70. data/app/frameworks/twitter/bootstrap/mixins/reset-filter.less +8 -0
  71. data/app/frameworks/twitter/bootstrap/mixins/resize.less +6 -0
  72. data/app/frameworks/twitter/bootstrap/mixins/responsive-visibility.less +15 -0
  73. data/app/frameworks/twitter/bootstrap/mixins/size.less +10 -0
  74. data/app/frameworks/twitter/bootstrap/mixins/tab-focus.less +9 -0
  75. data/app/frameworks/twitter/bootstrap/mixins/table-row.less +28 -0
  76. data/app/frameworks/twitter/bootstrap/mixins/text-emphasis.less +8 -0
  77. data/app/frameworks/twitter/bootstrap/mixins/text-overflow.less +8 -0
  78. data/app/frameworks/twitter/bootstrap/mixins/vendor-prefixes.less +224 -0
  79. data/app/frameworks/twitter/bootstrap/modals.less +150 -0
  80. data/app/frameworks/twitter/bootstrap/navbar.less +655 -0
  81. data/app/frameworks/twitter/bootstrap/navs.less +242 -0
  82. data/app/frameworks/twitter/bootstrap/normalize.less +425 -0
  83. data/app/frameworks/twitter/bootstrap/pager.less +55 -0
  84. data/app/frameworks/twitter/bootstrap/pagination.less +88 -0
  85. data/app/frameworks/twitter/bootstrap/panels.less +243 -0
  86. data/app/frameworks/twitter/bootstrap/popovers.less +133 -0
  87. data/app/frameworks/twitter/bootstrap/print.less +101 -0
  88. data/app/frameworks/twitter/bootstrap/progress-bars.less +105 -0
  89. data/app/frameworks/twitter/bootstrap/responsive-embed.less +34 -0
  90. data/app/frameworks/twitter/bootstrap/responsive-utilities.less +194 -0
  91. data/app/frameworks/twitter/bootstrap/scaffolding.less +150 -0
  92. data/app/frameworks/twitter/bootstrap/tables.less +233 -0
  93. data/app/frameworks/twitter/bootstrap/theme.less +258 -0
  94. data/app/frameworks/twitter/bootstrap/thumbnails.less +36 -0
  95. data/app/frameworks/twitter/bootstrap/tooltip.less +95 -0
  96. data/app/frameworks/twitter/bootstrap/type.less +313 -0
  97. data/app/frameworks/twitter/bootstrap/utilities.less +57 -0
  98. data/app/frameworks/twitter/bootstrap/variables.less +846 -0
  99. data/app/frameworks/twitter/bootstrap/wells.less +29 -0
  100. data/bootstrap_farsi.gemspec +27 -0
  101. data/lib/bootstrap_farsi.rb +7 -0
  102. data/lib/bootstrap_farsi/engine.rb +7 -0
  103. data/lib/bootstrap_farsi/version.rb +3 -0
  104. metadata +216 -0
@@ -0,0 +1,59 @@
1
+ /* ========================================================================
2
+ * Bootstrap: transition.js v3.2.0
3
+ * http://getbootstrap.com/javascript/#transitions
4
+ * ========================================================================
5
+ * Copyright 2011-2014 Twitter, Inc.
6
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7
+ * ======================================================================== */
8
+
9
+
10
+ +function ($) {
11
+ 'use strict';
12
+
13
+ // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
14
+ // ============================================================
15
+
16
+ function transitionEnd() {
17
+ var el = document.createElement('bootstrap')
18
+
19
+ var transEndEventNames = {
20
+ WebkitTransition : 'webkitTransitionEnd',
21
+ MozTransition : 'transitionend',
22
+ OTransition : 'oTransitionEnd otransitionend',
23
+ transition : 'transitionend'
24
+ }
25
+
26
+ for (var name in transEndEventNames) {
27
+ if (el.style[name] !== undefined) {
28
+ return { end: transEndEventNames[name] }
29
+ }
30
+ }
31
+
32
+ return false // explicit for ie8 ( ._.)
33
+ }
34
+
35
+ // http://blog.alexmaccaw.com/css-transitions
36
+ $.fn.emulateTransitionEnd = function (duration) {
37
+ var called = false
38
+ var $el = this
39
+ $(this).one('bsTransitionEnd', function () { called = true })
40
+ var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
41
+ setTimeout(callback, duration)
42
+ return this
43
+ }
44
+
45
+ $(function () {
46
+ $.support.transition = transitionEnd()
47
+
48
+ if (!$.support.transition) return
49
+
50
+ $.event.special.bsTransitionEnd = {
51
+ bindType: $.support.transition.end,
52
+ delegateType: $.support.transition.end,
53
+ handle: function (e) {
54
+ if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
55
+ }
56
+ }
57
+ })
58
+
59
+ }(jQuery);
@@ -0,0 +1,68 @@
1
+ //
2
+ // Alerts
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base styles
7
+ // -------------------------
8
+
9
+ .alert {
10
+ padding: @alert-padding;
11
+ margin-bottom: @line-height-computed;
12
+ border: 1px solid transparent;
13
+ border-radius: @alert-border-radius;
14
+
15
+ // Headings for larger alerts
16
+ h4 {
17
+ margin-top: 0;
18
+ // Specified for the h4 to prevent conflicts of changing @headings-color
19
+ color: inherit;
20
+ }
21
+ // Provide class for links that match alerts
22
+ .alert-link {
23
+ font-weight: @alert-link-font-weight;
24
+ }
25
+
26
+ // Improve alignment and spacing of inner content
27
+ > p,
28
+ > ul {
29
+ margin-bottom: 0;
30
+ }
31
+ > p + p {
32
+ margin-top: 5px;
33
+ }
34
+ }
35
+
36
+ // Dismissible alerts
37
+ //
38
+ // Expand the right padding and account for the close button's positioning.
39
+
40
+ .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
41
+ .alert-dismissible {
42
+ .padding-right((@alert-padding + 20));
43
+
44
+ // Adjust close link position
45
+ .close {
46
+ position: relative;
47
+ top: -2px;
48
+ .right(-21px);
49
+ color: inherit;
50
+ }
51
+ }
52
+
53
+ // Alternate styles
54
+ //
55
+ // Generate contextual modifier classes for colorizing the alert.
56
+
57
+ .alert-success {
58
+ .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);
59
+ }
60
+ .alert-info {
61
+ .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);
62
+ }
63
+ .alert-warning {
64
+ .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);
65
+ }
66
+ .alert-danger {
67
+ .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);
68
+ }
@@ -0,0 +1,55 @@
1
+ //
2
+ // Badges
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base class
7
+ .badge {
8
+ display: inline-block;
9
+ min-width: 10px;
10
+ padding: 3px 7px;
11
+ font-size: @font-size-small;
12
+ font-weight: @badge-font-weight;
13
+ color: @badge-color;
14
+ line-height: @badge-line-height;
15
+ vertical-align: baseline;
16
+ white-space: nowrap;
17
+ text-align: center;
18
+ background-color: @badge-bg;
19
+ border-radius: @badge-border-radius;
20
+
21
+ // Empty badges collapse automatically (not available in IE8)
22
+ &:empty {
23
+ display: none;
24
+ }
25
+
26
+ // Quick fix for badges in buttons
27
+ .btn & {
28
+ position: relative;
29
+ top: -1px;
30
+ }
31
+ .btn-xs & {
32
+ top: 0;
33
+ padding: 1px 5px;
34
+ }
35
+
36
+ // Hover state, but only for links
37
+ a& {
38
+ &:hover,
39
+ &:focus {
40
+ color: @badge-link-hover-color;
41
+ text-decoration: none;
42
+ cursor: pointer;
43
+ }
44
+ }
45
+
46
+ // Account for badges in navs
47
+ a.list-group-item.active > &,
48
+ .nav-pills > .active > a > & {
49
+ color: @badge-active-color;
50
+ background-color: @badge-active-bg;
51
+ }
52
+ .nav-pills > li > a > & {
53
+ .margin-left(3px);
54
+ }
55
+ }
@@ -0,0 +1,12 @@
1
+ // ------------------------------------------
2
+ // left to right module
3
+ // author:
4
+ // twitter.com/anasnakawa
5
+ // inspired by:
6
+ // twitter.com/victorzamfir
7
+ // licensed under the MIT license
8
+ // http://www.opensource.org/licenses/mit-license.php
9
+ // ------------------------------------------
10
+
11
+ @import 'variables-ltr';
12
+ @import 'mixins';
@@ -0,0 +1,16 @@
1
+ // ------------------------------------------
2
+ // right to left module
3
+ // author:
4
+ // twitter.com/anasnakawa
5
+ // inspired by:
6
+ // twitter.com/victorzamfir
7
+ // licensed under the MIT license
8
+ // http://www.opensource.org/licenses/mit-license.php
9
+ // ------------------------------------------
10
+
11
+ @import 'variables-rtl';
12
+ @import 'mixins';
13
+
14
+ body {
15
+ direction: rtl;
16
+ }
@@ -0,0 +1,326 @@
1
+ // ------------------------------------------
2
+ // bi app mixins
3
+ // twitter.com/anasnakawa
4
+ // inspired by:
5
+ // twitter.com/victorzamfir
6
+ // licensed under the MIT license
7
+ // http://www.opensource.org/licenses/mit-license.php
8
+ // ------------------------------------------
9
+
10
+ // ------------------------------------------
11
+ // Table of contents
12
+ // ------------------------------------------
13
+ // padding
14
+ // margin
15
+ // float
16
+ // text align
17
+ // clear
18
+ // left / right
19
+ // border
20
+ // - width
21
+ // - style
22
+ // - color
23
+ // - generic
24
+ // - radius
25
+ // ------------------------------------------
26
+
27
+ // padding
28
+ // ------------------------------------------
29
+ .padding-left(@distance) when (@bi-app-left = left) {
30
+ padding-left: @distance;
31
+ }
32
+
33
+ .padding-left(@distance) when (@bi-app-left = right) {
34
+ padding-right: @distance;
35
+ }
36
+
37
+ .padding-right(@distance) when (@bi-app-right = right) {
38
+ padding-right: @distance;
39
+ }
40
+
41
+ .padding-right(@distance) when (@bi-app-right = left) {
42
+ padding-left: @distance;
43
+ }
44
+
45
+ .padding(@top, @right, @bottom, @left) when (@bi-app-left = left) {
46
+ padding: @top @right @bottom @left;
47
+ }
48
+
49
+ .padding(@top, @right, @bottom, @left) when (@bi-app-left = right) {
50
+ padding: @top @left @bottom @right;
51
+ }
52
+
53
+ // margin
54
+ // ------------------------------------------
55
+ .margin-left(@distance) when (@bi-app-left = left) {
56
+ margin-left: @distance;
57
+ }
58
+
59
+ .margin-left(@distance) when (@bi-app-left = right) {
60
+ margin-right: @distance;
61
+ }
62
+
63
+ .margin-right(@distance) when (@bi-app-right = right) {
64
+ margin-right: @distance;
65
+ }
66
+
67
+ .margin-right(@distance) when (@bi-app-right = left) {
68
+ margin-left: @distance;
69
+ }
70
+
71
+ .margin(@top, @right, @bottom, @left) when (@bi-app-left = left) {
72
+ margin: @top @right @bottom @left;
73
+ }
74
+
75
+ .margin(@top, @right, @bottom, @left) when (@bi-app-left = right) {
76
+ margin: @top @left @bottom @right;
77
+ }
78
+
79
+ // float
80
+ // ------------------------------------------
81
+ .bi-app-float-left() {
82
+ float: @bi-app-left;
83
+ }
84
+
85
+ .bi-app-float-right() {
86
+ float: @bi-app-right;
87
+ }
88
+
89
+ .float(@direction) when (@direction = left) {
90
+ .bi-app-float-left;
91
+ }
92
+
93
+ .float(@direction) when (@direction = right) {
94
+ .bi-app-float-right;
95
+ }
96
+
97
+ // text-align
98
+ // ------------------------------------------
99
+ .bi-app-text-align-left() {
100
+ text-align: @bi-app-left;
101
+ }
102
+
103
+ .bi-app-text-align-right() {
104
+ text-align: @bi-app-right;
105
+ }
106
+
107
+ .text-align(@direction) when (@direction = left) {
108
+ .bi-app-text-align-left;
109
+ }
110
+
111
+ .text-align(@direction) when (@direction = right) {
112
+ .bi-app-text-align-right;
113
+ }
114
+
115
+ // clear
116
+ // ------------------------------------------
117
+ .bi-app-clear-left() {
118
+ clear: @bi-app-left;
119
+ }
120
+
121
+ .bi-app-clear-right() {
122
+ clear: @bi-app-right;
123
+ }
124
+
125
+ .clear(@direction) when (@direction = left) {
126
+ .bi-app-clear-left;
127
+ }
128
+
129
+ .clear(@direction) when (@direction = right) {
130
+ .bi-app-clear-right;
131
+ }
132
+
133
+ // left / right
134
+ // ------------------------------------------
135
+ .left(@distance) when (@bi-app-left = left) {
136
+ left: @distance;
137
+ }
138
+
139
+ .left(@distance) when (@bi-app-left = right) {
140
+ right: @distance;
141
+ }
142
+
143
+ .right(@distance) when (@bi-app-right = right) {
144
+ right: @distance;
145
+ }
146
+
147
+ .right(@distance) when (@bi-app-right = left) {
148
+ left: @distance;
149
+ }
150
+
151
+ // border
152
+ // ------------------------------------------
153
+
154
+ // width
155
+ .border-left-width(@width) when (@bi-app-left = left) {
156
+ border-left-width: @width;
157
+ }
158
+
159
+ .border-left-width(@width) when (@bi-app-left = right) {
160
+ border-right-width: @width;
161
+ }
162
+
163
+ .border-right-width(@width) when (@bi-app-right = right) {
164
+ border-right-width: @width;
165
+ }
166
+
167
+ .border-right-width(@width) when (@bi-app-right = left) {
168
+ border-left-width: @width;
169
+ }
170
+
171
+ .border-width(@top, @right, @bottom, @left) when (@bi-app-left = left) {
172
+ border-width: @top @right @bottom @left;
173
+ }
174
+
175
+ .border-width(@top, @right, @bottom, @left) when (@bi-app-left = right) {
176
+ border-width: @top @left @bottom @right;
177
+ }
178
+
179
+ // style
180
+ .border-left-style(@style) when (@bi-app-left = left) {
181
+ border-left-style: @style;
182
+ }
183
+
184
+ .border-left-style(@style) when (@bi-app-left = right) {
185
+ border-right-style: @style;
186
+ }
187
+
188
+ .border-right-style(@style) when (@bi-app-right = right) {
189
+ border-right-style: @style;
190
+ }
191
+
192
+ .border-right-style(@style) when (@bi-app-right = left) {
193
+ border-left-style: @style;
194
+ }
195
+
196
+ .border-style(@top, @right, @bottom, @left) when (@bi-app-left = left) {
197
+ border-style: @top @right @bottom @left;
198
+ }
199
+
200
+ .border-style(@top, @right, @bottom, @left) when (@bi-app-left = right) {
201
+ border-style: @top @left @bottom @right;
202
+ }
203
+
204
+ // color
205
+ .border-left-color(@color) when (@bi-app-left = left) {
206
+ border-left-color: @color;
207
+ }
208
+
209
+ .border-left-color(@color) when (@bi-app-left = right) {
210
+ border-right-color: @color;
211
+ }
212
+
213
+ .border-right-color(@color) when (@bi-app-right = right) {
214
+ border-right-color: @color;
215
+ }
216
+
217
+ .border-right-color(@color) when (@bi-app-right = left) {
218
+ border-left-color: @color;
219
+ }
220
+
221
+ .border-color(@top, @right, @bottom, @left) when (@bi-app-left = left) {
222
+ border-color: @top @right @bottom @left;
223
+ }
224
+
225
+ .border-color(@top, @right, @bottom, @left) when (@bi-app-left = right) {
226
+ border-color: @top @left @bottom @right;
227
+ }
228
+
229
+ // generic border
230
+ .border-left(@border) when (@bi-app-left = left) {
231
+ border-left: @border;
232
+ }
233
+
234
+ .border-left(@border) when (@bi-app-left = right) {
235
+ border-right: @border;
236
+ }
237
+
238
+ .border-right(@border) when (@bi-app-right = right) {
239
+ border-right: @border;
240
+ }
241
+
242
+ .border-right(@border) when (@bi-app-right = left) {
243
+ border-left: @border;
244
+ }
245
+
246
+ // radius
247
+ .border-top-left-radius(@radius) when (@bi-app-left = left) {
248
+ -webkit-border-top-left-radius: @radius;
249
+ border-top-left-radius: @radius;
250
+ }
251
+
252
+ .border-top-left-radius(@radius) when (@bi-app-left = right) {
253
+ -webkit-border-top-right-radius: @radius;
254
+ border-top-right-radius: @radius;
255
+ }
256
+
257
+ .border-top-right-radius(@radius) when (@bi-app-right = right) {
258
+ -webkit-border-top-right-radius: @radius;
259
+ border-top-right-radius: @radius;
260
+ }
261
+
262
+ .border-top-right-radius(@radius) when (@bi-app-right = left) {
263
+ -webkit-border-top-left-radius: @radius;
264
+ border-top-left-radius: @radius;
265
+ }
266
+
267
+ .border-bottom-left-radius(@radius) when (@bi-app-left = left) {
268
+ -webkit-border-bottom-left-radius: @radius;
269
+ border-bottom-left-radius: @radius;
270
+ }
271
+
272
+ .border-bottom-left-radius(@radius) when (@bi-app-left = right) {
273
+ -webkit-border-bottom-right-radius: @radius;
274
+ border-bottom-right-radius: @radius;
275
+ }
276
+
277
+ .border-bottom-right-radius(@radius) when (@bi-app-right = right) {
278
+ -webkit-border-bottom-right-radius: @radius;
279
+ border-bottom-right-radius: @radius;
280
+ }
281
+
282
+ .border-bottom-right-radius(@radius) when (@bi-app-right = left) {
283
+ -webkit-border-bottom-left-radius: @radius;
284
+ border-bottom-left-radius: @radius;
285
+ }
286
+
287
+ .border-right-radius(@radius) {
288
+ .border-top-right-radius(@radius);
289
+ .border-bottom-right-radius(@radius);
290
+ }
291
+
292
+ .border-left-radius(@radius) {
293
+ .border-top-left-radius(@radius);
294
+ .border-bottom-left-radius(@radius);
295
+ }
296
+
297
+ .border-top-radius(@radius) {
298
+ .border-top-left-radius(@radius);
299
+ .border-top-right-radius(@radius);
300
+ }
301
+
302
+ .border-bottom-radius(@radius) {
303
+ .border-bottom-left-radius(@radius);
304
+ .border-bottom-right-radius(@radius);
305
+ }
306
+
307
+ .border-radius(@topLeft, @topRight: null, @bottomRight: null, @bottomLeft: null) when (@topRight = null) {
308
+ -webkit-border-radius: @topLeft;
309
+ border-radius: @topLeft;
310
+ }
311
+
312
+ .border-radius(@topLeft, @topRight: null, @bottomRight: null, @bottomLeft: null) when not (@topRight = null) {
313
+ .border-top-left-radius(@topLeft);
314
+ .border-top-right-radius(@topRight);
315
+ .border-bottom-right-radius(@bottomRight);
316
+ .border-bottom-left-radius(@bottomLeft);
317
+ }
318
+
319
+ // Carousel transition mixin
320
+ // ------------------------------------------
321
+ .carousel-transition(@time-ease) when (@bi-app-direction = ltr) {
322
+ .transition( @time-ease left);
323
+ }
324
+ .carousel-transition(@time-ease) when (@bi-app-direction = rtl) {
325
+ .transition( @time-ease right);
326
+ }