stop14-themesystem-legacy 2.0.5 → 2.0.7
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 +1 -1
- package/scaffolding/default/_00_main_configuration.yml +7 -0
- package/scaffolding/drupal/_00_main_configuration.yml +6 -0
- package/scaffolding/omeka/_00_main_configuration.yml +7 -0
- package/source/sass/a_components/30_typography/callout_blocks/13_mixins/_callout.sass +6 -8
- package/source/sass/a_components/40_ui/ui_element_base_v002/13_definitions/_form_elements.sass +1 -1
- package/source/sass/a_components/40_ui/ui_element_base_v002/_form_ui.sass +2 -1
- package/source/sass/a_components/40_ui/ui_element_base_v002/_standardized_icons/_icon_mixins.sass +5 -5
- package/source/sass/a_components/40_ui/ui_element_base_v002/_ui_library_support/_component_superfish_navigation.sass +40 -21
- package/source/sass/b_profiles/s14_standard_base/_components.sass +1 -1
package/package.json
CHANGED
|
@@ -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:
|
|
53
|
+
padding-right: $paragraph_spacing
|
|
54
54
|
|
|
55
55
|
@if $direction == 'right'
|
|
56
56
|
float: right
|
|
57
|
-
padding-left:
|
|
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
|
-
|
|
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
|
-
|
|
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,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
|
|
|
@@ -47,7 +48,7 @@ textarea#edit-message
|
|
|
47
48
|
// Alternatively you can use the work-in-progress +input-button-icon() mixins
|
|
48
49
|
// to see if you can achieve the desired results.
|
|
49
50
|
|
|
50
|
-
input[type="search"]
|
|
51
|
+
input[type="search"],
|
|
51
52
|
button[type="search"]
|
|
52
53
|
@extend %button-search
|
|
53
54
|
|
package/source/sass/a_components/40_ui/ui_element_base_v002/_standardized_icons/_icon_mixins.sass
CHANGED
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
|
|
34
34
|
&:before
|
|
35
35
|
content: ''
|
|
36
|
-
height: $
|
|
37
|
-
width: $
|
|
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: $
|
|
51
|
+
min-height: $size
|
|
52
52
|
cursor: pointer
|
|
53
53
|
|
|
54
54
|
&:after
|
|
55
55
|
content: ''
|
|
56
|
-
height: $
|
|
57
|
-
width: $
|
|
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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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
|
-
|
|
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
|