mice 0.0.9 → 0.0.10
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71e0af67a383518ed5d5ef80b9d6589fa1765f5a
|
4
|
+
data.tar.gz: 78f1a76d69b287ed93e3427cc1ee46c8d31e789f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32640d3af83d6ad907d214823db06a2ea71d340ac2e7815a0cfcc84705674df7a211b874416c52fa1671de4eee2018cf4bbac5098e7f153f0ef5c74f2019e423
|
7
|
+
data.tar.gz: 1545d8a9833365493f84fa4eb27d710d9d6fdaff1f9c1b078a5682e23f178513b881b9638928a0230008615f8e2b4d44da26520e4ac0239439ab6c7dd6904a36
|
data/Gemfile.lock
CHANGED
data/lib/mice/version.rb
CHANGED
@@ -108,7 +108,7 @@ button,
|
|
108
108
|
cursor: pointer;
|
109
109
|
|
110
110
|
background-image: none;
|
111
|
-
border:
|
111
|
+
border: 1px solid transparent;
|
112
112
|
white-space: nowrap;
|
113
113
|
outline: none;
|
114
114
|
|
@@ -138,8 +138,6 @@ button,
|
|
138
138
|
@include opacity(.65);
|
139
139
|
}
|
140
140
|
|
141
|
-
border-width: 1px;
|
142
|
-
border-style: solid;
|
143
141
|
@include button-variant($button-default-color, $button-default-background, $button-default-border);
|
144
142
|
&.primary{ @include button-variant($button-primary-color, $button-primary-background, $button-primary-border); }
|
145
143
|
&.success{ @include button-variant($button-success-color, $button-success-background, $button-success-border); }
|
@@ -8,10 +8,11 @@
|
|
8
8
|
background-color: $background;
|
9
9
|
border-color: $border;
|
10
10
|
|
11
|
-
&:hover{ border-color: darken($border,
|
11
|
+
&:hover{ border-color: darken($border, 15%); }
|
12
12
|
|
13
|
+
&:focus,
|
13
14
|
&:active,
|
14
|
-
&.active{ border-color: darken($border,
|
15
|
+
&.active{ border-color: darken($border, 30%); }
|
15
16
|
|
16
17
|
&.disabled,
|
17
18
|
&[disabled] {
|
@@ -46,12 +47,8 @@ input[type="password"],
|
|
46
47
|
input[type="email"],
|
47
48
|
textarea,
|
48
49
|
select{
|
49
|
-
padding: 5px;
|
50
|
-
position: relative;
|
51
|
-
box-shadow: inset 0 1px #F5F5F5;
|
52
|
-
|
53
50
|
display: inline-block;
|
54
|
-
height:
|
51
|
+
height: 34px;
|
55
52
|
margin-bottom: 0;
|
56
53
|
font-weight: $button-font-weight;
|
57
54
|
text-align: left;
|
@@ -61,12 +58,16 @@ select{
|
|
61
58
|
white-space: nowrap;
|
62
59
|
outline: none;
|
63
60
|
|
61
|
+
position: relative;
|
62
|
+
box-shadow: inset 0 1px #F5F5F5;
|
64
63
|
background-color: transparent;
|
65
64
|
|
66
65
|
padding: 6px;
|
67
66
|
font-size: 14px;
|
68
67
|
line-height: $line-height-base;
|
69
68
|
|
69
|
+
transition: border-color ease-in-out .1s,box-shadow ease-in-out .1s;
|
70
|
+
|
70
71
|
&.disabled,
|
71
72
|
&[disabled] {
|
72
73
|
cursor: not-allowed;
|
@@ -77,6 +78,23 @@ select{
|
|
77
78
|
}
|
78
79
|
|
79
80
|
|
81
|
+
textarea{
|
82
|
+
display: block;
|
83
|
+
line-height: 20px;
|
84
|
+
height: 120px;
|
85
|
+
resize: vertical;
|
86
|
+
|
87
|
+
margin-bottom: 10px;
|
88
|
+
color: #555;
|
89
|
+
background-color: #FFF;
|
90
|
+
background-image: none;
|
91
|
+
}
|
92
|
+
|
93
|
+
label{
|
94
|
+
display: inline-block;
|
95
|
+
margin-bottom: 2px;
|
96
|
+
}
|
97
|
+
|
80
98
|
// Input Styles
|
81
99
|
// -------------------------
|
82
100
|
|
@@ -107,38 +125,75 @@ input[type="email"]{
|
|
107
125
|
}
|
108
126
|
|
109
127
|
|
110
|
-
|
111
|
-
line-height: 20px;
|
112
|
-
height: 120px;
|
113
|
-
resize: vertical;
|
114
|
-
|
128
|
+
.hint {
|
115
129
|
display: block;
|
116
|
-
|
130
|
+
margin-top: 5px;
|
117
131
|
margin-bottom: 10px;
|
118
|
-
|
119
|
-
font-size: 14px;
|
120
|
-
line-height: 1.42857143;
|
121
|
-
color: #555;
|
122
|
-
background-color: #FFF;
|
123
|
-
background-image: none;
|
124
|
-
border: 1px solid #CCC;
|
125
|
-
|
126
|
-
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
|
127
|
-
|
128
|
-
outline: none;
|
132
|
+
color: lighten($text-color, 25%);
|
129
133
|
}
|
130
134
|
|
131
|
-
label{
|
132
|
-
display: inline-block;
|
133
|
-
margin-bottom: 2px;
|
134
|
-
}
|
135
135
|
|
136
136
|
.field{
|
137
|
-
margin-bottom:
|
137
|
+
margin-bottom: 15px;
|
138
|
+
|
138
139
|
label{
|
139
140
|
display: inline-block;
|
140
141
|
}
|
141
|
-
|
142
|
+
|
143
|
+
input[type="text"],
|
144
|
+
input[type="password"],
|
145
|
+
input[type="email"],
|
146
|
+
select,
|
147
|
+
textarea{
|
142
148
|
width: 100%;
|
143
149
|
}
|
144
|
-
}
|
150
|
+
}
|
151
|
+
|
152
|
+
form.inline{
|
153
|
+
.field{
|
154
|
+
display: inline-block;
|
155
|
+
margin-bottom: 0;
|
156
|
+
vertical-align: middle;
|
157
|
+
|
158
|
+
&:not(.checkbox){
|
159
|
+
label{ display: none;}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
|
164
|
+
form.horizontal{
|
165
|
+
|
166
|
+
$offsets: "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven";
|
167
|
+
|
168
|
+
@for $i from 1 through length($offsets){
|
169
|
+
&.offset.#{nth($offsets, $i)}{
|
170
|
+
.field{
|
171
|
+
position: relative;
|
172
|
+
vertical-align: middle;
|
173
|
+
@include clearfix();
|
174
|
+
padding-left: percentage(1 / 12 * $i);
|
175
|
+
|
176
|
+
&:not(.checkbox){
|
177
|
+
label{
|
178
|
+
float: left;
|
179
|
+
width: percentage(1 / 12 * $i);
|
180
|
+
height: 34px;
|
181
|
+
margin-left: (0 - percentage(1 / 12 * $i));
|
182
|
+
margin-bottom: 0;
|
183
|
+
padding-right: 15px;
|
184
|
+
padding-top: 6px;
|
185
|
+
text-align: right;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
|
193
|
+
}
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
@@ -50,7 +50,7 @@ $font-size-h5: $font-size-base !default;
|
|
50
50
|
$font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
|
51
51
|
|
52
52
|
|
53
|
-
$line-height-base: 1.
|
53
|
+
$line-height-base: 1.42858 !default; // 20/14
|
54
54
|
|
55
55
|
$line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
|
56
56
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- miclle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|