codeclimate-styles 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/stylesheets/cc/styles/modules/_forms.scss +11 -6
- data/lib/cc/styles/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c60e38118c6e74fd340e8aa3aaa65dd9d9ccd413
|
4
|
+
data.tar.gz: 87e766a7052f3723561f2035a4473eecae471421
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a33eefd1187fa40997e087c156917eb679b96cab5e6cfc4bb73ac4a0d5aa14b78e6b380eeaf12a998a7f7a7b0247fe19e582e70afeb9357cab999aa214c7eb4b
|
7
|
+
data.tar.gz: ff764f9b2737551fe62fcc396a217aa20f9c1a2b9039b8d084592f2f33a77a32cce16026ab89e7d54db6a4e2fcd844981afcbe0436c7bf6a7edfcf6cfbe6056d
|
@@ -149,7 +149,8 @@ category: forms
|
|
149
149
|
```
|
150
150
|
*/
|
151
151
|
|
152
|
-
$checkbox-size:
|
152
|
+
$checkbox-size: 18px;
|
153
|
+
$checkbox-border-size: 2px;
|
153
154
|
|
154
155
|
.checkbox {
|
155
156
|
display: inline-block;
|
@@ -161,6 +162,7 @@ $checkbox-size: 15px;
|
|
161
162
|
|
162
163
|
input:checked + label::before {
|
163
164
|
background-color: $green;
|
165
|
+
border-color: $green;
|
164
166
|
|
165
167
|
// Afer 01-05-2017 this can be removed
|
166
168
|
@-moz-document url-prefix() {
|
@@ -185,25 +187,28 @@ $checkbox-size: 15px;
|
|
185
187
|
&::before,
|
186
188
|
&::after {
|
187
189
|
content: "";
|
188
|
-
height: $checkbox-size;
|
189
190
|
left: 0;
|
190
191
|
margin-top: -($checkbox-size / 2);
|
191
192
|
position: absolute;
|
192
193
|
top: 50%;
|
193
|
-
width: $checkbox-size;
|
194
194
|
}
|
195
195
|
|
196
196
|
&::before {
|
197
|
-
background:
|
198
|
-
border
|
197
|
+
background: transparent;
|
198
|
+
border: $checkbox-border-size solid $grayscale-aluminium;
|
199
|
+
border-radius: 6px;
|
200
|
+
height: $checkbox-size - (2 * $checkbox-border-size);
|
201
|
+
width: $checkbox-size - (2 * $checkbox-border-size);
|
199
202
|
}
|
200
203
|
|
201
204
|
&::after {
|
202
205
|
background-color: transparent;
|
206
|
+
height: $checkbox-size;
|
203
207
|
mask-image: image-url("cc/styles/icons/checkmark.svg");
|
204
208
|
mask-position: center;
|
205
209
|
mask-repeat: no-repeat;
|
206
|
-
mask-size:
|
210
|
+
mask-size: 70% auto;
|
211
|
+
width: $checkbox-size;
|
207
212
|
}
|
208
213
|
}
|
209
214
|
|
data/lib/cc/styles/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codeclimate-styles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code Climate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Foundational stylesheets for Code Climate properties
|
14
14
|
email:
|
@@ -99,19 +99,18 @@ require_paths:
|
|
99
99
|
- lib
|
100
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- -
|
102
|
+
- - ">="
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.6.8
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Code Climate stylesheets
|
116
116
|
test_files: []
|
117
|
-
has_rdoc:
|