mice 0.2.10 → 0.2.11

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 (69) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +44 -36
  3. data/lib/mice/version.rb +1 -1
  4. metadata +2 -67
  5. data/vendor/assets/fonts/FontAwesome.otf +0 -0
  6. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  7. data/vendor/assets/fonts/fontawesome-webfont.svg +0 -414
  8. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  9. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  10. data/vendor/assets/images/ZeroClipboard.swf +0 -0
  11. data/vendor/assets/javascripts/mice/ZeroClipboard.js +0 -1031
  12. data/vendor/assets/javascripts/mice/ZeroClipboard.min.js +0 -9
  13. data/vendor/assets/javascripts/mice/alert.js +0 -92
  14. data/vendor/assets/javascripts/mice/carousel.js +0 -66
  15. data/vendor/assets/javascripts/mice/jquery.autocomplete.min.js +0 -29
  16. data/vendor/assets/javascripts/mice/jquery.autofix_anything.js +0 -83
  17. data/vendor/assets/javascripts/mice/jquery.email-autocomplete.js +0 -178
  18. data/vendor/assets/javascripts/mice/jquery.js +0 -9597
  19. data/vendor/assets/javascripts/mice/jquery.min.js +0 -5
  20. data/vendor/assets/javascripts/mice/jquery.min.map +0 -1
  21. data/vendor/assets/javascripts/mice/jquery.onepage-scroll.js +0 -411
  22. data/vendor/assets/javascripts/mice/message.coffee +0 -104
  23. data/vendor/assets/javascripts/mice/modal.coffee +0 -237
  24. data/vendor/assets/javascripts/mice/slider.coffee +0 -20
  25. data/vendor/assets/javascripts/mice/slider.js +0 -223
  26. data/vendor/assets/javascripts/mice/tooltip.coffee +0 -338
  27. data/vendor/assets/javascripts/mice/transition.coffee +0 -36
  28. data/vendor/assets/javascripts/mice.js +0 -6
  29. data/vendor/assets/stylesheets/mice/_alerts.scss +0 -70
  30. data/vendor/assets/stylesheets/mice/_autofix_anything.scss +0 -14
  31. data/vendor/assets/stylesheets/mice/_breadcrumbs.scss +0 -26
  32. data/vendor/assets/stylesheets/mice/_buttons.scss +0 -407
  33. data/vendor/assets/stylesheets/mice/_callouts.scss +0 -71
  34. data/vendor/assets/stylesheets/mice/_close.scss +0 -35
  35. data/vendor/assets/stylesheets/mice/_code.scss +0 -63
  36. data/vendor/assets/stylesheets/mice/_component-animations.scss +0 -11
  37. data/vendor/assets/stylesheets/mice/_forms.scss +0 -402
  38. data/vendor/assets/stylesheets/mice/_grid.scss +0 -95
  39. data/vendor/assets/stylesheets/mice/_icons.scss +0 -564
  40. data/vendor/assets/stylesheets/mice/_images.scss +0 -250
  41. data/vendor/assets/stylesheets/mice/_labels.scss +0 -82
  42. data/vendor/assets/stylesheets/mice/_lists.scss +0 -186
  43. data/vendor/assets/stylesheets/mice/_media.scss +0 -53
  44. data/vendor/assets/stylesheets/mice/_menu.scss +0 -42
  45. data/vendor/assets/stylesheets/mice/_message.scss +0 -78
  46. data/vendor/assets/stylesheets/mice/_mixins.scss +0 -176
  47. data/vendor/assets/stylesheets/mice/_modals.scss +0 -160
  48. data/vendor/assets/stylesheets/mice/_navbar.scss +0 -86
  49. data/vendor/assets/stylesheets/mice/_normalize.scss +0 -425
  50. data/vendor/assets/stylesheets/mice/_pagination.scss +0 -171
  51. data/vendor/assets/stylesheets/mice/_panels.scss +0 -236
  52. data/vendor/assets/stylesheets/mice/_progress.scss +0 -65
  53. data/vendor/assets/stylesheets/mice/_scaffolding.scss +0 -101
  54. data/vendor/assets/stylesheets/mice/_sidebar.scss +0 -37
  55. data/vendor/assets/stylesheets/mice/_slider.scss +0 -310
  56. data/vendor/assets/stylesheets/mice/_tables.scss +0 -144
  57. data/vendor/assets/stylesheets/mice/_tabs.scss +0 -70
  58. data/vendor/assets/stylesheets/mice/_timeline.scss +0 -157
  59. data/vendor/assets/stylesheets/mice/_tipsy.scss +0 -36
  60. data/vendor/assets/stylesheets/mice/_tooltips.scss +0 -124
  61. data/vendor/assets/stylesheets/mice/_typography.scss +0 -113
  62. data/vendor/assets/stylesheets/mice/_utilities.scss +0 -48
  63. data/vendor/assets/stylesheets/mice/_variables.scss +0 -577
  64. data/vendor/assets/stylesheets/mice-mobile.scss +0 -23
  65. data/vendor/assets/stylesheets/mice.scss +0 -46
  66. data/vendor/assets/stylesheets/mobile/bars.scss +0 -76
  67. data/vendor/assets/stylesheets/mobile/base.scss +0 -52
  68. data/vendor/assets/stylesheets/mobile/cards.scss +0 -29
  69. data/vendor/assets/stylesheets/mobile/variables.scss +0 -37
@@ -1,407 +0,0 @@
1
- // Button
2
- // --------------------------------------------------
3
-
4
- // Button variants
5
- //
6
- // Easily pump out default styles, as well as :hover, :focus, :active,
7
- // and disabled options for all buttons
8
-
9
- @mixin button-variant($color, $background, $border) {
10
- color: $color;
11
- background-color: $background;
12
- border-color: $border;
13
-
14
- &:hover,
15
- &:focus{
16
- color: $color;
17
- background-color: darken($background, 10%);
18
- border-color: darken($border, 10%);
19
- }
20
-
21
- &:active,
22
- &.active{
23
- color: $color;
24
- background-color: darken($background, 15%);
25
- border-color: darken($border, 15%);
26
- }
27
-
28
- &.disabled,
29
- &[disabled] {
30
- &,
31
- &:hover,
32
- &:active,
33
- &.active {
34
- background-color: $background;
35
- border-color: $border;
36
- }
37
- }
38
- }
39
-
40
-
41
- // Form control sizing
42
- //
43
- // Relative text size, padding, and border-radii changes for form controls. For
44
- // horizontal sizing, wrap controls in the predefined grid classes. `<select>`
45
- // element gets special love because it's special, and that's a fact!
46
- // [converter] $parent hack
47
- @mixin input-size($parent, $input-height, $padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
48
- // #{$parent} {
49
- // height: $input-height;
50
- // padding: $padding-vertical $padding-horizontal;
51
- // font-size: $font-size;
52
- // line-height: $line-height;
53
- // border-radius: $border-radius;
54
- // }
55
-
56
- // select#{$parent} {
57
- // height: $input-height;
58
- // line-height: $input-height;
59
- // }
60
-
61
- // textarea#{$parent},
62
- // select[multiple]#{$parent} {
63
- // height: auto;
64
- // }
65
- }
66
-
67
-
68
- // Button sizes
69
- // -------------------------
70
- @mixin button-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
71
- padding: $padding-vertical $padding-horizontal;
72
- font-size: $font-size;
73
- line-height: $line-height;
74
- border-radius: $border-radius;
75
- }
76
-
77
- // Single side border-radius
78
- // -------------------------
79
- @mixin border-top-radius($radius) {
80
- border-top-right-radius: $radius;
81
- border-top-left-radius: $radius;
82
- }
83
- @mixin border-right-radius($radius) {
84
- border-bottom-right-radius: $radius;
85
- border-top-right-radius: $radius;
86
- }
87
- @mixin border-bottom-radius($radius) {
88
- border-bottom-right-radius: $radius;
89
- border-bottom-left-radius: $radius;
90
- }
91
- @mixin border-left-radius($radius) {
92
- border-bottom-left-radius: $radius;
93
- border-top-left-radius: $radius;
94
- }
95
-
96
-
97
- // Base styles
98
- // -------------------------
99
-
100
- input[type="button"],
101
- input[type="submit"],
102
- button,
103
- .button{
104
- display: inline-block;
105
- margin-bottom: 0;
106
- font-weight: $button-font-weight;
107
- text-align: center;
108
- vertical-align: middle;
109
- cursor: pointer;
110
-
111
- background-image: none;
112
- border: 1px solid transparent;
113
- white-space: nowrap;
114
- outline: none;
115
-
116
- position: relative;
117
-
118
- @include box-shadow(0 1px 0 rgba(0, 0, 0, 0.05));
119
-
120
- @include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $border-radius);
121
- @include user-select(none);
122
-
123
- &:hover,
124
- &:focus {
125
- color: $button-default-color;
126
- text-decoration: none;
127
- // @include box-shadow(0 1px 0 rgba(0, 0, 0, 0.1));
128
- }
129
-
130
- // &:active,
131
- // &.active {
132
- // // @include box-shadow(inset 0 3px 5px rgba(0, 0, 0, .125));
133
- // }
134
-
135
- &.disabled,
136
- &[disabled] {
137
- cursor: not-allowed;
138
- pointer-events: none; // Future-proof disabling of clicks
139
- @include opacity(.65);
140
- }
141
-
142
- @include button-variant($button-default-color, $button-default-background, $button-default-border);
143
- &.primary{ @include button-variant($button-primary-color, $button-primary-background, $button-primary-border); }
144
- &.success{ @include button-variant($button-success-color, $button-success-background, $button-success-border); }
145
- &.info { @include button-variant($button-info-color, $button-info-background, $button-info-border); }
146
- &.warning{ @include button-variant($button-warning-color, $button-warning-background, $button-warning-border); }
147
- &.danger { @include button-variant($button-danger-color, $button-danger-background, $button-danger-border); }
148
- }
149
-
150
-
151
- // Button Sizing
152
- // -------------------------
153
- input[type="button"],
154
- input[type="submit"],
155
- button,
156
- .button{
157
- &.mini {@include button-size($padding-mini-vertical, $padding-mini-horizontal, $font-size-mini, $line-height-mini, $border-radius);}
158
- &.small {@include button-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius);}
159
- &.large {@include button-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius);}
160
- }
161
-
162
- // Block Button
163
- // -------------------------
164
- input[type="button"],
165
- input[type="submit"],
166
- button,
167
- .button{
168
- &.block{
169
- display: block;
170
- width: 100%;
171
- padding-left: 0;
172
- padding-right: 0;
173
- }
174
- }
175
-
176
-
177
- // Group Buttons
178
- // --------------------------------------------------
179
-
180
- .buttons{
181
- @include clearfix();
182
- display: inline-block;
183
- vertical-align: middle;
184
- position: relative;
185
-
186
- input[type="button"],
187
- input[type="submit"],
188
- button,
189
- .button{
190
- float: left;
191
-
192
- &:first-child{
193
- &:not(:last-child) {
194
- @include border-right-radius(0);
195
- }
196
- }
197
-
198
- &:last-child{
199
- &:not(:first-child) {
200
- margin-left: -1px;
201
- @include border-left-radius(0);
202
- }
203
- }
204
-
205
- &:not(:first-child):not(:last-child) {
206
- margin-left: -1px;
207
- border-radius: 0;
208
- }
209
-
210
- &:hover{
211
- z-index: 2;
212
- }
213
-
214
- }
215
- }
216
-
217
- // Vertical Group Buttons
218
- // ------------------------
219
- .buttons.vertical{
220
- @include clearfix();
221
- display: inline-block;
222
-
223
- input[type="button"],
224
- input[type="submit"],
225
- button,
226
- .button{
227
- display: block;
228
- float: none;
229
- width: 100%;
230
-
231
-
232
- &:first-child{
233
- &:not(:last-child) {
234
- @include border-top-radius($border-radius);
235
- @include border-bottom-radius(0);
236
- }
237
- }
238
-
239
- &:last-child{
240
- &:not(:first-child) {
241
- @include border-top-radius(0);
242
- @include border-bottom-radius($border-radius);
243
- @include box-shadow(0 -1px 0 rgba(0, 0, 0, 0.15) inset);
244
- margin-left: 0;
245
- margin-top: -1px;
246
- }
247
- }
248
-
249
- &:not(:first-child):not(:last-child) {
250
- margin-left: 0;
251
- margin-top: -1px;
252
- }
253
-
254
- }
255
- }
256
-
257
- // Justified Group Buttons
258
- // ------------------------
259
- .buttons.justified{
260
- display: table;
261
- width: 100%;
262
- table-layout: fixed;
263
- border-collapse: separate;
264
- position: relative;
265
-
266
- &:before, &:after{ display: none; }
267
-
268
- > .buttons,
269
- .button{
270
- float: none;
271
- display: table-cell;
272
- width: 1%;
273
- position: relative;
274
- }
275
-
276
- .button:first-child{
277
- &:not(:last-child) {
278
- border-right-width: 0;
279
- &:after{
280
- display: block;
281
- content: ' ';
282
- position: absolute;
283
- top: 0;
284
- right: -1px;
285
- width: 1px;
286
- height: 100%;
287
- z-index: 1;
288
- border-right: 1px solid rgba(0, 0, 0, 0.15);
289
- }
290
- &:hover{
291
- border-right-width: 1px;
292
- &:after{ display: none;}
293
- }
294
- }
295
- }
296
-
297
- .button:not(:first-child):not(:last-child) {
298
- border-left-width: 0;
299
- border-right-width: 0;
300
- &:after{
301
- display: block;
302
- content: ' ';
303
- position: absolute;
304
- top: 0;
305
- right: -1px;
306
- width: 1px;
307
- height: 100%;
308
- z-index: 1;
309
- border-right: 1px solid rgba(0, 0, 0, 0.15);
310
- }
311
- &:hover{
312
- border-left-width: 1px;
313
- border-right-width: 1px;
314
- &:after{ display: none;}
315
- }
316
- }
317
-
318
- .button:last-child{
319
- &:not(:first-child) {
320
- border-left-width: 0;
321
- &:hover{
322
- border-left-width: 1px;
323
- }
324
- }
325
- }
326
-
327
-
328
- > .buttons {
329
- input[type="button"],
330
- input[type="submit"],
331
- button{
332
- width: 100%;
333
- // border-right: 1px solid rgba(0, 0, 0, 0.15);
334
- border-left-width: 0;
335
- border-right-width: 0;
336
- }
337
-
338
- &:first-child:not(:last-child){
339
- input[type="button"],
340
- input[type="submit"],
341
- button{
342
- @include border-right-radius(0);
343
- border-left-width: 1px;
344
-
345
- &:after{
346
- display: block;
347
- content: ' ';
348
- position: absolute;
349
- top: 0;
350
- right: -1px;
351
- width: 1px;
352
- height: 100%;
353
- z-index: 1;
354
- border-right: 1px solid rgba(0, 0, 0, 0.15);
355
- }
356
-
357
- &:hover{
358
- border-right-width: 1px;
359
- &:after{ display: none;}
360
- }
361
-
362
- }
363
- }
364
-
365
- &:not(:first-child):not(:last-child){
366
- > input[type="button"],
367
- > input[type="submit"],
368
- > button{
369
- @include border-left-radius(0);
370
- @include border-right-radius(0);
371
-
372
- &:after{
373
- display: block;
374
- content: ' ';
375
- position: absolute;
376
- top: 0;
377
- right: -1px;
378
- width: 1px;
379
- height: 100%;
380
- z-index: 1;
381
- border-right: 1px solid rgba(0, 0, 0, 0.15);
382
- }
383
-
384
- &:hover{
385
- border-left-width: 1px;
386
- border-right-width: 1px;
387
- &:after{ display: none;}
388
- }
389
-
390
- }
391
- }
392
-
393
- &:last-child:not(:first-child){
394
- input[type="button"],
395
- input[type="submit"],
396
- button{
397
- @include border-left-radius(0);
398
- border-right-width: 1px;
399
-
400
- &:hover{
401
- border-left-width: 1px;
402
- }
403
- }
404
- }
405
- }
406
-
407
- }
@@ -1,71 +0,0 @@
1
- //
2
- // Blockquote & Callout
3
- // --------------------------------------------------
4
-
5
- blockquote, .callout {
6
- padding: ($line-height-computed / 2) $line-height-computed;
7
- margin: 0 0 $line-height-computed;
8
- font-size: $blockquote-font-size;
9
- border-left: 5px solid $blockquote-border-color;
10
-
11
- p, ul, ol {
12
- &:last-child { margin-bottom: 0; }
13
- }
14
-
15
- footer, small, .small {
16
- display: block;
17
- font-size: 80%; // back to default font-size
18
- line-height: $line-height-base;
19
- color: $blockquote-small-color;
20
-
21
- &:before { content: '\2014 \00A0';} // em dash, nbsp
22
- }
23
-
24
- footer{ margin-top: 0;}
25
- }
26
-
27
- // Opposite alignment
28
- blockquote, .callout{
29
- &.reverse,
30
- &.righted {
31
- padding-right: 15px;
32
- padding-left: 0;
33
- border-right: 5px solid $blockquote-border-color;
34
- border-left: 0;
35
- text-align: right;
36
-
37
- // Account for citation
38
- footer, small, .small {
39
- &:before { content: ''; }
40
- &:after { content: '\00A0 \2014'; } // nbsp, em dash
41
- }
42
- }
43
- }
44
-
45
- // Quotes
46
- blockquote:before, .callout:before,
47
- blockquote:after, .callout:after {
48
- content: "";
49
- }
50
-
51
- blockquote, .callout{
52
- &.primary { border-color: $border-color-primary; background-color: $state-primary-background; color: #FFF; }
53
- &.success { border-color: $border-color-success; background-color: $state-success-background; }
54
- &.info { border-color: $border-color-info; background-color: $state-info-background; }
55
- &.warning { border-color: $border-color-warning; background-color: $state-warning-background; }
56
- &.danger { border-color: $border-color-danger; background-color: $state-danger-background; }
57
- }
58
-
59
- .callout{
60
- border-width: 3px;
61
- padding: ($line-height-computed / 2) $line-height-computed / 2;
62
- font-size: $callout-font-size;
63
-
64
- h1, h2, h3, h4, h5, h6{
65
- &:first-child{ margin-top: 0; }
66
- }
67
- &.success { h1, h2, h3, h4, h5, h6{color: $border-color-success; }}
68
- &.info { h1, h2, h3, h4, h5, h6{color: $border-color-info; }}
69
- &.warning { h1, h2, h3, h4, h5, h6{color: $border-color-warning; }}
70
- &.danger { h1, h2, h3, h4, h5, h6{color: $border-color-danger; }}
71
- }
@@ -1,35 +0,0 @@
1
- //
2
- // Close icons
3
- // --------------------------------------------------
4
-
5
-
6
- .close {
7
- float: right;
8
- font-size: ($font-size-base * 1.5);
9
- font-weight: $close-font-weight;
10
- line-height: 1;
11
- color: $close-color;
12
- text-shadow: $close-text-shadow;
13
- @include opacity(.2);
14
-
15
- &:hover,
16
- &:focus {
17
- color: $close-color;
18
- text-decoration: none;
19
- cursor: pointer;
20
- @include opacity(.5);
21
- }
22
-
23
- // [converter] extracted button& to button.close
24
- }
25
-
26
- // Additional properties for button version
27
- // iOS requires the button element instead of an anchor tag.
28
- // If you want the anchor version, it requires `href="#"`.
29
- button.close {
30
- padding: 0;
31
- cursor: pointer;
32
- background: transparent;
33
- border: 0;
34
- -webkit-appearance: none;
35
- }
@@ -1,63 +0,0 @@
1
- //
2
- // Code (inline and block)
3
- // --------------------------------------------------
4
-
5
-
6
- // Inline and block code styles
7
- code,
8
- kbd,
9
- pre,
10
- samp {
11
- font-family: $font-family-monospace;
12
- }
13
-
14
- // Inline code
15
- code {
16
- padding: 2px 4px;
17
- font-size: 90%;
18
- color: $code-color;
19
- background-color: $code-background;
20
- border-radius: $border-radius;
21
- }
22
-
23
- // User input typically entered via keyboard
24
- kbd {
25
- padding: 2px 4px;
26
- font-size: 90%;
27
- color: $kbd-color;
28
- background-color: $kbd-background;
29
- border-radius: $border-radius-small;
30
- box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
31
- }
32
-
33
- // Blocks of code
34
- pre {
35
- display: block;
36
- padding: (($line-height-computed - 1) / 2);
37
- margin: 0 0 ($line-height-computed / 2);
38
- font-size: ($font-size-base - 1); // 14px to 13px
39
- line-height: $line-height-base;
40
- word-break: break-all;
41
- word-wrap: break-word;
42
- color: $pre-color;
43
- background-color: $pre-background;
44
- border: 1px solid $pre-border-color;
45
- border-radius: $border-radius;
46
-
47
- // Account for some code outputs that place code tags in pre tags
48
- code {
49
- padding: 0;
50
- font-size: inherit;
51
- color: inherit;
52
- white-space: pre-wrap;
53
- background-color: transparent;
54
- border-radius: 0;
55
- }
56
-
57
- // Enable scrollable blocks of code
58
- &.scrollable {
59
- max-height: $pre-scrollable-max-height;
60
- overflow-y: scroll;
61
- }
62
- }
63
-
@@ -1,11 +0,0 @@
1
- //
2
- // Component animations
3
- // --------------------------------------------------
4
-
5
- .fade {
6
- opacity: 0;
7
- @include transition(opacity .15s linear);
8
- &.in {
9
- opacity: 1;
10
- }
11
- }