ellipsis-compass 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +15 -0
  2. data/lib/ellipsis-compass.rb +4 -0
  3. data/stylesheets/animation/_animate.scss +1206 -0
  4. data/stylesheets/animation/_animation.scss +121 -0
  5. data/stylesheets/animation/_animations.scss +771 -0
  6. data/stylesheets/animation/_transit.scss +425 -0
  7. data/stylesheets/animation/_transitions.scss +320 -0
  8. data/stylesheets/base/_breakpoints.scss +64 -0
  9. data/stylesheets/base/_document.scss +219 -0
  10. data/stylesheets/base/_global.scss +88 -0
  11. data/stylesheets/base/_normalize.scss +406 -0
  12. data/stylesheets/component/_component.scss +939 -0
  13. data/stylesheets/component/_ui.scss +955 -0
  14. data/stylesheets/flexbox/_flexbox.scss +305 -0
  15. data/stylesheets/font/_icons.scss +1492 -0
  16. data/stylesheets/font/_ubuntu.scss +38 -0
  17. data/stylesheets/form/_form.scss +836 -0
  18. data/stylesheets/grid/_grid.scss +312 -0
  19. data/stylesheets/helpers/_all.scss +8 -0
  20. data/stylesheets/helpers/_component.scss +177 -0
  21. data/stylesheets/helpers/_convenience.scss +277 -0
  22. data/stylesheets/helpers/_functions.scss +427 -0
  23. data/stylesheets/helpers/_grid.scss +39 -0
  24. data/stylesheets/helpers/_hardware-acceleration.scss +22 -0
  25. data/stylesheets/helpers/_mixins.scss +207 -0
  26. data/stylesheets/helpers/_touch.scss +107 -0
  27. data/stylesheets/helpers/_visibility.scss +138 -0
  28. data/stylesheets/image/_images.scss +19 -0
  29. data/stylesheets/imports/elements/_autosearch.scss +11 -0
  30. data/stylesheets/imports/elements/_badge.scss +23 -0
  31. data/stylesheets/imports/elements/_barchart.scss +254 -0
  32. data/stylesheets/imports/elements/_form.scss +8 -0
  33. data/stylesheets/imports/elements/_loginform.scss +6 -0
  34. data/stylesheets/imports/elements/_modellist.scss +14 -0
  35. data/stylesheets/imports/elements/_pluralize.scss +8 -0
  36. data/stylesheets/imports/elements/_signupform.scss +6 -0
  37. data/stylesheets/imports/elements/_slidenotification.scss +65 -0
  38. data/stylesheets/imports/elements/_stickyreveal.scss +44 -0
  39. data/stylesheets/imports/elements/_template.scss +7 -0
  40. data/stylesheets/imports/elements/_veneer.scss +36 -0
  41. data/stylesheets/shared/_shared.scss +282 -0
  42. data/stylesheets/touch/ui/_drawer.scss +41 -0
  43. data/stylesheets/touch/ui/_dropdown.scss +58 -0
  44. data/stylesheets/touch/ui/_menu.scss +131 -0
  45. data/stylesheets/touch/ui/_navbar.scss +44 -0
  46. data/stylesheets/touch/ui/_toggle.scss +127 -0
  47. data/stylesheets/touch/ui/_topbar.scss +48 -0
  48. data/stylesheets/typography/_typography.scss +746 -0
  49. data/stylesheets/ui/_autocomplete.scss +117 -0
  50. data/stylesheets/ui/_badge.scss +73 -0
  51. data/stylesheets/ui/_box.scss +78 -0
  52. data/stylesheets/ui/_breadcrumb.scss +64 -0
  53. data/stylesheets/ui/_button.scss +395 -0
  54. data/stylesheets/ui/_carousel.scss +284 -0
  55. data/stylesheets/ui/_collapsible.scss +61 -0
  56. data/stylesheets/ui/_container.scss +297 -0
  57. data/stylesheets/ui/_datepicker.scss +218 -0
  58. data/stylesheets/ui/_drawer.scss +96 -0
  59. data/stylesheets/ui/_dropdown.scss +394 -0
  60. data/stylesheets/ui/_file.scss +147 -0
  61. data/stylesheets/ui/_gallery.scss +219 -0
  62. data/stylesheets/ui/_label.scss +167 -0
  63. data/stylesheets/ui/_loading.scss +70 -0
  64. data/stylesheets/ui/_mediaobject.scss +108 -0
  65. data/stylesheets/ui/_menu.scss +287 -0
  66. data/stylesheets/ui/_menutab.scss +175 -0
  67. data/stylesheets/ui/_modal.scss +47 -0
  68. data/stylesheets/ui/_navbar.scss +315 -0
  69. data/stylesheets/ui/_notification.scss +154 -0
  70. data/stylesheets/ui/_pagination.scss +137 -0
  71. data/stylesheets/ui/_parallax.scss +233 -0
  72. data/stylesheets/ui/_popover.scss +3 -0
  73. data/stylesheets/ui/_rating.scss +106 -0
  74. data/stylesheets/ui/_sidebar.scss +110 -0
  75. data/stylesheets/ui/_slidingpanel.scss +57 -0
  76. data/stylesheets/ui/_social.scss +213 -0
  77. data/stylesheets/ui/_sticky.scss +9 -0
  78. data/stylesheets/ui/_table.scss +423 -0
  79. data/stylesheets/ui/_tabs.scss +242 -0
  80. data/stylesheets/ui/_toggle.scss +49 -0
  81. data/stylesheets/ui/_tooltip.scss +57 -0
  82. data/stylesheets/ui/_topbar.scss +210 -0
  83. data/stylesheets/ui/_tree.scss +3 -0
  84. data/stylesheets/ui/_window.scss +205 -0
  85. metadata +140 -0
@@ -0,0 +1,9 @@
1
+
2
+
3
+ @mixin ui-sticky($z-index:$global-z-index){
4
+ .ui-sticky{
5
+ position:fixed;
6
+ z-index:$z-index;
7
+ }
8
+
9
+ }
@@ -0,0 +1,423 @@
1
+ /* Private -----------------------------------------------------------------------------------------------------------*/
2
+
3
+ @mixin _ui-flex-table(
4
+ $padding:null,
5
+ $min-cell-width:null,
6
+ $max-cell-width:null,
7
+ $header-padding:null,
8
+ $header-background:null,
9
+ $header-border:null,
10
+ $header-color:null,
11
+ $header-font-size:null,
12
+ $header-margin:null,
13
+ $section-padding:null,
14
+ $section-alt-background:null,
15
+ $section-alignment:null,
16
+ $footer-padding:null,
17
+ $footer-margin:null
18
+
19
+ ){
20
+ @include flexbox();
21
+ @include flex-wrap(wrap);
22
+ width:100%;
23
+ header,section,[role=section],footer{
24
+ width:100%;
25
+ padding:$padding;
26
+ div{
27
+ min-width:$min-cell-width;
28
+ @if $max-cell-width != null{
29
+ max-width:$max-cell-width;
30
+ }
31
+ }
32
+ }
33
+ header{
34
+ @include flexbox($justification:space-between,$alignment:center);
35
+ padding:$header-padding;
36
+ background:$header-background;
37
+ border:$header-border;
38
+ color:$header-color;
39
+ margin:$header-margin;
40
+ font-size:$header-font-size;
41
+ }
42
+ section,[role=section]{
43
+ @include flexbox($justification:space-between,$alignment:$section-alignment);
44
+ @include flex-wrap(wrap);
45
+ margin:0;
46
+ padding:$section-padding;
47
+ &:nth-child(odd){
48
+ background:$section-alt-background;
49
+ }
50
+ }
51
+ footer{
52
+ @include flexbox($justification:space-between,$alignment:center);
53
+ margin:$footer-margin;
54
+ padding:$footer-padding;
55
+ }
56
+ }
57
+
58
+
59
+ @mixin ui-flex-table-cell-width($width:null){
60
+ header,section,footer{
61
+ div{
62
+ min-width:$width;
63
+ @content;
64
+ }
65
+ }
66
+ }
67
+
68
+ @mixin ui-flex-table-cell-flex($justification:center,$alignment:flex-start,$width:null){
69
+ header,section,footer{
70
+ div{
71
+ width:$width;
72
+ overflow:hidden;
73
+ white-space: nowrap;
74
+ text-overflow:ellipsis;
75
+ @include flexbox($justification:$justification,$alignment:$alignment);
76
+ @content;
77
+ }
78
+ }
79
+ }
80
+
81
+ /* Public -------------------------------------------------------------------------------------------------------------*/
82
+
83
+ @mixin ui-flex-table($class:null,
84
+ $padding:0 0 0 1em,
85
+ $min-cell-width:15%,
86
+ $max-cell-width:null,
87
+ $header-padding:.5em 0 .5em .75em,
88
+ $header-background:#f5f5f5,
89
+ $header-border:1px solid #ddd,
90
+ $header-color:$primary-color,
91
+ $header-font-size:1.1em,
92
+ $header-margin:0 0 1em 0,
93
+ $section-padding:.75em 0 .75em .75em,
94
+ $section-alt-background:#fafafa,
95
+ $section-alignment:center,
96
+ $footer-padding:.5em 0 .5em .75em,
97
+ $footer-margin:1em 0 0 0
98
+
99
+ ){
100
+
101
+ .ui-flex-table,ui-flex-table {
102
+ @if $class != null{
103
+ &.#{$class} {
104
+ @include _ui-flex-table($padding,$min-cell-width,$max-cell-width,$header-padding,$header-background,$header-border,$header-color,
105
+ $header-font-size,$header-margin,$section-padding,$section-alt-background,$section-alignment,$footer-padding,$footer-margin);
106
+ @content;
107
+ }
108
+
109
+ } @else {
110
+ @include _ui-flex-table($padding,$min-cell-width,$max-cell-width,$header-padding,$header-background,$header-border,$header-color,
111
+ $header-font-size,$header-margin,$section-padding,$section-alt-background,$section-alignment,$footer-padding,$footer-margin);
112
+ @content;
113
+ }
114
+ }
115
+
116
+ /* correction for firefox, ie10 that don't support flex-wrap */
117
+ @supports not (flex-wrap: wrap) {
118
+ .ui-flex-table { display: block }
119
+ }
120
+ }
121
+
122
+
123
+
124
+
125
+
126
+ @mixin ui-table(
127
+ $background: none,
128
+ $border: #ccc,
129
+ $border-radius:$global-radius,
130
+ $color:#333,
131
+ $nchild-background:#f9f9f9,
132
+ $alternate-background:#f9f9f9,
133
+ $foot-color:#222,
134
+ $th-background:none,
135
+ $td-line-height:1.4em,
136
+ $striped-alternate-background:#f9f9f9,
137
+ $striped-nchild-background:#f5f5f5,
138
+ $striped-td-border-bottom:1px solid #f2f2f2,
139
+ $striped-th-border-bottom:1px solid #ccc,
140
+ $striped-th-background-color:#eee,
141
+ $striped-th-color:#555,
142
+ $striped-th-text-shadow:0 1px 0 #fff,
143
+ $striped-foot-td-border-top:1px solid #fff,
144
+ $striped-foot-td-background-color:#f1f1f1,
145
+ $striped-border-radius:$global-radius,
146
+ $striped-box-shadow:rgba(0, 0, 0, .15) 0px 1px 0px
147
+
148
+
149
+ ) {
150
+
151
+
152
+ table {
153
+ max-width: 100%;
154
+ background-color: $background;
155
+ border-collapse: collapse;
156
+ border-spacing: 0;
157
+ }
158
+
159
+
160
+
161
+ .ui-table {
162
+ width: 100%;
163
+ margin-bottom: $td-line-height;
164
+ th,
165
+ td {
166
+ padding: 8px;
167
+ line-height:$td-line-height;
168
+ text-align: left;
169
+ vertical-align: top;
170
+ border-top: 1px solid $border;
171
+ }
172
+ th {
173
+ font-weight: bold;
174
+ }
175
+
176
+ thead th {
177
+ vertical-align: bottom;
178
+ }
179
+
180
+ caption + thead tr:first-child th,
181
+ caption + thead tr:first-child td,
182
+ colgroup + thead tr:first-child th,
183
+ colgroup + thead tr:first-child td,
184
+ thead:first-child tr:first-child th,
185
+ thead:first-child tr:first-child td {
186
+ border-top: 0;
187
+ }
188
+
189
+ tbody + tbody {
190
+ border-top: 2px solid $border;
191
+ }
192
+
193
+ .table {
194
+ background-color: $background;
195
+ }
196
+ }
197
+
198
+
199
+
200
+ .ui-table {
201
+ &.condensed {
202
+ th,
203
+ td {
204
+ padding: 4px 5px;
205
+ }
206
+ }
207
+ }
208
+
209
+
210
+ .ui-table {
211
+ &.bordered {
212
+ border: 1px solid $border;
213
+ border-collapse: separate;
214
+ *border-collapse: collapse;
215
+ border-left: 0;
216
+ border-radius: $border-radius;
217
+ th,
218
+ td {
219
+ border-left: 1px solid $border;
220
+ }
221
+
222
+ caption + thead tr:first-child th,
223
+ caption + tbody tr:first-child th,
224
+ caption + tbody tr:first-child td,
225
+ colgroup + thead tr:first-child th,
226
+ colgroup + tbody tr:first-child th,
227
+ colgroup + tbody tr:first-child td,
228
+ thead:first-child tr:first-child th,
229
+ tbody:first-child tr:first-child th,
230
+ tbody:first-child tr:first-child td {
231
+ border-top: 0;
232
+ }
233
+ thead:first-child tr:first-child > th:first-child,
234
+ tbody:first-child tr:first-child > td:first-child,
235
+ tbody:first-child tr:first-child > th:first-child {
236
+ border-top-left-radius: $border-radius;
237
+ }
238
+
239
+ thead:first-child tr:first-child > th:last-child,
240
+ tbody:first-child tr:first-child > td:last-child,
241
+ tbody:first-child tr:first-child > th:last-child {
242
+ border-top-right-radius: $border-radius;
243
+ }
244
+
245
+ thead:last-child tr:last-child > th:first-child,
246
+ tbody:last-child tr:last-child > td:first-child,
247
+ tbody:last-child tr:last-child > th:first-child,
248
+ tfoot:last-child tr:last-child > td:first-child,
249
+ tfoot:last-child tr:last-child > th:first-child {
250
+ border-bottom-left-radius: $border-radius;
251
+ }
252
+
253
+ thead:last-child tr:last-child > th:last-child,
254
+ tbody:last-child tr:last-child > td:last-child,
255
+ tbody:last-child tr:last-child > th:last-child,
256
+ tfoot:last-child tr:last-child > td:last-child,
257
+ tfoot:last-child tr:last-child > th:last-child {
258
+ border-bottom-right-radius: $border-radius;
259
+ }
260
+
261
+ tfoot + tbody:last-child tr:last-child td:first-child {
262
+ border-bottom-left-radius: 0;
263
+ }
264
+ tfoot + tbody:last-child tr:last-child td:last-child {
265
+ border-bottom-right-radius: 0;
266
+ }
267
+
268
+ caption + thead tr:first-child th:first-child,
269
+ caption + tbody tr:first-child td:first-child,
270
+ colgroup + thead tr:first-child th:first-child,
271
+ colgroup + tbody tr:first-child td:first-child {
272
+ border-top-left-radius: $border-radius;
273
+ }
274
+ caption + thead tr:first-child th:last-child,
275
+ caption + tbody tr:first-child td:last-child,
276
+ colgroup + thead tr:first-child th:last-child,
277
+ colgroup + tbody tr:first-child td:last-child {
278
+ border-top-right-radius: $border-radius;
279
+ }
280
+ }
281
+ }
282
+
283
+ .ui-table {
284
+ &.alternating {
285
+ tbody {
286
+ > tr:nth-child(odd) > td,
287
+ > tr:nth-child(odd) > th {
288
+ background-color: $alternate-background;
289
+ }
290
+ }
291
+ }
292
+ }
293
+
294
+ .ui-table {
295
+ &.striped {
296
+ @if $include-component-box-shadow == true{
297
+ box-shadow: #{$striped-box-shadow};
298
+ }
299
+
300
+ border: 0;
301
+ background: none;
302
+ td {
303
+ padding: 10px;
304
+ border-bottom: #{$striped-td-border-bottom};
305
+ }
306
+ th {
307
+ padding: 10px;
308
+ text-align: left;
309
+ @if $include-component-text-shadow == true{
310
+ text-shadow: #{$striped-th-text-shadow};
311
+ }
312
+
313
+ border-bottom: #{$striped-th-border-bottom};
314
+ background-color: $striped-th-background-color;
315
+ color: $striped-th-color;
316
+
317
+ &:first-child {
318
+ @include border-radius($striped-border-radius 0 0 0);
319
+ }
320
+ &:last-child {
321
+ @include border-radius(0 $striped-border-radius 0 0);
322
+ }
323
+ &:only-child {
324
+ @include border-radius($striped-border-radius $striped-border-radius 0 0);
325
+ }
326
+ }
327
+ tbody {
328
+ tr {
329
+ &:nth-child(even) {
330
+ background: $striped-nchild-background;
331
+
332
+ }
333
+ }
334
+ }
335
+ tfoot {
336
+ td {
337
+ border-bottom: 0;
338
+ border-top: #{$striped-foot-td-border-top};
339
+ background-color: $striped-foot-td-background-color;
340
+ &:first-child {
341
+ @include border-radius(0 0 0 $striped-border-radius);
342
+ }
343
+ &:last-child {
344
+ @include border-radius(0 0 $striped-border-radius 0);
345
+ }
346
+ &:only-child {
347
+ @include border-radius(0 0 $striped-border-radius $striped-border-radius);
348
+ }
349
+
350
+ }
351
+ }
352
+ }
353
+ }
354
+
355
+ @media #{$breakpoint-phone}{
356
+ .ui-table{
357
+ &.touch{
358
+ display:block;
359
+ thead,
360
+ tbody,
361
+ th,
362
+ td,
363
+ tfoot,
364
+ tr {
365
+ display: block;
366
+ }
367
+ border: 2px solid #e8e8e8 !important;
368
+
369
+ thead tr {
370
+ position: absolute;
371
+ top: -9999px;
372
+ left: -9999px;
373
+ }
374
+ tr {
375
+
376
+ border:0;
377
+ border-bottom:2px solid #e8e8e8;
378
+ &:last-child{
379
+ border-bottom:0;
380
+ }
381
+ }
382
+
383
+ td {
384
+ border: none !important;
385
+ border-bottom: 0;
386
+ form{
387
+ @include clearfix();
388
+ }
389
+ }
390
+ tbody{
391
+ td{
392
+ position: relative;
393
+ padding-left: 30% !important;
394
+ text-align:left;
395
+ &:before{
396
+ position: absolute;
397
+ top: 6px;
398
+ left: 6px;
399
+ width: 25%;
400
+ padding-right: 5px;
401
+ white-space: nowrap;
402
+ text-align:left;
403
+ content: attr(data-label);
404
+ font-weight:normal;
405
+ }
406
+ }
407
+ }
408
+ tfoot{
409
+ border-top:2px solid #e8e8e8;
410
+ @include clearfix();
411
+ padding-top:5px;
412
+ padding-bottom:5px;
413
+ }
414
+ }
415
+ }
416
+ }
417
+
418
+ .ui-table{
419
+ @content;
420
+ }
421
+
422
+ }
423
+
@@ -0,0 +1,242 @@
1
+ /* ui-tabs */
2
+
3
+ /* private -----------------------------------------------------------------------------------------------------------*/
4
+
5
+ @mixin _ui-tabs($component: null, $active-tab: null,
6
+ $tab-padding: null,
7
+ $tab-margin: null,
8
+ $tab-border-radius: null,
9
+ $tab-min-width: null,
10
+ $content-border: null,
11
+ $content-padding: null,
12
+ $content-min-height: null,
13
+ $flex-amount: null,
14
+ $stacked-tab-padding: null,
15
+ $stacked-tab-margin: null,
16
+ $stacked-tab-border-radius: null,
17
+ $stacked-content-min-height: null,
18
+ $stacked-content-padding: null,
19
+ $font-size:null) {
20
+
21
+ list-style: none;
22
+ @include display-flex();
23
+ @include flex-direction(column);
24
+ margin: 0;
25
+ .tabs,tabbed-items {
26
+ list-style: none;
27
+ @include display-flex();
28
+ @include flex-direction(row);
29
+ @include flex-wrap(wrap);
30
+ margin: 0;
31
+ & > li,&>tab-item {
32
+ text-align: center;
33
+ min-width: $tab-min-width;
34
+ position: relative;
35
+ padding: $tab-padding;
36
+ @include phone-content() {
37
+ min-width: 30px;
38
+ }
39
+ @extend %#{$component}-background !optional;
40
+ @extend %#{$component}-border !optional;
41
+ @extend %#{$component}-box-shadow !optional;
42
+ border-top-left-radius: $tab-border-radius;
43
+ border-top-right-radius: $tab-border-radius;
44
+ margin: $tab-margin;
45
+ border-bottom-width: 0 !important;
46
+ &>a{
47
+ font-size:$font-size;
48
+ }
49
+ &:last-child {
50
+ margin: 0;
51
+ margin-top: margin-top($tab-margin);
52
+ }
53
+ cursor: pointer;
54
+ & > span, & > a {
55
+ @extend %#{$component}-font !optional;
56
+ &:hover{
57
+ @extend %#{$component}-font-hover !optional;
58
+ }
59
+ }
60
+ &.active {
61
+ @if $active-tab == null{
62
+ @extend %#{$component}-background-active !optional;
63
+ @extend %#{$component}-border-active !optional;
64
+ @extend %#{$component}-box-shadow-active !optional;
65
+ } @else {
66
+ @extend %#{$active-tab}-background !optional;
67
+ @extend %#{$active-tab}-border !optional;
68
+ @extend %#{$active-tab}-box-shadow !optional;
69
+ }
70
+ top: 1px;
71
+ position: relative;
72
+ border-bottom-width: 0 !important;
73
+
74
+
75
+ & > span, & > a, & > div {
76
+ display: block;
77
+ top: -1px;
78
+ position: relative;
79
+
80
+ @if $active-tab == null{
81
+ @extend %#{$component}-font-active !optional;
82
+ } @else {
83
+ @extend %#{$active-tab}-font-active !optional;
84
+ }
85
+ &:focus {
86
+ @include tab-focus();
87
+ }
88
+ }
89
+ }
90
+ &.disabled, &[disabled] {
91
+ @extend %#{$component}-disabled !optional;
92
+ & > span, & > a, & > div {
93
+ @extend %#{$component}-disabled !optional;
94
+ }
95
+ &:focus {
96
+ @include tab-focus();
97
+ }
98
+ }
99
+ }
100
+
101
+ &.flex {
102
+ & > li,&>tab-item {
103
+ @include flex($flex-amount);
104
+ padding-top: margin-top($tab-padding);
105
+ padding-bottom: margin-bottom($tab-padding);
106
+ padding-left: 1px;
107
+ padding-right: 1px;
108
+ }
109
+ }
110
+ &.disabled, &[disabled] {
111
+ & > li,&>tab-item {
112
+ @extend %#{$component}-disabled !optional;
113
+ & > span, & > a {
114
+ @extend %#{$component}-disabled !optional;
115
+ }
116
+ }
117
+ }
118
+ }
119
+ .content,tabbed-content {
120
+ margin: 0;
121
+ list-style: none;
122
+ @include display-flex();
123
+ @include flex-direction(column);
124
+ min-height: $content-min-height;
125
+
126
+ &.border {
127
+ border: $content-border;
128
+ @include phone-content() {
129
+ border: 0 !important;
130
+ }
131
+ }
132
+ &.border-top {
133
+ border-top: $content-border;
134
+ }
135
+ & > li,&>tab-content {
136
+ padding: $content-padding;
137
+ display: none;
138
+ &.active {
139
+ display: inherit;
140
+ }
141
+ }
142
+
143
+ .loading {
144
+ margin: auto;
145
+ }
146
+ }
147
+ &.stacked {
148
+
149
+ @include flex-direction(row);
150
+ min-height: $stacked-content-min-height;
151
+ & > li,&>tab-item {
152
+ &:nth-child(2) {
153
+ @include flex(1 1 auto);
154
+ @include display-flex();
155
+ @include align-items(stretch);
156
+ }
157
+ }
158
+ .tabs,tabbed-items {
159
+ @include flex-direction(column);
160
+ @include flex-wrap(nowrap);
161
+
162
+ & > li,&>tab-item {
163
+ border-radius: 0;
164
+ border-top-left-radius: $stacked-tab-border-radius;
165
+ border-bottom-left-radius: $stacked-tab-border-radius;
166
+ margin: $stacked-tab-margin;
167
+ padding: $stacked-tab-padding;
168
+ border-bottom-width: 1px !important;
169
+ border-right: 0 !important;
170
+
171
+ &:last-child {
172
+ margin: 0;
173
+ }
174
+ &.active {
175
+ border-bottom-width: 1px !important;
176
+ @if $active-tab == null{
177
+ @extend %#{$component}-border-active !optional;
178
+ } @else {
179
+ @extend %#{$active-tab}-border !optional;
180
+ }
181
+ border-right: 0 !important;
182
+ a{
183
+ display:inline;
184
+ }
185
+ top: 0;
186
+ right: -1px;
187
+ & > span, & > a, & > div {
188
+ top: 0;
189
+ right: 1px;
190
+
191
+ }
192
+ }
193
+
194
+ }
195
+ }
196
+ .content,tabbed-content {
197
+ @include flex(1 1 auto);
198
+ padding: $stacked-content-padding;
199
+ &.border-left {
200
+ border-left: $content-border;
201
+
202
+ }
203
+ }
204
+ }
205
+
206
+ }
207
+
208
+ /* public -----------------------------------------------------------------------------------------------------------*/
209
+
210
+ @mixin ui-tabs($class: null, $component: css-tabs, $active-tab: null,
211
+ $tab-padding:.5em 1em .5em 1em,
212
+ $tab-margin:1px 1px 0 0,
213
+ $tab-border-radius:$global-radius,
214
+ $tab-min-width:4.68em,
215
+ $content-border:1px solid #ddd,
216
+ $content-padding:1.5em,
217
+ $content-min-height:6.25em ,
218
+ $flex-amount:1 1 0,
219
+ $stacked-tab-padding:.75em .5em .75em .5em,
220
+ $stacked-tab-margin:0px 0px 1px 0,
221
+ $stacked-tab-border-radius:$global-radius,
222
+ $stacked-content-min-height:6.25em,
223
+ $stacked-content-padding:2em,
224
+ $font-size:1em) {
225
+
226
+ .ui-tabs,ui-tabs {
227
+ @if $class != null{
228
+ &.#{$class} {
229
+ @include _ui-tabs($component, $active-tab, $tab-padding, $tab-margin, $tab-border-radius, $tab-min-width, $content-border, $content-padding,
230
+ $content-min-height, $flex-amount, $stacked-tab-padding, $stacked-tab-margin, $stacked-tab-border-radius,
231
+ $stacked-content-min-height, $stacked-content-padding,$font-size);
232
+ @content;
233
+ }
234
+ } @else {
235
+ @include _ui-tabs($component, $active-tab, $tab-padding, $tab-margin, $tab-border-radius, $tab-min-width, $content-border, $content-padding,
236
+ $content-min-height, $flex-amount, $stacked-tab-padding, $stacked-tab-margin, $stacked-tab-border-radius,
237
+ $stacked-content-min-height, $stacked-content-padding,$font-size);
238
+ @content;
239
+ }
240
+ }
241
+
242
+ }