stop14-themesystem-legacy 2.1.2 → 3.0.0

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.1.2",
3
+ "version": "3.0.0",
4
4
  "description": "A scaffolding and build system for theme development across platforms. Legacy version",
5
5
  "author": {
6
6
  "name": "Bill Kennedy",
@@ -7,9 +7,16 @@
7
7
  * @seealso 60_site_elements/views_and_blocks/_welcome.sass
8
8
  **/
9
9
 
10
- +splash-content-container()
10
+ // There are two slider options:
11
+ // +splash-content-container which creates a full width slider
12
+ // +splash-content-container-inset which insets the content by standard edge padding
13
+
14
+ +splash-content-container-inset()
11
15
 
12
16
  #splash
13
17
  position: relative
14
18
  .block
15
19
  +splash-drupal-views-support()
20
+
21
+ // This removes any default padding for the slide content container
22
+ --slide-item-content-padding: 0
@@ -54,6 +54,48 @@
54
54
  @else
55
55
  height: calc(#{$splash_height_desktop} - #{$masthead_height} - #{$admin_bar_tray} - #{$admin_bar_height} - #{$masthead_clearance})
56
56
 
57
+ =splash-content-container-inset($container-selector: ".block", $splash-section-selector: "#splash", $admin-toolbar-selector: ".has-admin-bar, .toolbar-tray-open")
58
+
59
+ @at-root #{$splash-section-selector} #{$container-selector}
60
+ +standard_edge_padding()
61
+
62
+ width: 100%
63
+ @if $splash_height_mobile == 'auto'
64
+ height: auto
65
+ @else
66
+ height: calc(#{$splash_height_mobile} - #{$masthead_height})
67
+
68
+ +bp($tablet)
69
+ @if $splash_height_tablet == 'auto'
70
+ height: auto
71
+ @else
72
+ height: calc(#{$splash_height_tablet} - #{$masthead_height})
73
+
74
+ +bp($desktop)
75
+ @if $splash_height_desktop == 'auto'
76
+ height: auto
77
+ @else
78
+ height: calc(#{$splash_height_desktop} - #{$masthead_height})
79
+ min-height: $min_splash_height
80
+
81
+ @at-root #{$admin-toolbar-selector} #{$splash-section-selector} #{$container-selector}
82
+ @if $splash_height_mobile == 'auto'
83
+ height: auto
84
+ @else
85
+ height: calc(#{$splash_height_mobile} - #{$masthead_height} - #{$admin_bar_height})
86
+
87
+ +bp($tablet)
88
+ @if $splash_height_tablet == 'auto'
89
+ height: auto
90
+ @else
91
+ height: calc(#{$splash_height_tablet} - #{$masthead_height} - #{$admin_bar_height})
92
+
93
+ +bp($desktop)
94
+ @if $splash_height_desktop == 'auto'
95
+ height: auto
96
+ @else
97
+ height: calc(#{$splash_height_desktop} - #{$masthead_height} - #{$admin_bar_tray} - #{$admin_bar_height})
98
+
57
99
 
58
100
  /**
59
101
  * Forces standard Views interior containers to 100% height. Apply to views block element.
@@ -19,3 +19,9 @@ a
19
19
 
20
20
  &:hover, &:active
21
21
  color: $link_colour_active
22
+
23
+ +reversed
24
+ color: $link_colour_reversed
25
+
26
+ &:hover, &:active
27
+ color: $link_colour_active_reversed
@@ -16,5 +16,5 @@
16
16
  padding: 0
17
17
  position: absolute
18
18
 
19
- .screen-reader-text
19
+ .screen-reader-text, .screen-reader-only
20
20
  +screen-reader-text
@@ -35,19 +35,11 @@
35
35
  -webkit-appearance: none
36
36
  -moz-appearance: none
37
37
  appearance: none
38
- font-size: $btn_fontsize
39
- font-weight: $normal
40
- padding: $btn_padding
41
- height: $btn_height
42
- min-width: $btn_minwidth
43
- border: $btn_border_width solid $btn_border_color
44
- border-radius: $ui_border_radius
38
+
45
39
  text-align: center
46
40
  text-transform: uppercase
47
41
  width: fit-content
48
42
  white-space: nowrap
49
- background-color: $btn_bg_color
50
- color: $btn_color
51
43
 
52
44
  %button
53
45
  @extend %button-base
@@ -56,6 +48,15 @@
56
48
  align-items: center
57
49
  justify-content: center
58
50
  cursor: pointer
51
+ font-size: $btn_fontsize
52
+ font-weight: $normal
53
+ padding: $btn_padding
54
+ height: $btn_height
55
+ min-width: $btn_minwidth
56
+ border: $btn_border_width solid $btn_border_color
57
+ border-radius: $ui_border_radius
58
+ background-color: $btn_bg_color
59
+ color: $btn_color
59
60
 
60
61
  &:hover
61
62
  color: $btn_hover_color
@@ -102,6 +103,7 @@
102
103
  color: $clr4
103
104
 
104
105
  %button-text
106
+ @extend %button-base
105
107
  background-color: $black
106
108
  text-decoration: underline
107
109
  display: inline-flex
@@ -124,7 +126,6 @@
124
126
  @extend %button
125
127
  color: $white
126
128
 
127
-
128
129
  %button-outline
129
130
  @extend %button
130
131
  background-color: transparent
@@ -32,7 +32,7 @@
32
32
  //.trigger,.MuiButtonBase-root,.icon
33
33
 
34
34
  button
35
- @extend %button
35
+ @extend %button-base
36
36
 
37
37
  &.icon, &.trigger, &.MuiButtonBase-root
38
38
  all: unset
@@ -0,0 +1,5 @@
1
+ /*
2
+ @file index.sass
3
+ @description Loads all sass files or subdirectory indices in its directory. */
4
+
5
+ @import _component_views_bef_search_field
@@ -7,6 +7,6 @@
7
7
  @import _component_drupal_local_tasks
8
8
  @import _component_drupal_one_line_form
9
9
  @import _component_views
10
- @import _component_views_bef_search_field
10
+ @import ../drupal_better_exposed_filters/component_views_bef_search_field
11
11
  @import _mirador_compatibility
12
12
  @import _views_attachment_tabs