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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9239977f6b4b740bb6d61eabdd19736c0eb3528a
|
4
|
+
data.tar.gz: f81bab93998e81e8e998e58b7da81fb2a4cc0622
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
36
|
-
|
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
|
-
|
47
|
+
&:hover,
|
48
|
+
&:focus,
|
49
|
+
&.o-btn--focus {
|
48
50
|
@include text-contrast($active-background);
|
49
51
|
background-color: $active-background;
|
50
52
|
}
|
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
|
+
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-
|
11
|
+
date: 2017-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: GIPainter-base
|