solidus_backend 2.9.1 → 2.9.2

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.

Potentially problematic release.


This version of solidus_backend might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5eb3077ffeed5acf976b2f9e070fb6d92ba9e913de4fc917f6c927e85a646f21
4
- data.tar.gz: 4ed9cbe7413a0d80480875f79a77e834851f8a45b0a516785f6c6b6c39ce222f
3
+ metadata.gz: 6163ba6d77d3221cc770c66492bbfcd1558af588dbabf65ea1f16be1e226cad3
4
+ data.tar.gz: 2733f79263f19a150f18541efad616ca24f5500027982df8c5160b7cf26a7674
5
5
  SHA512:
6
- metadata.gz: 11cec4ff5ba727f508fca6ab920149ef7384605976b2627f7001853e12eea1912fa0d9ecfdf8e68965a29b03e3a1a3b03128c1bc2ec9dbde89b96477b66ecb94
7
- data.tar.gz: 550fd4e42d4c4bbdc61df3f91b638c1d162b9c1a1bafaef12c395faed9139e78b7f97590f44dca14089a7864165779544367584aeb767eb8aaeccdd0d6819532
6
+ metadata.gz: d10ea54cc2aae32b27840529e8ef5b0ec7617542e1de479b977ab99383e6c673f2e4f779b7bcfe93962e1ecb45452c4de577ae9da4360793b6a64ce40ba33820
7
+ data.tar.gz: b827d361e91b68319dbef13ece7ded929114488efd412b0bcfafabe9d42d599a62266d2ac7fb858e4e85035470d493216b864ee561556f19aadb698dce05ce7d
@@ -40,15 +40,15 @@
40
40
  color: $body-color;
41
41
 
42
42
  &.notice {
43
- background-color: rgba(very-light($color-notice, 15), .95);
43
+ background-color: rgba(lighten($color-notice, 15), .95);
44
44
  border-top-color: $color-notice;
45
45
  }
46
46
  &.success {
47
- background-color: rgba(very-light($color-success, 30), .95);
47
+ background-color: rgba(lighten($color-success, 30), .95);
48
48
  border-top-color: $color-success;
49
49
  }
50
50
  &.error {
51
- background-color: rgba(very-light($color-error, 30), .95);
51
+ background-color: rgba(lighten($color-error, 30), .95);
52
52
  border-top-color: $color-error;
53
53
  }
54
54
  }
@@ -1,5 +1,7 @@
1
1
  // Make color very close to white
2
2
  @function very-light($color, $adjust: 3){
3
+ @warn "The `very-light` function is deprecated. Please use the default sass `lighten` function, instead.";
4
+
3
5
  @if type-of($adjust) == 'number' and $adjust > 0 {
4
6
  @for $i from 0 through 100 {
5
7
  @if lighten($color, $i) == white and ($i - $adjust) > $adjust {
@@ -55,7 +55,7 @@ $color-icon-navbar: $color-dark-light !default;
55
55
 
56
56
  // Basic Tabs colors
57
57
  $color-tab: $color-dark-light !default;
58
- $color-tab-bg: very-light($color-dark-light, 4) !default;
58
+ $color-tab-bg: $color-light !default;
59
59
  $color-tab-border: $color-border !default;
60
60
  $color-tab-active: $color-primary !default;
61
61
  $color-tab-active-bg: $color-white !default;
@@ -89,8 +89,8 @@ $color-style-guide-table-border: #CEE1F4;
89
89
 
90
90
  // Table colors
91
91
  $color-tbl-odd: $color-white !default;
92
- $color-tbl-even: very-light($color-dark-light, 4) !default;
93
- $color-tbl-thead: very-light($color-dark-light, 4) !default;
92
+ $color-tbl-even: $color-light !default;
93
+ $color-tbl-thead: $color-light !default;
94
94
 
95
95
  // Pill colors
96
96
  //
@@ -114,24 +114,24 @@ $color-pill-error: #ff967b;
114
114
  $color-pill-error-text: $color-pill-text;
115
115
 
116
116
  // Actions colors
117
- $color-action-edit-bg: very-light($color-success, 5 ) !default;
118
- $color-action-edit-brd: very-light($color-success, 20 ) !default;
119
- $color-action-clone-bg: very-light($color-notice, 5 ) !default;
120
- $color-action-clone-brd: very-light($color-notice, 15 ) !default;
121
- $color-action-remove-bg: very-light($color-error, 5 ) !default;
122
- $color-action-remove-brd: very-light($color-error, 10 ) !default;
123
- $color-action-void-bg: very-light($color-error, 10 ) !default;
124
- $color-action-void-brd: very-light($color-error, 20 ) !default;
125
- $color-action-cancel-bg: very-light($color-notice, 10 ) !default;
126
- $color-action-cancel-brd: very-light($color-notice, 20 ) !default;
127
- $color-action-capture-bg: very-light($color-success, 5 ) !default;
128
- $color-action-capture-brd: very-light($color-success, 20 ) !default;
129
- $color-action-save-bg: very-light($color-success, 5 ) !default;
130
- $color-action-save-brd: very-light($color-success, 20 ) !default;
131
- $color-action-mail-bg: very-light($color-success, 5 ) !default;
132
- $color-action-mail-brd: very-light($color-success, 20 ) !default;
133
- $color-action-failure-bg: very-light($color-error, 10 ) !default;
134
- $color-action-failure-brd: very-light($color-error, 20 ) !default;
117
+ $color-action-edit-bg: lighten($color-success, (5 * 5) ) !default;
118
+ $color-action-edit-brd: lighten($color-success, (20 * 5) ) !default;
119
+ $color-action-clone-bg: lighten($color-notice, (5 * 5) ) !default;
120
+ $color-action-clone-brd: lighten($color-notice, (15 * 5) ) !default;
121
+ $color-action-remove-bg: lighten($color-error, (5 * 5) ) !default;
122
+ $color-action-remove-brd: lighten($color-error, (10 * 5) ) !default;
123
+ $color-action-void-bg: lighten($color-error, (10 * 5) ) !default;
124
+ $color-action-void-brd: lighten($color-error, (20 * 5) ) !default;
125
+ $color-action-cancel-bg: lighten($color-notice, (10 * 5) ) !default;
126
+ $color-action-cancel-brd: lighten($color-notice, (20 * 5) ) !default;
127
+ $color-action-capture-bg: lighten($color-success, (5 * 5) ) !default;
128
+ $color-action-capture-brd: lighten($color-success, (20 * 5) ) !default;
129
+ $color-action-save-bg: lighten($color-success, (5 * 5) ) !default;
130
+ $color-action-save-brd: lighten($color-success, (20 * 5) ) !default;
131
+ $color-action-mail-bg: lighten($color-success, (5 * 5) ) !default;
132
+ $color-action-mail-brd: lighten($color-success, (20 * 5) ) !default;
133
+ $color-action-failure-bg: lighten($color-error, (10 * 5) ) !default;
134
+ $color-action-failure-brd: lighten($color-error, (20 * 5) ) !default;
135
135
 
136
136
  // Available states
137
137
  $states: (
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  .taxon {
15
- background-color: very-light($color-dark-light);
15
+ background-color: $color-light;
16
16
  border: 1px solid $color-border;
17
17
  border-radius: $border-radius;
18
18
  color: $body-color;
@@ -114,8 +114,8 @@ table {
114
114
  tbody {
115
115
  tr {
116
116
  &.deleted td {
117
- background-color: very-light(theme-color("danger"), 6);
118
- border-color: very-light(theme-color("danger"), 15);
117
+ background-color: lighten(theme-color("danger"), 6);
118
+ border-color: lighten(theme-color("danger"), 15);
119
119
  }
120
120
  }
121
121
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.1
4
+ version: 2.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-07 00:00:00.000000000 Z
11
+ date: 2019-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.9.1
19
+ version: 2.9.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.9.1
26
+ version: 2.9.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.9.1
33
+ version: 2.9.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.9.1
40
+ version: 2.9.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: coffee-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -995,8 +995,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
995
995
  version: 1.8.23
996
996
  requirements:
997
997
  - none
998
- rubyforge_project:
999
- rubygems_version: 2.7.3
998
+ rubygems_version: 3.0.6
1000
999
  signing_key:
1001
1000
  specification_version: 4
1002
1001
  summary: Admin interface for the Solidus e-commerce framework.