oulu 0.17.9 → 0.18.0
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/_oulu-base.sass +0 -1
- data/app/assets/stylesheets/_oulu-mixins.sass +0 -1
- data/app/assets/stylesheets/modules/buttons/_button-base.sass +3 -3
- data/app/assets/stylesheets/modules/themes/admin/blocks/form/_admin-form-radio.sass +1 -1
- data/app/assets/stylesheets/settings/mixins/_font-awesome.sass +29 -9
- data/lib/oulu/version.rb +1 -1
- metadata +2 -3
- data/app/assets/stylesheets/settings/mixins/_list.sass +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd620633fb9ac0f13e106d6c2b82ab6caae854b256258da46d0d4b01da189ce6
|
|
4
|
+
data.tar.gz: 3357de28daf8039ea2ece5a8e6678df9aadcfcf456910afd734bf87f3bc76c62
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b0be05f4560a3e313c003a396923b15350f82cb0953beea138f4d342cde33b5a815bcb5ca4df03a5bc69436efed0200a20665232a7327ab4b3ab3a556c19e65f
|
|
7
|
+
data.tar.gz: 489ef93ce3540cfe1ef2fc76667d85c61285c9e091f41298fb30a30398682c74b071af1cf67b936507feb4a6c0d7c956049b4cea98b4aae8b102ee7a6cc7af2b
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
$button-height: $button-height
|
|
88
88
|
padding-left: $icon-width
|
|
89
89
|
&:before
|
|
90
|
-
+fa("\f0d7")
|
|
90
|
+
+fa(fas "\f0d7")
|
|
91
91
|
+position(absolute, left 0, top 0)
|
|
92
92
|
border-right: .0625rem solid shade($secondary, 15%)
|
|
93
93
|
+text-block($icon-size ($button-height - $border-width * 2), center shade($secondary, 55%))
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
position: relative
|
|
101
101
|
overflow: hidden
|
|
102
102
|
&:after
|
|
103
|
-
+fa("\f0d7")
|
|
103
|
+
+fa(fas "\f0d7")
|
|
104
104
|
+position(absolute, right 0, top 0, bottom 0, 0)
|
|
105
105
|
+text-block($icon-size 1, center flex)
|
|
106
106
|
align-items: center
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
margin-top: $check-base-size / -2
|
|
128
128
|
&:after
|
|
129
129
|
$check-icon-size: $font-size * 1.4
|
|
130
|
-
+fa("\f00c")
|
|
130
|
+
+fa(fas "\f00c")
|
|
131
131
|
opacity: 0
|
|
132
132
|
+size($check-icon-size)
|
|
133
133
|
+text-block($check-icon-size 1, $button-checked-icon-color)
|
|
@@ -1,15 +1,35 @@
|
|
|
1
|
-
=
|
|
1
|
+
=font-awsome-4-core
|
|
2
2
|
display: inline-block
|
|
3
3
|
font-family: FontAwesome
|
|
4
4
|
font-style: normal
|
|
5
5
|
font-weight: normal
|
|
6
6
|
line-height: 1
|
|
7
|
-
content: "#{$icon}"
|
|
8
7
|
|
|
9
|
-
=
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
=font-awsome-5-core
|
|
9
|
+
-moz-osx-font-smoothing: grayscale
|
|
10
|
+
-webkit-font-smoothing: antialiased
|
|
11
|
+
display: inline-block
|
|
12
|
+
font-style: normal
|
|
13
|
+
font-variant: normal
|
|
14
|
+
text-rendering: auto
|
|
15
|
+
line-height: 1
|
|
16
|
+
|
|
17
|
+
=fa($value)
|
|
18
|
+
@if equal_nth($value, 1)
|
|
19
|
+
+font-awsome-4-core
|
|
20
|
+
content: "#{$value}"
|
|
21
|
+
@else if equal_nth($value, 2)
|
|
22
|
+
+font-awsome-5-core
|
|
23
|
+
content: "#{nth($value, 2)}"
|
|
24
|
+
@if nth($value, 1) == fa or nth($value, 1) == fas
|
|
25
|
+
font-family: 'Font Awesome 5 Free'
|
|
26
|
+
font-style: normal
|
|
27
|
+
font-weight: 900
|
|
28
|
+
@else if nth($value, 1) == far
|
|
29
|
+
font-family: 'Font Awesome 5 Free'
|
|
30
|
+
font-style: normal
|
|
31
|
+
font-weight: 400
|
|
32
|
+
@else if nth($value, 1) == fab
|
|
33
|
+
font-family: 'Font Awesome 5 Brands'
|
|
34
|
+
font-style: normal
|
|
35
|
+
font-weight: normal
|
data/lib/oulu/version.rb
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.
|
|
4
|
+
version: 0.18.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- machida
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-09-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -179,7 +179,6 @@ files:
|
|
|
179
179
|
- app/assets/stylesheets/settings/mixins/_image.sass
|
|
180
180
|
- app/assets/stylesheets/settings/mixins/_line.sass
|
|
181
181
|
- app/assets/stylesheets/settings/mixins/_link.sass
|
|
182
|
-
- app/assets/stylesheets/settings/mixins/_list.sass
|
|
183
182
|
- app/assets/stylesheets/settings/mixins/_margin-padding.sass
|
|
184
183
|
- app/assets/stylesheets/settings/mixins/_overlay.sass
|
|
185
184
|
- app/assets/stylesheets/settings/mixins/_positions.sass
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// +list(12px 24px, fa '\f192', 12px 3px 8px)
|
|
2
|
-
// +list(margin-left margin-bottom, fa '\f192', icon-size top left)
|
|
3
|
-
=list($margins: null, $list-style: null, $icon-position: null)
|
|
4
|
-
margin-left: optional_nth($margins, 1)
|
|
5
|
-
margin-bottom: optional_nth($margins, 2)
|
|
6
|
-
@for $i from 1 through length($list-style)
|
|
7
|
-
@if nth($list-style, $i) == "fa"
|
|
8
|
-
list-style-type: none
|
|
9
|
-
>li
|
|
10
|
-
position: relative
|
|
11
|
-
display: block
|
|
12
|
-
padding-left: optional_nth($icon-position, 1) + optional_nth($icon-position, 3)
|
|
13
|
-
&:before
|
|
14
|
-
+fa(optional_nth($list-style, $i + 1))
|
|
15
|
-
+text-block(optional_nth($icon-position, 1) optional_nth($icon-position, 1))
|
|
16
|
-
+position(absolute, left 0, top optional_nth($icon-position, 2))
|
|
17
|
-
@else if list_style_type(nth($list-style, $i))
|
|
18
|
-
list-style-type: nth($list-style, $i)
|
|
19
|
-
@else if list_style_position(nth($list-style, $i))
|
|
20
|
-
list-style-position: nth($list-style, $i)
|