stop14-themesystem-legacy 2.0.7 → 2.0.9

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stop14-themesystem-legacy",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "A scaffolding and build system for theme development across platforms. Legacy version",
5
5
  "author": {
6
6
  "name": "Bill Kennedy",
@@ -35,6 +35,8 @@ de_emphasized: neutral(50)
35
35
  de_activated: neutral(30)
36
36
  link_colour: $black
37
37
  link_colour_active: $clr3
38
+ link_colour_reversed: $white
39
+ link_colour_active_reversed: $white
38
40
 
39
41
  ## 02 LAYOUT
40
42
  rootsize: 100%
@@ -35,6 +35,8 @@ de_emphasized: neutral(50)
35
35
  de_activated: neutral(30)
36
36
  link_colour: $black
37
37
  link_colour_active: $clr3
38
+ link_colour_reversed: $white
39
+ link_colour_active_reversed: neutral(5)
38
40
 
39
41
  ## 02 LAYOUT
40
42
  rootsize: 100%
@@ -1,2 +1,2 @@
1
- @import ah_standard_base_v002/_index
1
+ @import s14_standard_base/_index
2
2
  @import drupal_base/_index
@@ -6,15 +6,11 @@
6
6
 
7
7
  aside.right
8
8
  padding: rv($mobile_edge_padding_factor)
9
- +font-size(0)
9
+ font-size: clamped(0,1)
10
10
 
11
11
  +bp($desktop)
12
12
  padding: rv($edge_padding_factor)
13
13
 
14
- *
15
- color: inherit
16
- font-size: inherit
17
-
18
14
  .block > h2
19
15
  margin-bottom: rv($mobile_edge_padding_factor) !important
20
16
 
@@ -16,7 +16,7 @@ article.profile-card
16
16
  overflow: hidden
17
17
  +proportional-height(66%,1)
18
18
  margin: 0 auto
19
-
19
+
20
20
  +bp($tablet)
21
21
  +proportional-height(100%,1)
22
22
 
@@ -30,7 +30,6 @@ article.profile-card
30
30
  padding: rv(1) rv(1) 0 rv(1)
31
31
 
32
32
  .field_role
33
- @extend %small--normal--k-100--caps
34
33
  text-align: center
35
34
 
36
35
  h3
@@ -41,13 +40,11 @@ article.profile-card
41
40
  margin-top: 0
42
41
 
43
42
  .field_affiliation_container
44
- @extend %small--medium--k-100
45
43
  line-height: 1.25
46
44
  margin-bottom: rv($edge_padding_factor)
47
45
  text-align: center
48
46
 
49
47
  .body
50
- @extend %small--normal--k-100
51
48
  margin: rv(0) 0
52
49
 
53
50
  .field_links_container
@@ -5,37 +5,25 @@ subdir_icons: "'/icons'"
5
5
  subdir_marks: "'/marks'"
6
6
  logo_path: "map-get($asset_dirs,'svg') + $subdir_marks + '/logo.svg'"
7
7
 
8
+ # KEY VALUES
9
+
8
10
  ## 00 VISIBILITY CONTROL
11
+ # Adds a “visible” class to the listed elements when they are visible in the viewport. Works with various animation scripts.
9
12
  visibility_stack: "('main > div','#secondary-content','#tertiary-content','#quaternary-content','.block-facets-block','#block-responses-profile-feature')"
10
- remove_visibility_class: true
11
- visibility_offset: 50
12
- visibility_threshold: 0.2
13
- visibility_stack_animation_speed: 0
14
- visibility_stack_animation_delay: null
15
13
 
16
14
  ## 01 COLOUR AND PATTERNS
17
- clr1: #00BDD4 // Agile Blue
18
- clr2: #BF609B // Deep Pink
19
- clr3: #D98536 // Orange
20
- clr4: #315FAA // Periwinkle
21
- clr5: #7DBF60 // Green
22
- clr6: #E1BB0B // Gold
23
- clr7: #E5336D // Fusciha
24
- clr8: #00171A // Black
25
- clr9: #000000 // True Black
15
+ clr1: #00BDD4
16
+ clr2: #BF609B
17
+ clr3: #D98536
18
+ clr4: #315FAA
19
+ clr5: #7DBF60
20
+ clr6: #E1BB0B
21
+ clr7: #E5336D
22
+ clr8: #00171A
23
+ clr9: #000000
26
24
  black: $clr8
27
25
  white: white
28
26
 
29
- # Neutral aliases
30
- lightest_neutral: neutral(5)
31
- lighter_neutral: neutral(30)
32
- light_neutral: neutral(40)
33
- neutral: neutral()
34
- mid_neutral: neutral(60)
35
- dark_neutral: neutral(70)
36
- darker_neutral: neutral(80)
37
- darkest_neutral: neutral(90)
38
-
39
27
  # Background
40
28
  bgcolor: $white
41
29
  footer_bg: $black
@@ -43,43 +31,81 @@ footer_bg: $black
43
31
  # Colour Aliases
44
32
  impact: $clr2
45
33
  cta: $clr1
46
- de_emphasized: $light_neutral
47
- de_activated: $lighter_neutral
34
+ de_emphasized: neutral(50)
35
+ de_activated: neutral(30)
48
36
  link_colour: $black
37
+ link_colour_active: $clr3
38
+ link_colour_reversed: $white
39
+ link_colour_active_reversed: neutral(5)
49
40
 
50
41
  ## 02 LAYOUT
51
42
  rootsize: 100%
52
43
  basesize: 1rem
53
- base_line_height: 1.4
44
+ base_line_height: 1.5
54
45
  blh: $basesize * $base_line_height
55
46
  scale: 1.33
56
47
  max_width: 1900px
57
- legible_inset_width: 750px
48
+ legible_inset_width: 920px
49
+
50
+ ## Spacing
51
+
52
+ mobile_grid_gap_factor: -1
53
+ grid_gap_factor: 0
54
+ block_spacing: 2
55
+ mobile_block_spacing: -2
56
+ edge_padding_factor: 0
57
+ mobile_edge_padding_factor: -1
58
+ text_element_spacing: 3px
58
59
 
59
60
  # Structure
60
- masthead_height: 60px
61
+ masthead_height: 50px
61
62
  footer_height: 100px
62
63
  admin_bar_height: 40px
63
64
  admin_bar_tray: 40px // Second-tier admin bar
64
65
  masthead_clearance: rv(0)
65
66
  masthead_clearance_mobile: rv(-1)
66
- splash_height_mobile: 50vh
67
- splash_height_tablet: 50vh
67
+ splash_height_mobile: auto
68
+ splash_height_tablet: auto
68
69
  splash_height_desktop: 100vh
69
70
  min_splash_height: 700px
70
71
  proportional_width_unit: "math.div(100% - math.div(100,$scale),2)"
71
72
  standard_sidebar_width: $proportional_width_unit
72
- right_sidebar_width: "$standard_sidebar_width * 2"
73
- left_sidebar_width: $standard_sidebar_width
73
+ right_sidebar_width: $standard_sidebar_width
74
+ left_sidebar_width: $standard_sidebar_width * 2
74
75
 
75
- # Spacing
76
- mobile_grid_gap_factor: -1
77
- grid_gap_factor: 0
78
- block_spacing: 2
79
- mobile_block_spacing: -2
80
- edge_padding_factor: 1
81
- mobile_edge_padding_factor: 0
82
- text_element_spacing: 3px
76
+ footer_branding_width: 150px
77
+ footer_badge_width: $footer_branding_width * 1.5
78
+
79
+ # Font sizing / Fluid type
80
+ basetypesize: 1rem
81
+ default-min-bp: sml
82
+ default-max-bp: xlrg
83
+ min_sizefactors: "(base: -1, h1: 3, h2: 2, h3: 1, h4: 0, h5: -1, h6: -1)"
84
+ sizefactors: "(base: 0, h1: 4, h2: 3, h3: 2, h4: 1, h5: 0, h6: 0)"
85
+ line_heights: "(base: $base_line_height, h1: 1.1, h2: 1.25, h3: 1.25, h4: $base_line_height, h5: $base_line_height, h6: $base_line_height)"
86
+ typescale: "(base: 1, xsml: 1, sml: 1, med:1, lrg: 1, xlrg: 1, xxlrg: 1)"
87
+ paragraph_spacing: "clamped(map-get($min_sizefactors,'base'),map-get($sizefactors,'base'),$default-min-bp,$default-max-bp,map-get($line_heights,base))"
88
+
89
+ # Fonts
90
+ basefont: "Roboto, Tahoma, Arial, sans-serif"
91
+ headingfont: "Roboto, Tahoma, Arial, sans-serif"
92
+ altfont: "Georgia, serif"
93
+ codefont: "'IBM Plex Mono', Monaco, Courier New, monospace"
94
+
95
+ ## ADVANCED SETTINGS
96
+
97
+ # Additional Colour settings
98
+
99
+ # Neutral aliases
100
+ # Deprecated
101
+ lightest_neutral: neutral(5)
102
+ lighter_neutral: neutral(30)
103
+ light_neutral: neutral(40)
104
+ neutral: neutral()
105
+ mid_neutral: neutral(60)
106
+ dark_neutral: neutral(70)
107
+ darker_neutral: neutral(80)
108
+ darkest_neutral: neutral(90)
83
109
 
84
110
  # Breakpoints
85
111
  breakpoints: "(xsml: 21em, sml: 30em, med: 46.25em, lrg: 75em, xlrg: 112.5em, xxlrg: 130em)"
@@ -99,21 +125,6 @@ ultrawide: $ultrawide_breakpoint
99
125
 
100
126
  font_path: "'../fonts'"
101
127
 
102
- # Font sizing / Fluid type
103
- basetypesize: 0.9rem
104
- default-min-bp: sml
105
- default-max-bp: xlrg
106
- min_sizefactors: "(base: -1, h1: 3, h2: 2, h3: 1, h4: 0, h5: -1, h6: -1)"
107
- sizefactors: "(base: 0, h1: 4, h2: 3, h3: 2, h4: 1, h5: 0, h6: 0)"
108
- line_heights: "(base: $base_line_height, h1: 1, h2: 1.2, h3: 1.2, h4: 1.2, h5: 1.2, h6: 1.2)"
109
- typescale: "(base: 1, xsml: 1, sml: 1, med:1, lrg: 1, xlrg: 1, xxlrg: 1)"
110
- paragraph_spacing: "clamped(map-get($min_sizefactors,'base'),map-get($sizefactors,'base'),$default-min-bp,$default-max-bp,map-get($line_heights,base))"
111
-
112
- # Fonts
113
- basefont: "Roboto, Tahoma, Arial, sans-serif"
114
- headingfont: "'Source Serif',Georgia,serif"
115
- altfont: "'Source Serif',Georgia,serif"
116
- codefont: "'IBM Plex Mono', Monaco, Courier New, monospace"
117
128
 
118
129
  # Tables
119
130
  row_header_bg: neutral(10)
@@ -129,82 +140,73 @@ h5fontsize: "map-get($sizefactors,'h5')"
129
140
  h6fontsize: "map-get($sizefactors,'h6')"
130
141
 
131
142
 
132
- ## 04 UI | Needs an overhaul
133
-
134
- #
135
- menu_background: $white
136
-
137
- #base ui
138
-
139
- ui_padding: 8px
140
- ui_element_height: 40px
143
+ ## 04 UI
144
+ ui_padding: 10px
145
+ ui_element_height: 50px
141
146
  ui_minheight: $ui_element_height
142
147
  ui_maxheight: 60px
143
- ui_compactheight: 25px
148
+ ui_compactheight: 40px
144
149
  ui_largeheight: 80px
145
150
  ui_max_text_width: 500px
146
151
  ui_element_spacing: "rv($mobile_edge_padding_factor)"
147
- ui_border_radius: 5px
152
+ ui_border_radius: 8px
148
153
  ui_border_width: 1px
149
154
  ui_border_color: neutral(40)
150
155
  ui_hover_border_color: $impact
151
156
  ui_checkbox_height: 20px
152
- ui_element_font_size: rv(0)
153
- ui_checkbox_label_font_size: rv(-2)
154
- ui_icon_height: $ui_minheight * 0.4
155
- ui_select_indicator_size: $ui_icon_height
157
+ ui_element_font_size: clamped(-1,0)
158
+ ui_checkbox_label_font_size: clamped(-1,0)
159
+ ui_form_text_color: neutral(90)
160
+ ui_icon_size: 25px
156
161
 
157
162
  # mobile ui controls
158
163
 
159
164
  mobile_overlay_spacing: rv(2)
160
- ui_mobile_app_controls_footer_height: $masthead_height
161
- ui_mobile_app_controls_breakpoint: $tablet
162
- ui_display_controls_icon_size: "$ui_mobile_app_controls_footer_height * 0.5"
163
-
165
+ mobile_filter_height: rv(5)
164
166
 
165
167
  # legacy
166
168
  border_radius: $ui_border_radius
167
- mobile_filter_height: rv(5)
168
169
 
169
170
  #Buttons
170
- btn_padding: "5px rv(0)"
171
- btn_border_width: $ui_border_width
171
+ btn_padding: "5px $ui_padding"
172
+ btn_border_width: 0
172
173
  btn_border_radius: $ui_border_radius
173
- btn_height: $ui_element_height
174
+ btn_height: $ui_maxheight
174
175
  btn_min_width: 200px
175
176
  btn_width: 280px
176
177
  btn_compactwidth: 180px
177
178
  btn_largewidth: 280px
178
179
  btn_max_width: 375px
179
- btn_icon_size: $btn_height * 0.5
180
+ btn_icon_size: 25px
180
181
 
181
182
  btn_fontsize: "clamped(0,1)"
182
183
  btn_compact_fontsize: "clamped(-1,0)"
183
184
  btn_minwidth: 250px
184
- btn_submit_img_size: $ui_icon_height
185
+ btn_submit_img_size: rv(1)
185
186
 
186
187
  btn_color: $black
187
188
  btn_bg_color: neutral(20)
188
189
  btn_border_color: $ui_border_color
189
- btn_hover_color: neutral(70)
190
+ btn_hover_color: $black
190
191
  btn_hover_border_color: neutral(60)
191
192
  btn_hover_bg_color: neutral(40)
192
193
 
193
194
  btn_submit_color: $white
194
- btn_submit_bg_color: $cta
195
+ btn_submit_bg_color: $impact
195
196
  btn_submit_border_width: 0
196
- btn_submit_border_color: $cta
197
+ btn_submit_border_color: $impact
197
198
  btn_submit_hover_color: $white
198
- btn_submit_hover_border_color: "mix($black,$cta,10%)"
199
- btn_submit_hover_bg_color: "mix($black,$cta,10%)"
199
+ btn_submit_hover_border_color: "mix($white,$impact,10%)"
200
+ btn_submit_hover_bg_color: "mix($white,$impact,10%)"
201
+
200
202
 
201
- btn_search_color: $black
202
- btn_search_bg_color: transparent
203
+ btn_search_color: neutral(60)
204
+ btn_search_bg_color: $white
203
205
  btn_search_border_width: $ui_border_width
204
206
  btn_search_border_color: $ui_border_color
205
- btn_search_hover_color: $black
206
- btn_search_hover_border_color: $ui_hover_border_color
207
- btn_search_hover_bg_color: neutral(1)
207
+ btn_search_hover_color: $white
208
+ btn_search_hover_border_color: $impact
209
+ btn_search_hover_bg_color: $white
208
210
 
209
211
  btn_reset_color: neutral(90)
210
212
  btn_reset_bg_color: neutral(30)
@@ -215,15 +217,17 @@ btn_reset_hover_bg_color: neutral(90)
215
217
  btn_reset_hover_border_color: neutral(90)
216
218
 
217
219
 
218
-
219
220
  outline_btn_color: $mid_neutral
220
221
  outline_btn_hover_color: $ui_hover_border_color
221
222
 
222
223
  ui_select_width: fit-content
223
- ui_select_min_width: 200px
224
+ ui_select_min_width: $btn_width
224
225
  ui_select_max_width: 100%
225
226
 
226
- #Callouts
227
+ # Menu
228
+ menu_background: transparent
229
+
230
+ # Callouts
227
231
 
228
232
  callout_shift: 0
229
233
  callout_width: 40%
@@ -231,9 +235,18 @@ callout_inset: null
231
235
  callout_breakpoint: lrg
232
236
 
233
237
  # Animation
238
+
234
239
  heartbeat: 0.2s
235
240
  standard_properties: "translate3d scale opacity background-color"
236
241
  base_delay: null
242
+ remove_visibility_class: true
243
+
244
+ ## Visibility
245
+ visibility_offset: 50
246
+ visibility_threshold: 0.2
247
+ visibility_stack_animation_speed: 0
248
+ visibility_stack_animation_delay: null
249
+
237
250
 
238
251
  # Aliases
239
252
  very_fast: $heartbeat
@@ -343,3 +356,15 @@ slide_item_caption_height: auto
343
356
  slide_item_caption_position: absolute
344
357
  slide_item_caption_bottom: 0
345
358
 
359
+ # Browser Element
360
+
361
+ exposed_facet_desktop_width: 350px
362
+ ui_mobile_app_controls_breakpoint: $desktop
363
+ ui_display_controls_icon_size: $ui_mobile_app_controls_footer_height * 0.6
364
+ ui_mobile_app_controls_footer_height: $masthead_height
365
+
366
+ #mirador
367
+ mirador_height_mobile: 60vh
368
+ mirador_height_tablet: 50vh
369
+ mirador_height_desktop: 60vh
370
+ mirador_min_height: 400px
@@ -1,6 +1,7 @@
1
- /*
2
- @file index.sass
1
+ /*
2
+ @file index.sass
3
3
  @description Loads all sass files or subdirectory indices in its directory. */
4
4
 
5
- @import 14_definitions/_index
5
+ @import _00_configuration_standardized_tables
6
+ @import _definition_data_table
6
7
  @import _table_collection
@@ -152,7 +152,7 @@
152
152
  color: $btn_reset_color
153
153
  min-width: $btn_compactwidth
154
154
  text-decoration: none
155
- justify-content: flex-start
155
+ justify-content: center
156
156
  +background-icon-left('reset')
157
157
 
158
158
  &:hover
@@ -254,7 +254,7 @@
254
254
  font-weight: $normal
255
255
  font-size: $btn_fontsize
256
256
  padding: 0 $ui_padding
257
- height: $ui_minheight
257
+ height: $ui_element_height
258
258
  border-radius: $ui_border_radius
259
259
  border: 1px solid $ui_border_color
260
260
  max-width: $ui_max_text_width
@@ -39,6 +39,7 @@ input:focus
39
39
  input[type='text'],
40
40
  input[type='email'],
41
41
  input[type='password'],
42
+ input[type='search'],
42
43
  textarea#edit-message
43
44
  @extend %input-text
44
45
 
@@ -48,7 +49,6 @@ textarea#edit-message
48
49
  // Alternatively you can use the work-in-progress +input-button-icon() mixins
49
50
  // to see if you can achieve the desired results.
50
51
 
51
- input[type="search"],
52
52
  button[type="search"]
53
53
  @extend %button-search
54
54
 
@@ -61,7 +61,7 @@ button[type="reset"]
61
61
  @extend %button-reset
62
62
 
63
63
 
64
- input[type="search"]::-webkit-search-cancel-button
64
+ button[type="search"]::-webkit-search-cancel-button
65
65
  -webkit-appearance: none
66
66
  display: inline-block
67
67
  width: 20px
@@ -85,11 +85,13 @@ input[type="checkbox"]
85
85
  vertical-align: middle
86
86
  float: left
87
87
  margin: 0
88
+ background-size: 80% !important // Compensates for values introduced in the +icon mixin below to maintain size in all states
89
+ background-position: center !important
88
90
 
89
91
  &:checked
90
- +icon('checkmark')
91
- background-size: 80%
92
- background-position: center
92
+ +icon('checkmark',$ui_checkbox_height)
93
+ height: $ui_checkbox_height
94
+ width: $ui_checkbox_height
93
95
 
94
96
  &:hover
95
97
  border-color: $ui_hover_border_color
@@ -125,6 +127,7 @@ select
125
127
  min-width: $ui_select_min_width
126
128
  max-width: $ui_select_max_width
127
129
  +background-icon-right('accordion-expand')
130
+ background-repeat: no-repeat
128
131
 
129
132
  &:hover
130
133
  +background-icon-active('accordion-expand')
@@ -107,9 +107,9 @@
107
107
  +background-icon-base($icon_name,$size,$initial_state,$active_state)
108
108
 
109
109
  @if $position == 'left'
110
- background-position: left calc(#{$btn_padding} - #{$size * 2} ) center
110
+ background-position: left #{$btn_padding} center
111
111
  @else
112
- background-position: left calc(#{$btn_padding} + #{$size * 2} ) center
112
+ background-position: right #{$btn_padding} center
113
113
 
114
114
 
115
115
  =input-button-icon-left($icon_name, $size: $btn_icon_size, $btn_padding: $ui_padding, $initial_state: 'default', $active_state: 'active')