stop14-themesystem-legacy 2.0.5 → 2.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stop14-themesystem-legacy",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "A scaffolding and build system for theme development across platforms. Legacy version",
5
5
  "author": {
6
6
  "name": "Bill Kennedy",
@@ -222,6 +222,13 @@ ui_select_width: fit-content
222
222
  ui_select_min_width: $btn_width
223
223
  ui_select_max_width: 100%
224
224
 
225
+ #Callouts
226
+
227
+ callout_shift: 0
228
+ callout_width: 40%
229
+ callout_inset: null
230
+ callout_breakpoint: lrg
231
+
225
232
 
226
233
  # Animation
227
234
 
@@ -222,6 +222,12 @@ ui_select_width: fit-content
222
222
  ui_select_min_width: $btn_width
223
223
  ui_select_max_width: 100%
224
224
 
225
+ #Callouts
226
+
227
+ callout_shift: 0
228
+ callout_width: 40%
229
+ callout_inset: null
230
+ callout_breakpoint: lrg
225
231
 
226
232
  # Animation
227
233
 
@@ -161,6 +161,7 @@ ui_mobile_app_controls_footer_height: $masthead_height
161
161
  ui_mobile_app_controls_breakpoint: $tablet
162
162
  ui_display_controls_icon_size: "$ui_mobile_app_controls_footer_height * 0.5"
163
163
 
164
+
164
165
  # legacy
165
166
  border_radius: $ui_border_radius
166
167
  mobile_filter_height: rv(5)
@@ -222,6 +223,12 @@ ui_select_width: fit-content
222
223
  ui_select_min_width: 200px
223
224
  ui_select_max_width: 100%
224
225
 
226
+ #Callouts
227
+
228
+ callout_shift: 0
229
+ callout_width: 40%
230
+ callout_inset: null
231
+ callout_breakpoint: lrg
225
232
 
226
233
  # Animation
227
234
  heartbeat: 0.2s
@@ -50,11 +50,11 @@
50
50
 
51
51
  @if $direction == 'left'
52
52
  float: left
53
- padding-right: rv($mobile_edge_padding_factor)
53
+ padding-right: $paragraph_spacing
54
54
 
55
55
  @if $direction == 'right'
56
56
  float: right
57
- padding-left: rv($mobile_edge_padding_factor)
57
+ padding-left: $paragraph_spacing
58
58
 
59
59
  +bp($breakpoint)
60
60
  position: relative
@@ -67,9 +67,8 @@
67
67
  float: left
68
68
  text-align: right
69
69
 
70
- @if $inset == null
71
- right: calc(#{$shiftval} + var(--callout-width))
72
- margin-right: calc((#{$shiftval} + var(--callout-width)) * -1)
70
+ @if $inset == null or $inset == "null"
71
+ padding: 0 $paragraph_spacing $paragraph_spacing 0
73
72
  @else
74
73
  padding-right: rv($inset)
75
74
  right: calc(#{$shiftval} + (var(--callout-width)/2))
@@ -78,9 +77,8 @@
78
77
  @if $direction == 'right'
79
78
  float: right
80
79
 
81
- @if $inset == null
82
- left: calc(#{$shiftval} + var(--callout-width))
83
- margin-left: calc((#{$shiftval} + var(--callout-width)) * -1)
80
+ @if $inset == null or $inset == "null"
81
+ padding: 0 0 $paragraph_spacing $paragraph_spacing
84
82
  @else
85
83
  padding-left: rv($inset)
86
84
  left: calc(#{$shiftval} + (var(--callout-width)/2))
@@ -38,7 +38,7 @@
38
38
  font-size: $btn_fontsize
39
39
  font-weight: $normal
40
40
  padding: $btn_padding
41
- height: $ui_minheight
41
+ height: $btn_height
42
42
  min-width: $btn_minwidth
43
43
  border: $btn_border_width solid $btn_border_color
44
44
  border-radius: $ui_border_radius
@@ -38,6 +38,7 @@ input:focus
38
38
 
39
39
  input[type='text'],
40
40
  input[type='email'],
41
+ input[type='password']
41
42
  textarea#edit-message
42
43
  @extend %input-text
43
44
 
@@ -33,8 +33,8 @@
33
33
 
34
34
  &:before
35
35
  content: ''
36
- height: $btn_icon_size
37
- width: $btn_icon_size
36
+ height: $size
37
+ width: $size
38
38
  margin-right: $ui_padding
39
39
  +background-icon-base($icon_name,'contain',$initial_state,$active_state)
40
40
  background-position: center left
@@ -48,13 +48,13 @@
48
48
  =background-icon-right($icon_name, $size: $btn_icon_size, $initial_state: 'default', $active_state: 'active')
49
49
  display: flex
50
50
  align-items: center
51
- min-height: $btn_icon_size
51
+ min-height: $size
52
52
  cursor: pointer
53
53
 
54
54
  &:after
55
55
  content: ''
56
- height: $btn_icon_size
57
- width: $btn_icon_size
56
+ height: $size
57
+ width: $size
58
58
  margin-left: $ui_padding
59
59
  +background-icon-base($icon_name,'contain',$initial_state,$active_state)
60
60
  background-position: center right
@@ -62,9 +62,40 @@ ul.sf-menu
62
62
  text-decoration: none
63
63
  border-bottom: none
64
64
 
65
- > * .menuparent
66
- +background-icon-base('accordion-expand',$btn_icon_size,'reversed')
67
- background-position: right center
65
+ // Superfish uses “menuparent” to indicate that the link has a submenu
66
+ // It applies to both the list and child anchor tag so li is explicit here
67
+ // Superfish also uses “.sf-depth-[x]” to indicate nested menu depth
68
+ // .sf-depth-1 is the top-level.
69
+
70
+ // This logic uses a right-facing arrow for all menu items that are not the
71
+ // top level, which has a downward arrow.
72
+
73
+ // @todo Superfish may have collision detection here, with submenus appearing
74
+ // on the left or right depending on available viewport space. If so,
75
+ // this logic needs to expand.
76
+
77
+ li.menuparent
78
+ +background-icon-right('accordion-expand',$btn_icon_size)
79
+
80
+ &:after
81
+ transform: rotate(-90deg)
82
+
83
+ &.sf-depth-1
84
+
85
+ +reversed()
86
+ +background-icon-right('accordion-expand',$btn_icon_size,'reversed')
87
+
88
+ &:after
89
+ transform: unset
90
+
91
+ &:not(.sf-depth-1)
92
+ &:hover
93
+ &:after
94
+ background-image: url(get_svg_url('icons/accordion-expand-default'))
95
+ transform: rotate(-90deg)
96
+ animation-name: unset // The animation overrides the transform in this context, so is unset here.
97
+
98
+
68
99
 
69
100
  .sf-depth-1
70
101
  li
@@ -72,37 +103,25 @@ ul.sf-menu
72
103
  *white-space: normal /* ...unless you support IE7 (let it wrap) */
73
104
  -webkit-transition: background $heartbeat
74
105
  transition: background $heartbeat
75
- background: neutral(10)
106
+ background-color: neutral(10)
76
107
 
77
108
  &:hover
78
- background: $impact
109
+ background-color: $impact
79
110
 
80
111
  a, a:hover
81
112
  color: $black
113
+
82
114
  .sf-depth-2
83
115
  &.li
84
- background: neutral(50)
116
+ background-color: neutral(50)
85
117
  a
86
118
  color: $black
87
- +font-size(-1)
119
+ width: 75%
120
+ padding-right: 1.5em // conforms with superfish
88
121
 
89
122
 
90
123
 
91
124
  /* styling arrows */
92
- .sf-depth-1 .sf-with-ul:after
93
- content: ''
94
- background-size: contain
95
- background-position: center
96
- width: rv(-1)
97
- height: rv(-4)
98
- position: absolute
99
- top: rv(0)
100
- margin-left: rv(-1)
101
- justify-content: center
102
-
103
-
104
- .sf-depth-2 .sf-with-ul:after
105
- content: ''
106
125
 
107
126
  /* superfish generated arrows */
108
127
  .sf-menu li .sf-sub-indicator
@@ -24,7 +24,7 @@
24
24
  @import !fluid_type/_index_local_configuration
25
25
  @import standardized_text_collection/_index
26
26
  @import standardized_lists/_index
27
- @import callout_blocks/_index
27
+ @import callout_blocks/_index_local_configuration
28
28
 
29
29
  // 40 UI
30
30