barbican-reset 1.7.4 → 1.7.5

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.
@@ -1,11 +1,11 @@
1
1
 
2
2
  @mixin br-footer-upper {
3
3
  padding-top: 3.75rem;
4
- display: grid;
5
- gap: 1rem;
6
4
 
7
5
  @include media-breakpoint-up(md) {
8
6
  grid-template-columns: 11rem auto;
7
+ display: grid;
8
+ gap: 1rem;
9
9
  }
10
10
 
11
11
  &:not(.splash) {
@@ -21,6 +21,16 @@
21
21
  }
22
22
  }
23
23
 
24
+ @mixin br-footer-upper-inner {
25
+ display: grid;
26
+ gap: 2rem;
27
+
28
+ @include media-breakpoint-up(md) {
29
+ align-items: flex-start;
30
+ grid-auto-flow: column;
31
+ }
32
+ }
33
+
24
34
  @mixin br-footer-lower {
25
35
  padding-bottom: 1.875rem;
26
36
  padding-top: 1.875rem;
@@ -1,9 +1,23 @@
1
1
 
2
- @mixin input-dropdown {
2
+ @mixin custom-select {
3
+ padding: 0.8125rem 2.5rem 0.8125rem 0.8125rem;
4
+ background-position: right 0.75rem center;
5
+ background-image: url($select-arrow);
6
+ border: 1px solid $c-grey-concrete;
3
7
  background-color: $c-grey-alpine;
4
8
  border-radius: $border-radius-lg;
5
- border-color: $c-grey-concrete;
6
- padding: 0.875rem 0.5rem;
9
+ background-size: 1rem 0.75rem;
10
+ background-repeat: no-repeat;
11
+ line-height: 1.375rem;
7
12
  color: $c-grey-night;
13
+ font-size: inherit;
14
+ font-weight: 400;
15
+ transition: none;
16
+ appearance: none;
17
+ display: block;
8
18
  width: 100%;
19
+
20
+ @include focus {
21
+ @include input-focus-defaults;
22
+ }
9
23
  }
@@ -25,6 +25,7 @@
25
25
  padding: 0.875rem 0.875rem 0.75rem;
26
26
  background-color: $c-grey-alpine;
27
27
  border-radius: $border-radius-lg;
28
+ line-height: 1.375rem;
28
29
  color: $c-grey-night;
29
30
 
30
31
  &:disabled, &[readonly] {
@@ -20,4 +20,6 @@ $gap-account: 2rem;
20
20
  $gap-power: 1.25rem;
21
21
  $height-dashboard-banner: 25rem;
22
22
  $width-power-related: 66rem;
23
- $gap-accordion: 2rem;
23
+ $gap-accordion: 2rem;
24
+
25
+ $select-arrow: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barbican-reset",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "A collection of useful scss imports and js scripts, that provide consistent styling and functionality across barbican projects.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,3 +1,3 @@
1
1
  .custom-select {
2
- @include input-dropdown;
2
+ @include custom-select;
3
3
  }