oulu 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/_oulu-functions-before-variables.sass +0 -1
- data/app/assets/stylesheets/_oulu-mixins.sass +0 -1
- data/app/assets/stylesheets/modules/text-style/_disabled-h1.sass +6 -1
- data/app/assets/stylesheets/modules/text-style/_long-text-style.sass +12 -3
- data/app/assets/stylesheets/modules/themes/admin/blocks/navs/_admin-stack-nav.sass +17 -0
- data/bower.json +1 -1
- data/lib/oulu/version.rb +1 -1
- data/package.json +1 -1
- metadata +2 -4
- data/app/assets/stylesheets/settings/functions/_animation.sass +0 -90
- data/app/assets/stylesheets/settings/mixins/_animation.sass +0 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 279d9cefa03d53a6cd75bb6b7c3ba71c0f9f05de
|
4
|
+
data.tar.gz: 877b0d5b9ec445bf45eb7aff772ee1aec2b71eac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d6b7ba5eeadf259e9374993ffa86141daa6d80d232a81bb5f066110c87f46ade3fb40a60282aa850a6ee7661fffd01eb315f195114c625341160f8f2d3f55fc
|
7
|
+
data.tar.gz: 1d9c16d4280299802c2cb3cdde43fae9462da00dfd59431807f421af96c5bb4b991a3dafea09ed1b4d26d259882c5bd9a67800d5dc5871123698e04fa0a4be3e
|
@@ -15,7 +15,6 @@
|
|
15
15
|
@import settings/functions/image
|
16
16
|
@import settings/functions/background
|
17
17
|
@import settings/functions/border
|
18
|
-
@import settings/functions/animation
|
19
18
|
@import settings/functions/display
|
20
19
|
@import settings/functions/assign-inputs
|
21
20
|
@import settings/functions/flex
|
@@ -16,7 +16,6 @@
|
|
16
16
|
@import settings/mixins/overlay
|
17
17
|
@import settings/mixins/balloon-tail
|
18
18
|
@import settings/mixins/margin-padding
|
19
|
-
@import settings/mixins/animation
|
20
19
|
@import settings/mixins/grid/grid-framework
|
21
20
|
@import settings/mixins/grid/grid
|
22
21
|
@import settings/mixins/break-points
|
@@ -1,5 +1,5 @@
|
|
1
1
|
=disabled-h1($disabled-h1, $pc-font-size, $mobile-font-size)
|
2
|
-
@if $disabled-h1
|
2
|
+
@if $disabled-h1
|
3
3
|
h1
|
4
4
|
color: transparent
|
5
5
|
height: 1.75rem
|
@@ -16,3 +16,8 @@
|
|
16
16
|
+position(absolute, left 0, top 0, right 0, bottom 0)
|
17
17
|
+media-breakpoint-down(sm)
|
18
18
|
font-size: $mobile-font-size
|
19
|
+
@else
|
20
|
+
h1
|
21
|
+
+text-block(2em 1.4 .75em, 600)
|
22
|
+
* + h1
|
23
|
+
margin-top: 1.2em
|
@@ -9,7 +9,7 @@ $background: white !default
|
|
9
9
|
$font: #333 !default
|
10
10
|
$disabled-h1: false !default
|
11
11
|
|
12
|
-
=long-text-style($pc-font-size: 1rem, $mobile-font-size: .8125rem, $background: $base-color, $font: $default-text, $disabled-h1:
|
12
|
+
=long-text-style($pc-font-size: 1rem, $mobile-font-size: .8125rem, $background: $base-color, $font: $default-text, $disabled-h1: false)
|
13
13
|
font-size: $pc-font-size
|
14
14
|
+media-breakpoint-down(sm)
|
15
15
|
font-size: $mobile-font-size
|
@@ -19,9 +19,11 @@ $disabled-h1: false !default
|
|
19
19
|
margin-bottom: 0
|
20
20
|
+disabled-h1($disabled-h1, $pc-font-size, $mobile-font-size)
|
21
21
|
h2
|
22
|
-
+text-block(1.625em 1.4
|
22
|
+
+text-block(1.625em 1.4 .75em, 600)
|
23
23
|
padding-bottom: .25em
|
24
24
|
border-bottom: .0625rem solid mix($font, $background, 20%)
|
25
|
+
h1 + h2
|
26
|
+
margin-top: 1em
|
25
27
|
* + h2
|
26
28
|
margin-top: 1.4em
|
27
29
|
|
@@ -49,8 +51,15 @@ $disabled-h1: false !default
|
|
49
51
|
code
|
50
52
|
+source-code-pro
|
51
53
|
pre
|
54
|
+
padding: 0
|
55
|
+
margin-bottom: 1.5em
|
52
56
|
code
|
53
|
-
|
57
|
+
border: solid .0625rem mix($font, $background, 20%)
|
58
|
+
+text-block(.9375em 1.5)
|
59
|
+
overflow: auto
|
60
|
+
display: block
|
61
|
+
width: 100%
|
62
|
+
padding: .875em
|
54
63
|
p,
|
55
64
|
li
|
56
65
|
code
|
@@ -32,3 +32,20 @@ body
|
|
32
32
|
.admin-stack-nav__item-link-icon
|
33
33
|
font-size: 1.125em
|
34
34
|
margin-right: .5em
|
35
|
+
|
36
|
+
.admin-stack-nav-children__item
|
37
|
+
&:not(:last-child)
|
38
|
+
border-bottom: solid .0625rem rgba(white, .15)
|
39
|
+
|
40
|
+
.admin-stack-nav-children__item-link
|
41
|
+
+text-block(1em 1.4, $admin-reversal-text flex)
|
42
|
+
padding: .875em
|
43
|
+
min-height: 3.15em
|
44
|
+
align-items: center
|
45
|
+
background-color: shade($admin-main-color, 20%)
|
46
|
+
&:hover
|
47
|
+
background-color: shade($admin-main-color, 20%)
|
48
|
+
&.is-current
|
49
|
+
background-color: shade($admin-main-color, 30%)
|
50
|
+
&:hover
|
51
|
+
background-color: shade($admin-main-color, 30%)
|
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.16.
|
4
|
+
version: 0.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- machida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -141,7 +141,6 @@ files:
|
|
141
141
|
- app/assets/stylesheets/modules/web-fonts/_ubuntu.sass
|
142
142
|
- app/assets/stylesheets/modules/web-fonts/_varela-round.sass
|
143
143
|
- app/assets/stylesheets/modules/web-fonts/_vt323.sass
|
144
|
-
- app/assets/stylesheets/settings/functions/_animation.sass
|
145
144
|
- app/assets/stylesheets/settings/functions/_assign-inputs.sass
|
146
145
|
- app/assets/stylesheets/settings/functions/_background.sass
|
147
146
|
- app/assets/stylesheets/settings/functions/_bool.sass
|
@@ -164,7 +163,6 @@ files:
|
|
164
163
|
- app/assets/stylesheets/settings/functions/_timing.sass
|
165
164
|
- app/assets/stylesheets/settings/initializers/_reboot.sass
|
166
165
|
- app/assets/stylesheets/settings/initializers/_sanitize.sass
|
167
|
-
- app/assets/stylesheets/settings/mixins/_animation.sass
|
168
166
|
- app/assets/stylesheets/settings/mixins/_background.sass
|
169
167
|
- app/assets/stylesheets/settings/mixins/_balloon-tail.sass
|
170
168
|
- app/assets/stylesheets/settings/mixins/_basic-font.sass
|
@@ -1,90 +0,0 @@
|
|
1
|
-
@function time($value)
|
2
|
-
@if unit_number($value) and unit($value) == s
|
3
|
-
@return true
|
4
|
-
@else
|
5
|
-
@return null
|
6
|
-
|
7
|
-
@function timing_function($value)
|
8
|
-
@if string($value)
|
9
|
-
@if $value == 'ease' or $value == 'linear' or $value == 'ease-in' or $value == 'ease-out' or $value == 'ease-in-out' or str-index($value, cubic-bezier)
|
10
|
-
@return true
|
11
|
-
@else
|
12
|
-
@return null
|
13
|
-
@else
|
14
|
-
@return null
|
15
|
-
|
16
|
-
@function delay($value)
|
17
|
-
@if list($value) and nth($value, 1) == delay
|
18
|
-
@return true
|
19
|
-
@else
|
20
|
-
@return null
|
21
|
-
|
22
|
-
//////////////////
|
23
|
-
// transition
|
24
|
-
//////////////////
|
25
|
-
|
26
|
-
@function transition_duration($value)
|
27
|
-
@return time($value)
|
28
|
-
|
29
|
-
@function transition_timing_function($value)
|
30
|
-
@return timing_function($value)
|
31
|
-
|
32
|
-
@function transition_delay($value)
|
33
|
-
@return delay($value)
|
34
|
-
|
35
|
-
@function transition-property($value)
|
36
|
-
@if string($value)
|
37
|
-
@if not transition_timing_function($value) or not transition_duration($value) or not transition_delay($value)
|
38
|
-
@return true
|
39
|
-
@else
|
40
|
-
@return null
|
41
|
-
@else if list($value)
|
42
|
-
@return true
|
43
|
-
@else
|
44
|
-
@return null
|
45
|
-
|
46
|
-
//////////////////
|
47
|
-
// animation
|
48
|
-
//////////////////
|
49
|
-
|
50
|
-
@function animation_duration($value)
|
51
|
-
@return time($value)
|
52
|
-
|
53
|
-
@function animation_timing_function($value)
|
54
|
-
@return timing_function($value)
|
55
|
-
|
56
|
-
@function animation_delay($value)
|
57
|
-
@return delay($value)
|
58
|
-
|
59
|
-
@function animation_iteration_count($value)
|
60
|
-
@if unitless_number($value) or (string($value) and $value == 'infinite')
|
61
|
-
@return true
|
62
|
-
@else
|
63
|
-
@return null
|
64
|
-
|
65
|
-
@function animation_direction($value)
|
66
|
-
@if string($value) and ($value == 'normal' or $value == 'alternate')
|
67
|
-
@return true
|
68
|
-
@else
|
69
|
-
@return null
|
70
|
-
|
71
|
-
@function animation_fill_mode($value)
|
72
|
-
@if string($value) and ($value == 'nonel' or $value == 'forwards' or $value == 'backwards' or $value == 'both')
|
73
|
-
@return true
|
74
|
-
@else
|
75
|
-
@return null
|
76
|
-
|
77
|
-
@function animation_play_state($value)
|
78
|
-
@if string($value) and ($value == 'running' or $value == 'paused')
|
79
|
-
@return true
|
80
|
-
@else
|
81
|
-
@return null
|
82
|
-
|
83
|
-
@function animation_name($value)
|
84
|
-
@if string($value)
|
85
|
-
@if animation_timing_function($value) or animation_duration($value) or animation_delay($value) or animation_iteration_count($value) or animation_direction($value) or animation_fill_mode($value) or animation_play_state($value)
|
86
|
-
@return null
|
87
|
-
@else
|
88
|
-
@return true
|
89
|
-
@else
|
90
|
-
@return null
|
@@ -1,36 +0,0 @@
|
|
1
|
-
=animation($values...)
|
2
|
-
$animation-values: ()
|
3
|
-
@each $value in $values
|
4
|
-
$animation-value: ()
|
5
|
-
$animation-name: ()
|
6
|
-
$animation-duration: ()
|
7
|
-
$animation-timing-function: ()
|
8
|
-
$animation-delay: ()
|
9
|
-
$animation-iteration-count: ()
|
10
|
-
$animation-direction: ()
|
11
|
-
$animation-fill-mode: ()
|
12
|
-
$animation-play-state: ()
|
13
|
-
@each $property in $value
|
14
|
-
@if animation_name($property)
|
15
|
-
$animation-name: $property
|
16
|
-
@else if animation_duration($property)
|
17
|
-
$animation-duration: $property
|
18
|
-
@else if animation_timing_function($property)
|
19
|
-
$animation-timing-function: $property
|
20
|
-
@else if animation_delay($property)
|
21
|
-
$animation-delay: nth($property, 2)
|
22
|
-
@else if animation_iteration_count($property)
|
23
|
-
$animation-iteration-count: $property
|
24
|
-
@else if animation_direction($property)
|
25
|
-
$animation-direction: $property
|
26
|
-
@else if animation_fill_mode($property)
|
27
|
-
$animation-fill-mode: $property
|
28
|
-
@else if animation_play_state($property)
|
29
|
-
$animation-play-state: $property
|
30
|
-
$animation-value: $animation-name $animation-duration $animation-delay $animation-iteration-count $animation-timing-function $animation-direction $animation-fill-mode $animation-play-state
|
31
|
-
$animation-values: append($animation-values, $animation-value, comma)
|
32
|
-
animation: $animation-values
|
33
|
-
|
34
|
-
=keyframes($animation-name)
|
35
|
-
@keyframes $animation-name
|
36
|
-
@content
|