forever_style_guide 3.3.3 → 3.3.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db1274251d3a6b815506a1b6a029921a248f81e3
4
- data.tar.gz: 7242405c69d4a47f176697ce07a6c8f33afe0e9c
3
+ metadata.gz: 2a20f21821a651a0eaf0e620e993f39d1213c6f8
4
+ data.tar.gz: c8b160e5fff2428c2c2509a5179efab1cc96a41b
5
5
  SHA512:
6
- metadata.gz: 36464a0e415cdc9e35db42e3639d3ad7a70fa57ee964197f18af752fc57e4abd69e4775b83234b3028ad4eb51fd6e8e6dfebbbe02b382feb2098aaf21192fec5
7
- data.tar.gz: e08b40972b8ab59ad9cad290f5472fe5951e43dbe8032e8c44a5de64b92306131c0f0b8d0e44eeac6ff4514b9b753c2eea337bc634ea5d8ce1f8981b0cb333e7
6
+ metadata.gz: da0fe6fa1b4d7f3ec05c5fcce25400b4407bc4d09b83591d1b0a450eefb32ccee7cffa1508c2c5fd87ab61dae739b14b197e1dc7075525789c249eb83d36f797
7
+ data.tar.gz: 099737aa231fb816c311a657dab55800f222b73be123c5c869c1f45f7820efb20ea6d214d2de9efebd15050eea70f2e5c207d38e1228b0dc5332134b9af949a4
@@ -50,6 +50,8 @@ $color-nav-hover: color('secondary');
50
50
  bottom: 0;
51
51
  width: 0;
52
52
  background-color: $color-white;
53
+ border-left: solid 1px $color-gray-200;
54
+ box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
53
55
  transform: translateX(100%);
54
56
  transition: opacity 0.2s ease-in-out, transform 0.3s ease-in-out; // TODO - animate out
55
57
  z-index: $zindex-tooltip;
@@ -61,7 +63,7 @@ $color-nav-hover: color('secondary');
61
63
  opacity: 1;
62
64
  transform: translateX(0%);
63
65
  direction: rtl; // puts scrollbar to lefthand side
64
- overflow-y: scroll;
66
+ overflow-y: auto;
65
67
  width: $minimum-application-width;
66
68
  z-index: $in-front-of-primary-and-banner-and-impersonation;
67
69
 
@@ -23,7 +23,7 @@ a.ambassador_banner {
23
23
  }
24
24
 
25
25
  .ambassador_banner-text {
26
- position: static;
26
+ position: relative;
27
27
  height: $ambassador-banner-text-height;
28
28
  padding-top: $banner-vertical-padding;
29
29
  padding-bottom: $banner-vertical-padding;
@@ -17,9 +17,6 @@
17
17
  .ambassador_banner-dropdown_container.open {
18
18
  top: $ambassador-banner-text-height + $impersonation-banner-height;
19
19
  }
20
- .ambassador_banner-text:after {
21
- top: $impersonation-banner-height;
22
- }
23
20
  .nav-mobile-menu.in {
24
21
  @media(max-width: $grid-float-breakpoint) {
25
22
  top: $impersonation-banner-height;
@@ -1,11 +1,14 @@
1
1
  // desktop authenticated account dropdown styling
2
2
  $avatar-height: 35px;
3
3
  $avatar-width: 35px;
4
+
4
5
  $user_info-max_width: 100px;
5
6
  $user_info-max_width-sm: 70px;
6
7
  $user_info-max_width-xs: 50px;
8
+ $user_info-name-max_width: 200px;
9
+ $user_info-icon-vertical_alignment: -2px;
10
+ $user_info-toggle-hover_transition: color 0.15s ease-in-out;
7
11
 
8
- $mobile-menu-active-bar-offset: -11px;
9
12
  $padding-small-horizontal: 3px;
10
13
 
11
14
  .navigation-user_info {
@@ -31,7 +34,8 @@ $padding-small-horizontal: 3px;
31
34
  }
32
35
 
33
36
  .navigation-user_info-icon {
34
- margin-top: -3px; // magic number to vertical align
37
+ margin-top: $user_info-icon-vertical_alignment;
38
+ transition: $user_info-toggle-hover_transition;
35
39
  }
36
40
 
37
41
  .navigation-user_info-avatar {
@@ -48,7 +52,7 @@ $padding-small-horizontal: 3px;
48
52
  text-overflow: ellipsis;
49
53
  white-space: nowrap;
50
54
  overflow: hidden;
51
- transition: transform 0.15s ease-in-out;
55
+ transition: $user_info-toggle-hover_transition;
52
56
 
53
57
  @media (min-width: $grid-float-breakpoint) and (max-width: $screen-md_to_lg-plus) {
54
58
  max-width: $user_info-max_width-xs;
@@ -66,14 +70,16 @@ $padding-small-horizontal: 3px;
66
70
  position: relative;
67
71
  height: 100%;
68
72
  overflow-y: hidden;
69
- transition: opacity 0.15s ease-in-out;
70
73
 
71
74
  @media (max-width: $grid-float-breakpoint) {
72
75
  display: none;
73
76
  }
74
77
 
75
78
  &:hover {
76
- opacity: 0.7;
79
+ .navigation-user_info-user_name,
80
+ .navigation-user_info-icon {
81
+ color: $color-secondary;
82
+ }
77
83
  }
78
84
  }
79
85
 
@@ -99,11 +105,17 @@ $padding-small-horizontal: 3px;
99
105
  border-bottom: 2px solid $color-gray-200;
100
106
  }
101
107
 
102
- .user_info-logged_in-account_dropdown-storage {
108
+ .navigation-account_dropdown-user_info-logged_in {
103
109
  width: 100%;
104
110
  text-align: left;
105
111
  }
106
112
 
113
+ .navigation-account_dropdown-user_info-logged_in-name {
114
+ display: inline-block;
115
+ max-width: $user_info-name-max_width;
116
+ word-wrap: break-word;
117
+ }
118
+
107
119
  .navigation-account_dropdown-storage_bar {
108
120
  height: 10px;
109
121
  border-radius: 50px;
@@ -14,6 +14,10 @@ $mobile-menu-close-btn-height: 40px;
14
14
  @media (max-width: $grid-float-breakpoint) {
15
15
  max-height: none !important; // important overrides navbar bootstrap stuff
16
16
  order: 2; // .nav-mobile-menu-close: 1, .navbar-user_info: 2, .navbar-text_center: 3
17
+
18
+ &.navbar-user_info-logged_out {
19
+ order: 4;
20
+ }
17
21
  }
18
22
  }
19
23
 
@@ -44,6 +44,7 @@ $deals-icon-vertical-position: -5px;
44
44
  }
45
45
 
46
46
  .navigation {
47
+ position: relative;
47
48
  box-shadow: $navigation-shadow;
48
49
 
49
50
  .container-fluid > .navbar-header {
@@ -1,3 +1,3 @@
1
1
  module ForeverStyleGuide
2
- VERSION = "3.3.3"
2
+ VERSION = "3.3.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forever_style_guide
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.3
4
+ version: 3.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas McClay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-03 00:00:00.000000000 Z
11
+ date: 2018-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -306,3 +306,4 @@ signing_key:
306
306
  specification_version: 4
307
307
  summary: A live style guide and component API for the Forever brand
308
308
  test_files: []
309
+ has_rdoc: