solidus_backend 2.9.0 → 2.9.1

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: 70a7b56ceb29e661fad13e9730c9f8a060d991d3fde4555cf085107c5fbcdba9
4
- data.tar.gz: 895c24aecc507bcfa784f2c56e435b36188e81554897d96af3624390e68ccaaf
3
+ metadata.gz: 5eb3077ffeed5acf976b2f9e070fb6d92ba9e913de4fc917f6c927e85a646f21
4
+ data.tar.gz: 4ed9cbe7413a0d80480875f79a77e834851f8a45b0a516785f6c6b6c39ce222f
5
5
  SHA512:
6
- metadata.gz: 604f3d315d45624caece3c6d2adcea9a973f7ec3ae34e2b298b0bca010252bed168132e5d63ada7b04f80adcf547134634fd11298672eaf718d822dd0c4a8e25
7
- data.tar.gz: 5ee0bf59787a51250a5d75143f134d59368e39c4a85b32c31ad0c6143c4ec13ec197d4133fdd8824d1fe9a853f34d4010f685a7df4fa4cded4ae3403b7d1590b
6
+ metadata.gz: 11cec4ff5ba727f508fca6ab920149ef7384605976b2627f7001853e12eea1912fa0d9ecfdf8e68965a29b03e3a1a3b03128c1bc2ec9dbde89b96477b66ecb94
7
+ data.tar.gz: 550fd4e42d4c4bbdc61df3f91b638c1d162b9c1a1bafaef12c395faed9139e78b7f97590f44dca14089a7864165779544367584aeb767eb8aaeccdd0d6819532
@@ -1,7 +1,7 @@
1
1
  .tabs {
2
2
  display: flex;
3
3
  margin: 1em 0;
4
- border-bottom: 1px solid $color-border;
4
+ border-bottom: 1px solid $color-tab-border;
5
5
  white-space: nowrap;
6
6
 
7
7
  &,
@@ -26,9 +26,9 @@
26
26
  top: 2px;
27
27
 
28
28
  > a {
29
- color: $color-navbar-submenu;
29
+ color: $color-tab;
30
30
  display: block;
31
- border: 1px solid $color-border;
31
+ border: 1px solid $color-tab-border;
32
32
  border-radius: 4px 4px 0 0;
33
33
  line-height: 1;
34
34
  }
@@ -38,19 +38,19 @@
38
38
  }
39
39
 
40
40
  &:not(.active) > a {
41
- background: $color-tbl-thead;
41
+ background: $color-tab-bg;
42
42
  }
43
43
 
44
44
  &.active > a,
45
45
  &.active:hover {
46
- background: white;
47
- border-bottom-color: white;
48
- color: $color-navbar-active;
46
+ background: $color-tab-active-bg;
47
+ border-bottom-color: $color-tab-active-border;
48
+ color: $color-tab-active;
49
49
  font-weight: $font-weight-bold;
50
50
  }
51
51
 
52
52
  &:not(.active):hover > a {
53
- color: $color-navbar-active;
53
+ color: $color-tab-active;
54
54
  }
55
55
  }
56
56
 
@@ -70,7 +70,7 @@
70
70
 
71
71
  > a {
72
72
  position: relative;
73
- background: white;
73
+ background: $color-tab-active-bg;
74
74
  z-index: 1;
75
75
 
76
76
  &:before {
@@ -81,7 +81,7 @@
81
81
  }
82
82
 
83
83
  &:hover > a {
84
- background: white;
84
+ background: $color-tab-active-bg;
85
85
  }
86
86
 
87
87
  &:not(:hover) ul {
@@ -99,7 +99,7 @@
99
99
  .tabs li.in-dropdown {
100
100
  a {
101
101
  display: block;
102
- border: 1px solid $color-border;
102
+ border: 1px solid $color-tab-border;
103
103
  background: white;
104
104
  }
105
105
 
@@ -53,6 +53,14 @@ $color-navbar-footer-bg: $color-light !default;
53
53
  $color-navbar-footer-active: $color-primary !default;
54
54
  $color-icon-navbar: $color-dark-light !default;
55
55
 
56
+ // Basic Tabs colors
57
+ $color-tab: $color-dark-light !default;
58
+ $color-tab-bg: very-light($color-dark-light, 4) !default;
59
+ $color-tab-border: $color-border !default;
60
+ $color-tab-active: $color-primary !default;
61
+ $color-tab-active-bg: $color-white !default;
62
+ $color-tab-active-border: $color-white !default;
63
+
56
64
  // Basic flash colors
57
65
  @include bs-deprecated-variable("color-success", "brand-success");
58
66
  $color-success: $color-green !default;
@@ -19,12 +19,11 @@ describe "setting locale", type: :feature do
19
19
  },
20
20
  listing_orders: "Ordres"
21
21
  })
22
- Spree::Backend::Config[:locale] = "fr"
22
+ stub_spree_preferences(Spree::Backend::Config, locale: "fr")
23
23
  end
24
24
 
25
25
  after do
26
26
  I18n.locale = I18n.default_locale
27
- Spree::Backend::Config[:locale] = "en"
28
27
  ActionView::Base.raise_on_missing_translations = true
29
28
  end
30
29
 
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.0
4
+ version: 2.9.1
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-07-16 00:00:00.000000000 Z
11
+ date: 2019-08-07 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.0
19
+ version: 2.9.1
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.0
26
+ version: 2.9.1
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.0
33
+ version: 2.9.1
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.0
40
+ version: 2.9.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: coffee-rails
43
43
  requirement: !ruby/object:Gem::Requirement