oulu 0.12.33 → 0.12.34
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 +5 -1
- data/app/assets/stylesheets/modules/buttons/_button-helper.sass +1 -0
- data/app/assets/stylesheets/settings/functions/_color.sass +0 -1
- data/app/assets/stylesheets/settings/initializers/_reboot.sass +4 -2
- data/app/assets/stylesheets/settings/mixins/_text.sass +7 -0
- data/app/assets/stylesheets/settings/variables/_modules.sass +6 -0
- data/app/assets/stylesheets/settings/variables/_sanitize.sass +1 -1
- 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: ab7284d021a623db8cf30783887fb3102d6f2b13
|
4
|
+
data.tar.gz: d468ce91380a0580e4657b2f81ad3808abd8ddef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8de520c2c3d7cbe991dd3f8df74733e6b719166740d5588c73b9d595469cf10c8f00084f208e2be842f587a806a7e38298b2fad8ce600b84ab970de75687748
|
7
|
+
data.tar.gz: 9a60cfdc19aafe4840846fbce76d9e8756ccdf2d94a3f936086f7c4f062ee7918398a1f423b8fb7e3c8449b1abef66109c35bf79f4a672d6b58b8069a25d21dd
|
@@ -19,18 +19,23 @@
|
|
19
19
|
@if $size == 'xs'
|
20
20
|
$font-size: $xs-button-font-size
|
21
21
|
$button-height: $font-size * $button-xs-height-ratio - if($border-width, $border-width, 0) * 2
|
22
|
+
+padding(horizontal, ($button-height/$button-xs-width-ratio))
|
22
23
|
@else if $size == 'sm'
|
23
24
|
$font-size: $sm-button-font-size
|
24
25
|
$button-height: $font-size * $button-sm-height-ratio - if($border-width, $border-width, 0) * 2
|
26
|
+
+padding(horizontal, ($button-height/$button-sm-width-ratio))
|
25
27
|
@else if $size == 'md'
|
26
28
|
$font-size: $md-button-font-size
|
27
29
|
$button-height: $font-size * $button-md-height-ratio - if($border-width, $border-width, 0) * 2
|
30
|
+
+padding(horizontal, ($button-height/$button-md-width-ratio))
|
28
31
|
@else if $size == 'lg'
|
29
32
|
$font-size: $lg-button-font-size
|
30
33
|
$button-height: $font-size * $button-lg-height-ratio - if($border-width, $border-width, 0) * 2
|
34
|
+
+padding(horizontal, ($button-height/$button-lg-width-ratio))
|
31
35
|
@else if $size == 'xl'
|
32
36
|
$font-size: $xl-button-font-size
|
33
37
|
$button-height: $font-size * $button-xl-height-ratio - if($border-width, $border-width, 0) * 2
|
38
|
+
+padding(horizontal, ($button-height/$button-xl-width-ratio))
|
34
39
|
@if $border-width
|
35
40
|
border-width: $border-width
|
36
41
|
@else
|
@@ -39,7 +44,6 @@
|
|
39
44
|
$vertical-padding: ($button-height - $font-size - ($border-width * 2)) / 2
|
40
45
|
+padding(vertical, $vertical-padding)
|
41
46
|
+text-block($font-size 1)
|
42
|
-
+padding(horizontal, $button-height/1.6)
|
43
47
|
@if $border-radius
|
44
48
|
border-radius: $border-radius
|
45
49
|
@if $font-size > .6875rem and 1rem > $font-size
|
@@ -42,3 +42,10 @@
|
|
42
42
|
overflow: hidden
|
43
43
|
text-overflow: ellipsis
|
44
44
|
white-space: nowrap
|
45
|
+
|
46
|
+
=multi-lines-ellipsis($lines: 3, $line-height: 1.4)
|
47
|
+
display: -webkit-box
|
48
|
+
-webkit-box-orient: vertical
|
49
|
+
-webkit-line-clamp: $lines
|
50
|
+
overflow: hidden
|
51
|
+
max-height: (1em * $line-height) * $lines
|
@@ -29,6 +29,12 @@ $button-md-height-ratio: 2.85 !default
|
|
29
29
|
$button-lg-height-ratio: 2.85 !default
|
30
30
|
$button-xl-height-ratio: 2.85 !default
|
31
31
|
|
32
|
+
$button-xs-width-ratio: 1.6 !default
|
33
|
+
$button-sm-width-ratio: 1.6 !default
|
34
|
+
$button-md-width-ratio: 1.6 !default
|
35
|
+
$button-lg-width-ratio: 1.6 !default
|
36
|
+
$button-xl-width-ratio: 1.6 !default
|
37
|
+
|
32
38
|
$button-checked-color: #4FC1E9 !default
|
33
39
|
$button-checked-icon-color: #FC6E51 !default
|
34
40
|
|
@@ -4,7 +4,7 @@ $root-color: $default-text !default
|
|
4
4
|
$root-cursor: default !default
|
5
5
|
$root-font-family: sans-serif !default
|
6
6
|
$root-font-size: if($base-px = 100px, 100%, $base-px) !default
|
7
|
-
$root-line-height: 1
|
7
|
+
$root-line-height: 1 !default
|
8
8
|
$root-text-rendering: optimizeLegibility !default
|
9
9
|
|
10
10
|
$anchor-text-decoration: none !default
|
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.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- machida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|