mice 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +44 -36
- data/lib/mice/version.rb +1 -1
- metadata +2 -67
- data/vendor/assets/fonts/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +0 -414
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/images/ZeroClipboard.swf +0 -0
- data/vendor/assets/javascripts/mice/ZeroClipboard.js +0 -1031
- data/vendor/assets/javascripts/mice/ZeroClipboard.min.js +0 -9
- data/vendor/assets/javascripts/mice/alert.js +0 -92
- data/vendor/assets/javascripts/mice/carousel.js +0 -66
- data/vendor/assets/javascripts/mice/jquery.autocomplete.min.js +0 -29
- data/vendor/assets/javascripts/mice/jquery.autofix_anything.js +0 -83
- data/vendor/assets/javascripts/mice/jquery.email-autocomplete.js +0 -178
- data/vendor/assets/javascripts/mice/jquery.js +0 -9597
- data/vendor/assets/javascripts/mice/jquery.min.js +0 -5
- data/vendor/assets/javascripts/mice/jquery.min.map +0 -1
- data/vendor/assets/javascripts/mice/jquery.onepage-scroll.js +0 -411
- data/vendor/assets/javascripts/mice/message.coffee +0 -104
- data/vendor/assets/javascripts/mice/modal.coffee +0 -237
- data/vendor/assets/javascripts/mice/slider.coffee +0 -20
- data/vendor/assets/javascripts/mice/slider.js +0 -223
- data/vendor/assets/javascripts/mice/tooltip.coffee +0 -338
- data/vendor/assets/javascripts/mice/transition.coffee +0 -36
- data/vendor/assets/javascripts/mice.js +0 -6
- data/vendor/assets/stylesheets/mice/_alerts.scss +0 -70
- data/vendor/assets/stylesheets/mice/_autofix_anything.scss +0 -14
- data/vendor/assets/stylesheets/mice/_breadcrumbs.scss +0 -26
- data/vendor/assets/stylesheets/mice/_buttons.scss +0 -407
- data/vendor/assets/stylesheets/mice/_callouts.scss +0 -71
- data/vendor/assets/stylesheets/mice/_close.scss +0 -35
- data/vendor/assets/stylesheets/mice/_code.scss +0 -63
- data/vendor/assets/stylesheets/mice/_component-animations.scss +0 -11
- data/vendor/assets/stylesheets/mice/_forms.scss +0 -402
- data/vendor/assets/stylesheets/mice/_grid.scss +0 -95
- data/vendor/assets/stylesheets/mice/_icons.scss +0 -564
- data/vendor/assets/stylesheets/mice/_images.scss +0 -250
- data/vendor/assets/stylesheets/mice/_labels.scss +0 -82
- data/vendor/assets/stylesheets/mice/_lists.scss +0 -186
- data/vendor/assets/stylesheets/mice/_media.scss +0 -53
- data/vendor/assets/stylesheets/mice/_menu.scss +0 -42
- data/vendor/assets/stylesheets/mice/_message.scss +0 -78
- data/vendor/assets/stylesheets/mice/_mixins.scss +0 -176
- data/vendor/assets/stylesheets/mice/_modals.scss +0 -160
- data/vendor/assets/stylesheets/mice/_navbar.scss +0 -86
- data/vendor/assets/stylesheets/mice/_normalize.scss +0 -425
- data/vendor/assets/stylesheets/mice/_pagination.scss +0 -171
- data/vendor/assets/stylesheets/mice/_panels.scss +0 -236
- data/vendor/assets/stylesheets/mice/_progress.scss +0 -65
- data/vendor/assets/stylesheets/mice/_scaffolding.scss +0 -101
- data/vendor/assets/stylesheets/mice/_sidebar.scss +0 -37
- data/vendor/assets/stylesheets/mice/_slider.scss +0 -310
- data/vendor/assets/stylesheets/mice/_tables.scss +0 -144
- data/vendor/assets/stylesheets/mice/_tabs.scss +0 -70
- data/vendor/assets/stylesheets/mice/_timeline.scss +0 -157
- data/vendor/assets/stylesheets/mice/_tipsy.scss +0 -36
- data/vendor/assets/stylesheets/mice/_tooltips.scss +0 -124
- data/vendor/assets/stylesheets/mice/_typography.scss +0 -113
- data/vendor/assets/stylesheets/mice/_utilities.scss +0 -48
- data/vendor/assets/stylesheets/mice/_variables.scss +0 -577
- data/vendor/assets/stylesheets/mice-mobile.scss +0 -23
- data/vendor/assets/stylesheets/mice.scss +0 -46
- data/vendor/assets/stylesheets/mobile/bars.scss +0 -76
- data/vendor/assets/stylesheets/mobile/base.scss +0 -52
- data/vendor/assets/stylesheets/mobile/cards.scss +0 -29
- data/vendor/assets/stylesheets/mobile/variables.scss +0 -37
@@ -1,402 +0,0 @@
|
|
1
|
-
// Forms
|
2
|
-
// --------------------------------------------------
|
3
|
-
|
4
|
-
// $input-types: "text", "password", "datetime", "datetime-local", "date", "month", "time", "week", "number", "email", "url", "search", "tel", "color";
|
5
|
-
|
6
|
-
// Input variants
|
7
|
-
// -------------------------
|
8
|
-
@mixin input-variant($border-color) {
|
9
|
-
color: $gray;
|
10
|
-
background-color: #FFF;
|
11
|
-
border-color: $border-color;
|
12
|
-
|
13
|
-
&:hover{ border-color: darken($border-color, 20%); }
|
14
|
-
|
15
|
-
&:focus,
|
16
|
-
&:active,
|
17
|
-
&.active{
|
18
|
-
border-color: darken($border-color, 20%);
|
19
|
-
box-shadow: 0 0 0 1px darken($border-color, 15%), inset 0 1px #F5F5F5;
|
20
|
-
}
|
21
|
-
|
22
|
-
&.disabled,
|
23
|
-
&[disabled] {
|
24
|
-
&,
|
25
|
-
&:hover,
|
26
|
-
&:active,
|
27
|
-
&.active {
|
28
|
-
border-color: $border-color-default;
|
29
|
-
cursor: not-allowed;
|
30
|
-
background-color: #eee;
|
31
|
-
@include opacity(.55);
|
32
|
-
}
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
// Field variants
|
37
|
-
// -------------------------
|
38
|
-
@mixin field-variant($border-color){
|
39
|
-
color: $border-color;
|
40
|
-
|
41
|
-
input:not([type~=checkbox]):not([type~=radio]):not([type~=file]):not([type~=button]):not([type~=submit]),
|
42
|
-
textarea,
|
43
|
-
select{
|
44
|
-
@include input-variant($border-color);
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
|
49
|
-
// Input sizing
|
50
|
-
// -------------------------
|
51
|
-
@mixin input-size($input-height, $padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
|
52
|
-
height: $input-height;
|
53
|
-
padding: $padding-vertical $padding-horizontal;
|
54
|
-
font-size: $font-size;
|
55
|
-
line-height: $line-height;
|
56
|
-
border-radius: $border-radius;
|
57
|
-
}
|
58
|
-
|
59
|
-
|
60
|
-
// Base styles
|
61
|
-
// -------------------------
|
62
|
-
|
63
|
-
fieldset {
|
64
|
-
padding: 0;
|
65
|
-
margin: 0;
|
66
|
-
border: 0;
|
67
|
-
min-width: 0;
|
68
|
-
|
69
|
-
&[disabled]{
|
70
|
-
input:not([type~=checkbox]):not([type~=radio]):not([type~=file]):not([type~=button]):not([type~=submit]),
|
71
|
-
textarea,
|
72
|
-
select,
|
73
|
-
button{
|
74
|
-
&,
|
75
|
-
&:hover,
|
76
|
-
&:active,
|
77
|
-
&.active {
|
78
|
-
cursor: not-allowed;
|
79
|
-
background-color: #eee;
|
80
|
-
border-width: 1px;
|
81
|
-
@include opacity(1);
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
input:not([type~=checkbox]):not([type~=radio]):not([type~=file]):not([type~=button]):not([type~=submit]),
|
88
|
-
textarea,
|
89
|
-
select{
|
90
|
-
display: inline-block;
|
91
|
-
height: 34px;
|
92
|
-
margin-bottom: 0;
|
93
|
-
font-weight: $button-font-weight;
|
94
|
-
text-align: left;
|
95
|
-
|
96
|
-
border: 1px solid #CCC;
|
97
|
-
white-space: nowrap;
|
98
|
-
outline: none;
|
99
|
-
|
100
|
-
position: relative;
|
101
|
-
box-shadow: inset 0 1px #F5F5F5;
|
102
|
-
background-color: transparent;
|
103
|
-
|
104
|
-
transition: border-color ease-in-out .1s, box-shadow ease-in-out .1s;
|
105
|
-
|
106
|
-
&.disabled,
|
107
|
-
&[disabled] {
|
108
|
-
cursor: not-allowed;
|
109
|
-
pointer-events: none;
|
110
|
-
@include opacity(.65);
|
111
|
-
@include user-select(none);
|
112
|
-
}
|
113
|
-
}
|
114
|
-
|
115
|
-
textarea{
|
116
|
-
display: block;
|
117
|
-
line-height: 20px;
|
118
|
-
min-height: 120px;
|
119
|
-
margin-bottom: 10px;
|
120
|
-
white-space: normal;
|
121
|
-
resize: vertical;
|
122
|
-
color: #555;
|
123
|
-
background-color: #FFF;
|
124
|
-
background-image: none;
|
125
|
-
}
|
126
|
-
|
127
|
-
label{
|
128
|
-
display: inline-block;
|
129
|
-
margin-bottom: 2px;
|
130
|
-
}
|
131
|
-
|
132
|
-
|
133
|
-
// Input Styles
|
134
|
-
// -------------------------
|
135
|
-
|
136
|
-
input:not([type~=checkbox]):not([type~=radio]):not([type~=file]):not([type~=button]):not([type~=submit]),
|
137
|
-
textarea{
|
138
|
-
@include input-variant($border-color-default);
|
139
|
-
&.primary{@include input-variant($border-color-primary);}
|
140
|
-
&.success{@include input-variant($border-color-success);}
|
141
|
-
&.info {@include input-variant($border-color-info );}
|
142
|
-
&.warning{@include input-variant($border-color-warning);}
|
143
|
-
&.danger {@include input-variant($border-color-danger );}
|
144
|
-
|
145
|
-
&.fluid{ width: 100%; }
|
146
|
-
}
|
147
|
-
|
148
|
-
|
149
|
-
// Input Sizing
|
150
|
-
// -------------------------
|
151
|
-
input:not([type~=checkbox]):not([type~=radio]):not([type~=file]):not([type~=button]):not([type~=submit]),
|
152
|
-
textarea{
|
153
|
-
@include input-size($input-height-default, $input-padding-default-vertical, $input-padding-default-horizontal, $font-size-base, $line-height-base, $border-radius);
|
154
|
-
&.small {@include input-size($input-height-small, $input-padding-small-vertical, $input-padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small);}
|
155
|
-
&.large {@include input-size($input-height-large, $input-padding-large-vertical, $input-padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large);}
|
156
|
-
}
|
157
|
-
|
158
|
-
|
159
|
-
.hint {
|
160
|
-
display: block;
|
161
|
-
margin-top: 5px;
|
162
|
-
margin-bottom: 10px;
|
163
|
-
color: lighten($text-color, 25%);
|
164
|
-
}
|
165
|
-
|
166
|
-
|
167
|
-
.field{
|
168
|
-
margin-bottom: 15px;
|
169
|
-
|
170
|
-
label{
|
171
|
-
display: inline-block;
|
172
|
-
}
|
173
|
-
|
174
|
-
&:not(.checkbox){
|
175
|
-
label{
|
176
|
-
font-weight: 700;
|
177
|
-
}
|
178
|
-
}
|
179
|
-
|
180
|
-
input:not([type~=checkbox]):not([type~=radio]):not([type~=button]),
|
181
|
-
select,
|
182
|
-
textarea{
|
183
|
-
width: 100%;
|
184
|
-
}
|
185
|
-
|
186
|
-
&.success {@include field-variant($border-color-success);}
|
187
|
-
&.warning {@include field-variant($border-color-warning);}
|
188
|
-
&.error {@include field-variant($border-color-danger );}
|
189
|
-
|
190
|
-
&.feedback{
|
191
|
-
position: relative;
|
192
|
-
|
193
|
-
input:not([type~=checkbox]):not([type~=radio]):not([type~=file]):not([type~=button]):not([type~=submit]),
|
194
|
-
select,
|
195
|
-
textarea{
|
196
|
-
padding-right: 50px;
|
197
|
-
}
|
198
|
-
|
199
|
-
.icon{
|
200
|
-
width: 34px;
|
201
|
-
height: 34px;
|
202
|
-
line-height: 34px;
|
203
|
-
text-align: center;
|
204
|
-
position: absolute;
|
205
|
-
right: 0;
|
206
|
-
top: 22px;
|
207
|
-
z-index: 1
|
208
|
-
}
|
209
|
-
}
|
210
|
-
}
|
211
|
-
|
212
|
-
|
213
|
-
// Inline form
|
214
|
-
// -------------------------
|
215
|
-
.navbar form,
|
216
|
-
form.inline{
|
217
|
-
.field{
|
218
|
-
display: inline-block;
|
219
|
-
margin-bottom: 0;
|
220
|
-
vertical-align: middle;
|
221
|
-
|
222
|
-
input:not([type~=checkbox]):not([type~=radio]):not([type~=file]):not([type~=button]):not([type~=submit]),
|
223
|
-
input[type="email"]{
|
224
|
-
width: auto;
|
225
|
-
}
|
226
|
-
}
|
227
|
-
|
228
|
-
&.unlabel{
|
229
|
-
.field:not(.checkbox){
|
230
|
-
label{ display: none;}
|
231
|
-
}
|
232
|
-
}
|
233
|
-
|
234
|
-
> button{
|
235
|
-
margin-top: -3px;
|
236
|
-
}
|
237
|
-
}
|
238
|
-
|
239
|
-
.inline{
|
240
|
-
input:not([type~=checkbox]):not([type~=radio]):not([type~=file]):not([type~=button]):not([type~=submit]),
|
241
|
-
input[type="email"]{
|
242
|
-
width: auto;
|
243
|
-
}
|
244
|
-
}
|
245
|
-
|
246
|
-
|
247
|
-
// Horizontal Form
|
248
|
-
// -------------------------
|
249
|
-
form.horizontal{
|
250
|
-
|
251
|
-
$offsets: "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven";
|
252
|
-
|
253
|
-
@for $i from 1 through length($offsets){
|
254
|
-
&.offset.#{nth($offsets, $i)}{
|
255
|
-
.field{
|
256
|
-
position: relative;
|
257
|
-
vertical-align: middle;
|
258
|
-
@include clearfix();
|
259
|
-
padding-left: percentage(1 / 12 * $i);
|
260
|
-
|
261
|
-
&:not(.checkbox){
|
262
|
-
label{
|
263
|
-
float: left;
|
264
|
-
width: percentage(1 / 12 * $i);
|
265
|
-
height: 34px;
|
266
|
-
margin-left: (0 - percentage(1 / 12 * $i));
|
267
|
-
margin-bottom: 0;
|
268
|
-
padding-right: 15px;
|
269
|
-
padding-top: 6px;
|
270
|
-
text-align: right;
|
271
|
-
}
|
272
|
-
}
|
273
|
-
|
274
|
-
.static{
|
275
|
-
padding-top: 6px;
|
276
|
-
margin-bottom: 0;
|
277
|
-
}
|
278
|
-
|
279
|
-
}
|
280
|
-
}
|
281
|
-
}
|
282
|
-
|
283
|
-
}
|
284
|
-
|
285
|
-
|
286
|
-
// With optional icons
|
287
|
-
// -------------------------
|
288
|
-
form.inline,
|
289
|
-
form.horizontal{
|
290
|
-
.field.feedback{
|
291
|
-
.icon{ top: 0 }
|
292
|
-
}
|
293
|
-
}
|
294
|
-
|
295
|
-
|
296
|
-
// Input justified
|
297
|
-
.justified{
|
298
|
-
display: table;
|
299
|
-
width: 100%;
|
300
|
-
table-layout: fixed;
|
301
|
-
border-collapse: separate;
|
302
|
-
|
303
|
-
&:before, &:after{ display: none; }
|
304
|
-
|
305
|
-
.field{
|
306
|
-
float: none;
|
307
|
-
display: table-cell;
|
308
|
-
width: 1%;
|
309
|
-
padding: 0 5px;
|
310
|
-
&:first-child{ padding-left: 0; }
|
311
|
-
&:last-child{ padding-right: 0; }
|
312
|
-
input:not([type~=checkbox]):not([type~=radio]):not([type~=file]):not([type~=button]){
|
313
|
-
width: 100%;
|
314
|
-
}
|
315
|
-
}
|
316
|
-
}
|
317
|
-
|
318
|
-
|
319
|
-
.inputs{
|
320
|
-
position: relative; // For dropdowns
|
321
|
-
display: table;
|
322
|
-
border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
|
323
|
-
|
324
|
-
.addon{
|
325
|
-
display: table-cell;
|
326
|
-
padding: $padding-base-vertical $padding-base-horizontal;
|
327
|
-
font-size: $font-size-base;
|
328
|
-
font-weight: normal;
|
329
|
-
line-height: 1;
|
330
|
-
// color: $input-color;
|
331
|
-
text-align: center;
|
332
|
-
background-color: $input-group-addon-background;
|
333
|
-
border: 1px solid $input-group-addon-border-color;
|
334
|
-
border-radius: $border-radius;
|
335
|
-
|
336
|
-
width: 1%;
|
337
|
-
white-space: nowrap;
|
338
|
-
vertical-align: middle;
|
339
|
-
|
340
|
-
&:not(:first-child):not(:last-child) {
|
341
|
-
border-radius: 0;
|
342
|
-
}
|
343
|
-
|
344
|
-
// Nuke default margins from checkboxes and radios to vertically center within.
|
345
|
-
input[type="radio"],
|
346
|
-
input[type="checkbox"] {
|
347
|
-
margin-top: 0;
|
348
|
-
}
|
349
|
-
}
|
350
|
-
|
351
|
-
> input{
|
352
|
-
display: table-cell !important;
|
353
|
-
width: 100%;
|
354
|
-
&:focus{
|
355
|
-
box-shadow: none !important;
|
356
|
-
}
|
357
|
-
}
|
358
|
-
|
359
|
-
> .buttons{
|
360
|
-
display: table-cell;
|
361
|
-
width: 1%;
|
362
|
-
white-space: nowrap;
|
363
|
-
vertical-align: middle; // Match the inputs
|
364
|
-
|
365
|
-
&:first-child{
|
366
|
-
button:first-child,
|
367
|
-
.button:first-child{
|
368
|
-
@include border-right-radius(0);
|
369
|
-
border-right: 0;
|
370
|
-
}
|
371
|
-
}
|
372
|
-
|
373
|
-
&:last-child{
|
374
|
-
button:first-child,
|
375
|
-
.button:first-child{
|
376
|
-
@include border-left-radius(0);
|
377
|
-
border-left: 0;
|
378
|
-
}
|
379
|
-
}
|
380
|
-
|
381
|
-
button, .button{
|
382
|
-
box-shadow: none;
|
383
|
-
}
|
384
|
-
}
|
385
|
-
|
386
|
-
> input, .addon, .buttons{
|
387
|
-
&:first-child {
|
388
|
-
@include border-right-radius(0);
|
389
|
-
border-bottom-right-radius: 0 !important;
|
390
|
-
border-top-right-radius: 0 !important;
|
391
|
-
border-right: 0;
|
392
|
-
}
|
393
|
-
&:last-child {
|
394
|
-
@include border-left-radius(0);
|
395
|
-
border-bottom-left-radius: 0 !important;
|
396
|
-
border-top-left-radius: 0 !important;
|
397
|
-
border-left: 0;
|
398
|
-
}
|
399
|
-
}
|
400
|
-
}
|
401
|
-
|
402
|
-
|
@@ -1,95 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Grid system
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
.container {
|
6
|
-
margin-right: auto;
|
7
|
-
margin-left: auto;
|
8
|
-
// padding-left: ($grid-gutter-width / 2);
|
9
|
-
// padding-right: ($grid-gutter-width / 2);
|
10
|
-
@include clearfix();
|
11
|
-
|
12
|
-
@media (min-width: 768px) {
|
13
|
-
width: 750px;
|
14
|
-
}
|
15
|
-
@media (min-width: 992px) {
|
16
|
-
width: 970px;
|
17
|
-
}
|
18
|
-
@media (min-width: 1200px) {
|
19
|
-
width: 1170px;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
// GRID COLUMN SETUP
|
24
|
-
// -------------------------
|
25
|
-
|
26
|
-
.grid{
|
27
|
-
@include clearfix();
|
28
|
-
> .column {
|
29
|
-
display: block;
|
30
|
-
min-height: 1px;
|
31
|
-
float: left;
|
32
|
-
padding-left: 5px;
|
33
|
-
padding-right: 5px;
|
34
|
-
|
35
|
-
&:first-child {
|
36
|
-
margin-left: 0;
|
37
|
-
}
|
38
|
-
|
39
|
-
&.righted{
|
40
|
-
float: right;
|
41
|
-
}
|
42
|
-
|
43
|
-
&.centered{
|
44
|
-
float: none;
|
45
|
-
margin-left: auto;
|
46
|
-
margin-right: auto;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
|
52
|
-
@mixin column-child($columns) {
|
53
|
-
> .column {
|
54
|
-
width: percentage(1 / $columns);
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
@mixin column-self($columns, $value) {
|
59
|
-
&.column {
|
60
|
-
width: percentage(1 / $columns * $value);
|
61
|
-
}
|
62
|
-
}
|
63
|
-
|
64
|
-
|
65
|
-
$columns: "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve";
|
66
|
-
|
67
|
-
@for $i from 1 through length($columns) {
|
68
|
-
.grid.#{nth($columns, $i)} {
|
69
|
-
@include column-child($i + 1);
|
70
|
-
@if $i - 1 > 0 {
|
71
|
-
@for $j from 1 through $i - 1 {
|
72
|
-
> .#{nth($columns, $j)}{
|
73
|
-
@include column-self($i + 1, $j + 1);
|
74
|
-
}
|
75
|
-
}
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
|
80
|
-
|
81
|
-
// Go full width at less than 480px
|
82
|
-
@media only screen and (max-width: 480px) {
|
83
|
-
@for $i from 1 through length($columns) {
|
84
|
-
.grid.#{nth($columns, $i)} {
|
85
|
-
@include column-child(1);
|
86
|
-
@for $j from 1 through $i {
|
87
|
-
> .#{nth($columns, $j)}{
|
88
|
-
@include column-self($i + 1, $i + 1);
|
89
|
-
}
|
90
|
-
}
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
|