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
@@ -5,8 +5,9 @@
5
5
  $height: 59px,
6
6
  $width: 60px,
7
7
  $border-right:1px solid,
8
- $icon-size:16px,
9
- $icon-left:10px,
8
+ $icon:$global-icon-toggle,
9
+ $icon-size:24px,
10
+ $icon-left:16px,
10
11
  $icon-top:16px
11
12
 
12
13
  ){
@@ -23,6 +24,7 @@ $icon-top:16px
23
24
  $height,
24
25
  $width,
25
26
  $border-right,
27
+ $icon,
26
28
  $icon-size,
27
29
  $icon-left,
28
30
  $icon-top
@@ -34,6 +36,7 @@ $icon-top:16px
34
36
  $height,
35
37
  $width,
36
38
  $border-right,
39
+ $icon,
37
40
  $icon-size,
38
41
  $icon-left,
39
42
  $icon-top
@@ -3,13 +3,14 @@
3
3
  /* Private -----------------------------------------------------------------------------------------------------------*/
4
4
 
5
5
  @mixin _ui-tooltip($component: null,
6
+ $position:null,
6
7
  $border-radius: null,
7
8
  $padding:null,
8
9
  $font-size:null,
9
10
  $z-index:null,
10
11
  $tip-color:null
11
12
  ) {
12
- position:absolute;
13
+ position:$position;
13
14
  font-size:$font-size;
14
15
  padding:$padding;
15
16
  border-radius:$border-radius;
@@ -31,6 +32,7 @@ $tip-color:null
31
32
  /* Public ------------------------------------------------------------------------------------------------------------*/
32
33
 
33
34
  @mixin ui-tooltip($class: null, $component:primary,
35
+ $position:absolute,
34
36
  $border-radius: $global-radius,
35
37
  $padding:.2em .5em .2em .5em,
36
38
  $font-size:.8em,
@@ -41,11 +43,11 @@ $tip-color:$primary-color
41
43
  .data-tooltip {
42
44
  @if $class != null{
43
45
  &.#{$class} {
44
- @include _ui-tooltip($component, $border-radius, $padding,$font-size,$z-index,$tip-color);
46
+ @include _ui-tooltip($component, $position,$border-radius, $padding,$font-size,$z-index,$tip-color);
45
47
  @content;
46
48
  }
47
49
  } @else {
48
- @include _ui-tooltip($component,$border-radius,$padding,$font-size,$z-index,$tip-color);
50
+ @include _ui-tooltip($component,$position,$border-radius,$padding,$font-size,$z-index,$tip-color);
49
51
  @content;
50
52
  }
51
53
 
@@ -20,6 +20,11 @@ $menu-justification:null) {
20
20
 
21
21
  $_ui-topbar-contained-to-grid: $grid-width - $grid-column-gutter;
22
22
 
23
+ $brand-selector:'.brand';
24
+ @if $component-custom-tags==true{
25
+ $brand-selector:ui-brand;
26
+ }
27
+
23
28
  position: $position;
24
29
  width: 100%;
25
30
  padding: $padding;
@@ -38,7 +43,7 @@ $menu-justification:null) {
38
43
  @if $position==relative{
39
44
  max-height:$height;
40
45
  }
41
- .brand,ui-brand {
46
+ #{$brand-selector} {
42
47
  position:absolute;
43
48
  left:0;
44
49
  top:0;
@@ -49,7 +54,6 @@ $menu-justification:null) {
49
54
  a{
50
55
  font-size:1em;
51
56
  @extend %#{$component}-font !optional;
52
- //display:block;
53
57
  @include flexbox($justification: $brand-justification, $alignment: $brand-alignment);
54
58
  &:hover{
55
59
  @extend %#{$component}-font-hover !optional;
@@ -140,24 +144,55 @@ $menu-justification:center,
140
144
  $touch-position: fixed,
141
145
  $touch-height: 60px,
142
146
  $touch-z-index: $global-z-index + 999,
143
- $touch-brand-font-size:1.75em
147
+ $touch-brand-font-size:1.75em,
148
+ $touch-icon-font-size:22px,
149
+ $touch-icon-margin:.8em
144
150
  ) {
145
151
 
152
+ $topbar-selector:'.ui-topbar';
153
+ @if $component-custom-tags==true{
154
+ $topbar-selector:ui-topbar;
155
+ }
146
156
 
147
-
148
- .ui-topbar,ui-topbar {
157
+ #{$topbar-selector} {
149
158
  @if $class != null {
150
159
  &.#{$class} {
151
160
  @include desktop-content() {
152
- @include _ui-topbar($component, $position, $padding, $height, $z-index, $brand-font-size, $line-height,
153
- $justification,$alignment,$brand-justification,$brand-alignment,$brand-min-width,$brand-padding,$right-padding,$menu-justification);
161
+ @include _ui-topbar($component,
162
+ $position,
163
+ $padding,
164
+ $height,
165
+ $z-index,
166
+ $brand-font-size,
167
+ $line-height,
168
+ $justification,
169
+ $alignment,
170
+ $brand-justification,
171
+ $brand-alignment,
172
+ $brand-min-width,
173
+ $brand-padding,
174
+ $right-padding,
175
+ $menu-justification);
154
176
  }
155
177
  @content
156
178
  }
157
179
  } @else {
158
180
  @include desktop-content() {
159
- @include _ui-topbar($component, $position, $padding, $height, $z-index, $brand-font-size, $line-height,
160
- $justification,$alignment,$brand-justification,$brand-alignment,$brand-min-width,$brand-padding,$right-padding,$menu-justification);
181
+ @include _ui-topbar($component,
182
+ $position,
183
+ $padding,
184
+ $height,
185
+ $z-index,
186
+ $brand-font-size,
187
+ $line-height,
188
+ $justification,
189
+ $alignment,
190
+ $brand-justification,
191
+ $brand-alignment,
192
+ $brand-min-width,
193
+ $brand-padding,
194
+ $right-padding,
195
+ $menu-justification);
161
196
  }
162
197
  @content;
163
198
  }
@@ -165,6 +200,9 @@ $touch-brand-font-size:1.75em
165
200
 
166
201
  /* if fixed position, margin of next element =topbar height + 1em */
167
202
  @if $position != relative {
203
+ [data-role=navigation] + *{
204
+ padding-top:$touch-height;
205
+ }
168
206
  @if $class != null {
169
207
  .ui-topbar.#{$class} + *,ui-topbar.#{$class} + * {
170
208
  margin-top: $height;
@@ -176,25 +214,61 @@ $touch-brand-font-size:1.75em
176
214
  }
177
215
  }
178
216
 
217
+ @include desktop-content(){
218
+ #{$topbar-selector}{
219
+ .touch-ui-brand,touch-ui-brand,.touch-right,touch-icons{
220
+ display:none;
221
+ }
222
+ }
223
+ }
224
+
179
225
  @media #{$breakpoint-touch}{
180
- .ui-topbar,ui-topbar{
226
+ #{$topbar-selector}{
181
227
  @if $class != null {
182
228
  &.#{$class} {
183
- @include _touch-ui-topbar($touch-component, $touch-position, $touch-height, $touch-z-index,$touch-brand-font-size);
229
+ @include _touch-ui-topbar($touch-component,
230
+ $touch-position,
231
+ $touch-height,
232
+ $touch-z-index,
233
+ $touch-brand-font-size,
234
+ $touch-icon-font-size,
235
+ $touch-icon-margin
236
+ );
184
237
  }
185
238
  } @else {
186
- @include _touch-ui-topbar($touch-component, $touch-position, $touch-height, $touch-z-index,$touch-brand-font-size);
239
+ @include _touch-ui-topbar($touch-component,
240
+ $touch-position,
241
+ $touch-height,
242
+ $touch-z-index,
243
+ $touch-brand-font-size,
244
+ $touch-icon-font-size,
245
+ $touch-icon-margin
246
+ );
187
247
  }
188
248
  /* for touch, if fixed position, padding of next element =topbar height */
189
249
  @if $touch-position != relative {
190
250
  @if $class != null {
191
- .ui-topbar.#{$class} + *, ui-topbar.#{$class} + *{
192
- padding-top: $touch-height;
251
+ @if $component-custom-tags==true{
252
+ ui-topbar.#{$class} + *{
253
+ padding-top: $touch-height;
254
+ }
255
+ }@else{
256
+ .ui-topbar.#{$class} + *{
257
+ padding-top: $touch-height;
258
+ }
193
259
  }
260
+
194
261
  } @else {
195
- .ui-topbar + *, ui-topbar + * {
196
- padding-top: $touch-height;
262
+ @if $component-custom-tags==true{
263
+ ui-topbar + * {
264
+ padding-top: $touch-height;
265
+ }
266
+ }@else{
267
+ .ui-topbar + *{
268
+ padding-top: $touch-height;
269
+ }
197
270
  }
271
+
198
272
  }
199
273
  }
200
274
  }
@@ -8,7 +8,10 @@ $border-radius:null,
8
8
  $z-index:null,
9
9
  $width:null,
10
10
  $height:null,
11
- $top:null
11
+ $top:null,
12
+ $header-height:null,
13
+ $section-padding:null,
14
+ $footer-padding:null
12
15
 
13
16
  ) {
14
17
 
@@ -38,7 +41,7 @@ $top:null
38
41
  }
39
42
  header {
40
43
  width: 100%;
41
- height: 35px;
44
+ height: $header-height;
42
45
  border-top-left-radius: $border-radius;
43
46
  border-top-right-radius: $border-radius;
44
47
  @extend %#{$header-component}-background !optional;
@@ -84,10 +87,9 @@ $top:null
84
87
  section {
85
88
  position: relative;
86
89
  overflow-y: auto;
87
- padding: 15px;
90
+ padding: $section-padding;
88
91
  width: 100%;
89
92
  height: 90%;
90
- padding-bottom: 80px;
91
93
  @extend %#{$component}-background !optional;
92
94
  @extend %#{$component}-font !optional;
93
95
  h2,h3,h4,h5{
@@ -99,7 +101,7 @@ $top:null
99
101
 
100
102
  }
101
103
  footer {
102
- padding: 14px 15px 15px;
104
+ padding:$footer-padding;
103
105
  margin-bottom: 0;
104
106
  text-align: right;
105
107
  @extend %#{$footer-component}-background !optional;
@@ -134,7 +136,10 @@ $border-radius:$global-radius,
134
136
  $z-index:$global-z-index + 99999999,
135
137
  $width:560px ,
136
138
  $height:520px,
137
- $top:100px
139
+ $top:100px,
140
+ $header-height:35px,
141
+ $section-padding:15px 15px 80px 15px,
142
+ $footer-padding:14px 15px 15px
138
143
 
139
144
  ) {
140
145
 
@@ -142,14 +147,14 @@ $top:100px
142
147
  @if $class != null{
143
148
  &.#{$class} {
144
149
  @include _ui-window($component,$header-component,$close-component,$footer-component,
145
- $border-radius,$z-index,$width,$height,$top);
150
+ $border-radius,$z-index,$width,$height,$top,$header-height,$section-padding,$footer-padding);
146
151
 
147
152
  @content;
148
153
 
149
154
  }
150
155
  } @else {
151
156
  @include _ui-window($component,$header-component,$close-component,$footer-component,
152
- $border-radius,$z-index,$width,$height,$top);
157
+ $border-radius,$z-index,$width,$height,$top,$header-height,$section-padding,$footer-padding);
153
158
 
154
159
  @content;
155
160
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ellipsis-compass
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - S. Francis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-24 00:00:00.000000000 Z
11
+ date: 2014-09-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ellipsis is responsive HTML5 web component framework for modern browsers
14
14
  email: sfrancis@misinteractive.com
@@ -27,6 +27,7 @@ files:
27
27
  - stylesheets/ellipsis/base/_global.scss
28
28
  - stylesheets/ellipsis/base/_normalize.scss
29
29
  - stylesheets/ellipsis/component/_component.scss
30
+ - stylesheets/ellipsis/component/_element.scss
30
31
  - stylesheets/ellipsis/component/_ui.scss
31
32
  - stylesheets/ellipsis/flexbox/_flexbox.scss
32
33
  - stylesheets/ellipsis/font/_icons.scss
@@ -57,7 +58,7 @@ files:
57
58
  - stylesheets/ellipsis/ui/_breadcrumb.scss
58
59
  - stylesheets/ellipsis/ui/_button.scss
59
60
  - stylesheets/ellipsis/ui/_carousel.scss
60
- - stylesheets/ellipsis/ui/_collapsible.scss
61
+ - stylesheets/ellipsis/ui/_collapse.scss
61
62
  - stylesheets/ellipsis/ui/_container.scss
62
63
  - stylesheets/ellipsis/ui/_datepicker.scss
63
64
  - stylesheets/ellipsis/ui/_drawer.scss
@@ -76,9 +77,11 @@ files:
76
77
  - stylesheets/ellipsis/ui/_parallax.scss
77
78
  - stylesheets/ellipsis/ui/_popover.scss
78
79
  - stylesheets/ellipsis/ui/_rating.scss
80
+ - stylesheets/ellipsis/ui/_screentab.scss
79
81
  - stylesheets/ellipsis/ui/_sidebar.scss
80
82
  - stylesheets/ellipsis/ui/_slidingpanel.scss
81
83
  - stylesheets/ellipsis/ui/_social.scss
84
+ - stylesheets/ellipsis/ui/_stepprogress.scss
82
85
  - stylesheets/ellipsis/ui/_sticky.scss
83
86
  - stylesheets/ellipsis/ui/_table.scss
84
87
  - stylesheets/ellipsis/ui/_tabs.scss
@@ -1,61 +0,0 @@
1
- /* ui-collapsible */
2
-
3
- /* private -----------------------------------------------------------------------------------------------------------*/
4
-
5
- @mixin _ui-collapsible($header-component:null,$component:null,
6
- $border-radius:null
7
- ){
8
- &>.collapse,&>ui-collapse {
9
- list-style: none;
10
- margin: 0;
11
- padding: 0 0 1em 0;
12
- height: 100%;
13
-
14
- & >.header {
15
- cursor: pointer;
16
- padding: 1em;
17
- margin: 0;
18
- @extend %#{$header-component}-background;
19
- @extend %#{$header-component}-border;
20
- @extend %#{$header-component}-box-shadow;
21
- @extend %#{$header-component}-font;
22
- border-radius:$border-radius;
23
- h1, h2, h3, h4, h5 {
24
- @extend %#{$header-component}-font;
25
- }
26
- }
27
-
28
- .body {
29
- margin-top: -.625em;
30
- padding: 0 1em 0 1em;
31
- @extend %#{$component}-background;
32
- @extend %#{$component}-border;
33
- @extend %#{$component}-box-shadow;
34
- @extend %#{$component}-font;
35
- border-top:0;
36
- border-bottom-right-radius: $border-radius;
37
- border-bottom-left-radius: $border-radius;
38
- }
39
-
40
- &> .header + .body{
41
- height: 0;
42
- display:block;
43
- overflow: hidden;
44
- }
45
- &.out > .header + .body{
46
- height:auto;
47
- overflow: hidden;
48
- }
49
- &.out{
50
- .header {
51
- border-bottom-right-radius: 0;
52
- border-bottom-left-radius: 0;
53
- }
54
- .body {
55
- padding: 1em 1em 0 1em;
56
- border-bottom-width:1px;
57
- }
58
- }
59
- }
60
- }
61
-