oulu 0.12.16 → 0.12.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/modules/buttons/_button-base.sass +13 -13
- data/bower.json +1 -1
- data/lib/oulu/version.rb +1 -1
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3c8c1ce149944865ffe35afefd45e1ffba2823f
|
4
|
+
data.tar.gz: beacf02955a3355242f4562c6fa5698008a93c31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e5536b0a18457521e49ad1785a20a84e74510cae765a2c26f12a66d47db057d968adb64d1c7308a0a37abdf84e35ecf74a9360b9173fb150d7ea3651df9700e
|
7
|
+
data.tar.gz: 2e7359ee6ab4814a0d4812e771fd88f1ae3efc3942398e4fb04419617a8b2d707f5eaaccd8619f2f467800beab04e6e6b06411c7a4d7b820e9394b301faa1908
|
@@ -25,12 +25,12 @@
|
|
25
25
|
$font-size: $lg-button-font-size
|
26
26
|
@else if $size == 'xl'
|
27
27
|
$font-size: $xl-button-font-size
|
28
|
-
$button-height:
|
28
|
+
$button-height: $font-size * $button-height-ratio - if($border-width, $border-width, 0) * 2
|
29
29
|
@if $border-width
|
30
30
|
+border(all, $border-width)
|
31
31
|
@else
|
32
32
|
$border-width: 0
|
33
|
-
$vertical-padding: ($button-height -
|
33
|
+
$vertical-padding: ($button-height - $font-size * 1.45 - ($border-width* 2)) / 2
|
34
34
|
+padding(vertical, $vertical-padding)
|
35
35
|
+text-block($font-size 1.45)
|
36
36
|
+padding(horizontal, $button-height/1.6)
|
@@ -38,7 +38,7 @@
|
|
38
38
|
+border-radius($border-radius)
|
39
39
|
@if $font-size > .6875rem and 1rem > $font-size
|
40
40
|
font-weight: 600
|
41
|
-
@else if
|
41
|
+
@else if .999999rem < $font-size
|
42
42
|
font-weight: bold
|
43
43
|
i,
|
44
44
|
.is-button-icon
|
@@ -73,44 +73,44 @@
|
|
73
73
|
+fa("\f0d7")
|
74
74
|
+position(absolute, left 0, top 0)
|
75
75
|
border-right: .0625rem solid shade($secondary, 15%)
|
76
|
-
+text-block($icon-size $button-height, center shade($secondary, 55%))
|
76
|
+
+text-block($icon-size ($button-height - $border-width * 2), center shade($secondary, 55%))
|
77
77
|
+size($icon-width $button-height)
|
78
78
|
&.is-select
|
79
79
|
padding: 0
|
80
|
-
$icon-width:
|
81
|
-
$icon-size:
|
80
|
+
$icon-width: $font-size * 2.7
|
81
|
+
$icon-size: $font-size * 1.3
|
82
82
|
position: relative
|
83
83
|
&:after
|
84
84
|
+fa("\f0d7")
|
85
85
|
+position(absolute, right 0, top 0 bottom 0, 0)
|
86
|
-
+text-block($icon-size $button-height, center)
|
86
|
+
+text-block($icon-size ($button-height - $border-width * 2), center)
|
87
87
|
+size($icon-width null)
|
88
88
|
select
|
89
|
-
padding: 0 (
|
89
|
+
padding: 0 (($font-size * 1.4) + $icon-width) 0 ($font-size * 1.4)
|
90
90
|
font-size: inherit
|
91
91
|
+padding(vertical, $vertical-padding)
|
92
92
|
+position(relative, 1)
|
93
93
|
&.is-radio,
|
94
94
|
&.is-checkbox
|
95
|
-
$icon-space:
|
95
|
+
$icon-space: $font-size * 2.2
|
96
96
|
padding-left: $icon-space
|
97
97
|
position: relative
|
98
98
|
&:before
|
99
99
|
content: ""
|
100
100
|
display: block
|
101
101
|
+position(absolute, left 1rem, top 50%)
|
102
|
-
$check-base-size:
|
102
|
+
$check-base-size: $font-size * .9
|
103
103
|
+size($check-base-size)
|
104
|
-
margin-top:
|
104
|
+
margin-top: $check-base-size / -2
|
105
105
|
&:after
|
106
|
-
$check-icon-size:
|
106
|
+
$check-icon-size: $font-size * 1.4
|
107
107
|
+fa("\f00c")
|
108
108
|
opacity: 0
|
109
109
|
+size($check-icon-size)
|
110
110
|
+text-block($check-icon-size 1, $button-checked-icon-color)
|
111
111
|
text-shadow: rgba(black, .4) 0 .0625rem .0625rem
|
112
112
|
+position(absolute, left .875rem, top 50%)
|
113
|
-
margin-top:
|
113
|
+
margin-top: $check-icon-size / -2 * 1.2
|
114
114
|
&.is-icon
|
115
115
|
+padding(horizontal, $button-height/3.5)
|
116
116
|
i,
|
data/bower.json
CHANGED
data/lib/oulu/version.rb
CHANGED
data/package.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oulu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- machida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|