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,154 @@
1
+ /* ui-notification */
2
+
3
+ /* private -----------------------------------------------------------------------------------------------------------*/
4
+
5
+ @mixin _ui-notification($component: inverse,
6
+ $padding: null,
7
+ $font-size: null,
8
+ $border-radius: null,
9
+ $z-index: null,
10
+ $width:null,
11
+ $top:null,
12
+ $left:null,
13
+ $bottom:null,
14
+ $right:null
15
+
16
+ ) {
17
+
18
+ display: inline-block;
19
+ padding: $padding;
20
+ font-size: $font-size;
21
+ border-radius:$border-radius;
22
+ position: fixed;
23
+ @if $bottom != null {
24
+ bottom:$bottom;
25
+ }@else{
26
+ top: $top;
27
+ }
28
+
29
+ @if $right != null{
30
+ right:$right;
31
+ }@else{
32
+ left: $left;
33
+ }
34
+
35
+ z-index: $z-index;
36
+ opacity: 0;
37
+
38
+ @if $width != null{
39
+ width:$width;
40
+ }
41
+
42
+ @extend %#{$component}-background !optional;
43
+ @extend %#{$component}-font !optional;
44
+ @extend %#{$component}-border !optional;
45
+ @extend %#{$component}-box-shadow !optional;
46
+
47
+ &.visible{
48
+ visibility: visible;
49
+ opacity:1;
50
+ }
51
+ &.inline{
52
+ position:relative;
53
+ top:0;
54
+ left:0;
55
+ font-size:.9em;
56
+ }
57
+ @include phone-content(){
58
+ left:5px;
59
+ }
60
+ }
61
+
62
+ /* public ------------------------------------------------------------------------------------------------------------*/
63
+
64
+ @mixin ui-notification($class:null, $component: inverse,
65
+ $padding:1em 2em 1em 2em,
66
+ $font-size:1em,
67
+ $border-radius:10px,
68
+ $z-index: $global-z-index + 999999,
69
+ $width:null,
70
+ $top:25%,
71
+ $left:45%,
72
+ $bottom:null,
73
+ $right:null
74
+
75
+ ) {
76
+
77
+ .ui-notification,ui-notification {
78
+ @if $class != null{
79
+ &.#{$class} {
80
+ @include _ui-notification($component,$padding,$font-size,$border-radius,$z-index,$width,$top,$left,$bottom,$right);
81
+ @content;
82
+ }
83
+ } @else {
84
+ @include _ui-notification($component,$padding,$font-size,$border-radius,$z-index,$width,$top,$left,$bottom,$right);
85
+ @content;
86
+ }
87
+ @media #{$breakpoint-phone}{
88
+ width:94%;
89
+ left:3%;
90
+ text-align:center;
91
+ }
92
+ }
93
+
94
+ }
95
+
96
+ @mixin ui-notification-label(
97
+ $min-width:null,
98
+ $border-radius:null,
99
+ $margin:null,
100
+ $padding:null
101
+ ){
102
+ .ui-notification-label{
103
+
104
+ @if $margin != null {
105
+ margin:$margin;
106
+ }@else{
107
+ margin:1rem 0 1rem 0;
108
+ }
109
+ @if $padding != null {
110
+ padding:$padding;
111
+ }@else{
112
+ $padding:1em 0 1em 2em;
113
+ }
114
+
115
+ &>div{
116
+ @if $min-width != null {
117
+ min-width:$min-width;
118
+ }@else{
119
+ min-width:20em;
120
+ }
121
+ display:inline-block;
122
+ &>.ui-semantic-label{
123
+ @if $border-radius != null{
124
+ border-radius:$border-radius;
125
+ }@else{
126
+ @if $global-radius != 0{
127
+ border-radius:10px;
128
+ }
129
+ }
130
+ }
131
+ }
132
+
133
+ }
134
+ @media #{$breakpoint-phone}{
135
+ .ui-notification-label{
136
+ &>div{
137
+ width:100%;
138
+ &>.ui-label{
139
+ border-radius:0;
140
+ }
141
+ }
142
+ }
143
+ }
144
+ .ui-notification-label{
145
+ @content;
146
+ }
147
+ }
148
+
149
+ @mixin ui-semantic-notification(){
150
+ @include ui-notification($class:info, $component:info);
151
+ @include ui-notification($class:success, $component:success);
152
+ @include ui-notification($class:error, $component:error);
153
+ @include ui-notification($class:warning, $component:warning);
154
+ }
@@ -0,0 +1,137 @@
1
+ /* ui-pagination */
2
+
3
+ /* Private -----------------------------------------------------------------------------------------------------------*/
4
+
5
+ @mixin _ui-pagination($component: null, $active-component: null,
6
+ $border-radius: null,
7
+ $margin: null,
8
+ $page-margin: null,
9
+ $page-padding: null,
10
+ $page-font-size:null,
11
+ $box-shadow:null
12
+ ) {
13
+
14
+ list-style: none;
15
+ margin: $margin;
16
+ @include flexbox($alignment:center);
17
+ width:100%;
18
+ .page-info{
19
+ font-size:$page-font-size;
20
+ .page-no,.page-count{
21
+ font-weight:bold;
22
+ }
23
+ }
24
+ ul {
25
+ list-style: none;
26
+ & > li {
27
+
28
+ &.hide{
29
+ display:none;
30
+ }
31
+ &.next {
32
+ margin-left: .5rem
33
+ }
34
+ &.prev {
35
+ margin-right: .5rem;
36
+ }
37
+ & > a {
38
+ line-height:1 !important;
39
+ padding: $page-padding;
40
+ margin: $page-margin;
41
+ border-radius: $border-radius;
42
+ @extend %#{$component}-background !optional;
43
+ @extend %#{$component}-font !optional;
44
+ @extend %#{$component}-border !optional;
45
+ @extend %#{$component}-box-shadow !optional;
46
+ position: relative;
47
+ cursor: pointer;
48
+ @if($box-shadow == false){
49
+ box-shadow:none;
50
+ }
51
+
52
+ &:hover, &:focus {
53
+ @extend %#{$component}-background-hover !optional;
54
+ @extend %#{$component}-font-hover !optional;
55
+ @extend %#{$component}-border-hover !optional;
56
+ @extend %#{$component}-box-shadow-hover !optional;
57
+ }
58
+ &:active {
59
+ @extend %#{$component}-background-active !optional;
60
+ @extend %#{$component}-font-active !optional;
61
+ @extend %#{$component}-border-active !optional;
62
+ @extend %#{$component}-box-shadow-active !optional;
63
+ }
64
+ &.active {
65
+ @extend %#{$active-component}-background !optional;
66
+ @extend %#{$active-component}-font !optional;
67
+ @extend %#{$active-component}-border !optional;
68
+ @extend %#{$active-component}-box-shadow !optional;
69
+ cursor: normal !important;
70
+ &:hover {
71
+ @extend %#{$active-component}-background !optional;
72
+ @extend %#{$active-component}-font !optional;
73
+ @extend %#{$active-component}-border !optional;
74
+ @extend %#{$active-component}-box-shadow !optional;
75
+ cursor: normal !important;
76
+ }
77
+ }
78
+ &.small{
79
+
80
+ }
81
+ &.disabled {
82
+ @extend %#{$component}-disabled !optional;
83
+ }
84
+ }
85
+ }
86
+ &.right {
87
+ @include flexbox($justification:flex-end);
88
+ margin-left:auto;
89
+ }
90
+ }
91
+
92
+ @media #{$breakpoint-phone}{
93
+ .page-info{
94
+ display:none;
95
+ }
96
+ ul {
97
+ & > li {
98
+ &[data-touch]{
99
+ display:none;
100
+ }
101
+ a {
102
+
103
+ box-shadow: none;
104
+ }
105
+
106
+ }
107
+ }
108
+
109
+ }
110
+
111
+ }
112
+
113
+ /* Public ------------------------------------------------------------------------------------------------------------*/
114
+
115
+ @mixin ui-pagination($class: null, $component: default, $active-component: inverse,
116
+ $border-radius:$global-radius,
117
+ $margin:1em 0 2em 0,
118
+ $page-margin:0 0 0 .5em,
119
+ $page-padding:.5em .7em .5em .7em,
120
+ $page-font-size:1em,
121
+ $box-shadow:true
122
+ ) {
123
+
124
+ .ui-pagination,ui-pagination {
125
+ @if $class != null{
126
+ &.#{$class} {
127
+ @include _ui-pagination($component, $active-component, $border-radius, $margin, $page-margin, $page-padding,$page-font-size,$box-shadow);
128
+ @content;
129
+ }
130
+ } @else {
131
+ @include _ui-pagination($component, $active-component, $border-radius, $margin, $page-margin, $page-padding,$page-font-size,$box-shadow);
132
+ @content;
133
+ }
134
+
135
+ }
136
+
137
+ }
@@ -0,0 +1,233 @@
1
+ /* ui-parallax */
2
+
3
+ /* Public -----------------------------------------------------------------------------------------------------------*/
4
+
5
+ @mixin ui-parallax($component: css-parallax-button,
6
+ $media-height: 800px,
7
+ $content-height: 600px,
8
+ $content-background: $white,
9
+ $footer-background: #e0e2e3,
10
+ $footer-padding: 50px 0 50px 0,
11
+ $footer-min-height: 400px,
12
+ $scroll-button-size: 70px,
13
+ $scroll-button-icon-size: 26px,
14
+ $scroll-button-icon-top: 2px,
15
+ $scroll-button-icon-left: 15px,
16
+ $phone-media-height: 400px,
17
+ $phone-content-padding: 80px 0 80px 0) {
18
+
19
+ $_scroll-button-margin: $scroll-button-size/2;
20
+
21
+ .ui-parallax, ui-parallax {
22
+ list-style: none;
23
+ width: 100%;
24
+ display: block;
25
+ position: relative;
26
+
27
+ & > li, & > parallax-item {
28
+ margin: 0;
29
+ padding: 0;
30
+ border: 0;
31
+ width: 100%;
32
+ visibility: hidden;
33
+ overflow: hidden;
34
+ & > img {
35
+ width: 100%;
36
+ height: auto;
37
+ }
38
+ & > div {
39
+ background-repeat: no-repeat;
40
+ -webkit-background-size: cover;
41
+ -moz-background-size: cover;
42
+ -o-background-size: cover;
43
+ background-size: cover;
44
+
45
+ @include touch-content() {
46
+ background-position: center center;
47
+ }
48
+ }
49
+ & > section {
50
+ position: absolute;
51
+ top: 0;
52
+ left: 0;
53
+ bottom: 0;
54
+ right: 0;
55
+ width: 100%;
56
+ height: 100%;
57
+ background: transparent;
58
+ @include display-flex();
59
+ @include align-items(center);
60
+ @include justify-content(center);
61
+ @include flex-direction(column);
62
+ color: $white;
63
+ h1, h2, h3, h4, h5, h6 {
64
+ color: $white;
65
+ }
66
+
67
+ }
68
+ &:first-child {
69
+ position: relative;
70
+ width: 100%;
71
+ overflow: hidden;
72
+ z-index: 99;
73
+ & > video {
74
+ height: auto;
75
+ min-width: 100%;
76
+ top: 0;
77
+ left: 0;
78
+ right: 0;
79
+ bottom: 0;
80
+ position: absolute;
81
+ }
82
+
83
+ }
84
+ &.content, &[content] {
85
+ background: $content-background;
86
+ z-index: 98;
87
+ overflow: hidden;
88
+ position: relative;
89
+ @include phone-content() {
90
+ overflow: visible;
91
+ padding: $phone-content-padding;
92
+ }
93
+ div {
94
+ height: $content-height;
95
+ @include display-flex();
96
+ @include align-items(center);
97
+
98
+ @include phone-content() {
99
+ display: block;
100
+ height: auto;
101
+ }
102
+ }
103
+
104
+ }
105
+
106
+ .scroll-button,parallax-scroll-button {
107
+ @extend %#{$component}-background !optional;
108
+ position: absolute;
109
+ bottom: -#{$_scroll-button-margin};
110
+ height: $scroll-button-size;
111
+ width: $scroll-button-size;
112
+ border-radius: 50%;
113
+ display: block;
114
+ left: 50%;
115
+ margin-left: -#{$_scroll-button-margin};
116
+ cursor: pointer;
117
+ &:after {
118
+ position: absolute;
119
+ font-family: $global-icon-font-family;
120
+ content: '#{$global-icon-dropdown}';
121
+ font-size: $scroll-button-icon-size;
122
+ @extend %#{$component}-icon !optional;
123
+ top: $scroll-button-icon-top;
124
+ left: $scroll-button-icon-left;
125
+ }
126
+
127
+ @include touch-content() {
128
+ display: none;
129
+ }
130
+ }
131
+ .scroll-button-container,parallax-scroll-button-container {
132
+ margin: 2rem 0 0 0;
133
+ position: relative;
134
+ cursor: pointer;
135
+ @include touch-content() {
136
+ display: none;
137
+ }
138
+ & > span.button {
139
+ position: relative;
140
+ background: #fff;
141
+ opacity: .4;
142
+ height: $scroll-button-size;
143
+ width: $scroll-button-size;
144
+ border-radius: 50%;
145
+ display: block;
146
+ cursor: pointer;
147
+ }
148
+ & > span.arrow {
149
+ height: $scroll-button-size;
150
+ width: $scroll-button-size;
151
+ display: block;
152
+ cursor: pointer;
153
+ &:after {
154
+ position: absolute;
155
+ font-family: $global-icon-font-family;
156
+ content: '#{$global-icon-dropdown}';
157
+ font-size: $scroll-button-icon-size;
158
+ @extend %#{$component}-icon !optional;
159
+ top: $scroll-button-icon-top + 16;
160
+ left: $scroll-button-icon-left;
161
+ z-index: 99;
162
+ }
163
+ }
164
+
165
+ }
166
+
167
+ &.footer {
168
+ padding: $footer-padding;
169
+ min-height: $footer-min-height;
170
+ background: $footer-background;
171
+
172
+ }
173
+ &.media, &[media] {
174
+ height: $media-height;
175
+
176
+ @include phone-content() {
177
+ height: $phone-media-height;
178
+ }
179
+ }
180
+ }
181
+ &.visible {
182
+ & > li, & > parallax-item {
183
+ visibility: visible;
184
+ }
185
+ }
186
+ &.scroll {
187
+ & > li, & > parallax-item {
188
+ position: fixed;
189
+ top: 0;
190
+ left: 0;
191
+ overflow: hidden;
192
+ &:first-child {
193
+
194
+ }
195
+
196
+ }
197
+ }
198
+ @content;
199
+ }
200
+
201
+ }
202
+
203
+ @mixin ui-parallax-scroll-button() {
204
+ .scroll-button, parallax-scroll-button {
205
+ @content;
206
+ }
207
+
208
+ }
209
+
210
+ @mixin ui-parallax-scroll-button-container() {
211
+ .scroll-button-container,parallax-scroll-button-container {
212
+ @content;
213
+ }
214
+
215
+ }
216
+
217
+ @mixin ui-parallax-media-section() {
218
+ & > li,&>parallax-item {
219
+ &.media, &[media] {
220
+ & > section {
221
+ @content;
222
+ }
223
+ }
224
+ }
225
+ }
226
+
227
+ @mixin ui-parallax-content() {
228
+ & > li, &>parallax-item {
229
+ &.content, &[content] {
230
+ @content;
231
+ }
232
+ }
233
+ }