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,3 @@
1
+ /* ui-popover */
2
+
3
+ // TODO
@@ -0,0 +1,106 @@
1
+ /* ui-rating */
2
+
3
+ /* Private -----------------------------------------------------------------------------------------------------------*/
4
+
5
+ @mixin _ui-rating($component:null,$divider:null,$link:null,
6
+ $li-margin: null,
7
+ $font-size: null,
8
+ $divider-height: null,
9
+ $divider-border: null,
10
+ $divider-margin: null,
11
+ $divider-padding: null,
12
+ $star-size: null,
13
+ $star-color-empty: null
14
+ ) {
15
+
16
+ list-style: none;
17
+ @include clearfix();
18
+ margin-left: 0;
19
+ display:inline-block;
20
+ & > li,&>rating-item {
21
+ float: left;
22
+ margin: $li-margin;
23
+ font-size: $font-size;
24
+ a {
25
+ @if $link != null {
26
+ @extend %#{$link}-font !optional;
27
+ }
28
+ font-size: $font-size;
29
+ &:hover{
30
+ @if $link != null {
31
+ @extend %#{$link}-font-hover !optional;
32
+ }
33
+ }
34
+ }
35
+ &.divider {
36
+ width: 2px;
37
+ height: $divider-height;
38
+ @extend %#{$divider}-background !optional;
39
+ @extend %#{$divider}-border !optional;
40
+ border-right: $divider-border;
41
+ margin: $divider-margin;
42
+ padding: $divider-padding;
43
+ }
44
+ .star {
45
+ @extend %#{$component}-icon !optional;
46
+ font-size: $star-size;
47
+ &.empty {
48
+ color: $star-color-empty;
49
+ }
50
+ &:last-child {
51
+ margin-right: 5px;
52
+ }
53
+ }
54
+ }
55
+
56
+ }
57
+
58
+ /* Public -----------------------------------------------------------------------------------------------------------*/
59
+
60
+ @mixin touch-ui-rating($star-color:#ddd) {
61
+
62
+ @media #{$breakpoint-touch}{
63
+ & > li,&>rating-item {
64
+ .star {
65
+ color: $star-color;
66
+
67
+ }
68
+ }
69
+ @content;
70
+ }
71
+ }
72
+
73
+ @mixin ui-rating($class: null, $component: css-rating, $divider: css-divider, $link:null,
74
+ $li-margin:0 3px 0 0,
75
+ $font-size: .9em,
76
+ $divider-height: 1em,
77
+ $divider-border:1px solid,
78
+ $divider-margin:0 9px 0 4px,
79
+ $divider-padding:0,
80
+ $star-size:1.1em,
81
+ $star-color-empty:#ddd) {
82
+ .ui-rating,ui-rating {
83
+ @if $class != null{
84
+ &.#{$class} {
85
+
86
+ @include _ui-rating($component,$divider,$link,$li-margin,$font-size,$divider-height,
87
+ $divider-border,$divider-margin,$divider-padding,$star-size,$star-color-empty);
88
+
89
+ @content;
90
+ }
91
+ } @else {
92
+
93
+ @include _ui-rating($component,$divider,$link,$li-margin,$font-size,$divider-height,
94
+ $divider-border,$divider-margin,$divider-padding,$star-size,$star-color-empty);
95
+
96
+ @content;
97
+ }
98
+ }
99
+ .ui-rating.hover,ui-rating.hover{
100
+ &>li,&>rating-item{
101
+ &:hover{
102
+ cursor:pointer;
103
+ }
104
+ }
105
+ }
106
+ }
@@ -0,0 +1,110 @@
1
+ /* ui-sidebar */
2
+
3
+ /* Private -----------------------------------------------------------------------------------------------------------*/
4
+
5
+ @mixin _ui-sidebar($component:null,
6
+ $padding:null,
7
+ $flex-align:null,
8
+ $min-height:null,
9
+ $border-radius:null,
10
+ $menu-li-line-height:null,
11
+ $menu-header-margin-top:null,
12
+ $menu-dropdown-margin:null
13
+ ){
14
+
15
+
16
+
17
+ $_margin-left:margin-left($padding);
18
+ $_margin-right:margin-right($padding);
19
+
20
+
21
+ @include display-flex();
22
+ @include flex-direction(column);
23
+ @include justify-content($flex-align);
24
+
25
+ @extend %#{$component}-background !optional;
26
+ @if $min-height != null{
27
+ min-height:$min-height;
28
+ }
29
+ list-style: none;
30
+ padding:$padding;
31
+ border-radius:$border-radius;
32
+ h1,h2,h3,h4,h5,h6{
33
+ padding:0;
34
+ margin:0;
35
+ font-size:1em;
36
+ display:inline;
37
+ }
38
+ li,menu-item{
39
+ float:none !important;
40
+ }
41
+ &>.ui-menu,&>ui-menu{
42
+ width:100% !important;
43
+ display:block !important;
44
+ &>li,&>menu-item{
45
+ float:none !important;
46
+ padding:0 !important;
47
+ line-height:$menu-li-line-height;
48
+ h1,h2,h3,h4,h5,h6{
49
+ line-height:$menu-li-line-height;
50
+ }
51
+
52
+ a{
53
+ white-space:nowrap;
54
+ text-overflow:ellipsis;
55
+ overflow:hidden;
56
+ width:100%;
57
+ display:block;
58
+ }
59
+ &:hover,&.active{
60
+ @extend %#{$component}-background-hover !optional;
61
+ cursor:pointer;
62
+ margin-left:-#{$_margin-left};
63
+ margin-right:-#{$_margin-right};
64
+ &>*{
65
+ padding-left:#{$_margin-left};
66
+ }
67
+ a{
68
+ width:91%;
69
+ }
70
+ }
71
+ &.header:not(:first-child){
72
+ margin-top:$menu-header-margin-top;
73
+ }
74
+ }
75
+ .ui-dropdown,ui-dropdown{
76
+ margin:$menu-dropdown-margin;
77
+ }
78
+ }
79
+ }
80
+
81
+ /* Public -----------------------------------------------------------------------------------------------------------*/
82
+
83
+ @mixin ui-sidebar($class:null,$component:null,
84
+ $padding:1.5em,
85
+ $flex-align:flex-start,
86
+ $min-height:null,
87
+ $border-radius:$global-radius,
88
+ $menu-li-line-height:2em,
89
+ $menu-header-margin-top:2em,
90
+ $menu-dropdown-margin:0 0 0 1em
91
+ ){
92
+
93
+ .ui-sidebar,ui-sidebar{
94
+ @if $class != null{
95
+ &.#{$class} {
96
+
97
+ @include _ui-sidebar($component,$padding,$flex-align,$min-height,$border-radius,$menu-li-line-height,
98
+ $menu-header-margin-top,$menu-dropdown-margin);
99
+
100
+ @content;
101
+ }
102
+ } @else {
103
+
104
+ @include _ui-sidebar($component,$padding,$flex-align,$min-height,$border-radius,$menu-li-line-height,
105
+ $menu-header-margin-top,$menu-dropdown-margin);
106
+
107
+ @content;
108
+ }
109
+ }
110
+ }
@@ -0,0 +1,57 @@
1
+ /* ui-sliding-panel */
2
+
3
+ /* Private -----------------------------------------------------------------------------------------------------------*/
4
+
5
+ @mixin _ui-sliding-panel($component:null,
6
+ $height:null,
7
+ $width:null,
8
+ $top:null,
9
+ $right:null,
10
+ $border-radius:null,
11
+ $padding:null,
12
+ $z-index:null
13
+ ){
14
+
15
+ position:fixed;
16
+ z-index:$z-index;
17
+ top:$top;
18
+ right:$right;
19
+ height:$height;
20
+ width:$width;
21
+ border-radius:$border-radius;
22
+ display:none;
23
+ padding:$padding;
24
+ @extend %#{$component}-background !optional;
25
+ @extend %#{$component}-border !optional;
26
+ @extend %#{$component}-box-shadow !optional;
27
+
28
+ &.show{
29
+ display:inherit;
30
+ }
31
+ }
32
+
33
+
34
+ /* Public ------------------------------------------------------------------------------------------------------------*/
35
+
36
+ @mixin ui-sliding-panel($class: null, $component:css-sliding-panel,
37
+ $height:88vh,
38
+ $width:25em,
39
+ $top:50px,
40
+ $right:0,
41
+ $border-radius:$global-radius,
42
+ $padding:0,
43
+ $z-index:1001
44
+ ) {
45
+
46
+ .ui-sliding-panel,ui-sliding-panel {
47
+ @if $class != null{
48
+ &.#{$class} {
49
+ @include _ui-sliding-panel($component,$height,$width,$top,$right,$border-radius,$padding,$z-index);
50
+ @content;
51
+ }
52
+ } @else {
53
+ @include _ui-sliding-panel($component,$height,$width,$top,$right,$border-radius,$padding,$z-index);
54
+ @content;
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,213 @@
1
+
2
+ /* ui-social */
3
+
4
+
5
+ /* private -----------------------------------------------------------------------------------------------------------*/
6
+
7
+ @mixin _ui-social($component:null,
8
+ $margin:null,
9
+ $padding:null,
10
+ $font-size:null,
11
+ $li-padding: null,
12
+ $li-margin:null,
13
+ $facebook-color:null,
14
+ $pinterest-color:null,
15
+ $twitter-color:null,
16
+ $flickr-color:null,
17
+ $google-color:null,
18
+ $github-color:null,
19
+ $color-text-shadow:null
20
+
21
+ ) {
22
+
23
+ @include flexbox($justification: flex-start, $alignment: center);
24
+ list-style: none;
25
+ padding: $padding;
26
+ margin:$margin;
27
+ &>li,&>social-icon {
28
+ padding: $li-padding;
29
+ margin:$li-margin;
30
+ min-width:$font-size;
31
+ min-height:$font-size;
32
+ position:relative;
33
+ a {
34
+ font-size:$font-size;
35
+ &:before{
36
+ font-family:$global-icon-font-family;
37
+ @extend %#{$component}-icon !optional;
38
+ position:absolute;
39
+ top:0;
40
+ left:0;
41
+ }
42
+
43
+ &.facebook{
44
+ &:before{
45
+ content:'#{$global-icon-facebook}';
46
+ }
47
+ }
48
+ &.pinterest{
49
+ &:before{
50
+ content:'#{$global-icon-pinterest}';
51
+ }
52
+ }
53
+ &.twitter{
54
+ &:before{
55
+ content:'#{$global-icon-twitter}';
56
+ }
57
+ }
58
+ &.flickr{
59
+ &:before{
60
+ content:'#{$global-icon-flickr}';
61
+ }
62
+ }
63
+ &.google{
64
+ &:before{
65
+ content:'#{$global-icon-google}';
66
+ }
67
+ }
68
+ &.github{
69
+ &:before{
70
+ content:'#{$global-icon-github}';
71
+ }
72
+ }
73
+ }
74
+ }
75
+ &.color{
76
+ &>li,&>social-icon{
77
+ a{
78
+ &:before{
79
+ font-family:$global-icon-font-family;
80
+ @extend %#{$component}-icon !optional;
81
+ position:absolute;
82
+ top:0;
83
+ left:0;
84
+ }
85
+ &.facebook{
86
+ &:before{
87
+ content:'#{$global-icon-facebook-2}';
88
+ color:$facebook-color;
89
+ }
90
+ }
91
+ &.pinterest{
92
+ &:before{
93
+ content:'#{$global-icon-pinterest-2}';
94
+ color:$pinterest-color;
95
+ }
96
+ }
97
+ &.twitter{
98
+ &:before{
99
+ content:'#{$global-icon-twitter-2}';
100
+ color:$twitter-color;
101
+ }
102
+ }
103
+ &.flickr{
104
+ &:before{
105
+ content:'#{$global-icon-flickr-2}';
106
+ color:$flickr-color;
107
+ }
108
+ }
109
+ &.google{
110
+ &:before{
111
+ content:'#{$global-icon-google-2}';
112
+ color:$google-color;
113
+ }
114
+ }
115
+ &.github{
116
+ &:before{
117
+ content:'#{$global-icon-github}';
118
+ color:$github-color;
119
+ }
120
+ }
121
+ &:before{
122
+ @if $color-text-shadow != true{
123
+ text-shadow:none;
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+
131
+ }
132
+
133
+ /* public ------------------------------------------------------------------------------------------------------------*/
134
+
135
+ @mixin ui-social($class:null,$component:css-social,
136
+ $margin:0,
137
+ $padding:0,
138
+ $font-size:1.5em,
139
+ $li-padding:0 .7em 0 .7em,
140
+ $li-margin:0 .5em 0 .5em,
141
+ $facebook-color:#3b5998,
142
+ $pinterest-color:#ca3924,
143
+ $twitter-color:#5ec5fb,
144
+ $flickr-color:#f1369d,
145
+ $google-color:#d23e2b,
146
+ $github-color:#020202,
147
+ $color-text-shadow:false
148
+
149
+ ) {
150
+
151
+ .ui-social,ui-social {
152
+ @if $class != null{
153
+ &.#{$class} {
154
+ @include _ui-social($component,
155
+ $margin,
156
+ $padding,
157
+ $font-size,
158
+ $li-padding,
159
+ $li-margin,
160
+ $facebook-color,
161
+ $pinterest-color,
162
+ $twitter-color,
163
+ $flickr-color,
164
+ $google-color,
165
+ $github-color,
166
+ $color-text-shadow);
167
+ @content;
168
+ }
169
+ } @else {
170
+ @include _ui-social($component,
171
+ $margin,
172
+ $padding,
173
+ $font-size,
174
+ $li-padding,
175
+ $li-margin,
176
+ $facebook-color,
177
+ $pinterest-color,
178
+ $twitter-color,
179
+ $flickr-color,
180
+ $google-color,
181
+ $github-color,
182
+ $color-text-shadow);
183
+ @content;
184
+ }
185
+
186
+ }
187
+
188
+
189
+
190
+ }
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+