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.
- 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,236 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Panels
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Panels
|
7
|
-
@mixin panel-variant($border, $heading-text-color, $heading-bg-color, $heading-border) {
|
8
|
-
border-color: $border;
|
9
|
-
|
10
|
-
& > .heading {
|
11
|
-
color: $heading-text-color;
|
12
|
-
background-color: $heading-bg-color;
|
13
|
-
border-color: $heading-border;
|
14
|
-
}
|
15
|
-
& > .footer {
|
16
|
-
+ .collapse > .body {
|
17
|
-
border-bottom-color: $border;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
|
23
|
-
// Base class
|
24
|
-
.panel {
|
25
|
-
margin-bottom: $line-height-computed;
|
26
|
-
background-color: $panel-bg;
|
27
|
-
border: 1px solid transparent;
|
28
|
-
border-radius: $panel-border-radius;
|
29
|
-
@include box-shadow(0 1px 1px rgba(0,0,0,.05));
|
30
|
-
|
31
|
-
// Panel contents
|
32
|
-
> .body {
|
33
|
-
padding: $panel-body-padding;
|
34
|
-
@include clearfix();
|
35
|
-
*:last-child{
|
36
|
-
margin-bottom: 0;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
// Optional heading
|
41
|
-
> .heading {
|
42
|
-
padding: $panel-heading-padding;
|
43
|
-
border-bottom: 1px solid transparent;
|
44
|
-
@include border-top-radius(($panel-border-radius - 1));
|
45
|
-
|
46
|
-
// Within heading, strip any `h*` tag of its default margins for spacing.
|
47
|
-
h1,h2,h3,h4,h5,h6{
|
48
|
-
margin: 0;
|
49
|
-
padding: 0;
|
50
|
-
font-size: ceil(($font-size-base * 1.125));
|
51
|
-
color: inherit;
|
52
|
-
border-bottom: none;
|
53
|
-
|
54
|
-
> a {
|
55
|
-
color: inherit;
|
56
|
-
}
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
// Optional footer (stays gray in every modifier class)
|
61
|
-
> .footer {
|
62
|
-
padding: $panel-footer-padding;
|
63
|
-
background-color: $panel-footer-bg;
|
64
|
-
border-top: 1px solid $panel-inner-border;
|
65
|
-
@include border-bottom-radius(($panel-border-radius - 1));
|
66
|
-
}
|
67
|
-
}
|
68
|
-
|
69
|
-
|
70
|
-
// List groups in panels
|
71
|
-
//
|
72
|
-
// By default, space out list group content from panel headings to account for
|
73
|
-
// any kind of custom content between the two.
|
74
|
-
|
75
|
-
.panel {
|
76
|
-
> .group {
|
77
|
-
margin-bottom: 0;
|
78
|
-
|
79
|
-
> li,
|
80
|
-
> a,
|
81
|
-
.item {
|
82
|
-
border-width: 1px 0;
|
83
|
-
border-radius: 0;
|
84
|
-
}
|
85
|
-
|
86
|
-
// Add border top radius for first one
|
87
|
-
&:first-child {
|
88
|
-
> li:first-child,
|
89
|
-
> a:first-child,
|
90
|
-
.item:first-child {
|
91
|
-
border-top: 0;
|
92
|
-
@include border-top-radius(($panel-border-radius - 1));
|
93
|
-
}
|
94
|
-
}
|
95
|
-
// Add border bottom radius for last one
|
96
|
-
&:last-child {
|
97
|
-
> li:last-child,
|
98
|
-
> a:last-child,
|
99
|
-
.item:last-child {
|
100
|
-
border-bottom: 0;
|
101
|
-
@include border-bottom-radius(($panel-border-radius - 1));
|
102
|
-
}
|
103
|
-
}
|
104
|
-
}
|
105
|
-
}
|
106
|
-
|
107
|
-
// Collapse space between when there's no additional content.
|
108
|
-
.panel{
|
109
|
-
.heading + .list-group {
|
110
|
-
> li:first-child,
|
111
|
-
> a:first-child,
|
112
|
-
.item:first-child {
|
113
|
-
border-top-width: 0;
|
114
|
-
}
|
115
|
-
}
|
116
|
-
}
|
117
|
-
|
118
|
-
|
119
|
-
// Tables in panels
|
120
|
-
//
|
121
|
-
// Place a non-bordered `table` within a panel (not within a `.panel-body`) and
|
122
|
-
// watch it go full width.
|
123
|
-
|
124
|
-
.panel {
|
125
|
-
> table,
|
126
|
-
> table.responsive > table {
|
127
|
-
margin-bottom: 0;
|
128
|
-
}
|
129
|
-
// Add border top radius for first one
|
130
|
-
> table:first-child,
|
131
|
-
> table.responsive:first-child > table:first-child {
|
132
|
-
@include border-top-radius(($panel-border-radius - 1));
|
133
|
-
|
134
|
-
> thead:first-child,
|
135
|
-
> tbody:first-child {
|
136
|
-
> tr:first-child {
|
137
|
-
td:first-child,
|
138
|
-
th:first-child {
|
139
|
-
border-top-left-radius: ($panel-border-radius - 1);
|
140
|
-
}
|
141
|
-
td:last-child,
|
142
|
-
th:last-child {
|
143
|
-
border-top-right-radius: ($panel-border-radius - 1);
|
144
|
-
}
|
145
|
-
}
|
146
|
-
}
|
147
|
-
}
|
148
|
-
// Add border bottom radius for last one
|
149
|
-
> table:last-child,
|
150
|
-
> table.responsive:last-child > table:last-child {
|
151
|
-
@include border-bottom-radius(($panel-border-radius - 1));
|
152
|
-
|
153
|
-
> tbody:last-child,
|
154
|
-
> tfoot:last-child {
|
155
|
-
> tr:last-child {
|
156
|
-
td:first-child,
|
157
|
-
th:first-child {
|
158
|
-
border-bottom-left-radius: ($panel-border-radius - 1);
|
159
|
-
}
|
160
|
-
td:last-child,
|
161
|
-
th:last-child {
|
162
|
-
border-bottom-right-radius: ($panel-border-radius - 1);
|
163
|
-
}
|
164
|
-
}
|
165
|
-
}
|
166
|
-
}
|
167
|
-
> .body + table,
|
168
|
-
> .body + table.responsive {
|
169
|
-
border-top: 1px solid $table-border-color;
|
170
|
-
}
|
171
|
-
> table > tbody:first-child > tr:first-child th,
|
172
|
-
> table > tbody:first-child > tr:first-child td {
|
173
|
-
border-top: 0;
|
174
|
-
}
|
175
|
-
> table-bordered,
|
176
|
-
> table.responsive > table-bordered {
|
177
|
-
border: 0;
|
178
|
-
> thead,
|
179
|
-
> tbody,
|
180
|
-
> tfoot {
|
181
|
-
> tr {
|
182
|
-
> th:first-child,
|
183
|
-
> td:first-child {
|
184
|
-
border-left: 0;
|
185
|
-
}
|
186
|
-
> th:last-child,
|
187
|
-
> td:last-child {
|
188
|
-
border-right: 0;
|
189
|
-
}
|
190
|
-
}
|
191
|
-
}
|
192
|
-
> thead,
|
193
|
-
> tbody {
|
194
|
-
> tr:first-child {
|
195
|
-
> td,
|
196
|
-
> th {
|
197
|
-
border-bottom: 0;
|
198
|
-
}
|
199
|
-
}
|
200
|
-
}
|
201
|
-
> tbody,
|
202
|
-
> tfoot {
|
203
|
-
> tr:last-child {
|
204
|
-
> td,
|
205
|
-
> th {
|
206
|
-
border-bottom: 0;
|
207
|
-
}
|
208
|
-
}
|
209
|
-
}
|
210
|
-
}
|
211
|
-
> table.responsive {
|
212
|
-
border: 0;
|
213
|
-
margin-bottom: 0;
|
214
|
-
}
|
215
|
-
}
|
216
|
-
|
217
|
-
|
218
|
-
// Contextual variations
|
219
|
-
.panel {
|
220
|
-
@include panel-variant($panel-default-border, $panel-default-text, $panel-default-heading-bg, $panel-default-border);
|
221
|
-
}
|
222
|
-
.panel.primary {
|
223
|
-
@include panel-variant($panel-primary-border, $panel-primary-text, $panel-primary-heading-bg, $panel-primary-border);
|
224
|
-
}
|
225
|
-
.panel.success {
|
226
|
-
@include panel-variant($panel-success-border, $panel-success-text, $panel-success-heading-bg, $panel-success-border);
|
227
|
-
}
|
228
|
-
.panel.info {
|
229
|
-
@include panel-variant($panel-info-border, $panel-info-text, $panel-info-heading-bg, $panel-info-border);
|
230
|
-
}
|
231
|
-
.panel.warning {
|
232
|
-
@include panel-variant($panel-warning-border, $panel-warning-text, $panel-warning-heading-bg, $panel-warning-border);
|
233
|
-
}
|
234
|
-
.panel.danger {
|
235
|
-
@include panel-variant($panel-danger-border, $panel-danger-text, $panel-danger-heading-bg, $panel-danger-border);
|
236
|
-
}
|
@@ -1,65 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Progress bars
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
// Mixin
|
6
|
-
@mixin progress-bar-variant($color) {
|
7
|
-
background-color: $color;
|
8
|
-
}
|
9
|
-
|
10
|
-
// Bar animations
|
11
|
-
@-webkit-keyframes progress-bar-stripes {
|
12
|
-
to { background-position: 32px 0; }
|
13
|
-
from{ background-position: 0 0; }
|
14
|
-
}
|
15
|
-
@keyframes progress-bar-stripes {
|
16
|
-
to { background-position: 32px 0; }
|
17
|
-
from{ background-position: 0 0; }
|
18
|
-
}
|
19
|
-
|
20
|
-
// Progress outer container
|
21
|
-
.progress {
|
22
|
-
overflow: hidden;
|
23
|
-
height: $progress-height;
|
24
|
-
margin-bottom: $progress-height;
|
25
|
-
background-color: $progress-background;
|
26
|
-
border-radius: $border-radius;
|
27
|
-
|
28
|
-
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.1));
|
29
|
-
|
30
|
-
// Bar of progress
|
31
|
-
.bar {
|
32
|
-
float: left;
|
33
|
-
width: 0%;
|
34
|
-
height: 100%;
|
35
|
-
font-size: $font-size-small;
|
36
|
-
line-height: $progress-height;
|
37
|
-
color: $progress-bar-color;
|
38
|
-
text-align: center;
|
39
|
-
background-color: $progress-bar-background;
|
40
|
-
@include box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
|
41
|
-
@include transition(width .6s ease);
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
// Striped bars
|
46
|
-
.progress .bar.striped,
|
47
|
-
.progress.striped .bar {
|
48
|
-
@include gradient-striped();
|
49
|
-
background-size: 32px 32px;
|
50
|
-
}
|
51
|
-
|
52
|
-
// Call animation for the active one
|
53
|
-
.progress.active .bar,
|
54
|
-
.progress .bar.active {
|
55
|
-
-webkit-animation: progress-bar-stripes 1.5s linear infinite;
|
56
|
-
animation: progress-bar-stripes 1.5s linear infinite;
|
57
|
-
}
|
58
|
-
|
59
|
-
// Variations
|
60
|
-
.progress .bar{
|
61
|
-
&.success { @include progress-bar-variant($progress-bar-success-background);}
|
62
|
-
&.info { @include progress-bar-variant($progress-bar-info-background); }
|
63
|
-
&.warning { @include progress-bar-variant($progress-bar-warning-background);}
|
64
|
-
&.danger { @include progress-bar-variant($progress-bar-danger-background); }
|
65
|
-
}
|
@@ -1,101 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Scaffolding
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
// Reset the box-sizing
|
6
|
-
* {
|
7
|
-
@include box-sizing(border-box);
|
8
|
-
}
|
9
|
-
*:before,
|
10
|
-
*:after {
|
11
|
-
@include box-sizing(border-box);
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
// Body reset
|
16
|
-
// -------------------------
|
17
|
-
html {
|
18
|
-
font-size: 100%;
|
19
|
-
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
20
|
-
}
|
21
|
-
|
22
|
-
body {
|
23
|
-
font-family: $font-family-base;
|
24
|
-
font-size: $font-size-base;
|
25
|
-
line-height: $line-height-base;
|
26
|
-
color: $text-color;
|
27
|
-
background-color: $background-color;
|
28
|
-
-webkit-font-smoothing: antialiased;
|
29
|
-
}
|
30
|
-
|
31
|
-
header{
|
32
|
-
min-height: 45px;
|
33
|
-
}
|
34
|
-
|
35
|
-
footer{
|
36
|
-
margin-top: 50px;
|
37
|
-
}
|
38
|
-
|
39
|
-
// Reset fonts for relevant elements
|
40
|
-
// -------------------------
|
41
|
-
input,
|
42
|
-
button,
|
43
|
-
select,
|
44
|
-
textarea {
|
45
|
-
font-family: inherit;
|
46
|
-
font-size: inherit;
|
47
|
-
line-height: inherit;
|
48
|
-
}
|
49
|
-
|
50
|
-
|
51
|
-
// Links
|
52
|
-
// -------------------------
|
53
|
-
|
54
|
-
a {
|
55
|
-
color: $link-color;
|
56
|
-
text-decoration: none;
|
57
|
-
|
58
|
-
&:hover,
|
59
|
-
&:focus {
|
60
|
-
color: $link-hover-color;
|
61
|
-
text-decoration: underline;
|
62
|
-
}
|
63
|
-
|
64
|
-
&:focus {
|
65
|
-
// @include tab-focus();
|
66
|
-
}
|
67
|
-
}
|
68
|
-
|
69
|
-
|
70
|
-
.shake {
|
71
|
-
-webkit-transform-origin: center center 0 50%;
|
72
|
-
-moz-transform-origin: center center 0 50%;
|
73
|
-
-ms-transform-origin: center center 0 50%;
|
74
|
-
-o-transform-origin: center center 0 50%;
|
75
|
-
transform-origin: center center 0 50%;
|
76
|
-
|
77
|
-
&:hover {
|
78
|
-
-webkit-animation-name: shake;
|
79
|
-
animation-name: shake;
|
80
|
-
-webkit-animation-duration: 100ms;
|
81
|
-
animation-duration: 100ms;
|
82
|
-
-webkit-animation-iteration-count: infinite;
|
83
|
-
animation-iteration-count: infinite;
|
84
|
-
-webkit-animation-timing-function: ease-in-out;
|
85
|
-
animation-timing-function: ease-in-out;
|
86
|
-
-webkit-animation-delay: 0s;
|
87
|
-
animation-delay: 0s;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
hr {
|
92
|
-
margin: 20px 0;
|
93
|
-
border: 0;
|
94
|
-
border-top: 1px solid #EEE;
|
95
|
-
-moz-box-sizing: content-box;
|
96
|
-
box-sizing: content-box;
|
97
|
-
|
98
|
-
&.dotted{ border-top: 1px dotted #EEE;}
|
99
|
-
&.dashed{ border-top: 1px dashed #EEE;}
|
100
|
-
&.double{ border-top: 1px double #EEE;}
|
101
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Sidebar
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
.sidebar{
|
6
|
-
background-color: #FAFAFA;
|
7
|
-
|
8
|
-
.menu{
|
9
|
-
padding: 15px 0;
|
10
|
-
|
11
|
-
> li{
|
12
|
-
line-height: 30px;
|
13
|
-
|
14
|
-
&:hover:not(.heading){
|
15
|
-
background: rgba(0, 64, 84, 0.03);
|
16
|
-
}
|
17
|
-
|
18
|
-
&.heading{
|
19
|
-
text-transform: uppercase;
|
20
|
-
padding-top: 30px;
|
21
|
-
border-bottom: 1px solid #CCC;
|
22
|
-
|
23
|
-
a{ color: #333; }
|
24
|
-
}
|
25
|
-
|
26
|
-
&.heading:first-of-type{
|
27
|
-
padding-top: 0;
|
28
|
-
}
|
29
|
-
|
30
|
-
&.active{
|
31
|
-
background: rgba(0, 64, 84, 0.05);
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
}
|
36
|
-
|
37
|
-
}
|