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 +4 -4
- data/app/assets/stylesheets/forever_style_guide/globals/_mixins.scss +3 -1
- data/app/assets/stylesheets/forever_style_guide/modules/_ambassador_banner.scss +1 -1
- data/app/assets/stylesheets/forever_style_guide/modules/_impersonation_banner.scss +0 -3
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-account_dropdown.scss +18 -6
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-mobile-menu.scss +4 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_nav.scss +1 -0
- data/lib/forever_style_guide/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2a20f21821a651a0eaf0e620e993f39d1213c6f8
|
|
4
|
+
data.tar.gz: c8b160e5fff2428c2c2509a5179efab1cc96a41b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
66
|
+
overflow-y: auto;
|
|
65
67
|
width: $minimum-application-width;
|
|
66
68
|
z-index: $in-front-of-primary-and-banner-and-impersonation;
|
|
67
69
|
|
|
@@ -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: -
|
|
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:
|
|
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
|
-
|
|
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
|
|
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
|
|
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.
|
|
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-
|
|
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:
|