futuro 1.0.9 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df006dc97dfd41ed409de4e0257ab098dd330c5c575f2732f6d6e94a5050b6bb
4
- data.tar.gz: 3cda7862c3f909fb6b420b2ffcac8a1be375c18b7d955f093a094362741eedb1
3
+ metadata.gz: d8050b8e3d097383f0cbd38f342641bc1bdac3629ce2f7f60243aedb59a80f69
4
+ data.tar.gz: 90e6bd2abf546b589b9f6d665bdb221dafdc7623b30266aa613bdb685e8b786d
5
5
  SHA512:
6
- metadata.gz: 395cfdc7341ac674c5d8370b80a8934a8ee625381b7d2e33e7a27feac78c819bd791356fec673fbade993a6f4ebfb549e2e79cad532f84de35724a72d8dff2ec
7
- data.tar.gz: 69f14161038ad79f3da04059e485ccccec93a6513389da4ac2c8f2f3c539c6b9058fd0f366fac83d2c3ae24c6c606b1bda386b54b9431a87eaf114b8cb3636e2
6
+ metadata.gz: b6e1fc8e50526565a2b119a4da033e688e1c7b1981b4ad4a0975dbca198dfd8f720338c7d725b41f6c457989cd3344b0f86e6f758aa189382cadcc3406bc1d61
7
+ data.tar.gz: 1a5fe92b64381cb62c1a50f71b39c0a558ea3b086750164483383af83a50eb2f061db16dd65f80e3aebb418d353775a50e65e11f12fe5cbfa9f9233beaded222
@@ -4,7 +4,8 @@
4
4
  {% assign PageChapter = page.chapter | replace : ' ','-' | downcase %}
5
5
  {% assign PageTopic = page.topic | replace : ' ','-' | downcase %}
6
6
  {% assign PageTitle = page.title | replace : ' ','-' | downcase %}
7
- {% assign PageTag = page.tag | replace : ' ',' tag-' | prepend : ' tag-' | downcase %}
7
+ {% assign PageTag = page.tag | replace : ' ',' tag-' | prepend : ' tag-' | downcase %}
8
+ {% assign PageLabel = page.label | prepend: '/' | downcase %}
8
9
 
9
10
  {% assign PageUrl = page.url | replace : '.html','' | replace : '/index','' | slice: 1,999 %}
10
11
  {% assign PageShare = PageUrl | prepend : '/' | prepend : site.url %}
@@ -1,28 +1,25 @@
1
1
 
2
- {% assign SiteInstall = site.setup.install | replace : ' ','-' | prepend : 'install-' | downcase %}
3
- {% assign SiteStyle = site.setup.style | replace : ' ','-' | prepend : 'style-' | downcase %}
4
-
5
- {% assign Site = 'html/site/' %}
6
- {% assign SitePage = 'html/page/' %}
7
- {% assign SiteOverlay = 'html/overlay/' %}
8
- {% assign SiteLayout = 'html/layout/' %}
9
-
10
- {% assign SiteUtil = SitePage | append : 'util/' %}
11
- {% assign SiteContent = SitePage | append : 'content/' %}
12
- {% assign PageBlock = SitePage | append : 'block/' %}
13
-
14
- {% assign ContentLoop = SiteContent | append : 'loop/' %}
15
- {% assign LoopArtwork = ContentLoop | append : 'artwork/' %}
16
- {% assign LoopForm = ContentLoop | append : 'form/' %}
17
- {% assign LoopRoller = ContentLoop | append : 'roller/' %}
18
- {% assign LoopHeader = ContentLoop | append : 'header/' %}
19
- {% assign LoopScreen = ContentLoop | append : 'screen/' %}
20
- {% assign LoopButton = ContentLoop | append : 'button/' %}
21
- {% assign LoopAlert = ContentLoop | append : 'alert/' %}
2
+ {% assign Site = 'html/site/' %}
3
+ {% assign SitePage = 'html/page/' %}
4
+ {% assign SiteOverlay = 'html/overlay/' %}
5
+ {% assign SiteLayout = 'html/layout/' %}
6
+
7
+ {% assign SiteUtil = SitePage | append : 'util/' %}
8
+ {% assign SiteContent = SitePage | append : 'content/' %}
9
+ {% assign PageBlock = SitePage | append : 'block/' %}
10
+ {% assign SiteTopbar = SitePage | append : 'topbar/' %}
11
+
12
+ {% assign ContentLoop = SiteContent | append : 'loop/' %}
13
+ {% assign LoopArtwork = ContentLoop | append : 'artwork/' %}
14
+ {% assign LoopForm = ContentLoop | append : 'form/' %}
15
+ {% assign LoopRoller = ContentLoop | append : 'roller/' %}
16
+ {% assign LoopHeader = ContentLoop | append : 'header/' %}
17
+ {% assign LoopScreen = ContentLoop | append : 'screen/' %}
18
+ {% assign LoopButton = ContentLoop | append : 'button/' %}
19
+ {% assign LoopAlert = ContentLoop | append : 'alert/' %}
22
20
 
23
21
  {% assign SiteSvg = 'svg/site/' %}
24
22
  {% assign SvgLoad = SiteSvg | append : 'load/' %}
25
- {% assign SvgBook = SiteSvg | append : 'book/' %}
26
23
  {% assign SvgBtn = SiteSvg | append : 'btn/' %}
27
24
  {% assign SvgIcon = SiteSvg | append : 'icon.liquid' %}
28
25
 
@@ -32,6 +29,18 @@
32
29
  {% assign LayoutTitle = page.title | replace : ' ','-' | prepend : ' title-' | downcase %}
33
30
  {% assign LayoutTopic = page.topic | replace : ' ','-' | downcase %}
34
31
 
32
+ {%- if site.setup.install -%}
33
+ {% assign SiteInstall = site.setup.install | prepend : 'install-' %}
34
+ {%- else -%}
35
+ {% assign SiteInstall = "install-library" %}
36
+ {%- endif -%}
37
+
38
+ {%- if site.setup.style -%}
39
+ {% assign SiteStyle = site.setup.style | prepend : 'style-' %}
40
+ {%- else -%}
41
+ {% assign SiteStyle = "style-page" %}
42
+ {%- endif -%}
43
+
35
44
  {%- if site.setup.respond -%}
36
45
  {% assign SiteIsResponsive = true %}
37
46
  {%- else -%}
@@ -1,7 +1,11 @@
1
1
 
2
2
  {% unless SiteIsTheme %}
3
3
 
4
- {% include {{ SitePage | append : 'clippies.liquid' }} %}
4
+ {% unless PageIsHome %}
5
+
6
+ {% include {{ SitePage | append : 'clippies.liquid' }} %}
7
+
8
+ {% endunless %}
5
9
 
6
10
  {% endunless %}
7
11
 
@@ -1,6 +1,5 @@
1
1
 
2
- <div class="wrap page-wrap {{ PageType }}
3
- {% if site.setup.style %}{{ SiteStyle }}{% endif %}
2
+ <div class="wrap page-wrap {{ PageType }} {{ SiteStyle }}
4
3
  {% if page.collection %}{{ PageBook | prepend : 'book-' }}{% endif %}
5
4
  {% if page.chapter %}{{ PageChapter | prepend : 'chapter-' }}{% endif %}
6
5
  {% if page.topic %}{{ PageTopic | prepend : 'topic-' }} in-topic{% endif %}
@@ -3,18 +3,28 @@
3
3
 
4
4
  {% for book in loop %}
5
5
 
6
- {% assign label = book.label %}
7
- {% assign url = label | prepend: '/' | append: '/' %}
8
- {% assign svg = label | append: '.svg' %}
6
+ {% assign url = book.label | prepend: '/' | append: '/' %}
7
+ {% assign svg = book.label | append: '.svg' %}
9
8
 
10
- {% unless label == 'posts' %}
9
+ {% if book.live %}
10
+ {% assign href = url %}
11
+ {% assign class = book.label %}
12
+ {% else %}
13
+ {% assign href = "#" %}
14
+ {% assign class = "draft" %}
15
+ {% endif %}
16
+
17
+ {% unless book.label == 'posts' %}
11
18
 
12
19
  <div class="wrap book">
13
20
 
14
- <a class="link book {% if book.live %}{{ label }}{% else %}draft{% endif %}"
15
- href="{% if book.live %}{{ url }}{% else %}#{% endif %}">
21
+ <a class="link book {{ class }}" href="{{ href }}">
16
22
 
17
- {% include {{ SvgBook | append : svg }} %}
23
+ <span class="title book {{ class }}">
24
+
25
+ {{ book.label }}
26
+
27
+ </span>
18
28
 
19
29
  </a>
20
30
 
@@ -1,52 +1,63 @@
1
1
 
2
- {% assign label = page.label | downcase | prepend: '/' %}
3
-
4
2
  <div class="area topbar">
5
3
 
6
4
  <div class="block navigation left">
7
5
 
8
6
  <button type="button" class="navigation about">
9
- {% include {{ SvgBtn | append : 'about.svg' }} %}
7
+
8
+ {% include {{ SvgIcon }} type="about" %}
9
+
10
10
  </button>
11
11
 
12
12
  <button type="button" class="navigation browse">
13
- {% include {{ SvgBtn | append : 'browse.svg' }} %}
13
+
14
+ {% include {{ SvgIcon }} type="browse" %}
15
+
14
16
  </button>
15
17
 
16
18
  </div>
17
19
 
18
20
  <div class="block navigation main">
19
21
 
20
- {% assign loop = site.collections | sort: 'weight' %}
22
+ {% if page.error %}
21
23
 
22
- {% for page in loop %}
24
+ {% include {{ SiteTopbar | append : 'navigation/link.liquid' }}
25
+ title = "Home"
26
+ href = "/" %}
27
+
28
+ {% else %}
23
29
 
24
- {% if page.live %}
30
+ {% assign loop = site.collections | sort: 'weight' %}
25
31
 
26
- <a class="link navigation {{ page.label }}" href="{%- if site.setup.install == 'library' -%}{{ page.label | prepend: '/' }}{%- else -%}/{%- endif -%}">
27
- <button type="button" name="button">
28
- <strong>{{ page.label }}</strong>
29
- </button>
30
- </a>
32
+ {% for item in loop %}
31
33
 
32
- {% endif %}
34
+ {% if item.live %}
33
35
 
34
- {% endfor %}
36
+ {% include {{ SiteTopbar | append : 'navigation/link.liquid' }}
37
+ title = item.label %}
38
+
39
+ {% endif %}
40
+
41
+ {% endfor %}
42
+
43
+ {% endif %}
35
44
 
36
45
  </div>
37
46
 
38
47
  <div class="block navigation right">
39
48
 
40
- <button type="button" class="navigation cart" style="display:none;">
49
+ <!-- <button type="button" class="navigation cart">
41
50
  {% include {{ SvgBtn | append : 'cart.svg' }} %}
42
51
  </button>
43
52
 
44
- <button type="button" class="navigation count" style="display:none;">
53
+ <button type="button" class="navigation count">
45
54
  <strong>0</strong>
46
- </button>
55
+ </button> -->
47
56
 
48
57
  <button type="button" class="navigation search">
58
+
49
59
  {% include {{ SvgIcon }} type="search" %}
60
+
50
61
  </button>
51
62
 
52
63
  </div>
@@ -0,0 +1,22 @@
1
+
2
+ {% assign class = include.title | replace : ' ','-' | downcase %}
3
+
4
+ {% if include.href %}
5
+
6
+ {% assign href = include.href %}
7
+
8
+ {% else %}
9
+
10
+ {% assign href = class | prepend : '/' %}
11
+
12
+ {% endif %}
13
+
14
+ <a class="link navigation {{ class }}" href={{ href }}>
15
+
16
+ <button type="button" name="button">
17
+
18
+ <strong>{{ include.title }}</strong>
19
+
20
+ </button>
21
+
22
+ </a>
@@ -15,6 +15,14 @@
15
15
 
16
16
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/><path d="M0 0h24v24H0z" fill="none"/></svg>
17
17
 
18
+ {%- elsif include.type == "about" -%}
19
+
20
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M17.5,10.5c-0.5,0.5-1.1,0.7-1.8,0.7c-0.7,0-1.3-0.2-1.7-0.7 c-0.5-0.5-0.7-1.1-0.7-1.8C13.3,8,13.5,7.5,14,7c0.5-0.5,1.1-0.7,1.7-0.7c0.7,0,1.3,0.2,1.8,0.7C18,7.5,18.2,8,18.2,8.7 C18.2,9.4,18,10,17.5,10.5z M13.5,25.3H18v-11h-4.5V25.3z M16,0C7.2,0,0,7.2,0,16c0,8.8,7.2,16,16,16c8.8,0,16-7.2,16-16 C32,7.2,24.8,0,16,0z" fill-rule="evenodd" clip-rule="evenodd"/></svg>
21
+
22
+ {%- elsif include.type == "browse" -%}
23
+
24
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M27.2,4.6C21-1.6,10.8-1.5,4.6,4.8C-1.6,11-1.5,21.2,4.8,27.4 s16.4,6.2,22.6-0.1S33.5,10.8,27.2,4.6z" fill-rule="evenodd" clip-rule="evenodd"/><path d="M25.3,22.3L17,24.4L17.1,11l8.2-2V22.3z M7,8.8l8,2l-0.1,13.3 L7,22.2V8.8z" fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF"/></svg>
25
+
18
26
  {%- elsif include.type == "search" -%}
19
27
 
20
28
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.5,7.4C6.6,8.3,6,9.7,6,11.1s0.6,2.7,1.5,3.7c0.9,0.9,2.3,1.5,3.7,1.5 s2.7-0.6,3.7-1.5c0.9-0.9,1.5-2.3,1.5-3.7s-0.6-2.7-1.5-3.7c-1-1.1-2.3-1.5-3.7-1.5S8.5,6.4,7.5,7.4z M19.5,21.4l-4-4 c-1.2,0.9-2.7,1.3-4.2,1.3c-2.1,0-4-0.8-5.4-2.2c-1.4-1.4-2.2-3.3-2.2-5.3s0.8-4,2.2-5.4s3.4-2.3,5.4-2.3s4,0.8,5.4,2.2 S19,9,19,11.1c0,1.5-0.4,3-1.3,4.3l4,4L19.5,21.4z" fill-rule="evenodd" clip-rule="evenodd"/></svg>
@@ -67,7 +75,7 @@
67
75
 
68
76
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path d="M6,0c3.3,0,6,2.7,6,6s-2.7,6-6,6S0,9.3,0,6S2.7,0,6,0z"/></svg>
69
77
 
70
- {%- elsif include.type == "seatplan" -%}
78
+ {%- elsif include.type == "seatplan" -%}
71
79
 
72
80
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200">
73
81
  <path class="style-level-d" d="M109,102.5c3.6,0,6.5,2.9,6.5,6.5s-2.9,6.5-6.5,6.5s-6.5-2.9-6.5-6.5S105.4,102.5,109,102.5z"/>
@@ -39,6 +39,7 @@
39
39
  .block.chart-title {
40
40
  @include RotateTitle;
41
41
  left: calc(50% + 14px);
42
- bottom: 10px;
42
+ position: absolute;
43
43
  color: white;
44
+ bottom: 10px;
44
45
  }
@@ -8,6 +8,9 @@
8
8
 
9
9
  .block.util.type-page.style-page {
10
10
  @extend %ContentPrep;
11
+ fill: setcolor(coal);
12
+ grid-row-gap: 6px;
13
+ display: grid;
11
14
  }
12
15
 
13
16
  .block.util.type-chapter.style-page {
@@ -5,6 +5,7 @@
5
5
 
6
6
  @import
7
7
  "helpers/variables",
8
+ "helpers/variables/colors",
8
9
  "helpers/mixins",
9
10
  "helpers/mixins/layout",
10
11
  "helpers/mixins/items",
@@ -93,6 +94,7 @@
93
94
 
94
95
  @import
95
96
  "title/alert",
97
+ "title/book",
96
98
  "title/browse",
97
99
  "title/checkbox",
98
100
  "title/copied",
@@ -24,20 +24,3 @@
24
24
  :focus {
25
25
  outline: rgba(0,0,0,0);
26
26
  }
27
-
28
- // MINDSETS IMPORT ************************************************************
29
-
30
- // %table {
31
- // grid-template-columns: 220px repeat(4,110px);
32
- // list-style: none;
33
- // display: grid;
34
- // padding: 0;
35
-
36
- // li {
37
- // padding: 5px;
38
-
39
- // &:nth-of-type(n+2) {
40
- // text-align: center;
41
- // }
42
- // }
43
- // }
@@ -14,7 +14,6 @@
14
14
  @mixin RotateTitle($origin : bottom left, $deg : 90){
15
15
  transform: rotate(-#{$deg}deg);
16
16
  transform-origin: $origin;
17
- position: absolute;
18
17
  }
19
18
 
20
19
  @mixin PadBtn($value : 4) {
@@ -1,6 +1,4 @@
1
1
 
2
-
3
-
4
2
  // Used in Mindsets
5
3
  @mixin ThemeMorph($name,$color) {
6
4
  // find output path by dynamic class name
@@ -267,7 +265,7 @@
267
265
  } @else {
268
266
 
269
267
  // book covers
270
- .area.type-chapter.book-#{$book} {
268
+ .wrap.page-wrap.type-chapter.book-#{$book} {
271
269
  background-color: setcolor($color);
272
270
  }
273
271
  }
@@ -1,14 +1,15 @@
1
1
 
2
- // // ThemeBook | $name | $col
3
-
4
- // @include ThemeBook("orwell",blue);
5
-
6
- // @include ThemeBook("woolf",green);
7
-
8
- // // ThemeCover | $name | $col | $left | $chapter
9
-
10
- // @include ThemeCover("animal",blue,false,true);
11
-
12
- // // ThemePages | $name | $col | $right | $chapter
13
-
14
- // @include ThemePages("animal",blue,false,true);
2
+ $books : (
3
+ "orwell" : (
4
+ colour : "success"
5
+ ),
6
+ "woolf" : (
7
+ colour : "error"
8
+ )
9
+ );
10
+
11
+ @each $book, $map in $books {
12
+ @include ThemeBook ($book, map-get($map,colour));
13
+ @include ThemeCover ($book, false, map-get($map,colour));
14
+ @include ThemePages ($book, false, map-get($map,colour), map-get($map,info));
15
+ }
@@ -1,29 +1,4 @@
1
1
 
2
- // https://stackoverflow.com/questions/27740063/merge-multiple-sass-maps
3
-
4
- // Function for collecting multiple maps;
5
-
6
- @function map-collect($maps...) {
7
- $collection: ();
8
-
9
- @each $map in $maps {
10
- $collection: map-merge($collection, $map);
11
- }
12
- @return $collection;
13
- }
14
-
15
- // $color: map-collect($color-name, $color-event, $color-category);
16
-
17
- // Function for shorter usage of map-get();
18
-
19
- @function setcolor($scheme, $tone: base) {
20
-
21
- @return map-get(map-get($colormap, $scheme), $tone);
22
-
23
- }
24
-
25
- // color: setcolor(brown, light);
26
-
27
2
  $site : (
28
3
  padding : 50px
29
4
  );
@@ -34,9 +9,22 @@ $topbar : (
34
9
  );
35
10
 
36
11
  $book : (
37
- large : 110px,
38
- medium : 90px,
39
- small : 75px
12
+
13
+ large : (
14
+ title : 5.6rem,
15
+ width : 110px
16
+ ),
17
+
18
+ medium : (
19
+ title : 5.6rem,
20
+ width : 90px
21
+ ),
22
+
23
+ small : (
24
+ title : 5.6rem,
25
+ width : 75px
26
+ )
27
+
40
28
  );
41
29
 
42
30
  $query : (
@@ -53,223 +41,17 @@ $query : (
53
41
  min1024 : 'only screen and (min-width: 1024px)'
54
42
  );
55
43
 
56
- $colormap : (
57
-
58
- error : (
59
- base : #B94A48, // untested
60
- dark : darken(#B94A48,10%), // untested
61
- light : lighten(#B94A48,23%), // untested
62
- xlight : lighten(#B94A48,46%) // untested
63
- ),
64
-
65
- success : (
66
- base : #468847, // untested
67
- dark : darken(#468847,10%), // untested
68
- light : lighten(#468847,26%), // untested
69
- xlight : lighten(#468847,52%) // untested
70
- ),
71
-
72
- level : (
73
- a : #e61717,
74
- b : #0099e6,
75
- c : #ff8001,
76
- d : #3bb300,
77
- e : #8b3788,
78
- f : #e60073,
79
- g : #b35900,
80
- y : #ffaa00,
81
- l : #b8b8b8
82
- ),
83
-
84
- system : (
85
- base : #6e46a0
86
- ),
87
-
88
- brand : (
89
- base : #ff8200
90
- ),
91
-
92
- supply : (
93
- base : #f00a0a
94
- ),
95
-
96
- demo : (
97
- base : #005a9b
98
- ),
99
-
100
- theatre : (
101
- base : #019fc6
102
- ),
103
-
104
- talks : (
105
- base : #ff9000
106
- ),
107
-
108
- music : (
109
- base : #dc3636
110
- ),
111
-
112
- classical : (
113
- base : #bf8f3a
114
- ),
115
-
116
- cinema : (
117
- base : #259d31
118
- ),
119
-
120
- tours : (
121
- base : #718ab2
122
- ),
123
-
124
- hire : (
125
- base : #412f79, // untested
126
- dark : darken(#412f79,0%), // untested
127
- light : lighten(#412f79,32%), // untested
128
- xlight : lighten(#412f79,64%) // untested
129
- ),
130
-
131
- members : (
132
- base : #5d91e5, // untested
133
- dark : darken(#5d91e5,10%), // untested
134
- light : lighten(#5d91e5,18%), // untested
135
- xlight : lighten(#5d91e5,35%) // untested
136
- ),
137
-
138
- art : (
139
- base : #f90082
140
- ),
141
-
142
- shop : (
143
- base : #23D5B0, // untested
144
- dark : darken(#23D5B0,0%), // untested
145
- light : lighten(#23D5B0,25%), // untested
146
- xlight : lighten(#23D5B0,50%) // untested
147
- ),
148
-
149
- addicts : (
150
- base : #e6433a,
151
- dark : darken(#e6433a,10%), // untested
152
- light : lighten(#e6433a,20%), // untested
153
- xlight : lighten(#e6433a,40%) // untested
154
- ),
155
-
156
- family : (
157
- base : #029ddf,
158
- dark : darken(#029ddf,10%), // untested
159
- light : lighten(#029ddf,20%), // untested
160
- xlight : lighten(#029ddf,40%) // untested
161
- ),
162
-
163
- receptive : (
164
- base : #b25400,
165
- dark : darken(#b25400,10%), // untested
166
- light : lighten(#b25400,20%), // untested
167
- xlight : lighten(#b25400,40%) // untested
168
- ),
169
-
170
- value : (
171
- base : #5fb641,
172
- dark : darken(#5fb641,10%), // untested
173
- light : lighten(#5fb641,20%), // untested
174
- xlight : lighten(#5fb641,40%) // untested
175
- ),
176
-
177
- next : (
178
- base : #ffa905,
179
- dark : darken(#ffa905,10%), // untested
180
- light : lighten(#ffa905,20%), // untested
181
- xlight : lighten(#ffa905,40%) // untested
182
- ),
183
-
184
- maybe : (
185
- base : #974597,
186
- dark : darken(#974597,10%), // untested
187
- light : lighten(#974597,20%), // untested
188
- xlight : lighten(#974597,40%) // untested
189
- ),
190
-
191
- paradise : (
192
- base : #e8396c,
193
- dark : darken(#e8396c,10%), // untested
194
- light : lighten(#e8396c,20%), // untested
195
- xlight : lighten(#e8396c,40%) // untested
196
- ),
197
-
198
- artforall : (
199
- base : #f9ae00
200
- ),
201
-
202
- park : (
203
- base : #009640
204
- ),
205
-
206
- news : (
207
- base : #009fe3
208
- ),
209
-
210
- green : (
211
- base : #259d31
212
- ),
213
-
214
- generic : (
215
- base : #fe5900,
216
- dark : darken(#fe5900,10%),
217
- light : lighten(#fe5900,24%),
218
- xlight : lighten(#fe5900,48%)
219
- ),
220
-
221
- dodgers : (
222
- base : #0092FF,
223
- dark : darken(#0092FF,10%),
224
- light : lighten(#0092FF,24%),
225
- xlight : lighten(#0092FF,48%)
226
- ),
227
-
228
- smoke : (
229
- base : #E6E6E6,
230
- dark : darken(#E6E6E6,10%),
231
- light : lighten(#E6E6E6,50%),
232
- xlight : lighten(#E6E6E6,75%)
233
- ),
234
-
235
- gray : (
236
- base : #CCCCCC,
237
- dark : darken(#CCCCCC,10%),
238
- light : lighten(#CCCCCC,50%),
239
- xlight : lighten(#CCCCCC,75%)
240
- ),
241
-
242
- gun : (
243
- base : #666666, // untested
244
- dark : darken(#666666,10%), // untested
245
- light : lighten(#666666,32%), // untested
246
- xlight : lighten(#666666,56%) // untested
247
- ),
44
+ $radius : 4px;
45
+ $NavBorder : 1px solid setcolor(gray);
46
+ $BigGap : map-get($topbar,height) + map-get($site,padding);
47
+ $SmallGap : 20px;
248
48
 
249
- slate : (
250
- base : #333333, // tested
251
- dark : darken(#333333,10%), // tested
252
- light : lighten(#333333,50%), // tested
253
- xlight : lighten(#333333,75%) // tested
254
- ),
255
49
 
256
- carbon : (
257
- base : #1A1A1A,
258
- dark : darken(#1A1A1A,10%),
259
- light : lighten(#1A1A1A,50%),
260
- xlight : lighten(#1A1A1A,75%)
261
- ),
50
+ // https://stackoverflow.com/questions/27740063/merge-multiple-sass-maps
51
+ // function for more concise usage of map-get()
262
52
 
263
- coal : (
264
- base : #0D0D0D,
265
- dark : darken(#0D0D0D,10%),
266
- light : lighten(#0D0D0D,50%),
267
- xlight : lighten(#0D0D0D,75%)
268
- )
53
+ @function getbook($size, $value) {
269
54
 
270
- );
55
+ @return map-get(map-get($book, $size), $value);
271
56
 
272
- $radius : 4px;
273
- $NavBorder : 1px solid setcolor(gray);
274
- $BigGap : map-get($topbar,height) + map-get($site,padding);
275
- $SmallGap : 20px;
57
+ }
@@ -0,0 +1,290 @@
1
+
2
+ // https://stackoverflow.com/questions/27740063/merge-multiple-sass-maps
3
+ // function for collecting multiple sass maps
4
+
5
+ @function map-collect($maps...) {
6
+ $collection: ();
7
+
8
+ @each $map in $maps {
9
+ $collection: map-merge($collection, $map);
10
+ }
11
+
12
+ @return $collection;
13
+ }
14
+
15
+ $ux-colors : (
16
+
17
+ generic : (
18
+ base : #fe5900,
19
+ dark : darken(#fe5900,10%),
20
+ light : lighten(#fe5900,24%),
21
+ xlight : lighten(#fe5900,48%)
22
+ ),
23
+
24
+ dodgers : (
25
+ base : #0092FF,
26
+ dark : darken(#0092FF,10%),
27
+ light : lighten(#0092FF,24%),
28
+ xlight : lighten(#0092FF,48%)
29
+ ),
30
+
31
+ error : (
32
+ base : #B94A48, // untested
33
+ dark : darken(#B94A48,10%), // untested
34
+ light : lighten(#B94A48,23%), // untested
35
+ xlight : lighten(#B94A48,46%) // untested
36
+ ),
37
+
38
+ success : (
39
+ base : #468847, // untested
40
+ dark : darken(#468847,10%), // untested
41
+ light : lighten(#468847,26%), // untested
42
+ xlight : lighten(#468847,52%) // untested
43
+ )
44
+
45
+ );
46
+
47
+ $tier-colors : (
48
+
49
+ level_a : (
50
+ base : #e61717
51
+ ),
52
+
53
+ level_b : (
54
+ base : #0099e6
55
+ ),
56
+
57
+ level_c : (
58
+ base : #ff8001
59
+ ),
60
+
61
+ level_d : (
62
+ base : #3bb300
63
+ ),
64
+
65
+ level_e : (
66
+ base : #8b3788
67
+ ),
68
+
69
+ level_f : (
70
+ base : #e60073
71
+ ),
72
+
73
+ level_g : (
74
+ base : #b35900
75
+ ),
76
+
77
+ level_y : (
78
+ base : #ffaa00
79
+ ),
80
+
81
+ level_l : (
82
+ base : #b8b8b8
83
+ )
84
+
85
+ );
86
+
87
+ $artform-colors : (
88
+
89
+ theatre : (
90
+ base : #019fc6
91
+ ),
92
+
93
+ talks : (
94
+ base : #ff9000
95
+ ),
96
+
97
+ music : (
98
+ base : #dc3636
99
+ ),
100
+
101
+ classical : (
102
+ base : #bf8f3a
103
+ ),
104
+
105
+ cinema : (
106
+ base : #259d31
107
+ ),
108
+
109
+ tours : (
110
+ base : #718ab2
111
+ ),
112
+
113
+ hire : (
114
+ base : #412f79, // untested
115
+ dark : darken(#412f79,0%), // untested
116
+ light : lighten(#412f79,32%), // untested
117
+ xlight : lighten(#412f79,64%) // untested
118
+ ),
119
+
120
+ members : (
121
+ base : #5d91e5, // untested
122
+ dark : darken(#5d91e5,10%), // untested
123
+ light : lighten(#5d91e5,18%), // untested
124
+ xlight : lighten(#5d91e5,35%) // untested
125
+ ),
126
+
127
+ art : (
128
+ base : #f90082
129
+ ),
130
+
131
+ shop : (
132
+ base : #23D5B0, // untested
133
+ dark : darken(#23D5B0,0%), // untested
134
+ light : lighten(#23D5B0,25%), // untested
135
+ xlight : lighten(#23D5B0,50%) // untested
136
+ )
137
+
138
+ );
139
+
140
+ $mindset-colors : (
141
+
142
+ addicts : (
143
+ base : #e6433a,
144
+ dark : darken(#e6433a,10%), // untested
145
+ light : lighten(#e6433a,20%), // untested
146
+ xlight : lighten(#e6433a,40%) // untested
147
+ ),
148
+
149
+ family : (
150
+ base : #029ddf,
151
+ dark : darken(#029ddf,10%), // untested
152
+ light : lighten(#029ddf,20%), // untested
153
+ xlight : lighten(#029ddf,40%) // untested
154
+ ),
155
+
156
+ receptive : (
157
+ base : #b25400,
158
+ dark : darken(#b25400,10%), // untested
159
+ light : lighten(#b25400,20%), // untested
160
+ xlight : lighten(#b25400,40%) // untested
161
+ ),
162
+
163
+ value : (
164
+ base : #5fb641,
165
+ dark : darken(#5fb641,10%), // untested
166
+ light : lighten(#5fb641,20%), // untested
167
+ xlight : lighten(#5fb641,40%) // untested
168
+ ),
169
+
170
+ next : (
171
+ base : #ffa905,
172
+ dark : darken(#ffa905,10%), // untested
173
+ light : lighten(#ffa905,20%), // untested
174
+ xlight : lighten(#ffa905,40%) // untested
175
+ ),
176
+
177
+ maybe : (
178
+ base : #974597,
179
+ dark : darken(#974597,10%), // untested
180
+ light : lighten(#974597,20%), // untested
181
+ xlight : lighten(#974597,40%) // untested
182
+ )
183
+
184
+ );
185
+
186
+ $wgp-colors : (
187
+
188
+ paradise : (
189
+ base : #e8396c,
190
+ dark : darken(#e8396c,10%), // untested
191
+ light : lighten(#e8396c,20%), // untested
192
+ xlight : lighten(#e8396c,40%) // untested
193
+ ),
194
+
195
+ artforall : (
196
+ base : #f9ae00
197
+ ),
198
+
199
+ park : (
200
+ base : #009640
201
+ ),
202
+
203
+ news : (
204
+ base : #009fe3
205
+ )
206
+
207
+ );
208
+
209
+ $design-colors : (
210
+
211
+ system : (
212
+ base : #6e46a0
213
+ ),
214
+
215
+ brand : (
216
+ base : #ff8200
217
+ ),
218
+
219
+ supply : (
220
+ base : #f00a0a
221
+ ),
222
+
223
+ demo : (
224
+ base : #005a9b
225
+ )
226
+
227
+ );
228
+
229
+ $gradient-colors : (
230
+
231
+ smoke : (
232
+ base : #E6E6E6,
233
+ dark : darken(#E6E6E6,10%),
234
+ light : lighten(#E6E6E6,50%),
235
+ xlight : lighten(#E6E6E6,75%)
236
+ ),
237
+
238
+ gray : (
239
+ base : #CCCCCC,
240
+ dark : darken(#CCCCCC,10%),
241
+ light : lighten(#CCCCCC,50%),
242
+ xlight : lighten(#CCCCCC,75%)
243
+ ),
244
+
245
+ gun : (
246
+ base : #666666, // untested
247
+ dark : darken(#666666,10%), // untested
248
+ light : lighten(#666666,32%), // untested
249
+ xlight : lighten(#666666,56%) // untested
250
+ ),
251
+
252
+ slate : (
253
+ base : #333333, // tested
254
+ dark : darken(#333333,10%), // tested
255
+ light : lighten(#333333,50%), // tested
256
+ xlight : lighten(#333333,75%) // tested
257
+ ),
258
+
259
+ carbon : (
260
+ base : #1A1A1A,
261
+ dark : darken(#1A1A1A,10%),
262
+ light : lighten(#1A1A1A,50%),
263
+ xlight : lighten(#1A1A1A,75%)
264
+ ),
265
+
266
+ coal : (
267
+ base : #0D0D0D,
268
+ dark : darken(#0D0D0D,10%),
269
+ light : lighten(#0D0D0D,50%),
270
+ xlight : lighten(#0D0D0D,75%)
271
+ )
272
+
273
+ );
274
+
275
+ $colormap : map-collect($ux-colors,
276
+ $tier-colors,
277
+ $artform-colors,
278
+ $mindset-colors,
279
+ $wgp-colors,
280
+ $design-colors,
281
+ $gradient-colors);
282
+
283
+ // https://stackoverflow.com/questions/27740063/merge-multiple-sass-maps
284
+ // function for more concise usage of map-get()
285
+
286
+ @function setcolor($scheme, $tone: base) {
287
+
288
+ @return map-get(map-get($colormap, $scheme), $tone);
289
+
290
+ }
@@ -1,15 +1,17 @@
1
1
 
2
2
  .link.book {
3
- width: map-get($book,large);
4
- display: block;
5
- fill: white;
6
-
3
+ height: getbook(large,width) * 4;
4
+ width: getbook(large,width);
5
+ text-decoration: none;
6
+ place-content: center;
7
+ display: grid;
8
+
7
9
  @media#{map-get($query,max767)} {
8
- width: map-get($book,medium);
10
+ width: getbook(medium,width);
9
11
  }
10
12
 
11
13
  @media#{map-get($query,max599)} {
12
- width: map-get($book,small);
14
+ width: getbook(small,width);
13
15
  }
14
16
  }
15
17
 
@@ -5,12 +5,16 @@
5
5
  line-height: 1.1;
6
6
  padding: 0 20px;
7
7
  display: grid;
8
+ }
8
9
 
9
- button {
10
- text-transform: capitalize;
11
- border-radius: 0;
12
- line-height: 1.1;
13
- color: inherit;
14
- padding: 0;
15
- }
10
+ .link.navigation > button {
11
+ text-transform: capitalize;
12
+ border-radius: 0;
13
+ line-height: 1.1;
14
+ color: inherit;
15
+ padding: 0;
16
+ }
17
+
18
+ .link.navigation.home > button {
19
+ border-bottom: 3px solid;
16
20
  }
@@ -0,0 +1,9 @@
1
+
2
+ .title.book {
3
+ @include RotateTitle(center);
4
+ @extend %bold;
5
+ font-size: getbook(large,title);
6
+ pointer-events: none;
7
+ position: relative;
8
+ color: white;
9
+ }
@@ -5,6 +5,7 @@
5
5
 
6
6
  .title.page-chapter {
7
7
  @include RotateTitle(top right);
8
+ position: absolute;
8
9
  right: 78px;
9
10
  top: 56px;
10
11
  }
@@ -12,6 +13,7 @@
12
13
  .title.page-weight {
13
14
  @include RotateTitle;
14
15
  left: calc(100% - 58px);
16
+ position: absolute;
15
17
  text-align: right;
16
18
  bottom: 56px;
17
19
  }
@@ -1,6 +1,7 @@
1
1
 
2
2
  %StylePage {
3
3
  @include RotateTitle;
4
+ position: absolute;
4
5
  bottom: 56px;
5
6
  left: 128px;
6
7
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: futuro
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Heading
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-22 00:00:00.000000000 Z
11
+ date: 2020-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -180,6 +180,7 @@ files:
180
180
  - _includes/html/page/title.liquid
181
181
  - _includes/html/page/title/create.liquid
182
182
  - _includes/html/page/topbar.liquid
183
+ - _includes/html/page/topbar/navigation/link.liquid
183
184
  - _includes/html/page/util.liquid
184
185
  - _includes/html/page/util/author.liquid
185
186
  - _includes/html/page/util/share.liquid
@@ -189,8 +190,6 @@ files:
189
190
  - _includes/html/site/header.liquid
190
191
  - _includes/html/site/scroller.liquid
191
192
  - _includes/svg/orwell/animal/icon.svg
192
- - _includes/svg/site/book/orwell.svg
193
- - _includes/svg/site/book/woolf.svg
194
193
  - _includes/svg/site/btn/about.svg
195
194
  - _includes/svg/site/btn/add.svg
196
195
  - _includes/svg/site/btn/author.svg
@@ -273,6 +272,7 @@ files:
273
272
  - _sass/helpers/mixins/theme.scss
274
273
  - _sass/helpers/themes.scss
275
274
  - _sass/helpers/variables.scss
275
+ - _sass/helpers/variables/colors.scss
276
276
  - _sass/item/pie.scss
277
277
  - _sass/item/roller.scss
278
278
  - _sass/item/scroller.scss
@@ -284,6 +284,7 @@ files:
284
284
  - _sass/list/roller.scss
285
285
  - _sass/list/scroller.scss
286
286
  - _sass/title/alert.scss
287
+ - _sass/title/book.scss
287
288
  - _sass/title/browse.scss
288
289
  - _sass/title/checkbox.scss
289
290
  - _sass/title/copied.scss
@@ -1 +0,0 @@
1
- <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" viewBox="0 0 110 440" xml:space="preserve" enable-background="new 0 0 110 440"><path d="M55.8,263.6c8.9,0,14.9,6.5,14.9,16.4c0,9.5-6.3,16.4-14.9,16.4c-8.6,0-14.9-6.9-14.9-16.6C41,270.2,47.1,263.6,55.8,263.6z M55.9,286.2c4.1,0,7.3-2.6,7.3-6.2c0-4.1-2.7-6.5-7.3-6.5c-4.4,0-7.3,2.5-7.3,6.3C48.6,283.5,51.7,286.2,55.9,286.2z M42,261.8 v-9.3h3.5c-3.2-2-4.3-4.1-4.3-7.4c0-0.7,0.1-1.1,0.3-3.4h8.9c-0.3,1.1-0.4,1.7-0.4,2.5c0,5.2,2.8,7.9,8,7.9h11.7v9.7H42z M42,231.3 l14.9-5.2L42,221.4v-7l14.9-4.6L42,204.6v-9.5l27.7,10.8v7.3L54.2,218l15.6,4.9v7.4L42,241.5V231.3z M61,167.4 c6.1,0.7,9.9,6.4,9.9,14.6c0,9.4-5.8,15.4-14.8,15.4c-9,0-14.9-5.9-14.9-15c0-5.9,2.5-11,6.5-13.1c2.2-1.2,5.7-2,9.1-2h1.9v20.1 c3.7-0.2,5.5-1.9,5.5-5.2c0-2.4-0.5-3.2-3-4.7V167.4z M52,177.3c-3.1,0.5-4.4,2-4.4,4.9c0,2.7,1.6,4.5,4.4,5V177.3z M28,165.6v-9.7 h41.8v9.7H28z M28,153.4v-9.7h41.8v9.7H28z"/></svg>
@@ -1 +0,0 @@
1
- <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" viewBox="0 0 110 440" xml:space="preserve" enable-background="new 0 0 110 440"><path d="M42.6,281l14.9-5.2l-14.9-4.7v-7l14.9-4.6l-14.9-5.2v-9.5l27.7,10.8v7.3l-15.6,4.7l15.6,4.9v7.4l-27.7,11.3V281z M56.4,214.4c8.9,0,14.9,6.5,14.9,16.4c0,9.5-6.3,16.4-14.9,16.4c-8.6,0-14.9-6.9-14.9-16.6C41.6,221,47.7,214.4,56.4,214.4z M56.5,237.1c4.1,0,7.3-2.6,7.3-6.2c0-4.1-2.7-6.5-7.3-6.5c-4.4,0-7.3,2.5-7.3,6.3C49.2,234.4,52.3,237.1,56.5,237.1z M56.4,180.4 c8.9,0,14.9,6.5,14.9,16.4c0,9.5-6.3,16.4-14.9,16.4c-8.6,0-14.9-6.9-14.9-16.6C41.6,187,47.7,180.4,56.4,180.4z M56.5,203.1 c4.1,0,7.3-2.6,7.3-6.2c0-4.1-2.7-6.5-7.3-6.5c-4.4,0-7.3,2.5-7.3,6.3C49.2,200.4,52.3,203.1,56.5,203.1z M28.6,178.6v-9.7h41.8v9.7 H28.6z M42.6,167.4v-3.9H38c-7,0-10-3.1-10-10.6c0-1.4,0.1-2.4,0.5-4.1h7.4c-0.3,1-0.4,1.5-0.4,2.1c0,2,1.2,2.8,4.1,2.8h3.1v-5H50 v5.1h20.3v9.7H50v3.9H42.6z"/></svg>