stop14-themesystem-legacy 2.0.3 → 2.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stop14-themesystem-legacy",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "A scaffolding and build system for theme development across platforms. Legacy version",
5
5
  "author": {
6
6
  "name": "Bill Kennedy",
@@ -34,6 +34,7 @@ cta: $clr1
34
34
  de_emphasized: neutral(50)
35
35
  de_activated: neutral(30)
36
36
  link_colour: $black
37
+ link_colour_active: $clr3
37
38
 
38
39
  ## 02 LAYOUT
39
40
  rootsize: 100%
@@ -34,6 +34,7 @@ cta: $clr1
34
34
  de_emphasized: neutral(50)
35
35
  de_activated: neutral(30)
36
36
  link_colour: $black
37
+ link_colour_active: $clr3
37
38
 
38
39
  ## 02 LAYOUT
39
40
  rootsize: 100%
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 30">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: #f4b17a;
7
+ }
8
+ </style>
9
+ </defs>
10
+ <path class="cls-1" d="M17.58,14.37c-.2-.19-.52-.17-.71.04l-3.88,4.3v-8.7c0-.28-.22-.5-.5-.5s-.5.22-.5.5v8.7l-3.88-4.3c-.19-.21-.5-.22-.71-.04-.21.19-.22.5-.04.71l4.75,5.26s0,0,0,0c.04.04.08.07.12.09.01,0,.02.02.04.03.06.03.13.04.2.04s.14-.02.2-.04c.01,0,.02-.02.04-.03.05-.03.09-.05.12-.09,0,0,0,0,0,0l4.75-5.26c.19-.21.17-.52-.04-.71Z"/>
11
+ <path class="cls-1" d="M2.83,26.09v-8.09c0-1.45-.42-2.52-1.55-3.01,1.14-.48,1.55-1.56,1.55-3.01V3.9c0-1.66,1.11-2.87,2.39-2.87h2.14V0h-2.14C3.52,0,1.8,1.55,1.8,3.9v8.09c0,1.28-.59,2.49-1.8,2.49v1.04c1.21,0,1.8,1.21,1.8,2.49v8.09c0,2.35,1.73,3.91,3.42,3.91h2.14v-1.04h-2.14c-1.28,0-2.39-1.24-2.39-2.87Z"/>
12
+ <path class="cls-1" d="M23.2,11.99V3.9c0-2.35-1.73-3.9-3.42-3.9h-2.14v1.04h2.14c1.28,0,2.39,1.21,2.39,2.87v8.09c0,1.45.42,2.52,1.56,3.01-1.14.48-1.56,1.55-1.56,3.01v8.09c0,1.63-1.11,2.87-2.39,2.87h-2.14v1.04h2.14c1.69,0,3.42-1.55,3.42-3.91v-8.09c0-1.28.59-2.49,1.8-2.49v-1.04c-1.21,0-1.8-1.21-1.8-2.49Z"/>
13
+ </svg>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 30">
3
+ <path d="M17.58,14.37c-.2-.19-.52-.17-.71.04l-3.88,4.3v-8.7c0-.28-.22-.5-.5-.5s-.5.22-.5.5v8.7l-3.88-4.3c-.19-.21-.5-.22-.71-.04-.21.19-.22.5-.04.71l4.75,5.26s0,0,0,0c.04.04.08.07.12.09.01,0,.02.02.04.03.06.03.13.04.2.04s.14-.02.2-.04c.01,0,.02-.02.04-.03.05-.03.09-.05.12-.09,0,0,0,0,0,0l4.75-5.26c.19-.21.17-.52-.04-.71Z"/>
4
+ <path d="M2.83,26.09v-8.09c0-1.45-.42-2.52-1.55-3.01,1.14-.48,1.55-1.56,1.55-3.01V3.9c0-1.66,1.11-2.87,2.39-2.87h2.14V0h-2.14C3.52,0,1.8,1.55,1.8,3.9v8.09c0,1.28-.59,2.49-1.8,2.49v1.04c1.21,0,1.8,1.21,1.8,2.49v8.09c0,2.35,1.73,3.91,3.42,3.91h2.14v-1.04h-2.14c-1.28,0-2.39-1.24-2.39-2.87Z"/>
5
+ <path d="M23.2,11.99V3.9c0-2.35-1.73-3.9-3.42-3.9h-2.14v1.04h2.14c1.28,0,2.39,1.21,2.39,2.87v8.09c0,1.45.42,2.52,1.56,3.01-1.14.48-1.56,1.55-1.56,3.01v8.09c0,1.63-1.11,2.87-2.39,2.87h-2.14v1.04h2.14c1.69,0,3.42-1.55,3.42-3.91v-8.09c0-1.28.59-2.49,1.8-2.49v-1.04c-1.21,0-1.8-1.21-1.8-2.49Z"/>
6
+ </svg>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 30">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: #80858c;
7
+ }
8
+ </style>
9
+ </defs>
10
+ <path class="cls-1" d="M17.58,14.37c-.2-.19-.52-.17-.71.04l-3.88,4.3v-8.7c0-.28-.22-.5-.5-.5s-.5.22-.5.5v8.7l-3.88-4.3c-.19-.21-.5-.22-.71-.04-.21.19-.22.5-.04.71l4.75,5.26s0,0,0,0c.04.04.08.07.12.09.01,0,.02.02.04.03.06.03.13.04.2.04s.14-.02.2-.04c.01,0,.02-.02.04-.03.05-.03.09-.05.12-.09,0,0,0,0,0,0l4.75-5.26c.19-.21.17-.52-.04-.71Z"/>
11
+ <path class="cls-1" d="M2.83,26.09v-8.09c0-1.45-.42-2.52-1.55-3.01,1.14-.48,1.55-1.56,1.55-3.01V3.9c0-1.66,1.11-2.87,2.39-2.87h2.14V0h-2.14C3.52,0,1.8,1.55,1.8,3.9v8.09c0,1.28-.59,2.49-1.8,2.49v1.04c1.21,0,1.8,1.21,1.8,2.49v8.09c0,2.35,1.73,3.91,3.42,3.91h2.14v-1.04h-2.14c-1.28,0-2.39-1.24-2.39-2.87Z"/>
12
+ <path class="cls-1" d="M23.2,11.99V3.9c0-2.35-1.73-3.9-3.42-3.9h-2.14v1.04h2.14c1.28,0,2.39,1.21,2.39,2.87v8.09c0,1.45.42,2.52,1.56,3.01-1.14.48-1.56,1.55-1.56,3.01v8.09c0,1.63-1.11,2.87-2.39,2.87h-2.14v1.04h2.14c1.69,0,3.42-1.55,3.42-3.91v-8.09c0-1.28.59-2.49,1.8-2.49v-1.04c-1.21,0-1.8-1.21-1.8-2.49Z"/>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 30">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: #fff;
7
+ }
8
+ </style>
9
+ </defs>
10
+ <path class="cls-1" d="M17.58,14.37c-.2-.19-.52-.17-.71.04l-3.88,4.3v-8.7c0-.28-.22-.5-.5-.5s-.5.22-.5.5v8.7l-3.88-4.3c-.19-.21-.5-.22-.71-.04-.21.19-.22.5-.04.71l4.75,5.26s0,0,0,0c.04.04.08.07.12.09.01,0,.02.02.04.03.06.03.13.04.2.04s.14-.02.2-.04c.01,0,.02-.02.04-.03.05-.03.09-.05.12-.09,0,0,0,0,0,0l4.75-5.26c.19-.21.17-.52-.04-.71Z"/>
11
+ <path class="cls-1" d="M2.83,26.09v-8.09c0-1.45-.42-2.52-1.55-3.01,1.14-.48,1.55-1.56,1.55-3.01V3.9c0-1.66,1.11-2.87,2.39-2.87h2.14V0h-2.14C3.52,0,1.8,1.55,1.8,3.9v8.09c0,1.28-.59,2.49-1.8,2.49v1.04c1.21,0,1.8,1.21,1.8,2.49v8.09c0,2.35,1.73,3.91,3.42,3.91h2.14v-1.04h-2.14c-1.28,0-2.39-1.24-2.39-2.87Z"/>
12
+ <path class="cls-1" d="M23.2,11.99V3.9c0-2.35-1.73-3.9-3.42-3.9h-2.14v1.04h2.14c1.28,0,2.39,1.21,2.39,2.87v8.09c0,1.45.42,2.52,1.56,3.01-1.14.48-1.56,1.55-1.56,3.01v8.09c0,1.63-1.11,2.87-2.39,2.87h-2.14v1.04h2.14c1.69,0,3.42-1.55,3.42-3.91v-8.09c0-1.28.59-2.49,1.8-2.49v-1.04c-1.21,0-1.8-1.21-1.8-2.49Z"/>
13
+ </svg>
@@ -1,8 +1,13 @@
1
1
  /**
2
- * @file _link_underline.sass
2
+ * @file _link_underline.sass
3
3
  * @category 30_typography
4
4
  * @component 00_Core
5
5
  * @description Adds an underline. Allows themes to override with by redefining it, e.g. to add a text-underline to border-bottom approach */
6
-
6
+
7
7
  =link-underline()
8
+ text-decoration: none
8
9
  border-bottom: 1px solid $link_colour
10
+
11
+ =link-underline-active
12
+ text-decoration: none
13
+ border-bottom: 1px solid $link_colour_active
@@ -1,6 +1,6 @@
1
1
  p > a, p li > a, blockquote > a
2
2
  color: $link_colour
3
3
  +link-underline()
4
-
5
- &:hover, &:active
6
- color: mix($link_colour,$black,10%)
4
+
5
+ &:hover, &.active
6
+ +link-underline-active
@@ -18,11 +18,4 @@ a
18
18
  +transition(all,-6)
19
19
 
20
20
  &:hover, &:active
21
- filter: brightness(0.9)
22
-
23
- // Default for links in body paragraphs.
24
-
25
- main
26
- p > a
27
- a
28
- +inline-text-link()
21
+ color: $link_colour_active
@@ -111,6 +111,7 @@
111
111
  flex-direction: row
112
112
  align-items: center
113
113
  justify-content: center
114
+ +background-icon-left('reset')
114
115
 
115
116
  &:hover
116
117
  background-color: $black
@@ -48,6 +48,11 @@ input[type="submit"],
48
48
  button[type="submit"] //Button
49
49
  @extend %button-submit
50
50
 
51
+ input[type="reset"],
52
+ button[type="teset"] //Button
53
+ @extend %button-reset
54
+
55
+
51
56
  input[type="search"]::-webkit-search-cancel-button
52
57
  -webkit-appearance: none
53
58
  display: inline-block
@@ -73,6 +78,11 @@ input[type="checkbox"]
73
78
  float: left
74
79
  margin: 0
75
80
 
81
+ &:checked
82
+ +icon('checkmark')
83
+ background-size: 80%
84
+ background-position: center
85
+
76
86
  &:hover
77
87
  border-color: $ui_hover_border_color
78
88
 
@@ -5,7 +5,8 @@
5
5
  @usage Add the “icon” class to a button or container to apply standardized
6
6
  label styles. Add one of the following to apply a specific icon as per the
7
7
  $icons list below:
8
- .icon-[iconname] -- Positions icon to the right
8
+ .icon-[iconname] -- No positioning, must have container with definite height and width
9
+ .icon-right-[iconname] -- Positions icon to the right
9
10
  .icon-left-[iconname] -- Positions icon to the left
10
11
  .icon-reversed-[iconname] -- Uses reversed icon as default state
11
12
  .icon-neutral-[iconname] -- Uses neutral icon as default state
@@ -22,7 +23,7 @@
22
23
  * Standardized states are "default","active","neutral","reversed"
23
24
  */
24
25
 
25
- $icons: ('accordion-expand','accordion-horizontal','arrow','arrow-left','checkmark','close','copy','download','export','external-link','filter','full-screen','grid','hamburger-menu','home','link','list','location','locked','logout','minus','open-access','ordchid-id','orchid-id','plus','reset','search','sort','unlocked','upload','user-access','user','visible')
26
+ $icons: ('accordion-expand','accordion-horizontal','arrow','arrow-left','checkmark','close','copy','download','export','external-link','filter','full-screen','grid','hamburger-menu','home','link','list','location','locked','logout','minus','metadata','open-access','ordchid-id','orchid-id','plus','reset','search','sort','unlocked','upload','user-access','user','visible')
26
27
 
27
28
 
28
29
  %icon-label // Redefined from 30_typography/_definitions for portability. @todo: add definition to core.
@@ -60,17 +61,29 @@ button.icon
60
61
  text-transform: uppercase
61
62
  @extend %icon
62
63
 
63
- // Set standardized classes. Non-standard icon usage should use icons
64
+ // Set standardized classes.
64
65
  @each $name in $icons
65
66
  .icon-#{$name}
66
- +background-icon-right($name,$btn_icon_size,'default','active')
67
+ +background-icon-base($name,'contain','default','active')
68
+ &:after,&.active
69
+ +background-icon-active($name,'contain','default','active')
67
70
  .icon-reversed-#{$name}
68
- +background-icon-right($name,$btn_icon_size,'reversed','active')
71
+ +background-icon-base($name,'contain','reversed','active')
72
+ &:after,&.active
73
+ +background-icon-active($name,'contain','reversed','active')
69
74
  .icon-neutral-#{$name}
70
- +background-icon-right($name,$btn_icon_size,'neutral','default')
75
+ +background-icon-base($name,'contain','neutral','default')
76
+ &:after,&.active
77
+ +background-icon-active($name,'contain','neutral','active')
71
78
  .icon-right#{$name}
72
- +background-icon-left($name,$btn_icon_size,'default','active')
79
+ +background-icon-right($name,$btn_icon_size,'default','active')
73
80
  .icon-right-reversed-#{$name}
74
- +background-icon-left($name,$btn_icon_size,'reversed','active')
81
+ +background-icon-right($name,$btn_icon_size,'reversed','active')
75
82
  .icon-right-neutral-#{$name}
83
+ +background-icon-right($name,$btn_icon_size,'neutral','default')
84
+ .icon-left-#{$name}
85
+ +background-icon-left($name,$btn_icon_size,'default','active')
86
+ .icon-left-reversed-#{$name}
87
+ +background-icon-left($name,$btn_icon_size,'reversed','active')
88
+ .icon-left-neutral-#{$name}
76
89
  +background-icon-left($name,$btn_icon_size,'neutral','default')
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 30">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: #f4b17a;
7
+ }
8
+ </style>
9
+ </defs>
10
+ <path class="cls-1" d="M17.58,14.37c-.2-.19-.52-.17-.71.04l-3.88,4.3v-8.7c0-.28-.22-.5-.5-.5s-.5.22-.5.5v8.7l-3.88-4.3c-.19-.21-.5-.22-.71-.04-.21.19-.22.5-.04.71l4.75,5.26s0,0,0,0c.04.04.08.07.12.09.01,0,.02.02.04.03.06.03.13.04.2.04s.14-.02.2-.04c.01,0,.02-.02.04-.03.05-.03.09-.05.12-.09,0,0,0,0,0,0l4.75-5.26c.19-.21.17-.52-.04-.71Z"/>
11
+ <path class="cls-1" d="M2.83,26.09v-8.09c0-1.45-.42-2.52-1.55-3.01,1.14-.48,1.55-1.56,1.55-3.01V3.9c0-1.66,1.11-2.87,2.39-2.87h2.14V0h-2.14C3.52,0,1.8,1.55,1.8,3.9v8.09c0,1.28-.59,2.49-1.8,2.49v1.04c1.21,0,1.8,1.21,1.8,2.49v8.09c0,2.35,1.73,3.91,3.42,3.91h2.14v-1.04h-2.14c-1.28,0-2.39-1.24-2.39-2.87Z"/>
12
+ <path class="cls-1" d="M23.2,11.99V3.9c0-2.35-1.73-3.9-3.42-3.9h-2.14v1.04h2.14c1.28,0,2.39,1.21,2.39,2.87v8.09c0,1.45.42,2.52,1.56,3.01-1.14.48-1.56,1.55-1.56,3.01v8.09c0,1.63-1.11,2.87-2.39,2.87h-2.14v1.04h2.14c1.69,0,3.42-1.55,3.42-3.91v-8.09c0-1.28.59-2.49,1.8-2.49v-1.04c-1.21,0-1.8-1.21-1.8-2.49Z"/>
13
+ </svg>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 30">
3
+ <path d="M17.58,14.37c-.2-.19-.52-.17-.71.04l-3.88,4.3v-8.7c0-.28-.22-.5-.5-.5s-.5.22-.5.5v8.7l-3.88-4.3c-.19-.21-.5-.22-.71-.04-.21.19-.22.5-.04.71l4.75,5.26s0,0,0,0c.04.04.08.07.12.09.01,0,.02.02.04.03.06.03.13.04.2.04s.14-.02.2-.04c.01,0,.02-.02.04-.03.05-.03.09-.05.12-.09,0,0,0,0,0,0l4.75-5.26c.19-.21.17-.52-.04-.71Z"/>
4
+ <path d="M2.83,26.09v-8.09c0-1.45-.42-2.52-1.55-3.01,1.14-.48,1.55-1.56,1.55-3.01V3.9c0-1.66,1.11-2.87,2.39-2.87h2.14V0h-2.14C3.52,0,1.8,1.55,1.8,3.9v8.09c0,1.28-.59,2.49-1.8,2.49v1.04c1.21,0,1.8,1.21,1.8,2.49v8.09c0,2.35,1.73,3.91,3.42,3.91h2.14v-1.04h-2.14c-1.28,0-2.39-1.24-2.39-2.87Z"/>
5
+ <path d="M23.2,11.99V3.9c0-2.35-1.73-3.9-3.42-3.9h-2.14v1.04h2.14c1.28,0,2.39,1.21,2.39,2.87v8.09c0,1.45.42,2.52,1.56,3.01-1.14.48-1.56,1.55-1.56,3.01v8.09c0,1.63-1.11,2.87-2.39,2.87h-2.14v1.04h2.14c1.69,0,3.42-1.55,3.42-3.91v-8.09c0-1.28.59-2.49,1.8-2.49v-1.04c-1.21,0-1.8-1.21-1.8-2.49Z"/>
6
+ </svg>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 30">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: #80858c;
7
+ }
8
+ </style>
9
+ </defs>
10
+ <path class="cls-1" d="M17.58,14.37c-.2-.19-.52-.17-.71.04l-3.88,4.3v-8.7c0-.28-.22-.5-.5-.5s-.5.22-.5.5v8.7l-3.88-4.3c-.19-.21-.5-.22-.71-.04-.21.19-.22.5-.04.71l4.75,5.26s0,0,0,0c.04.04.08.07.12.09.01,0,.02.02.04.03.06.03.13.04.2.04s.14-.02.2-.04c.01,0,.02-.02.04-.03.05-.03.09-.05.12-.09,0,0,0,0,0,0l4.75-5.26c.19-.21.17-.52-.04-.71Z"/>
11
+ <path class="cls-1" d="M2.83,26.09v-8.09c0-1.45-.42-2.52-1.55-3.01,1.14-.48,1.55-1.56,1.55-3.01V3.9c0-1.66,1.11-2.87,2.39-2.87h2.14V0h-2.14C3.52,0,1.8,1.55,1.8,3.9v8.09c0,1.28-.59,2.49-1.8,2.49v1.04c1.21,0,1.8,1.21,1.8,2.49v8.09c0,2.35,1.73,3.91,3.42,3.91h2.14v-1.04h-2.14c-1.28,0-2.39-1.24-2.39-2.87Z"/>
12
+ <path class="cls-1" d="M23.2,11.99V3.9c0-2.35-1.73-3.9-3.42-3.9h-2.14v1.04h2.14c1.28,0,2.39,1.21,2.39,2.87v8.09c0,1.45.42,2.52,1.56,3.01-1.14.48-1.56,1.55-1.56,3.01v8.09c0,1.63-1.11,2.87-2.39,2.87h-2.14v1.04h2.14c1.69,0,3.42-1.55,3.42-3.91v-8.09c0-1.28.59-2.49,1.8-2.49v-1.04c-1.21,0-1.8-1.21-1.8-2.49Z"/>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 30">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: #fff;
7
+ }
8
+ </style>
9
+ </defs>
10
+ <path class="cls-1" d="M17.58,14.37c-.2-.19-.52-.17-.71.04l-3.88,4.3v-8.7c0-.28-.22-.5-.5-.5s-.5.22-.5.5v8.7l-3.88-4.3c-.19-.21-.5-.22-.71-.04-.21.19-.22.5-.04.71l4.75,5.26s0,0,0,0c.04.04.08.07.12.09.01,0,.02.02.04.03.06.03.13.04.2.04s.14-.02.2-.04c.01,0,.02-.02.04-.03.05-.03.09-.05.12-.09,0,0,0,0,0,0l4.75-5.26c.19-.21.17-.52-.04-.71Z"/>
11
+ <path class="cls-1" d="M2.83,26.09v-8.09c0-1.45-.42-2.52-1.55-3.01,1.14-.48,1.55-1.56,1.55-3.01V3.9c0-1.66,1.11-2.87,2.39-2.87h2.14V0h-2.14C3.52,0,1.8,1.55,1.8,3.9v8.09c0,1.28-.59,2.49-1.8,2.49v1.04c1.21,0,1.8,1.21,1.8,2.49v8.09c0,2.35,1.73,3.91,3.42,3.91h2.14v-1.04h-2.14c-1.28,0-2.39-1.24-2.39-2.87Z"/>
12
+ <path class="cls-1" d="M23.2,11.99V3.9c0-2.35-1.73-3.9-3.42-3.9h-2.14v1.04h2.14c1.28,0,2.39,1.21,2.39,2.87v8.09c0,1.45.42,2.52,1.56,3.01-1.14.48-1.56,1.55-1.56,3.01v8.09c0,1.63-1.11,2.87-2.39,2.87h-2.14v1.04h2.14c1.69,0,3.42-1.55,3.42-3.91v-8.09c0-1.28.59-2.49,1.8-2.49v-1.04c-1.21,0-1.8-1.21-1.8-2.49Z"/>
13
+ </svg>