futuro 1.1.1 → 1.1.6

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: dfe204f9bed52d33c96c48701fcaa8971ecea1b8ced20063f7b3d5bdbe03ae70
4
- data.tar.gz: eaf647eb08fcf3605f1892ee1dbdbb89268078476edade43125246bae495abcb
3
+ metadata.gz: c273672c78532f150140e21d3e8a999d27b7b3f3e485e2a4b0a43fc2ac9edb56
4
+ data.tar.gz: d650690de04bff64ea181f18df2d46ee16653d89a7fd631e1fa7fa4918a4e8bc
5
5
  SHA512:
6
- metadata.gz: 93819f8e40f4519407b69ae78c2506337387a334c54a898a09184598ac3c07f6a7404d8b190dbd5528245b68450e5ca494de77a392a315ea5fb43ee18e4735f3
7
- data.tar.gz: '0593994e1fa4542bb2f10de75c3231b67dd2ec4f017b613d653c72caeada5fa3c11faf450379085881b8dded323b216e74e236e745e1c9484563f20b226d3711'
6
+ metadata.gz: 4247ab02af3eee759be49d58dc1bd2a28746c5b5605e48b30864f385a5f95700515c2af9ce503f7f0584bbaf6044b665abf169ede4ef6b22624276d7e9ca1d86
7
+ data.tar.gz: 4f7ba1d5031e3f384b790a5ba5ffb07f593104ee945f26411dddb3721d6b8a380c235ed305af1357b36a1cc71ceb096fe49660ac5fb7b4c3d0fd78bc3b4b361b
@@ -52,7 +52,7 @@
52
52
 
53
53
  {%- endfor -%}
54
54
 
55
- <a href="{{ ItemUrl }}" class="link browse-page {{ ItemPage | prepend : 'title-' }}">
55
+ <a href="{{ ItemUrl }}" class="link browse-page {{ ItemPage | prepend : 'page-' }}">
56
56
 
57
57
  {{ ItemWeight }} {% if SiteIsBook %}{{ item.title | truncate : 22 }}{% else %}{{ item.title | truncate : 13 }}{% endif %}
58
58
 
@@ -156,7 +156,8 @@
156
156
  {% if page.checkbox %}
157
157
 
158
158
  {% include {{ ContentLoop | append : 'checkbox.liquid' }}
159
- label = page.checkbox.label %}
159
+ label = page.checkbox.label
160
+ small = page.checkbox.small %}
160
161
 
161
162
  {% endif %}
162
163
 
@@ -76,6 +76,7 @@
76
76
 
77
77
  {% include {{ ContentLoop | append : 'checkbox.liquid' }}
78
78
  label = item.checkbox.label
79
+ small = item.checkbox.small
79
80
  nolabel = true %}
80
81
 
81
82
  </p>
@@ -1,6 +1,20 @@
1
1
 
2
- <p class="block form-row message-row">
2
+ <div class="block form-row message-row">
3
3
 
4
- <span class="block message">{{ item.message.title }}</span>
4
+ <div class="block message">
5
+ {% if item.message.title %}
6
+ <span>
7
+ {{ item.message.title }}
8
+ </span>
9
+ {% endif %}
10
+
11
+ {% if item.message.list %}
12
+ <ul style="padding-top:20px;">
13
+ {% for item in item.message.list %}
14
+ <li>{{ item.item }}</li>
15
+ {% endfor %}
16
+ </ul>
17
+ {% endif %}
18
+ </div>
5
19
 
6
- </p>
20
+ </div>
@@ -1,12 +1,17 @@
1
1
 
2
2
  {% assign RadioGroup = item.radio.label | replace : ' ','-' | downcase %}
3
3
 
4
+ {% if item.radio.stack %}
5
+ {% assign stackClass = "stacked" %}
6
+ {% endif %}
7
+
4
8
  <p class="block form-row form-radio">
5
9
 
6
10
  {% include html/assign/name.liquid parent="radio" %}
7
11
 
8
12
  {% include {{ ContentLoop | append : 'label.liquid' }}
9
- label = item.radio.label
13
+ label = item.radio.label
14
+ small = item.radio.small
10
15
  class = "form-label" %}
11
16
 
12
17
  <span class="wrap form-radio">
@@ -15,7 +20,7 @@
15
20
 
16
21
  {% include html/assign/name.liquid parent="radio" %}
17
22
 
18
- <span class="block form-radio-group">
23
+ <span class="block form-radio-group {{ stackClass }}">
19
24
 
20
25
  {% include {{ ContentLoop | append : 'input.liquid' }}
21
26
  name = RadioGroup
@@ -4,10 +4,11 @@
4
4
  {% for item in page.screen %}
5
5
 
6
6
  {% assign RowType = item.row.type %}
7
+ {% assign RowTypeClass = RowType | prepend : 'type-' %}
7
8
 
8
9
  {% if RowType == "header" %}
9
10
 
10
- <span class="block screen-row {{ item.row.type | prepend : 'type-' }}">
11
+ <span class="block screen-row {{ RowTypeClass }}">
11
12
 
12
13
  {%- if item.row.title -%}
13
14
 
@@ -36,7 +37,49 @@
36
37
  {%- include {{ ContentLoop | append : 'alert.liquid' }}
37
38
  title = item.row.title
38
39
  type = "whatson" -%}
39
-
40
+
41
+ {% elsif RowType == "level" %}
42
+
43
+ <span class="block screen-row {{ RowTypeClass }}">
44
+
45
+ {%- if item.row.title -%}
46
+
47
+ <span class="block screen-title {{ RowTypeClass }}">
48
+
49
+ <!-- {{ item.row.title }} -->
50
+
51
+ </span>
52
+
53
+ {%- endif -%}
54
+
55
+ <span class="block room-list-primary">
56
+
57
+ {% for room in item.row.primary %}
58
+ <span class="block room-title">{{ room }}</span><br>
59
+ {% endfor %}
60
+
61
+ </span>
62
+
63
+ <span class="block room-list-secondary">
64
+
65
+ {% for room in item.row.secondary %}
66
+ <span class="block room-title">{{ room }}</span><br>
67
+ {% endfor %}
68
+
69
+ </span>
70
+
71
+ <span class="block tag-list">
72
+
73
+ {% assign facilities = item.row.tags | split : " " %}
74
+
75
+ {% for facility in facilities %}
76
+ <div></div>
77
+ {% endfor %}
78
+
79
+ </span>
80
+
81
+ </span>
82
+
40
83
  {% endif %}
41
84
 
42
85
  {% endfor %}
@@ -5,6 +5,10 @@
5
5
  }
6
6
  }
7
7
 
8
+ .form-row + .form-row {
9
+ margin-top: 20px;
10
+ }
11
+
8
12
  .block.form-date-group {
9
13
  grid-column-gap: 20px;
10
14
  grid-row-gap: 15px;
@@ -1,12 +1,44 @@
1
1
 
2
2
  .wrap.form-radio {
3
- grid-row-gap: 5px;
4
- display: grid;
3
+ display: inline-block;
5
4
  }
6
5
 
7
6
  .block.form-radio-group {
8
- justify-content: flex-start;
9
- grid-auto-flow: column;
10
- grid-column-gap: 10px;
11
- display: grid;
7
+ display: inline-block;
8
+ position: relative;
9
+ margin: 6px 2px;
10
+
11
+ &.stacked {
12
+ display: block;
13
+ }
14
+
15
+ input {
16
+ position: absolute;
17
+ bottom: 0;
18
+ right: 0;
19
+ left: 0;
20
+ top: 0;
21
+ left: 16px;
22
+ cursor: pointer;
23
+ height: 14px;
24
+ margin: auto;
25
+ width: 14px;
26
+ right: auto;
27
+
28
+ &:checked + label {
29
+ color: #333333;
30
+ border: 1px solid rgba(51, 51, 51, 0.5);
31
+ background: rgba(51, 51, 51, 0.05);
32
+ }
33
+ }
34
+
35
+ label {
36
+ display: inline-block;
37
+ border: 1px solid #b8b8b8;
38
+ padding: 14px 12px 10px 40px;
39
+ background-color: white;
40
+ color: #4d4d4d;
41
+ border-radius: 4px;
42
+ cursor: pointer;
43
+ }
12
44
  }
@@ -18,59 +18,78 @@ $title: 2.6rem;
18
18
  }
19
19
  }
20
20
 
21
- .block.screen-row {
22
- grid-row-gap: $title * 0.2;
23
- line-height: 1.1;
24
- display: grid;
25
- }
26
-
27
21
  %ScreenRow {
28
22
  @extend %bold;
29
23
  @include padding(5,5,4.5,5);
30
24
 
31
25
  + .screen-row.type-event,
26
+ + .screen-row.type-level,
32
27
  + .screen-row.type-retail {
33
28
  border-top: 1px solid setcolor(gun);
34
29
  }
35
30
  }
36
31
 
37
- .block.screen-row.type-header {
38
- @extend %ScreenRow;
39
- background: setcolor(smoke);
40
- grid-row-gap: $title * 0.1;
41
- color: setcolor(carbon);
32
+ .block.screen-row {
33
+ grid-row-gap: $title * 0.2;
34
+ line-height: 1.1;
35
+ display: grid;
42
36
 
43
- .screen-title {
44
- @extend %large;
37
+ &.type-header {
38
+ @extend %ScreenRow;
39
+ background: setcolor(smoke);
40
+ grid-row-gap: $title * 0.1;
41
+ color: setcolor(carbon);
42
+
43
+ .screen-title {
44
+ @extend %large;
45
+ }
46
+
47
+ .screen-title.small {
48
+ @extend %small;
49
+ }
45
50
  }
46
51
 
47
- .screen-title.small {
48
- @extend %small;
52
+ &.type-event {
53
+ @extend %ScreenRow;
54
+ background-color: setcolor(carbon);
55
+ color: setcolor(gray);
49
56
  }
50
- }
51
57
 
52
- .block.screen-row.type-event {
53
- @extend %ScreenRow;
54
- background-color: setcolor(carbon);
55
- color: setcolor(gray);
56
- }
58
+ &.type-level {
59
+ @extend %ScreenRow;
60
+ grid-template-columns: 20fr 20fr 40fr 20fr;
61
+ background-color: setcolor(carbon);
62
+ color: setcolor(gray);
63
+ grid-column-gap: 1rem;
64
+ }
57
65
 
58
- .block.screen-row.type-retail {
59
- @extend %ScreenRow;
60
- background: setcolor(slate);
61
- color: setcolor(gray);
66
+ &.type-retail {
67
+ @extend %ScreenRow;
68
+ background: setcolor(slate);
69
+ color: setcolor(gray);
70
+ }
62
71
  }
63
72
 
64
73
  .block.screen-title {
65
74
  font-size: $title;
66
- }
67
75
 
68
- .block.screen-title:not(.small) {
69
- @extend %tight;
76
+ &.small {
77
+ @extend %small;
78
+ }
79
+
80
+ &:not(.small) {
81
+ @extend %tight;
82
+ }
83
+
84
+ &.type-level {
85
+ font-size: 10rem;
86
+ line-height: 1;
87
+ }
70
88
  }
71
89
 
72
- .block.screen-title.small {
90
+ .block.room-title {
73
91
  @extend %small;
92
+ @extend %book;
74
93
  }
75
94
 
76
95
  .block.screen-wrap {
@@ -82,3 +101,17 @@ sup {
82
101
  @extend %small;
83
102
  left: 0.2em;
84
103
  }
104
+
105
+ .block.tag-list {
106
+ grid-template-columns: repeat(5,1fr);
107
+ grid-template-rows: min-content;
108
+ grid-gap: 1rem;
109
+ display: grid;
110
+ }
111
+
112
+ .block.tag-list div {
113
+ background-color: setcolor(gray);
114
+ border-radius: 50%;
115
+ height: 10px;
116
+ width: 10px;
117
+ }
@@ -15,7 +15,7 @@
15
15
  width: 5px;
16
16
  }
17
17
 
18
- .block.page-container {
18
+ %PageContainer {
19
19
  border-bottom: 1px solid lighten(setcolor(generic),43%);
20
20
  padding-right: 20px;
21
21
  padding-left: 20px;
@@ -26,9 +26,8 @@
26
26
  }
27
27
  }
28
28
 
29
- .block.page-content {
30
- background-color: lighten(setcolor(generic),47%);
31
- height: 100px;
29
+ .block.page-container {
30
+ @extend %PageContainer;
32
31
  }
33
32
 
34
33
  .block.page-info {
@@ -29,10 +29,10 @@ $ux-colors : (
29
29
  ),
30
30
 
31
31
  error : (
32
- base : #B94A48, // untested
33
- dark : darken(#B94A48,10%), // untested
34
- light : lighten(#B94A48,23%), // untested
35
- xlight : lighten(#B94A48,46%) // untested
32
+ base : #e61717, // untested
33
+ dark : darken(#e61717,10%), // untested
34
+ light : lighten(#e61717,23%), // untested
35
+ xlight : lighten(#e61717,46%) // untested
36
36
  ),
37
37
 
38
38
  success : (
@@ -46,39 +46,39 @@ $ux-colors : (
46
46
 
47
47
  $tier-colors : (
48
48
 
49
- level_a : (
49
+ level-a : (
50
50
  base : #e61717
51
51
  ),
52
52
 
53
- level_b : (
53
+ level-b : (
54
54
  base : #0099e6
55
55
  ),
56
56
 
57
- level_c : (
57
+ level-c : (
58
58
  base : #ff8001
59
59
  ),
60
60
 
61
- level_d : (
61
+ level-d : (
62
62
  base : #3bb300
63
63
  ),
64
64
 
65
- level_e : (
65
+ level-e : (
66
66
  base : #8b3788
67
67
  ),
68
68
 
69
- level_f : (
69
+ level-f : (
70
70
  base : #e60073
71
71
  ),
72
72
 
73
- level_g : (
73
+ level-g : (
74
74
  base : #b35900
75
75
  ),
76
76
 
77
- level_y : (
77
+ level-y : (
78
78
  base : #ffaa00
79
79
  ),
80
80
 
81
- level_l : (
81
+ level-l : (
82
82
  base : #b8b8b8
83
83
  )
84
84
 
@@ -1,4 +1,3 @@
1
-
2
1
  gsap.registerPlugin(ScrollTrigger);
3
2
 
4
3
  Browse.able = false;
@@ -11,10 +10,10 @@ if ($("body").hasClass("type-home")) {
11
10
 
12
11
  if (!Site.isTheme) {
13
12
  Browse.able = $(".wrap.type-page").length;
14
- }
13
+ }
15
14
 
16
- const HandleClass = (e,state,name="active") => {
17
- $(e).map((index,value) => {
15
+ const HandleClass = (e, state, name = "active") => {
16
+ $(e).map((index, value) => {
18
17
  if (state == "add") {
19
18
  $(value).addClass(name);
20
19
  } else if (state == "remove") {
@@ -23,4 +22,4 @@ const HandleClass = (e,state,name="active") => {
23
22
  $(value).removeClass();
24
23
  }
25
24
  });
26
- }
25
+ };