ellipsis-compass 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -34,11 +34,16 @@ $background:null
34
34
  }
35
35
 
36
36
  /* public ------------------------------------------------------------------------------------------------------------*/
37
- @mixin touch-ui-drawer($class:null,$component:css-touch-drawer-black,$header-component:css-touch-drawer-header-black,
37
+ @mixin touch-ui-drawer($class:null,$component:css-touch-drawer-black,$header-component:css-touch-drawer-header-black,$input-component:css-touch-search,
38
38
  $width:265px,
39
39
  $header-height:60px,
40
40
  $search-margin:12px 0 1px 7px,
41
- $search-width:80%
41
+ $search-width:80%,
42
+ $search-padding:.3em,
43
+ $search-font-size:16px,
44
+ $search-input-border-radius:2px,
45
+ $search-input-icon-top:.4em,
46
+ $search-input-icon-right:.4em
42
47
  ){
43
48
 
44
49
  @media #{$breakpoint-desktop}{
@@ -50,12 +55,31 @@ $search-width:80%
50
55
  .touch-ui-drawer,touch-ui-drawer{
51
56
  @if $class != null{
52
57
  &.#{$class} {
53
- @include _touch-ui-drawer($component,$header-component,$width,$header-height,$search-margin,$search-width);
58
+ @include _touch-ui-drawer($component,$header-component,$input-component,
59
+ $width,
60
+ $header-height,
61
+ $search-margin,
62
+ $search-width,
63
+ $search-padding,
64
+ $search-font-size,
65
+ $search-input-border-radius,
66
+ $search-input-icon-top,
67
+ $search-input-icon-right
68
+ );
54
69
 
55
70
  }
56
71
  }@else{
57
- @include _touch-ui-drawer($component,$header-component,$width,$header-height,$search-margin,$search-width);
58
-
72
+ @include _touch-ui-drawer($component,$header-component,$input-component,
73
+ $width,
74
+ $header-height,
75
+ $search-margin,
76
+ $search-width,
77
+ $search-padding,
78
+ $search-font-size,
79
+ $search-input-border-radius,
80
+ $search-input-icon-top,
81
+ $search-input-icon-right
82
+ );
59
83
  }
60
84
 
61
85
  }
@@ -13,9 +13,9 @@ $float: null,
13
13
  $z-index: null,
14
14
  $font-size: null,
15
15
  $border: null,
16
- $li-padding: null,
17
- $li-divider-padding: null,
18
- $li-divider-border: null,
16
+ $item-padding: null,
17
+ $item-divider-padding: null,
18
+ $item-divider-border: null,
19
19
  $column-count: null,
20
20
  $column-gap: null,
21
21
  $column-width: null,
@@ -25,6 +25,11 @@ $border-radius: null,
25
25
  $span-icon-margin:null
26
26
  ) {
27
27
 
28
+ $item-selector:li;
29
+ @if $component-custom-tags==true{
30
+ $item-selector:menu-item
31
+ }
32
+
28
33
  left: 0;
29
34
  @if $width != null {
30
35
  width:$width;
@@ -45,7 +50,7 @@ $span-icon-margin:null
45
50
  display: none;
46
51
  font-size:$font-size;
47
52
 
48
- &>li,&>menu-item {
53
+ &>#{$item-selector} {
49
54
  text-align: left;
50
55
  display:list-item;
51
56
  &:first-child {
@@ -75,8 +80,8 @@ $span-icon-margin:null
75
80
  width: 100%;
76
81
  height: 0;
77
82
  border: 0;
78
- border-bottom: $li-divider-border;
79
- padding: $li-divider-padding;
83
+ border-bottom: $item-divider-border;
84
+ padding: $item-divider-padding;
80
85
  @extend %#{$divider}-border !optional;
81
86
  }
82
87
  &.disabled, &[disabled] {
@@ -95,7 +100,7 @@ $span-icon-margin:null
95
100
  @extend %#{$component}-font !optional;
96
101
  white-space: nowrap;
97
102
  display:block;
98
- padding: $li-padding;
103
+ padding: $item-padding;
99
104
  &:hover, &:focus {
100
105
  @extend %#{$component}-font-hover !optional;
101
106
  }
@@ -108,13 +113,13 @@ $span-icon-margin:null
108
113
  width: 100%;
109
114
  height: 0;
110
115
  border: 0;
111
- border-bottom: $li-divider-border;
112
- padding: $li-divider-padding;
116
+ border-bottom: $item-divider-border;
117
+ padding: $item-divider-padding;
113
118
  @extend %#{$divider}-border !optional;
114
119
  display:list-item;
115
120
  }
116
- &.show {
117
- display: block;
121
+ &.show,&.active {
122
+ display: inherit !important;
118
123
  }
119
124
  &.visible{
120
125
  visibility: visible !important;
@@ -133,11 +138,15 @@ $span-icon-margin:null
133
138
  }
134
139
  &.divider {
135
140
  border: 0;
136
- border-bottom: $li-divider-border;
141
+ border-bottom: $item-divider-border;
137
142
  @extend %#{$divider}-border !optional;
138
143
  }
139
144
  }
140
145
  }
146
+ &.horizontal{
147
+ width:100%;
148
+ @include flexbox($justification:space-between,$alignment:center)
149
+ }
141
150
 
142
151
  }
143
152
 
@@ -151,9 +160,9 @@ $float: null,
151
160
  $z-index: null,
152
161
  $font-size: null,
153
162
  $border: null,
154
- $li-padding: null,
155
- $li-divider-padding: null,
156
- $li-divider-border: null,
163
+ $item-padding: null,
164
+ $item-divider-padding: null,
165
+ $item-divider-border: null,
157
166
  $column-count: null,
158
167
  $column-gap: null,
159
168
  $column-width: null,
@@ -194,7 +203,7 @@ $span-icon-margin:null
194
203
  }
195
204
  &.divider {
196
205
  border: 0;
197
- border-bottom: $li-divider-border;
206
+ border-bottom: $item-divider-border;
198
207
  @extend %#{$divider}-border !optional;
199
208
  }
200
209
  &>a {
@@ -203,7 +212,7 @@ $span-icon-margin:null
203
212
  @extend %#{$component}-font !optional;
204
213
  white-space: nowrap;
205
214
  display:block;
206
- padding: $li-padding;
215
+ padding: $item-padding;
207
216
  &:hover, &:focus {
208
217
  @extend %#{$component}-font-hover !optional;
209
218
  }
@@ -235,12 +244,12 @@ $span-icon-margin:null
235
244
  width: 100%;
236
245
  height: 0;
237
246
  border: 0;
238
- border-bottom: $li-divider-border;
239
- padding: $li-divider-padding;
247
+ border-bottom: $item-divider-border;
248
+ padding: $item-divider-padding;
240
249
  @extend %#{$divider}-border !optional;
241
250
  }
242
- &.show {
243
- display: block;
251
+ &.show,&.active {
252
+ display: inherit !important;
244
253
  }
245
254
  &.visible{
246
255
  visibility: visible !important;
@@ -256,11 +265,16 @@ $height:null
256
265
 
257
266
  ){
258
267
 
268
+ $item-selector:li;
269
+ @if $component-custom-tags==true{
270
+ $item-selector:menu-item
271
+ }
272
+
259
273
  @include column-count($column-count);
260
274
  @include column-gap($column-gap);
261
275
  min-width: $column-width * $column-count;
262
276
  height: $height;
263
- &>li,&>menu-item{
277
+ &>#{$item-selector}{
264
278
  padding: $column-padding;
265
279
  }
266
280
 
@@ -279,9 +293,9 @@ $float:left,
279
293
  $z-index: $global-z-index + 9999,
280
294
  $font-size: 1em,
281
295
  $border: 1px solid,
282
- $li-padding: .5em 1em,
283
- $li-divider-padding: 0,
284
- $li-divider-border: 1px solid,
296
+ $item-padding: .5em 1em,
297
+ $item-divider-padding: 0,
298
+ $item-divider-border: 1px solid,
285
299
  $column-count: 2,
286
300
  $column-gap: 1.25em,
287
301
  $column-width: 12.5em,
@@ -291,27 +305,34 @@ $border-radius: $global-radius,
291
305
  $span-icon-margin:0 .5em 0 0
292
306
  ) {
293
307
 
294
- .ui-dropdown,ui-dropdown {
308
+ $dropdown-selector:'.ui-dropdown';
309
+ $item-selector:li;
310
+ @if $component-custom-tags==true{
311
+ $dropdown-selector:ui-dropdown;
312
+ $item-selector:menu-item
313
+ }
314
+
315
+ #{$dropdown-selector} {
295
316
  @if $class != null{
296
317
  &.#{$class} {
297
- @include _ui-dropdown($component, $divider, $width,$min-width, $top, $margin,$padding, $float, $z-index, $font-size, $border, $li-padding,
298
- $li-divider-padding, $li-divider-border, $column-count, $column-gap, $column-width, $column-padding,
318
+ @include _ui-dropdown($component, $divider, $width,$min-width, $top, $margin,$padding, $float, $z-index, $font-size, $border, $item-padding,
319
+ $item-divider-padding, $item-divider-border, $column-count, $column-gap, $column-width, $column-padding,
299
320
  $height, $border-radius, $span-icon-margin
300
321
  );
301
322
  @content;
302
323
  }
303
324
  } @else {
304
- @include _ui-dropdown($component, $divider, $width,$min-width, $top, $margin,$padding,$float, $z-index, $font-size, $border, $li-padding,
305
- $li-divider-padding, $li-divider-border, $column-count, $column-gap, $column-width, $column-padding,
325
+ @include _ui-dropdown($component, $divider, $width,$min-width, $top, $margin,$padding,$float, $z-index, $font-size, $border, $item-padding,
326
+ $item-divider-padding, $item-divider-border, $column-count, $column-gap, $column-width, $column-padding,
306
327
  $height, $border-radius, $span-icon-margin
307
328
  );
308
329
  @content;
309
330
  }
310
331
  }
311
332
  @-moz-document url-prefix() {
312
- .ui-dropdown,ui-dropdown{
313
- &>li,&>menu-item{
314
- padding: $li-padding;
333
+ #{$dropdown-selector}{
334
+ &>#{$item-selector}{
335
+ padding: $item-padding;
315
336
  &>a{
316
337
  min-width:$min-width;
317
338
  padding:0 !important;
@@ -322,15 +343,15 @@ $span-icon-margin:0 .5em 0 0
322
343
  ui-mega-dropdown {
323
344
  @if $class != null{
324
345
  &.#{$class} {
325
- @include _ui-mega-dropdown($component, $divider, $width,$min-width, $top, $margin,$padding, $float, $z-index, $font-size, $border, $li-padding,
326
- $li-divider-padding, $li-divider-border, $column-count, $column-gap, $column-width, $column-padding,
346
+ @include _ui-mega-dropdown($component, $divider, $width,$min-width, $top, $margin,$padding, $float, $z-index, $font-size, $border, $item-padding,
347
+ $item-divider-padding, $item-divider-border, $column-count, $column-gap, $column-width, $column-padding,
327
348
  $height, $border-radius, $span-icon-margin
328
349
  );
329
350
  @content;
330
351
  }
331
352
  } @else {
332
- @include _ui-mega-dropdown($component, $divider, $width,$min-width, $top, $margin,$padding,$float, $z-index, $font-size, $border, $li-padding,
333
- $li-divider-padding, $li-divider-border, $column-count, $column-gap, $column-width, $column-padding,
353
+ @include _ui-mega-dropdown($component, $divider, $width,$min-width, $top, $margin,$padding,$float, $z-index, $font-size, $border, $item-padding,
354
+ $item-divider-padding, $item-divider-border, $column-count, $column-gap, $column-width, $column-padding,
334
355
  $height, $border-radius, $span-icon-margin
335
356
  );
336
357
  @content;
@@ -347,46 +368,76 @@ $height:200px
347
368
 
348
369
  ){
349
370
 
350
- .ui-dropdown,ui-dropdown{
351
- @if $class != null{
352
- &.#{$class}{
353
- @if $sub-class != null{
354
- &.multi-column,&.mega{
371
+
372
+ @if $component-custom-tags==true{
373
+ ui-mega-dropdown{
374
+ @if $class != null{
375
+ &.#{$class}{
376
+ @if $sub-class != null{
355
377
  &.#{$sub-class}{
356
378
  @include _ui-dropdown-extend($column-count,$column-gap,$column-width,$column-padding,$height);
357
379
  }
358
380
  }
359
381
  }
360
- }
361
-
362
- }@else{
363
- @if $sub-class != null{
364
- &.multi-column,&.mega{
382
+ }@else{
383
+ @if $sub-class != null{
365
384
  &.#{$sub-class}{
366
385
  @include _ui-dropdown-extend($column-count,$column-gap,$column-width,$column-padding,$height);
367
386
  }
368
387
  }
369
388
  }
370
389
  }
390
+
391
+ }@else{
392
+ .ui-dropdown{
393
+ @if $class != null{
394
+ &.#{$class}{
395
+ @if $sub-class != null{
396
+ &.multi-column,&.mega{
397
+ &.#{$sub-class}{
398
+ @include _ui-dropdown-extend($column-count,$column-gap,$column-width,$column-padding,$height);
399
+ }
400
+ }
401
+ }
402
+ }
403
+
404
+ }@else{
405
+ @if $sub-class != null{
406
+ &.multi-column,&.mega{
407
+ &.#{$sub-class}{
408
+ @include _ui-dropdown-extend($column-count,$column-gap,$column-width,$column-padding,$height);
409
+ }
410
+ }
411
+ }
412
+ }
413
+ }
371
414
  }
372
415
 
416
+
417
+
373
418
  }
374
419
 
375
420
  @mixin touch-ui-dropdown($class:null,$component:css-touch-dropdown,
376
- $li-padding:20px 0 20px 20px,
421
+ $item-padding:20px 0 20px 20px,
377
422
  $link-font-size:14px,
378
- $li-border-bottom:1px dashed
423
+ $item-border-bottom:1px dashed,
424
+ $item-link-transform:none
379
425
 
380
426
  ){
381
427
 
428
+ $dropdown-selector:'.touch-ui-dropdown';
429
+ @if $component-custom-tags==true{
430
+ $dropdown-selector:touch-ui-dropdown;
431
+ }
432
+
382
433
  @media #{$breakpoint-touch}{
383
- .touch-ui-dropdown,touch-ui-dropdown{
434
+ #{$dropdown-selector}{
384
435
  @if $class != null{
385
436
  &.#{$class} {
386
- @include _touch-ui-dropdown($component,$li-padding,$link-font-size,$li-border-bottom);
437
+ @include _touch-ui-dropdown($component,$item-padding,$link-font-size,$item-border-bottom,$item-link-transform);
387
438
  }
388
439
  }@else{
389
- @include _touch-ui-dropdown($component,$li-padding,$link-font-size,$li-border-bottom);
440
+ @include _touch-ui-dropdown($component,$item-padding,$link-font-size,$item-border-bottom,$item-link-transform);
390
441
  }
391
442
  }
392
443
  }
@@ -2,79 +2,82 @@
2
2
 
3
3
  @mixin ui-flex-gallery(
4
4
  $columns:3,
5
- $justification:space-between,
6
5
  $grid-contain-columns:3,
7
6
  $tablet-columns:2,
8
- $container-width:80%,
9
- $cell-height:250px,
10
- $max-img-height:175px,
7
+ $justification:flex-start,
8
+ $alignment:flex-start,
9
+ $item-justification:center,
10
+ $item-alignment:center,
11
+ $item-height:auto,
12
+ $item-margin:0 0 1em 0,
13
+ $img-container-width:auto,
14
+ $img-max-height:auto,
15
+ $img-justification:center,
16
+ $img-alignment:center,
11
17
  $line-height:1.5,
12
- $img-justify:center,
13
- $img-align:center,
14
18
  $descriptions-margin:auto 0 1em 0,
15
- $descriptions-justify:flex-start,
16
- $descriptions-align:center,
17
- $descriptions-child-justify:center,
18
- $descriptions-child-align:center,
19
- $tablet-cell-height:250px,
20
- $tablet-max-img-height:175px,
21
- $tablet-container-width:$container-width,
22
- $tablet-portrait-cell-height:250px,
23
- $tablet-portrait-max-img-height:175px,
24
- $tablet-portrait-container-width:$container-width,
19
+ $descriptions-justification:flex-start,
20
+ $descriptions-alignment:center,
21
+ $descriptions-child-justification:center,
22
+ $descriptions-child-alignment:center,
23
+ $tablet-item-height:auto,
24
+ $tablet-img-max-height:auto,
25
+ $tablet-img-container-width:$img-container-width,
26
+ $tablet-portrait-item-height:auto,
27
+ $tablet-portrait-img-max-height:auto,
28
+ $tablet-portrait-img-container-width:$img-container-width,
25
29
  $small-tablet-breakpoint:false,
26
- $phone-cell-height:200px,
27
- $phone-max-img-height:150px,
30
+ $phone-item-height:200px,
31
+ $phone-item-border-bottom:1px solid #ddd,
32
+ $phone-item-margin:1em 0 0 0,
33
+ $phone-img-max-height:150px,
28
34
  $phone-img-container-margin:0 1em 0 0,
29
- $phone-border-bottom:1px solid #ddd,
30
- $phone-cell-margin:1em 0 0 0,
31
35
  $phone-line-height:1.3,
32
36
  $phone-descriptions-margin:.5em 0 1em 0,
33
- $include-gutter-bleed:false
37
+ $include-gutter-bleed:false,
38
+ $tag:null
34
39
 
35
40
 
36
41
  ) {
37
42
  $_flex-gallery-column-percentage: columns-to-percentage($columns);
43
+ $element-selector:'ui-flex-gallery';
44
+ @if $tag !=null{
45
+ $element-selector:$tag;
46
+ }
38
47
 
39
- .ui-flex-gallery {
40
- @include display-flex();
41
- @include justify-content($justification);
42
- @include align-items(center);
48
+ .ui-flex-gallery,#{$element-selector} {
49
+ @include flexbox($justification:$justification,$alignment:$alignment);
43
50
  width: 100%;
44
51
  @include flex-wrap(wrap);
45
- & > .item {
46
- @include display-flex();
47
- @include justify-content(center);
48
- @include align-items(center);
49
- @include flex-direction(column);
52
+ ui-template{
53
+ @include flexbox($justification:$justification,$alignment:$alignment);
54
+ width: 100%;
55
+ @include flex-wrap(wrap);
56
+ }
57
+ .item {
58
+ @include flexbox-column($justification:$item-justification,$alignment:$item-alignment);
50
59
  width: $_flex-gallery-column-percentage;
51
60
  overflow: hidden;
52
- max-height:$cell-height;
53
- & > .img-container {
54
- width: $container-width;
55
- height: $max-img-height;
61
+ max-height:$item-height;
62
+ margin:$item-margin;
63
+ .img-container {
64
+ width: $img-container-width;
65
+ height: $img-max-height;
56
66
  overflow: hidden;
57
- @include display-flex();
58
- @include justify-content($img-justify);
59
- @include align-items($img-align);
67
+ @include flexbox($justification:$img-justification,$alignment:$img-alignment);
60
68
  & > img {
61
69
  max-width: 100% !important;
62
70
  height: auto !important;
63
71
  }
64
72
  }
65
- & > .descriptions {
66
- width: $container-width;
73
+ .descriptions {
74
+ width: $img-container-width;
67
75
  line-height: $line-height;
68
- @include display-flex();
69
- @include justify-content($descriptions-justify);
70
- @include align-items($descriptions-align);
71
- @include flex-direction(column);
76
+ @include flexbox-column($justification:$descriptions-justification,$alignment:$descriptions-alignment);
72
77
  margin:$descriptions-margin;
73
78
  &>*{
74
79
  width:100%;
75
- @include display-flex();
76
- @include justify-content($descriptions-child-justify);
77
- @include align-items($descriptions-child-align);
80
+ @include flexbox($justification:$descriptions-child-justification,$alignment:$descriptions-child-alignment);
78
81
  }
79
82
  }
80
83
  }
@@ -83,8 +86,8 @@ $include-gutter-bleed:false
83
86
 
84
87
  @include grid-contain-content() {
85
88
  $_grid-contain_flex-gallery-column-percentage: columns-to-percentage($grid-contain-columns);
86
- .ui-flex-gallery {
87
- & > .item {
89
+ .ui-flex-gallery,#{$element-selector} {
90
+ .item {
88
91
  width: $_grid-contain_flex-gallery-column-percentage;
89
92
  }
90
93
  }
@@ -92,16 +95,16 @@ $include-gutter-bleed:false
92
95
 
93
96
  @include tablet-content(){
94
97
  $_tablet_flex-gallery-column-percentage: columns-to-percentage($tablet-columns);
95
- .ui-flex-gallery {
96
- & > .item {
98
+ .ui-flex-gallery,#{$element-selector} {
99
+ .item {
97
100
  width: $_tablet_flex-gallery-column-percentage;
98
- max-height:$tablet-cell-height;
99
- & > .img-container {
100
- width: $tablet-container-width;
101
- height: $tablet-max-img-height;
101
+ max-height:$tablet-item-height;
102
+ .img-container {
103
+ width: $tablet-img-container-width;
104
+ height: $tablet-img-max-height;
102
105
  }
103
- & > .descriptions{
104
- width: $tablet-container-width;
106
+ .descriptions{
107
+ width: $tablet-img-container-width;
105
108
  }
106
109
  }
107
110
  }
@@ -109,16 +112,16 @@ $include-gutter-bleed:false
109
112
 
110
113
  @include tablet-portrait-content(){
111
114
  $_tablet_flex-gallery-column-percentage: columns-to-percentage($tablet-columns);
112
- .ui-flex-gallery {
113
- & > .item {
115
+ .ui-flex-gallery,#{$element-selector} {
116
+ .item {
114
117
  width: $_tablet_flex-gallery-column-percentage;
115
- max-height:$tablet-portrait-cell-height;
116
- & > .img-container {
117
- width: $tablet-portrait-container-width;
118
- height: $tablet-portrait-max-img-height;
118
+ max-height:$tablet-portrait-item-height;
119
+ .img-container {
120
+ width: $tablet-portrait-img-container-width;
121
+ height: $tablet-portrait-img-max-height;
119
122
  }
120
- & > .descriptions{
121
- width: $tablet-portrait-container-width;
123
+ .descriptions{
124
+ width: $tablet-portrait-img-container-width;
122
125
  }
123
126
  }
124
127
  }
@@ -126,35 +129,35 @@ $include-gutter-bleed:false
126
129
 
127
130
  @if $small-tablet-breakpoint ==true {
128
131
  @include tablet-small-content() {
129
- .ui-flex-gallery {
132
+ .ui-flex-gallery,#{$element-selector} {
130
133
  @if $include-gutter-bleed==true{
131
134
  @include gutter-bleed();
132
135
  }
133
- & > .item {
136
+ .item {
134
137
  width: 100%;
135
- height:$phone-cell-height;
138
+ height:$phone-item-height;
136
139
  flex-direction:row;
137
140
  justify-content: flex-start;
138
- border-bottom:$phone-border-bottom;
139
- margin:$phone-cell-margin;
141
+ border-bottom:$phone-item-border-bottom;
142
+ margin:$phone-item-margin;
140
143
  &:first-child{
141
144
  margin-top:0;
142
145
  }
143
146
  &:last-child{
144
147
  border-bottom:0;
145
148
  }
146
- & > .img-container {
149
+ .img-container {
147
150
  max-width: 50%;
148
- height: $phone-max-img-height;
151
+ height: $phone-img-max-height;
149
152
  flex-grow:1;
150
153
  margin:$phone-img-container-margin;
151
154
  justify-content: flex-start;
152
155
  align-self:flex-start;
153
- & > img {
156
+ img {
154
157
  align-self: flex-start;
155
158
  }
156
159
  }
157
- & > .descriptions {
160
+ .descriptions {
158
161
  height:100%;
159
162
  width:50%;
160
163
  flex-grow:1;
@@ -172,26 +175,27 @@ $include-gutter-bleed:false
172
175
  }
173
176
 
174
177
  @include phone-content() {
175
- .ui-flex-gallery {
178
+ .ui-flex-gallery,#{$element-selector} {
176
179
  @if $include-gutter-bleed==true{
177
180
  @include gutter-bleed();
178
181
  }
179
- & > .item {
182
+ .item {
180
183
  width: 100%;
181
- height:$phone-cell-height;
184
+ height:$phone-item-height;
182
185
  flex-direction:row;
183
186
  justify-content: flex-start;
184
- border-bottom:$phone-border-bottom;
185
- margin:$phone-cell-margin;
187
+ border-bottom:$phone-item-border-bottom;
188
+ margin:$phone-item-margin;
186
189
  &:first-child{
187
190
  margin-top:0;
188
191
  }
189
192
  &:last-child{
190
193
  border-bottom:0;
191
194
  }
192
- & > .img-container {
195
+ .img-container {
193
196
  max-width: 50%;
194
- height: $phone-max-img-height;
197
+ min-width:50%;
198
+ height: $phone-img-max-height;
195
199
  flex-grow:1;
196
200
  margin:$phone-img-container-margin;
197
201
  justify-content: flex-start;
@@ -200,7 +204,7 @@ $include-gutter-bleed:false
200
204
  align-self: flex-start;
201
205
  }
202
206
  }
203
- & > .descriptions {
207
+ .descriptions {
204
208
  height:100%;
205
209
  width:50%;
206
210
  flex-grow:1;