ellipsis-compass 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +8 -8
  2. data/stylesheets/ellipsis/animation/_transitions.scss +0 -318
  3. data/stylesheets/ellipsis/base/_breakpoints.scss +1 -1
  4. data/stylesheets/ellipsis/base/_document.scss +21 -1
  5. data/stylesheets/ellipsis/base/_global.scss +9 -8
  6. data/stylesheets/ellipsis/component/_element.scss +81 -0
  7. data/stylesheets/ellipsis/component/_ui.scss +94 -22
  8. data/stylesheets/ellipsis/font/_icons.scss +229 -8
  9. data/stylesheets/ellipsis/form/_form.scss +284 -184
  10. data/stylesheets/ellipsis/grid/_grid.scss +21 -1
  11. data/stylesheets/ellipsis/helpers/_component.scss +9 -1
  12. data/stylesheets/ellipsis/helpers/_mixins.scss +13 -194
  13. data/stylesheets/ellipsis/helpers/_visibility.scss +3 -3
  14. data/stylesheets/ellipsis/touch/ui/_topbar.scss +11 -0
  15. data/stylesheets/ellipsis/typography/_typography.scss +1 -1
  16. data/stylesheets/ellipsis/ui/_carousel.scss +275 -132
  17. data/stylesheets/ellipsis/ui/_collapse.scss +174 -0
  18. data/stylesheets/ellipsis/ui/_container.scss +317 -1
  19. data/stylesheets/ellipsis/ui/_drawer.scss +29 -5
  20. data/stylesheets/ellipsis/ui/_dropdown.scss +103 -52
  21. data/stylesheets/ellipsis/ui/_gallery.scss +85 -81
  22. data/stylesheets/ellipsis/ui/_menu.scss +130 -82
  23. data/stylesheets/ellipsis/ui/_navbar.scss +82 -30
  24. data/stylesheets/ellipsis/ui/_pagination.scss +12 -9
  25. data/stylesheets/ellipsis/ui/_screentab.scss +109 -0
  26. data/stylesheets/ellipsis/ui/_slidingpanel.scss +1 -1
  27. data/stylesheets/ellipsis/ui/_social.scss +51 -49
  28. data/stylesheets/ellipsis/ui/_stepprogress.scss +219 -0
  29. data/stylesheets/ellipsis/ui/_toggle.scss +5 -2
  30. data/stylesheets/ellipsis/ui/_tooltip.scss +5 -3
  31. data/stylesheets/ellipsis/ui/_topbar.scss +90 -16
  32. data/stylesheets/ellipsis/ui/_window.scss +13 -8
  33. metadata +6 -3
  34. data/stylesheets/ellipsis/ui/_collapsible.scss +0 -61
@@ -0,0 +1,174 @@
1
+
2
+
3
+ @mixin _ui-collapse($component:null,$header-component:null,$section-component:null,
4
+ $margin:null,
5
+ $padding:null,
6
+ $border-radius:null,
7
+ $width:null,
8
+ $font-size:null,
9
+ $item-header-height:null,
10
+ $item-header-expand-margin:null,
11
+ $item-header-padding:null,
12
+ $item-header-justification:null,
13
+ $item-header-alignment:null,
14
+ $item-header-border-radius:null,
15
+ $item-section-padding:null,
16
+ $item-section-margin:null,
17
+ $item-section-min-height:null,
18
+ $item-section-border-radius:null
19
+ ){
20
+ list-style: none;
21
+ margin: $margin;
22
+ padding:$padding;
23
+ height: 100%;
24
+ display:block;
25
+ @extend %#{$component}-background;
26
+ @extend %#{$component}-border;
27
+ border-radius:$border-radius;
28
+ font-size:$font-size;
29
+ width:$width;
30
+ $item-selector:'.collapse-item';
31
+ @if $component-custom-tags==true{
32
+ $item-selector:collapse-item;
33
+ }
34
+ #{$item-selector}{
35
+ &>header{
36
+ @include flexbox($justification:$item-header-justification,$alignment:$item-header-alignment);
37
+ @extend %#{$header-component}-background !optional;
38
+ @extend %#{$header-component}-border !optional;
39
+ @extend %#{$header-component}-box-shadow !optional;
40
+ @extend %#{$header-component}-font !optional;
41
+ height:$item-header-height;
42
+ border-radius:$item-header-border-radius;
43
+ padding:$item-header-padding;
44
+ button,.ui-button{
45
+ margin:0;
46
+ }
47
+
48
+ @include media-breakpoint(600px){
49
+ border-radius:0;
50
+ }
51
+ }
52
+ section {
53
+ margin:$item-section-margin;
54
+ padding:0;
55
+ position:relative;
56
+ @extend %#{$section-component}-background !optional;
57
+ @extend %#{$section-component}-border !optional;
58
+ @extend %#{$section-component}-font !optional;
59
+ border-radius:$item-section-border-radius;
60
+ >*{
61
+ margin:$item-section-padding;
62
+ }
63
+ @include media-breakpoint(600px){
64
+ border-radius:0;
65
+ }
66
+ }
67
+
68
+ header + section{
69
+ height: 0;
70
+ display:block;
71
+ overflow: hidden;
72
+ }
73
+ &.expand header + section{
74
+ height:auto;
75
+ overflow: hidden;
76
+ }
77
+ &.expand{
78
+ &>header{
79
+ margin:$item-header-expand-margin;
80
+ }
81
+ }
82
+ &:last-child{
83
+ &>section{
84
+ margin-bottom:0;
85
+ }
86
+ }
87
+ }
88
+
89
+ &.hide-expanded-headers{
90
+
91
+ #{$item-selector}{
92
+ &.expand{
93
+ &>header{
94
+ display:none;
95
+ }
96
+ }
97
+ }
98
+ }
99
+
100
+ }
101
+
102
+ @mixin ui-collapse($class:null,$tag:null,$component:null,$header-component:null,$section-component:null,
103
+ $margin:0,
104
+ $padding:0,
105
+ $border-radius:$global-radius,
106
+ $width:auto,
107
+ $font-size:1em,
108
+ $item-header-height:3em,
109
+ $item-header-expand-margin:0 0 1px 0,
110
+ $item-header-padding:0 3em 0 1em,
111
+ $item-header-justification:space-between,
112
+ $item-header-alignment:center,
113
+ $item-header-border-radius:3px,
114
+ $item-section-padding:1em,
115
+ $item-section-margin:0 0 1px 0,
116
+ $item-section-min-height:10em,
117
+ $item-section-border-radius:3px
118
+ ){
119
+
120
+ $element-selector:'.ui-collapse';
121
+ @if $component-custom-tags==true{
122
+ $element-selector:ui-collapse;
123
+ }
124
+ @if $tag != null{
125
+ $element-selector:$tag;
126
+ }
127
+
128
+ #{$element-selector}{
129
+ @if $class != null{
130
+ &.#{$class} {
131
+ @include _ui-collapse($component,$header-component,$section-component,
132
+ $margin,
133
+ $padding,
134
+ $border-radius,
135
+ $width,
136
+ $font-size,
137
+ $item-header-height,
138
+ $item-header-expand-margin,
139
+ $item-header-padding,
140
+ $item-header-justification,
141
+ $item-header-alignment,
142
+ $item-header-border-radius,
143
+ $item-section-padding,
144
+ $item-section-margin,
145
+ $item-section-min-height,
146
+ $item-section-border-radius
147
+ );
148
+
149
+ @content;
150
+ }
151
+ }@else{
152
+ @include _ui-collapse($component,$header-component,$section-component,
153
+ $margin,
154
+ $padding,
155
+ $border-radius,
156
+ $width,
157
+ $font-size,
158
+ $item-header-height,
159
+ $item-header-expand-margin,
160
+ $item-header-padding,
161
+ $item-header-justification,
162
+ $item-header-alignment,
163
+ $item-header-border-radius,
164
+ $item-section-padding,
165
+ $item-section-margin,
166
+ $item-section-min-height,
167
+ $item-section-border-radius
168
+ );
169
+
170
+ @content;
171
+ }
172
+ }
173
+
174
+ }
@@ -14,6 +14,7 @@ $padding:null
14
14
  list-style: none;
15
15
  &>li,&>ui-model{
16
16
  padding:$padding;
17
+ position:relative;
17
18
  @include flexbox($justification:$justification,$alignment:$alignment);
18
19
  a{
19
20
  &:first-child{
@@ -144,7 +145,176 @@ $cell-padding:null
144
145
  }
145
146
  }
146
147
 
148
+ @mixin _ui-columns(
149
+ $count:null,
150
+ $gap:null,
151
+ $width:null,
152
+ $contain-count:null,
153
+ $contain-gap:null,
154
+ $contain-width:null,
155
+ $touch-count:null,
156
+ $touch-gap:null,
157
+ $touch-width:null,
158
+ $touch-item-margin:null,
159
+ $touch-font-size:null,
160
+ $font-size:null){
147
161
 
162
+ display:block;
163
+ list-style: none;
164
+ font-size:$font-size;
165
+ -webkit-column-count: $count;
166
+ -moz-column-count:$count;
167
+ column-count: $count;
168
+ -webkit-column-width:$width;
169
+ -moz-column-width:$width;
170
+ column-width:$width;
171
+ -webkit-column-gap:$gap;
172
+ -moz-column-gap:$gap;
173
+ column-gap:$gap;
174
+
175
+ &>li,&>column-item{
176
+ display:list-item;
177
+ a{
178
+ font-size:$font-size;
179
+ }
180
+ }
181
+
182
+ @include grid-contain-content() {
183
+ -webkit-column-count: $contain-count;
184
+ -moz-column-count:$contain-count;
185
+ column-count: $contain-count;
186
+ -webkit-column-width:$contain-width;
187
+ -moz-column-width:$contain-width;
188
+ column-width:$contain-width;
189
+ -webkit-column-gap:$contain-gap;
190
+ -moz-column-gap:$contain-gap;
191
+ column-gap:$contain-gap;
192
+ }
193
+
194
+ @include touch-content(){
195
+ -webkit-column-count: $touch-count;
196
+ -moz-column-count:$touch-count;
197
+ column-count: $touch-count;
198
+ -webkit-column-width:$touch-width;
199
+ -moz-column-width:$touch-width;
200
+ column-width:$touch-width;
201
+ -webkit-column-gap:$touch-gap;
202
+ -moz-column-gap:$touch-gap;
203
+ column-gap:$touch-gap;
204
+ }
205
+
206
+ @include phone-content(){
207
+ -webkit-column-count:1;
208
+ -moz-column-count:1;
209
+ column-count: 1;
210
+ -webkit-column-width:100%;
211
+ -moz-column-width:100%;
212
+ column-width:100%;
213
+ -webkit-column-gap:0;
214
+ -moz-column-gap:0;
215
+ column-gap:0;
216
+ }
217
+
218
+ @include touch-content(){
219
+
220
+ &>li,&>column-item{
221
+ margin:$touch-item-margin;
222
+ a{
223
+ font-size:$touch-font-size;
224
+ }
225
+ }
226
+ }
227
+
228
+ }
229
+
230
+ @mixin _ui-icons($component:null,
231
+ $justification:null,
232
+ $alignment:null,
233
+ $type:null,
234
+ $include-animation:null,
235
+ $animation:null,
236
+ $item-margin:null,
237
+ $item-padding:null,
238
+ $font-size:null,
239
+ $mark-font-size:null,
240
+ $mark-font-weight:null,
241
+ $mark-font-family:null,
242
+ $mark-margin:null){
243
+
244
+ @if $type == horizontal{
245
+ height:100%;
246
+ @include flexbox($justification:$justification,$alignment:$alignment);
247
+ &>li,&>screen-icon{
248
+ margin:$item-margin;
249
+ padding:$item-padding;
250
+ @include span-icon(){
251
+ cursor:pointer;
252
+ @if $include-animation == true{
253
+ @include transition($animation);
254
+ }
255
+ position:relative;
256
+ @include flexbox($justification:center,$alignment:center);
257
+ &>mark{
258
+ @extend %#{$component}-icon !optional;
259
+ font-family:$mark-font-family;
260
+ font-size:$mark-font-size !important;
261
+ font-weight:$mark-font-weight !important;
262
+ margin:$mark-margin;
263
+ position:absolute;
264
+ top:0;
265
+ left:0;
266
+ @include flexbox($justification:center,$alignment:center);
267
+ background:none;
268
+ height:100%;
269
+ width:100%;
270
+ }
271
+ @extend %#{$component}-font !optional;
272
+ @extend %#{$component}-text-shadow !optional;
273
+ font-size:$font-size;
274
+ &:hover{
275
+ @extend %#{$component}-font-hover !optional;
276
+ }
277
+ }
278
+ }
279
+ }@else{
280
+ width:100%;
281
+ @include flexbox-column($justification:$justification,$alignment:$alignment);
282
+ &>li,&>screen-icon{
283
+ margin:$item-margin;
284
+ padding:$item-padding;
285
+
286
+ @include span-icon(){
287
+ cursor:pointer;
288
+ @if $include-animation == true{
289
+ @include transition($animation);
290
+ }
291
+ position:relative;
292
+ @include flexbox($justification:center,$alignment:center);
293
+ &>mark{
294
+ @extend %#{$component}-icon !optional;
295
+ font-family:$mark-font-family;
296
+ font-size:$mark-font-size !important;
297
+ font-weight:$mark-font-weight !important;
298
+ margin:$mark-margin;
299
+ position:absolute;
300
+ top:0;
301
+ left:0;
302
+ @include flexbox($justification:center,$alignment:center);
303
+ background:none;
304
+ height:100%;
305
+ width:100%;
306
+ }
307
+ @extend %#{$component}-font !optional;
308
+ @extend %#{$component}-text-shadow !optional;
309
+ &:hover{
310
+ @extend %#{$component}-font-hover !optional;
311
+ }
312
+ }
313
+ }
314
+ }
315
+
316
+
317
+ }
148
318
 
149
319
  /* Public -------------------------------------------------------------------------------------------------------------*/
150
320
 
@@ -200,9 +370,40 @@ $cell-padding:null
200
370
  }
201
371
  }
202
372
  &>.right, &>.end,&>.flex-end{
203
- @include align-self(flex-end);
204
373
  margin-left:auto;
205
374
  }
375
+ &.touch-column{
376
+ @include touch-content(){
377
+ @include flex-direction(column);
378
+ @include align-items(center);
379
+ }
380
+ }
381
+ &>.touch-right{
382
+ @include touch-content(){
383
+ margin-left:auto;
384
+ }
385
+ }
386
+ &>.tablet-right{
387
+ @include tablet-content(){
388
+ margin-left:auto;
389
+ }
390
+ }
391
+ &>.touch-left{
392
+ margin-right:auto;
393
+ }
394
+ &>.tablet-left{
395
+ margin-right:auto;
396
+ }
397
+ &.absolute{
398
+ position:absolute;
399
+ height:100%;
400
+ width:100%;
401
+ z-index:999;
402
+ top:0;
403
+ }
404
+ &.relative{
405
+ position:relative;
406
+ }
206
407
  }
207
408
 
208
409
 
@@ -278,7 +479,122 @@ $cell-padding:0 1em 2em 0
278
479
  }
279
480
  }
280
481
 
482
+ @mixin ui-columns($class:null,
483
+ $count:3,
484
+ $gap:2em,
485
+ $grid-contain-count:2,
486
+ $grid-contain-gap:2em,
487
+ $touch-count:2,
488
+ $touch-gap:2em,
489
+ $touch-item-margin:0 0 .5em 0,
490
+ $touch-font-size:1em,
491
+ $font-size:1em
492
+ ){
493
+ $column-percentage: columns-to-percentage($count);
494
+ $contain-column-percentage: columns-to-percentage($grid-contain-count);
495
+ $touch-column-percentage: columns-to-percentage($touch-count);
496
+
497
+
498
+ .ui-columns,ui-columns {
499
+
500
+ @if $class != null{
501
+ &.#{$class} {
502
+ @include _ui-columns($count,
503
+ $gap,
504
+ $column-percentage,
505
+ $grid-contain-count,
506
+ $grid-contain-gap,
507
+ $contain-column-percentage,
508
+ $touch-count,
509
+ $touch-gap,
510
+ $touch-column-percentage,
511
+ $touch-item-margin,
512
+ $touch-font-size,
513
+ $font-size);
514
+ @content;
515
+ }
516
+
517
+ } @else {
518
+ @include _ui-columns($count,
519
+ $gap,
520
+ $column-percentage,
521
+ $grid-contain-count,
522
+ $grid-contain-gap,
523
+ $contain-column-percentage,
524
+ $touch-count,
525
+ $touch-gap,
526
+ $touch-column-percentage,
527
+ $touch-item-margin,
528
+ $touch-font-size,
529
+ $font-size);
530
+ @content;
531
+ }
532
+ }
533
+ }
534
+
535
+ @mixin ui-icons($class:null,$component:null,
536
+ $justification:flex-start,
537
+ $alignment:center,
538
+ $type:horizontal,
539
+ $include-animation:true,
540
+ $animation:color 500ms,
541
+ $item-margin:0 2em 0 0,
542
+ $item-padding:0,
543
+ $font-size:2em,
544
+ $mark-font-size:11px,
545
+ $mark-font-weight:700,
546
+ $mark-font-family:'Helvetica Neue',
547
+ $mark-margin:0
548
+ ){
281
549
 
550
+ .ui-icons,ui-icons{
551
+ @if $class != null{
552
+ &.#{$class} {
553
+ @include _ui-icons($component,
554
+ $justification,
555
+ $alignment,
556
+ $type,
557
+ $include-animation,
558
+ $animation,
559
+ $item-margin,
560
+ $item-padding,
561
+ $font-size,
562
+ $mark-font-size,
563
+ $mark-font-weight,
564
+ $mark-font-family,
565
+ $mark-margin
566
+ );
567
+ @content;
568
+ }
569
+ }@else{
570
+ @include _ui-icons($component,
571
+ $justification,
572
+ $alignment,
573
+ $type,
574
+ $include-animation,
575
+ $animation,
576
+ $item-margin,
577
+ $item-padding,
578
+ $font-size,
579
+ $mark-font-size,
580
+ $mark-font-weight,
581
+ $mark-font-family,
582
+ $mark-margin
583
+ );
584
+ @content;
585
+ }
586
+ }
587
+ }
588
+
589
+ @mixin ui-flex-label(){
590
+ .ui-flex-label,ui-flex-label{
591
+ list-style: none;
592
+ display:block;
593
+ &>li{
594
+ @include flexbox($justification:space-between,$alignment:flex-start);
595
+ }
596
+ }
597
+ }
282
598
 
283
599
  @mixin ui-sticky-footer(){
284
600
  /* sticky bottom footer */