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,175 @@
1
+ /* ui-menutab */
2
+
3
+
4
+ /* private -----------------------------------------------------------------------------------------------------------*/
5
+
6
+ @mixin _ui-menu-tab($component:css-tab,$button-component:css-button,
7
+ $top:null,
8
+ $left:null,
9
+ $border-radius:null,
10
+ $li-padding:null,
11
+ $span-font-size:null,
12
+ $button-height:null,
13
+ $button-width:null,
14
+ $button-icon-font-size:null,
15
+ $button-icon-top:null,
16
+ $button-icon-left:null,
17
+ $button-border-radius:null,
18
+ $button-top:null,
19
+ $button-right:null,
20
+ $button-icon-up-top:null,
21
+ $z-index:null
22
+
23
+ ){
24
+
25
+ list-style: none;
26
+ position:absolute;
27
+ left:$left;
28
+ top:$top;
29
+
30
+ border-top:0;
31
+ z-index:$z-index;
32
+ cursor:pointer;
33
+
34
+ &>li,&>menu-item{
35
+ padding:$li-padding;
36
+ float:none !important;
37
+ @include border-radius($border-radius);
38
+ @extend %#{$component}-background !optional;
39
+ @extend %#{$component}-box-shadow !optional;
40
+ @extend %#{$component}-border !optional;
41
+ &>span{
42
+ @extend %#{$component}-font !optional;
43
+ @include dotted-border-bottom();
44
+ font-size:$span-font-size;
45
+ }
46
+ &>.tab-button{
47
+ display:inline-block;
48
+ @include border-radius($button-border-radius);
49
+ cursor:pointer;
50
+ @extend %#{$button-component}-background !optional;
51
+ height:$button-height;
52
+ width:$button-width;
53
+ @extend %#{$button-component}-font !optional;
54
+ @extend %#{$button-component}-box-shadow !optional;
55
+ position:absolute;
56
+ top:$button-top;
57
+ right:$button-right;
58
+ &:after{
59
+ font-family:$global-icon-font-family;
60
+ content:'#{$global-icon-down-arrow}';
61
+ @extend %#{$button-component}-font;
62
+ font-size:$button-icon-font-size;
63
+ position:absolute;
64
+ top:$button-icon-top;
65
+ left:$button-icon-left;
66
+ }
67
+ &.up{
68
+ &:after{
69
+ content:'#{$global-icon-up-arrow}';
70
+ top:$button-icon-up-top;
71
+ }
72
+ }
73
+ }
74
+ &.has-dropdown{
75
+ background:none;
76
+ position:relative;
77
+ margin:0;
78
+ padding:0;
79
+ &>.ui-dropdown,&>ui-dropdown{
80
+ z-index:-1 !important;
81
+ left:-10px;
82
+ visibility: hidden;
83
+ }
84
+ }
85
+ }
86
+ }
87
+
88
+ /* public ------------------------------------------------------------------------------------------------------------*/
89
+
90
+ @mixin ui-menu-tab($class:null,$component:css-tab,$button-component:css-button,
91
+ $top:-1px ,
92
+ $left:10%,
93
+ $border-radius:0 0 2px 2px,
94
+ $li-padding:10px 55px 15px 20px,
95
+ $span-font-size:14px,
96
+ $button-height:20px,
97
+ $button-width:20px,
98
+ $button-icon-font-size:12px,
99
+ $button-icon-top:3px,
100
+ $button-icon-left:4px,
101
+ $button-border-radius:50%,
102
+ $button-top:10px,
103
+ $button-right:15px,
104
+ $button-icon-up-top:2px,
105
+ $z-index:$global-z-index + 900
106
+
107
+ ){
108
+
109
+ .ui-menu-tab,ui-menu-tab {
110
+ @if $class != null{
111
+ &.#{$class} {
112
+ @include _ui-menu-tab($component,$button-component,
113
+ $top,
114
+ $left,
115
+ $border-radius,
116
+ $li-padding,
117
+ $span-font-size,
118
+ $button-height,
119
+ $button-width,
120
+ $button-icon-font-size,
121
+ $button-icon-top,
122
+ $button-icon-left,
123
+ $button-border-radius,
124
+ $button-top,
125
+ $button-right,
126
+ $button-icon-up-top,
127
+ $z-index);
128
+ @content;
129
+ }
130
+ } @else {
131
+ @include _ui-menu-tab($component,$button-component,
132
+ $top,
133
+ $left,
134
+ $border-radius,
135
+ $li-padding,
136
+ $span-font-size,
137
+ $button-height,
138
+ $button-width,
139
+ $button-icon-font-size,
140
+ $button-icon-top,
141
+ $button-icon-left,
142
+ $button-border-radius,
143
+ $button-top,
144
+ $button-right,
145
+ $button-icon-up-top,
146
+ $z-index);
147
+ @content;
148
+ }
149
+
150
+ }
151
+
152
+ @media #{$breakpoint-touch}{
153
+ .ui-menu-tab,ui-menu-tab{
154
+ display:none !important;
155
+ }
156
+ }
157
+
158
+
159
+ }
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
@@ -0,0 +1,47 @@
1
+ /* ui-modal */
2
+
3
+ /* Private -----------------------------------------------------------------------------------------------------------*/
4
+
5
+ @mixin _ui-modal($background: null, $z-index: null, $opacity: null) {
6
+
7
+ position: fixed;
8
+ top: 0;
9
+ right: 0;
10
+ bottom: 0;
11
+ left: 0;
12
+ z-index: $z-index;
13
+ background-color: $background;
14
+ height: 100%;
15
+ width: 100%;
16
+ opacity: $opacity;
17
+ &.light {
18
+ background-color: $gray;
19
+ opacity: .5;
20
+ }
21
+ &.transparent {
22
+ background-color: $white;
23
+ opacity: 0;
24
+ }
25
+
26
+ }
27
+
28
+ /* Public -------------------------------------------------------------------------------------------------------------*/
29
+
30
+ @mixin ui-modal($class: null,
31
+ $background: #000,
32
+ $z-index: $global-z-index + 99999,
33
+ $opacity: .5) {
34
+
35
+ .ui-modal,ui-modal {
36
+ @if $class != null {
37
+ &.#{$class} {
38
+ @include _ui-modal($background, $z-index, $opacity);
39
+ @content;
40
+ }
41
+ } @else {
42
+ @include _ui-modal($background, $z-index, $opacity);
43
+ @content;
44
+ }
45
+ }
46
+
47
+ }
@@ -0,0 +1,315 @@
1
+ /*
2
+ ui-navbar
3
+
4
+ */
5
+
6
+ /* private -----------------------------------------------------------------------------------------------------------*/
7
+
8
+ @mixin _ui-navbar($component:null,
9
+ $height:null,
10
+ $margin:null,
11
+ $section-padding:null,
12
+ $brand-font:null,
13
+ $brand-float:null,
14
+ $brand-margin:null,
15
+ $brand-padding:null,
16
+ $stacked-height:null,
17
+ $stacked-brand-font:null,
18
+ $stacked-brand-float:null,
19
+ $stacked-brand-margin:null,
20
+ $stacked-brand-padding:null,
21
+ $stacked-brand-text-align:null,
22
+ $stacked-brand-height:null,
23
+ $stacked-brand-background:null,
24
+ $stacked-section-height:null
25
+
26
+ ){
27
+
28
+
29
+ $_ui-navbar-contained-to-grid: $grid-width - $grid-column-gutter;
30
+
31
+ width: 100%;
32
+ position: relative;
33
+
34
+ nav{
35
+ @extend %#{$component}-background !optional;
36
+ @extend %#{$component}-border !optional;
37
+ @extend %#{$component}-box-shadow !optional;
38
+ width:100%;
39
+ margin: $margin;
40
+ height: $height;
41
+ min-height: 45px;
42
+ position: relative;
43
+
44
+ ul{
45
+ list-style: none;
46
+ }
47
+ &>section{
48
+ position:relative;
49
+ padding: $section-padding;
50
+ margin:0 auto;
51
+ width:100%;
52
+ max-width: $_ui-navbar-contained-to-grid;
53
+ }
54
+ &>.brand {
55
+ @extend %#{$component}-font !optional;
56
+ float: $brand-float;
57
+ display: block;
58
+ margin: $brand-margin;
59
+ padding: $brand-padding;
60
+ font: $brand-font;
61
+ .logo{
62
+ &:hover{
63
+ cursor:pointer;
64
+ }
65
+ }
66
+ &>section{
67
+ position:relative;
68
+ margin:0 auto;
69
+ width:100%;
70
+ max-width: $_ui-navbar-contained-to-grid;
71
+
72
+ }
73
+ }
74
+ //stacked navbar(brand stacked above the menu)
75
+ &.stacked {
76
+ height: $stacked-height;
77
+ &>.touch-brand{
78
+ display:none;
79
+ }
80
+ &>.brand {
81
+ @extend %#{$component}-font;
82
+ font: $stacked-brand-font;
83
+ float: $stacked-brand-float;
84
+ text-align: $stacked-brand-text-align;
85
+ margin: $stacked-brand-margin;
86
+ padding: $stacked-brand-padding;
87
+ height: $stacked-brand-height;
88
+ background:$stacked-brand-background;
89
+ &.center{
90
+ @include display-flex();
91
+ @include justify-content(center);
92
+ @include align-items(center);
93
+ }
94
+ &>section{
95
+ ul{
96
+ display:block;
97
+ float:left;
98
+ }
99
+ }
100
+ }
101
+ &>section{
102
+ height:$stacked-section-height;
103
+ padding:0;
104
+ &.center{
105
+ @include display-flex();
106
+ @include justify-content(center);
107
+ @include align-items(center);
108
+ }
109
+ }
110
+ }
111
+ //when the screen width matches grid width, we must further subtract gutter width from the max-width and use gutter width as the margin
112
+ @media only screen and (max-width:$grid-width){
113
+ &>section{
114
+ left:0;
115
+ margin:0;
116
+ max-width:$grid-width - $grid-column-gutter - $grid-column-gutter;
117
+ padding: 0 $grid-column-gutter/2 !important;
118
+ }
119
+ &>.brand{
120
+ &>section{
121
+ padding: 0 $grid-column-gutter/2 !important;
122
+ max-width:100% !important;
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+
129
+
130
+ /* public ------------------------------------------------------------------------------------------------------------*/
131
+
132
+ @mixin ui-navbar($class:null,$component:null,$touch-component:css-touch,
133
+ $height:65px,
134
+ $margin:0 auto,
135
+ $section-padding:0,
136
+ $brand-font:1.5em,
137
+ $brand-float:left,
138
+ $brand-margin:0,
139
+ $brand-padding:0,
140
+ $stacked-height:auto,
141
+ $stacked-brand-font:inherit,
142
+ $stacked-brand-float:none,
143
+ $stacked-brand-margin:0,
144
+ $stacked-brand-padding:0,
145
+ $stacked-brand-text-align:center,
146
+ $stacked-brand-height:75px,
147
+ $stacked-brand-background:inherit,
148
+ $stacked-section-height:45px,
149
+ $touch-position:fixed,
150
+ $touch-height:60px,
151
+ $touch-z-index:$global-z-index + 9999,
152
+ $touch-brand-font:inherit,
153
+ $touch-brand-margin:10px
154
+
155
+ ){
156
+
157
+
158
+
159
+ .ui-navbar,ui-navbar{
160
+ @if $class != null{
161
+ &.#{$class} {
162
+ @include _ui-navbar($component,
163
+ $height,
164
+ $margin,
165
+ $section-padding,
166
+ $brand-font,
167
+ $brand-float,
168
+ $brand-margin,
169
+ $brand-padding,
170
+ $stacked-height,
171
+ $stacked-brand-font,
172
+ $stacked-brand-float,
173
+ $stacked-brand-margin,
174
+ $stacked-brand-padding,
175
+ $stacked-brand-text-align,
176
+ $stacked-brand-height,
177
+ $stacked-brand-background,
178
+ $stacked-section-height
179
+ );
180
+ @content;
181
+ }
182
+ } @else {
183
+ @include _ui-navbar($component,
184
+ $height,
185
+ $margin,
186
+ $section-padding,
187
+ $brand-font,
188
+ $brand-float,
189
+ $brand-margin,
190
+ $brand-padding,
191
+ $stacked-height,
192
+ $stacked-brand-font,
193
+ $stacked-brand-float,
194
+ $stacked-brand-margin,
195
+ $stacked-brand-padding,
196
+ $stacked-brand-text-align,
197
+ $stacked-brand-height,
198
+ $stacked-brand-background,
199
+ $stacked-section-height
200
+ );
201
+ @content;
202
+ }
203
+
204
+ }
205
+
206
+ @media #{$breakpoint-touch}{
207
+ .ui-navbar,ui-navbar{
208
+ &>.ui-topbar,&>ui-topbar{
209
+ display:none !important;
210
+ }
211
+ &>nav{
212
+ &>.brand{
213
+ display:none;
214
+ }
215
+ &>section{
216
+ display:none;
217
+ }
218
+ &.stacked{
219
+ &>.brand{
220
+ display:none !important;
221
+ }
222
+ &>section{
223
+ display:none;
224
+ }
225
+ }
226
+ }
227
+
228
+ @if $class != null{
229
+ &.#{$class} {
230
+ @include _touch-ui-navbar($touch-component,
231
+ $touch-position,
232
+ $touch-height,
233
+ $touch-z-index,
234
+ $touch-brand-font,
235
+ $touch-brand-margin
236
+ );
237
+ }
238
+
239
+ }@else{
240
+ @include _touch-ui-navbar($touch-component,
241
+ $touch-position,
242
+ $touch-height,
243
+ $touch-z-index,
244
+ $touch-brand-font,
245
+ $touch-brand-margin
246
+ );
247
+ }
248
+
249
+ }
250
+
251
+ @if $touch-position != relative{
252
+ @if $class != null {
253
+ .ui-navbar.#{$class} + *,ui-navbar.#{$class} + *{
254
+ padding-top:$touch-height;
255
+
256
+
257
+ }
258
+ }@else{
259
+ .ui-navbar + *,ui-navbar + *{
260
+ padding-top:$touch-height;
261
+
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+
268
+ @mixin navbar-brand(){
269
+ &>nav{
270
+ &.stacked{
271
+ &>.brand{
272
+ @content;
273
+ }
274
+ }
275
+ }
276
+ }
277
+
278
+ @mixin navbar-stacked-brand(){
279
+ &>nav{
280
+ &.stacked{
281
+ &>.brand{
282
+ @content;
283
+ }
284
+ }
285
+ }
286
+ }
287
+
288
+ @mixin phone-navbar-brand(){
289
+ @media #{$breakpoint-phone}{
290
+ .touch-brand{
291
+ @content;
292
+ }
293
+ }
294
+ }
295
+ @mixin touch-navbar-brand(){
296
+ @media #{$breakpoint-touch}{
297
+ .touch-brand{
298
+ @content;
299
+ }
300
+ }
301
+ }
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+