middleman-oulu 0.6.30 → 0.6.32
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/assets/stylesheets/modules/buttons/_button-base.sass +7 -2
- data/assets/stylesheets/modules/buttons/_buttons.sass +8 -5
- data/assets/stylesheets/modules/buttons/styles/_border.sass +0 -1
- data/assets/stylesheets/modules/buttons/styles/_flat-emboss.sass +0 -1
- data/assets/stylesheets/modules/buttons/styles/_normal.sass +0 -1
- data/assets/stylesheets/settings/variables/_default.sass +3 -0
- data/lib/middleman-oulu/version.rb +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: 979f279136b3c9189c2b07a385a4557d06162c7c
|
4
|
+
data.tar.gz: 84167a914cda46a5ca763a1e68a575a2112c312e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9e5e35d17f88716ab96e7eaf14f8db403c9e8664e3ea477e5bee3e8d1ec4b18ad1eb1dcc323fe2d5c4301806a8c1c20d356351617397b96f098f36df1cad337
|
7
|
+
data.tar.gz: 30df0305ab95fc5bee4f143e018e4e82038ee815c50ac0e2b9b4ed0cbfab323b5009e7ce08a4b65b4fe8cc5fea0deb850a1c2e4559e33cebeda1f961322b124d
|
@@ -8,7 +8,7 @@
|
|
8
8
|
text-decoration: none
|
9
9
|
-webkit-tap-highlight-color: transparent
|
10
10
|
|
11
|
-
=button-size($size, $border-width: 0)
|
11
|
+
=button-size($size, $border-width: 0, $border-radius: 4px)
|
12
12
|
$font-size: ""
|
13
13
|
@if $size == 'xs'
|
14
14
|
$font-size: 12px
|
@@ -21,10 +21,15 @@
|
|
21
21
|
@else if $size == 'xl'
|
22
22
|
$font-size: 20px
|
23
23
|
$height: round($font-size * 2 + $font-size/2.2)
|
24
|
-
|
24
|
+
@if $border-width
|
25
|
+
+border(all, $border-width)
|
26
|
+
@else
|
27
|
+
$border-width: 0
|
25
28
|
+text-block($font-size $height - ($border-width*2))
|
26
29
|
+rem('height', $height)
|
27
30
|
+padding(horizontal, $height/2)
|
31
|
+
@if $border-radius
|
32
|
+
+border-radius($border-radius)
|
28
33
|
@if $font-size > 12px
|
29
34
|
font-weight: bold
|
30
35
|
i,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
$button-sizes: xs, sm, md, lg, xl !default
|
2
2
|
$button-color-names: default, primary, success, warning, danger !default
|
3
|
-
$button-styles: normal, border, flat-emboss, material !default
|
3
|
+
$button-styles: normal, border, bold-border, flat-emboss, material !default
|
4
4
|
|
5
5
|
@import button-base
|
6
6
|
|
@@ -21,16 +21,19 @@ input[type= submit]
|
|
21
21
|
=button($style, $size, $color, $options: false)
|
22
22
|
+button-base
|
23
23
|
@if $style == normal
|
24
|
-
+button-size($size, 1px)
|
24
|
+
+button-size($size, 1px, 4px)
|
25
25
|
+normal-button($color)
|
26
26
|
@else if $style == border
|
27
|
-
+button-size($size, 1px)
|
27
|
+
+button-size($size, 1px, 4px)
|
28
|
+
+border-button($color)
|
29
|
+
@else if $style == bold-border
|
30
|
+
+button-size($size, 4px, 8px)
|
28
31
|
+border-button($color)
|
29
32
|
@else if $style == flat-emboss
|
30
|
-
+button-size($size)
|
33
|
+
+button-size($size, false, 4px)
|
31
34
|
+flat-emboss-button($color)
|
32
35
|
@else if $style == material
|
33
|
-
+button-size($size)
|
36
|
+
+button-size($size, false, false)
|
34
37
|
+material-button($color)
|
35
38
|
@each $option in $options
|
36
39
|
@if $option == 'left'
|
@@ -85,6 +85,9 @@ $facebook: #3b5998
|
|
85
85
|
$hatena: #008FDE
|
86
86
|
$pocket: #f23c53
|
87
87
|
|
88
|
+
$default-text: black !default
|
89
|
+
$reversal-text: white !default
|
90
|
+
|
88
91
|
// luma contrast color
|
89
92
|
$luma-contrast-bright-color: $default-text !global
|
90
93
|
$luma-contrast-dark-color: $reversal-text !global
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-oulu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.32
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- machida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|