GIPainter-button 0.2.4 → 0.2.5

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: 99d385702fae1d934005b935c642680106aeea4f
4
- data.tar.gz: 32ea02b2e80eb4150ebf834836b4aa02c0e0729e
3
+ metadata.gz: 9239977f6b4b740bb6d61eabdd19736c0eb3528a
4
+ data.tar.gz: f81bab93998e81e8e998e58b7da81fb2a4cc0622
5
5
  SHA512:
6
- metadata.gz: 204730929309ca14bcaf46b4be9b9d08999d7a24bfe8239512866d3dd8899b881a82feffdaa3b6b9987286385faee5f4cc67224aca8d5e60bd5386173933f42c
7
- data.tar.gz: fc5f448086b42add15b36e5f221fd2982dea8c502b0e5325adcdd1823d3696e23e2b1eef3760bba34a3d7cae63f3b116a7d990092e146540eecbd2ecc5527b90
6
+ metadata.gz: 3c5faf93dcf9f106094b8fbbce8d131c309ee450ac5962e49d405ba74e4e0324e9b5ca127b55cd6d6a060b1c41cac8a2ce805032070cec69e831e3496e51c159
7
+ data.tar.gz: f01c945a222e0b84cdca138a429c479d0d6cb3aaf3ac9f0cbc9a8f4875008e6cf02b3b47857ec99620f42bc9f10b619961d3a8c8e054b6cfb78e0635150213d9
@@ -9,19 +9,28 @@
9
9
  ////
10
10
 
11
11
  .o-btn {
12
+ font-family: Roboto, sans-serif;
12
13
  display: inline-block;
14
+ position: relative;
15
+ -moz-osx-font-smoothing: grayscale;
16
+ -webkit-font-smoothing: antialiased;
13
17
  font-weight: $btn-font-weight;
14
- @include line-height($font-size-base);
15
18
  text-align: center;
16
19
  white-space: nowrap;
17
20
  vertical-align: middle;
18
21
  user-select: none;
22
+ letter-spacing: 0.04em;
23
+ text-decoration: none;
19
24
  border: $btn-border-width solid transparent;
20
25
  @include button-size($btn-padding-y, $btn-padding-x, $font-size-base);
21
26
  @include transition(all .2s ease-in-out);
27
+ @include box-sizing(border-box);
28
+ @include button-variant($gray-light);
22
29
 
23
30
  // Share hover and focus styles
24
- @include selected() {
31
+ &:hover,
32
+ &:focus,
33
+ &--focus{
25
34
  text-decoration: none;
26
35
  }
27
36
 
@@ -32,8 +41,8 @@
32
41
  }
33
42
 
34
43
  // Disabled comes first so active can properly restyle
35
- &--disabled,
36
- &:disabled {
44
+ &:disabled,
45
+ &--disabled{
37
46
  cursor: not-allowed;
38
47
  pointer-events: none;
39
48
  opacity: .65;
@@ -44,7 +44,9 @@
44
44
  @include box-shadow(inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075));
45
45
 
46
46
  // Hover and focus styles are shared
47
- @include selected() {
47
+ &:hover,
48
+ &:focus,
49
+ &.o-btn--focus {
48
50
  @include text-contrast($active-background);
49
51
  background-color: $active-background;
50
52
  }
@@ -11,7 +11,7 @@
11
11
  /// Grid variables
12
12
  /// @prop {Number} max-grid-columns [$max-grid-columns]
13
13
 
14
- $btn_font_weight: 300 !default;
14
+ $btn_font_weight: 500 !default;
15
15
  $btn-border-width: 1px !default;
16
16
  $btn-padding-x: 1rem !default;
17
17
  $btn-padding-y: .5rem !default;
@@ -1,3 +1,3 @@
1
1
  module GIPainter_button
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: GIPainter-button
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genious Interactive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-23 00:00:00.000000000 Z
11
+ date: 2017-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: GIPainter-base