mice 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ca63b778e879946a7233a1e40a1d30eefd2f020
4
- data.tar.gz: ecbe1d827a7b17dba2ea20389ce9489eab42aabb
3
+ metadata.gz: 71e0af67a383518ed5d5ef80b9d6589fa1765f5a
4
+ data.tar.gz: 78f1a76d69b287ed93e3427cc1ee46c8d31e789f
5
5
  SHA512:
6
- metadata.gz: 9fa6ea270e73df6a1e4bc9e5ebefec36ef8ffe551876e2ac943cbfccd2662f49641d85c370a7555a57c1d67ec9a9ce44c72879e859c8e6bd469eaf615a8edc20
7
- data.tar.gz: 0b01ff1bf97b5f172b84f929cf17dcfb557d874c2ea4b7a23e8f6c15ce9d000e2e854aa61f523a4f42d2323c5f3a21c823d805f5f313534020bb07592216df3b
6
+ metadata.gz: 32640d3af83d6ad907d214823db06a2ea71d340ac2e7815a0cfcc84705674df7a211b874416c52fa1671de4eee2018cf4bbac5098e7f153f0ef5c74f2019e423
7
+ data.tar.gz: 1545d8a9833365493f84fa4eb27d710d9d6fdaff1f9c1b078a5682e23f178513b881b9638928a0230008615f8e2b4d44da26520e4ac0239439ab6c7dd6904a36
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mice (0.0.9)
4
+ mice (0.0.10)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/mice/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mice
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -108,7 +108,7 @@ button,
108
108
  cursor: pointer;
109
109
 
110
110
  background-image: none;
111
- border: none;
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, 10%); }
11
+ &:hover{ border-color: darken($border, 15%); }
12
12
 
13
+ &:focus,
13
14
  &:active,
14
- &.active{ border-color: darken($border, 15%); }
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: 30px;
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
- textarea{
111
- line-height: 20px;
112
- height: 120px;
113
- resize: vertical;
114
-
128
+ .hint {
115
129
  display: block;
116
- height: auto;
130
+ margin-top: 5px;
117
131
  margin-bottom: 10px;
118
- padding: 6px 6px;
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: 10px;
137
+ margin-bottom: 15px;
138
+
138
139
  label{
139
140
  display: inline-block;
140
141
  }
141
- input{
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.428571429 !default; // 20/14
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.9
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-04-29 00:00:00.000000000 Z
11
+ date: 2014-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler