futuro 0.5.3 → 0.5.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 720071786f7c677ea700175db2af8fc0dc0dd4cdc0174a288f516a2228b4ac96
4
- data.tar.gz: 65931a89b40347a11f769c9d449d2ad5f61e8ae5db9ca52e658846f49af82b3a
3
+ metadata.gz: 8f650f8f19a3aefa0acbd53954b0d6457e61bd17758789ccce236006690df175
4
+ data.tar.gz: d8e27abef5179d9174b2a24b1dbb8eaa50a26fee1e2ab7700dafa0cf674e92fc
5
5
  SHA512:
6
- metadata.gz: f9d37024eef43ccf7e947ea7bb7c2fedb350641d70347c2977a1db72de6c39d664101f9873af6f4b68ffbb31efcb3c4b360dda271b0381517726388b56837085
7
- data.tar.gz: 8ac9a2dfead8aa2d3d1bc528a84c6ca4d18886949d4a4362ad8551b226571aec1094902bc11777ce7ee132db08045f456183f38458e9c7c1e2a355c1c1fc8276
6
+ metadata.gz: b907386371a7ad373abe9e2883ff754f04afd56f56f5770d07aa1d481a47e4afb9606fab14547d38b7ff43a131da31c165be344fac6c200db1ff7a4ca4434a6e
7
+ data.tar.gz: 9580a56442d064ee286cb8d390a4d4c758bb708dcbe38d79f59d2e73e8ade0b0d397171f0b2c61d2b6981d5e913d3f3be535ae6f2177285490fca6c2d3c3ded3
@@ -1,16 +1,12 @@
1
1
 
2
2
  {% assign title = include.title | downcase %}
3
- {% assign legacy = site.setup.legacy %}
3
+ {% assign display = site.setup.display %}
4
4
 
5
- {% if include.state %}
6
- <div class="area overlay {{ title }}{% if include.demo %} demo{% endif %}" style="{% if legacy %} display: block; {% else %} display: grid; {% endif %}">
7
- {% else %}
8
- <div class="area overlay {{ title }}{% if include.demo %} demo{% endif %}">
9
- {% endif %}
5
+ <div class="area overlay {{ title }} {% if display == 'block' %}{{ display }}{%- endif -%}" style="{% if include.state %} display: {{ display }}; {% endif %}">
10
6
  {% unless include.exit == 'false' %}
11
7
  <div class="exit {{ title }}"></div>
12
8
  {% endunless %}
13
- <div class="wrap overlay {{ title }}{% if include.demo %} demo{% endif %}">
9
+ <div class="wrap overlay {{ title }} {% if display == 'block' %}{{ display }}{%- endif -%}">
14
10
  {% include html/overlay/{{ include.title }}.liquid %}
15
11
  </div>
16
12
  </div>
@@ -12,23 +12,32 @@
12
12
  color: $gun;
13
13
  z-index: 4;
14
14
 
15
+ &.block {
16
+ @include center;
17
+ text-align: center;
18
+ }
19
+
15
20
  &.load {
16
- @extend %grid_load;
17
21
  background-color: $smoke;
18
22
  z-index: 5;
19
23
 
20
- &.demo {
24
+ &:not(.block) {
21
25
  @extend %grid_load;
22
26
  }
23
27
  }
24
28
 
25
29
  &.mobile {
26
- @extend %grid_load;
27
30
  background-color: $smoke;
31
+
32
+ &:not(.block) {
33
+ @extend %grid_load;
34
+ }
28
35
  }
29
36
 
30
37
  &.about {
31
- @extend %grid_overlay;
38
+ &:not(.block) {
39
+ @extend %grid_overlay;
40
+ }
32
41
 
33
42
  h4 + p, p + p {
34
43
  margin-top: 20px;
@@ -36,10 +45,14 @@
36
45
  }
37
46
 
38
47
  &.browse {
39
- @extend %grid_overlay;
48
+ &:not(.block) {
49
+ @extend %grid_overlay;
50
+ }
40
51
  }
41
52
 
42
53
  &.search {
43
- @extend %grid_search;
54
+ &:not(.block) {
55
+ @extend %grid_search;
56
+ }
44
57
  }
45
58
  }
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,48 @@
1
+
2
+ .wrap.overlay {
3
+ position: relative;
4
+ z-index: 2;
5
+
6
+ &:not(.block) {
7
+ @extend %wrap_grid;
8
+ align-self: center;
9
+ }
10
+
11
+ &.block {
12
+ @include ib;
13
+ width: 100%;
14
+ }
15
+
16
+ &.load {
17
+ text-align: center;
18
+
19
+ &.block {
20
+ padding-right: 40px;
21
+ padding-left: 40px;
22
+ max-width: 400px;
23
+ }
24
+
25
+ .title + .box {
26
+ margin-top: 20px;
27
+ }
28
+ }
29
+
30
+ &.mobile {
31
+ text-align: center;
32
+ font-size: 2.1rem;
33
+
34
+ &.block {
35
+ padding-right: 40px;
36
+ padding-left: 40px;
37
+ max-width: 400px;
38
+ }
39
+
40
+ p + .box.mobile {
41
+ margin-top: 20px;
42
+ }
43
+ }
44
+
45
+ &.search {
46
+ grid-gap: 5px;
47
+ }
48
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: futuro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Heading
@@ -160,8 +160,8 @@ files:
160
160
  - _sass/_textarea.scss
161
161
  - _sass/_title.scss
162
162
  - _sass/_wrap.scss
163
- - _sass/area/_overlay.scss
164
- - _sass/area/_topbar.scss
163
+ - _sass/area/overlay.scss
164
+ - _sass/area/topbar.scss
165
165
  - _sass/block/browse.scss
166
166
  - _sass/block/results.scss
167
167
  - _sass/block/util.scss
@@ -169,11 +169,11 @@ files:
169
169
  - _sass/fonts/_max.scss
170
170
  - _sass/futuro.lite.scss
171
171
  - _sass/futuro.scss
172
- - _sass/helpers/_extends.scss
173
- - _sass/helpers/_mixins.scss
174
- - _sass/helpers/_variables.scss
172
+ - _sass/helpers/extends.scss
173
+ - _sass/helpers/mixins.scss
174
+ - _sass/helpers/variables.scss
175
175
  - _sass/title/_overlay.scss
176
- - _sass/wrap/_overlay.scss
176
+ - _sass/wrap/overlay.scss
177
177
  - assets/css/fallback.jpg
178
178
  - assets/css/favicon.png
179
179
  - assets/css/styles.lite.scss
@@ -1,28 +0,0 @@
1
-
2
- .wrap.overlay {
3
- @extend %wrap_grid;
4
- align-self: center;
5
- position: relative;
6
- z-index: 2;
7
-
8
- &.load {
9
- text-align: center;
10
-
11
- .title + .box {
12
- margin-top: 20px;
13
- }
14
- }
15
-
16
- &.mobile {
17
- text-align: center;
18
- font-size: 2.1rem;
19
-
20
- p + .box.mobile {
21
- margin-top: 20px;
22
- }
23
- }
24
-
25
- &.search {
26
- grid-gap: 5px;
27
- }
28
- }