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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1c54caf161b88e598bd69a5d0ff5a157ffc0a31
4
- data.tar.gz: d655cdd643f212059e94ffdc658bc06abb825bd5
3
+ metadata.gz: c60e38118c6e74fd340e8aa3aaa65dd9d9ccd413
4
+ data.tar.gz: 87e766a7052f3723561f2035a4473eecae471421
5
5
  SHA512:
6
- metadata.gz: 776cf9b6c27d8071fc509cf50ff238cda8166fa1cf91e0ec1941812a98c98be053e0741378bc4146236e42cf9b3edb23f3ffecd88a584b2decb0a67282bd7ff3
7
- data.tar.gz: c00189f215f103207f202724326f15e397762577578f49c02f20816f4b8edf0f5500bd0b23f004351be586f6c4ffe109c52fac1ec22a40a1f34b1cc91f150f4e
6
+ metadata.gz: a33eefd1187fa40997e087c156917eb679b96cab5e6cfc4bb73ac4a0d5aa14b78e6b380eeaf12a998a7f7a7b0247fe19e582e70afeb9357cab999aa214c7eb4b
7
+ data.tar.gz: ff764f9b2737551fe62fcc396a217aa20f9c1a2b9039b8d084592f2f33a77a32cce16026ab89e7d54db6a4e2fcd844981afcbe0436c7bf6a7edfcf6cfbe6056d
@@ -149,7 +149,8 @@ category: forms
149
149
  ```
150
150
  */
151
151
 
152
- $checkbox-size: 15px;
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: $grayscale-aluminium;
198
- border-radius: 2px;
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: 50% auto;
210
+ mask-size: 70% auto;
211
+ width: $checkbox-size;
207
212
  }
208
213
  }
209
214
 
@@ -1,5 +1,5 @@
1
1
  module CC
2
2
  module Styles
3
- VERSION = "0.1.3".freeze
3
+ VERSION = "0.1.4".freeze
4
4
  end
5
5
  end
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.3
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-06 00:00:00.000000000 Z
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.0.3
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: