fastlane-plugin-polidea 2.2.0.pre → 3.0.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.
- checksums.yaml +4 -4
- data/README.md +9 -13
- data/lib/fastlane/plugin/polidea.rb +4 -0
- data/lib/fastlane/plugin/polidea/actions/fota_mail.rb +13 -3
- data/lib/fastlane/plugin/polidea/actions/fota_s3.rb +36 -29
- data/lib/fastlane/plugin/polidea/actions/release_notes.rb +1 -1
- data/lib/fastlane/plugin/polidea/actions/release_notes_from_commits.rb +1 -1
- data/lib/fastlane/plugin/polidea/helper/page_generator.rb +28 -56
- data/lib/fastlane/plugin/polidea/helper/qr_generator.rb +7 -42
- data/lib/fastlane/plugin/polidea/version.rb +1 -1
- data/templates/install.erb +238 -0
- data/{lib/fastlane/plugin/polidea/templates/download.erb → templates/mail.erb} +18 -23
- metadata +10 -111
- data/lib/fastlane/plugin/polidea/actions/extract_app_icon.rb +0 -172
- data/lib/fastlane/plugin/polidea/actions/extract_app_name.rb +0 -100
- data/lib/fastlane/plugin/polidea/actions/extract_version.rb +0 -106
- data/lib/fastlane/plugin/polidea/actions/get_binary_size.rb +0 -57
- data/lib/fastlane/plugin/polidea/templates/images/cover-shuttle.jpg +0 -0
- data/lib/fastlane/plugin/polidea/templates/images/icon-placeholder.png +0 -0
- data/lib/fastlane/plugin/polidea/templates/images/polidea-logo.png +0 -0
- data/lib/fastlane/plugin/polidea/templates/images/social-behance.png +0 -0
- data/lib/fastlane/plugin/polidea/templates/images/social-dribbble.png +0 -0
- data/lib/fastlane/plugin/polidea/templates/images/social-facebook.png +0 -0
- data/lib/fastlane/plugin/polidea/templates/images/social-github.png +0 -0
- data/lib/fastlane/plugin/polidea/templates/images/social-instagram.png +0 -0
- data/lib/fastlane/plugin/polidea/templates/images/social-linkedin.png +0 -0
- data/lib/fastlane/plugin/polidea/templates/images/social-twitter.png +0 -0
- data/lib/fastlane/plugin/polidea/templates/installation-page/css/installation-page.css +0 -4895
- data/lib/fastlane/plugin/polidea/templates/installation-page/css/installation-page.css.map +0 -7
- data/lib/fastlane/plugin/polidea/templates/installation-page/img/bg.png +0 -0
- data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg.jpg +0 -0
- data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1024.jpg +0 -0
- data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1280.jpg +0 -0
- data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1360.jpg +0 -0
- data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1440.jpg +0 -0
- data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_1680.jpg +0 -0
- data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_768.jpg +0 -0
- data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_ipad_1024.jpg +0 -0
- data/lib/fastlane/plugin/polidea/templates/installation-page/img/jenkins_bg_ipad_768.jpg +0 -0
- data/lib/fastlane/plugin/polidea/templates/installation-page/img/logo.svg +0 -32
- data/lib/fastlane/plugin/polidea/templates/installation-page/img/logo_square.svg +0 -12
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation.min.js +0 -10
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.abide.js +0 -294
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.accordion.js +0 -65
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.alert.js +0 -43
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.clearing.js +0 -558
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.dropdown.js +0 -313
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.equalizer.js +0 -74
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.interchange.js +0 -344
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.joyride.js +0 -915
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.js +0 -625
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.magellan.js +0 -189
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.offcanvas.js +0 -139
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.orbit.js +0 -472
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.reveal.js +0 -443
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.slider.js +0 -231
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.tab.js +0 -167
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.tooltip.js +0 -298
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/foundation/foundation.topbar.js +0 -436
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/aes.js +0 -35
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/enc-base64-min.js +0 -8
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/fastclick.js +0 -9
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/jquery.cookie.js +0 -8
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/jquery.js +0 -26
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/modernizr.js +0 -8
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/pbkdf2.js +0 -19
- data/lib/fastlane/plugin/polidea/templates/installation-page/js/vendor/placeholder.js +0 -2
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/fonts.scss +0 -64
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation.scss +0 -45
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/_functions.scss +0 -101
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/_settings.scss +0 -1441
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_accordion.scss +0 -156
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_alert-boxes.scss +0 -126
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_block-grid.scss +0 -132
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_breadcrumbs.scss +0 -132
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_button-groups.scss +0 -200
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_buttons.scss +0 -252
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_clearing.scss +0 -247
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_dropdown-buttons.scss +0 -129
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_dropdown.scss +0 -248
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_flex-video.scss +0 -51
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_forms.scss +0 -570
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_global.scss +0 -447
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_grid.scss +0 -275
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_icon-bar.scss +0 -293
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_inline-lists.scss +0 -57
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_joyride.scss +0 -222
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_keystrokes.scss +0 -61
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_labels.scss +0 -105
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_magellan.scss +0 -34
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_offcanvas.scss +0 -510
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_orbit.scss +0 -368
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_pagination.scss +0 -162
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_panels.scss +0 -93
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_pricing-tables.scss +0 -150
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_progress-bars.scss +0 -79
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_range-slider.scss +0 -168
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_reveal.scss +0 -220
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_side-nav.scss +0 -116
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_split-buttons.scss +0 -191
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_sub-nav.scss +0 -125
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_switches.scss +0 -226
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_tables.scss +0 -135
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_tabs.scss +0 -123
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_thumbs.scss +0 -66
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_toolbar.scss +0 -70
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_tooltips.scss +0 -142
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_top-bar.scss +0 -676
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_type.scss +0 -523
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_visibility.scss +0 -408
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/installation-page.scss +0 -171
- data/lib/fastlane/plugin/polidea/templates/installation-page/sass/normalize.scss +0 -425
- data/lib/fastlane/plugin/polidea/templates/installation_template.erb +0 -54
- data/lib/fastlane/plugin/polidea/templates/mailgun_template.erb +0 -1257
- data/lib/fastlane/plugin/polidea/templates/secure_installation_template.erb +0 -130
data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_tabs.scss
DELETED
@@ -1,123 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
@import "grid";
|
7
|
-
@import "type";
|
8
|
-
|
9
|
-
//
|
10
|
-
// @variables
|
11
|
-
//
|
12
|
-
|
13
|
-
$include-html-tabs-classes: $include-html-classes !default;
|
14
|
-
|
15
|
-
$tabs-navigation-padding: rem-calc(16) !default;
|
16
|
-
$tabs-navigation-bg-color: $silver !default;
|
17
|
-
$tabs-navigation-active-bg-color: $white !default;
|
18
|
-
$tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%) !default;
|
19
|
-
$tabs-navigation-font-color: $jet !default;
|
20
|
-
$tabs-navigation-active-font-color: $tabs-navigation-font-color !default;
|
21
|
-
$tabs-navigation-font-size: rem-calc(16) !default;
|
22
|
-
$tabs-navigation-font-family: $body-font-family !default;
|
23
|
-
|
24
|
-
$tabs-content-margin-bottom: rem-calc(24) !default;
|
25
|
-
$tabs-content-padding: $column-gutter/2 !default;
|
26
|
-
|
27
|
-
$tabs-vertical-navigation-margin-bottom: 1.25rem !default;
|
28
|
-
|
29
|
-
@include exports("tab") {
|
30
|
-
@if $include-html-tabs-classes {
|
31
|
-
.tabs {
|
32
|
-
@include clearfix;
|
33
|
-
margin-bottom: 0 !important;
|
34
|
-
margin-left: 0;
|
35
|
-
dd, .tab-title {
|
36
|
-
position: relative;
|
37
|
-
margin-bottom: 0 !important;
|
38
|
-
list-style: none;
|
39
|
-
float: $default-float;
|
40
|
-
> a {
|
41
|
-
display: block;
|
42
|
-
background: {
|
43
|
-
color: $tabs-navigation-bg-color;
|
44
|
-
}
|
45
|
-
color: $tabs-navigation-font-color;
|
46
|
-
padding: $tabs-navigation-padding $tabs-navigation-padding * 2;
|
47
|
-
font-family: $tabs-navigation-font-family;
|
48
|
-
font-size: $tabs-navigation-font-size;
|
49
|
-
&:hover {
|
50
|
-
background: {
|
51
|
-
color: $tabs-navigation-hover-bg-color;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
}
|
55
|
-
&.active a {
|
56
|
-
background: {
|
57
|
-
color: $tabs-navigation-active-bg-color;
|
58
|
-
}
|
59
|
-
color:$tabs-navigation-active-font-color;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
&.radius {
|
63
|
-
dd:first-child, .tab:first-child {
|
64
|
-
a { @include side-radius($default-float, $global-radius); }
|
65
|
-
}
|
66
|
-
dd:last-child, .tab:last-child {
|
67
|
-
a { @include side-radius($opposite-direction, $global-radius); }
|
68
|
-
}
|
69
|
-
}
|
70
|
-
&.vertical {
|
71
|
-
dd, .tab-title {
|
72
|
-
position: inherit;
|
73
|
-
float: none;
|
74
|
-
display: block;
|
75
|
-
top: auto;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
|
80
|
-
.tabs-content {
|
81
|
-
@include clearfix;
|
82
|
-
margin-bottom: $tabs-content-margin-bottom;
|
83
|
-
width: 100%;
|
84
|
-
> .content {
|
85
|
-
display: none;
|
86
|
-
float: $default-float;
|
87
|
-
padding: $tabs-content-padding 0;
|
88
|
-
width: 100%;
|
89
|
-
&.active { display: block; float: none; }
|
90
|
-
&.contained { padding: $tabs-content-padding; }
|
91
|
-
}
|
92
|
-
&.vertical {
|
93
|
-
display: block;
|
94
|
-
> .content { padding: 0 $tabs-content-padding; }
|
95
|
-
}
|
96
|
-
}
|
97
|
-
@media #{$medium-up} {
|
98
|
-
.tabs {
|
99
|
-
&.vertical {
|
100
|
-
width: 20%;
|
101
|
-
max-width: 20%;
|
102
|
-
float: $default-float;
|
103
|
-
margin: 0 0 $tabs-vertical-navigation-margin-bottom;
|
104
|
-
}
|
105
|
-
}
|
106
|
-
.tabs-content {
|
107
|
-
&.vertical {
|
108
|
-
width: 80%;
|
109
|
-
max-width: 80%;
|
110
|
-
float: $default-float;
|
111
|
-
margin-#{$default-float}: -1px;
|
112
|
-
padding-#{$default-float}: 1rem;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
}
|
116
|
-
.no-js {
|
117
|
-
.tabs-content > .content {
|
118
|
-
display: block;
|
119
|
-
float: none;
|
120
|
-
}
|
121
|
-
}
|
122
|
-
}
|
123
|
-
}
|
data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_thumbs.scss
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
|
7
|
-
//
|
8
|
-
// @name _thumbs.scss
|
9
|
-
// @dependencies _globals.scss
|
10
|
-
//
|
11
|
-
|
12
|
-
//
|
13
|
-
// @variables
|
14
|
-
//
|
15
|
-
|
16
|
-
$include-html-media-classes: $include-html-classes !default;
|
17
|
-
|
18
|
-
// We use these to control border styles
|
19
|
-
$thumb-border-style: solid !default;
|
20
|
-
$thumb-border-width: 4px !default;
|
21
|
-
$thumb-border-color: $white !default;
|
22
|
-
$thumb-box-shadow: 0 0 0 1px rgba($black,.2) !default;
|
23
|
-
$thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5) !default;
|
24
|
-
|
25
|
-
// Radius and transition speed for thumbs
|
26
|
-
$thumb-radius: $global-radius !default;
|
27
|
-
$thumb-transition-speed: 200ms !default;
|
28
|
-
|
29
|
-
//
|
30
|
-
// @mixins
|
31
|
-
//
|
32
|
-
|
33
|
-
// We use this to create image thumbnail styles.
|
34
|
-
//
|
35
|
-
// $border-width - Width of border around thumbnail. Default: $thumb-border-width.
|
36
|
-
// $box-shadow - Box shadow to apply to thumbnail. Default: $thumb-box-shadow.
|
37
|
-
// $box-shadow-hover - Box shadow to apply on hover. Default: $thumb-box-shadow-hover.
|
38
|
-
@mixin thumb(
|
39
|
-
$border-width:$thumb-border-width,
|
40
|
-
$box-shadow:$thumb-box-shadow,
|
41
|
-
$box-shadow-hover:$thumb-box-shadow-hover) {
|
42
|
-
line-height: 0;
|
43
|
-
display: inline-block;
|
44
|
-
border: $thumb-border-style $border-width $thumb-border-color;
|
45
|
-
max-width: 100%;
|
46
|
-
box-shadow: $box-shadow;
|
47
|
-
|
48
|
-
&:hover,
|
49
|
-
&:focus {
|
50
|
-
box-shadow: $box-shadow-hover;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
|
55
|
-
@include exports("thumb") {
|
56
|
-
@if $include-html-media-classes {
|
57
|
-
|
58
|
-
/* Image Thumbnails */
|
59
|
-
.th {
|
60
|
-
@include thumb;
|
61
|
-
@include single-transition(all,$thumb-transition-speed,ease-out);
|
62
|
-
|
63
|
-
&.radius { @include radius($thumb-radius); }
|
64
|
-
}
|
65
|
-
}
|
66
|
-
}
|
@@ -1,70 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
// toolbar styles
|
5
|
-
|
6
|
-
.toolbar {
|
7
|
-
background: $oil;
|
8
|
-
width: 100%;
|
9
|
-
font-size: 0;
|
10
|
-
display: inline-block;
|
11
|
-
|
12
|
-
&.label-bottom .tab .tab-content {
|
13
|
-
i, img { margin-bottom: 10px; }
|
14
|
-
}
|
15
|
-
|
16
|
-
&.label-right .tab .tab-content {
|
17
|
-
i, img { margin-right: 10px; display: inline-block;}
|
18
|
-
label { display: inline-block; }
|
19
|
-
}
|
20
|
-
|
21
|
-
&.vertical.label-right .tab .tab-content {
|
22
|
-
text-align: left;
|
23
|
-
}
|
24
|
-
|
25
|
-
&.vertical {
|
26
|
-
height: 100%;
|
27
|
-
width: auto;
|
28
|
-
|
29
|
-
.tab {
|
30
|
-
width: auto;
|
31
|
-
margin: auto;
|
32
|
-
float: none;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
.tab {
|
37
|
-
text-align: center;
|
38
|
-
width: 25%;
|
39
|
-
margin: 0 auto;
|
40
|
-
display: block;
|
41
|
-
padding: 20px;
|
42
|
-
float: left;
|
43
|
-
|
44
|
-
&:hover {
|
45
|
-
background: rgba($white, 0.1);
|
46
|
-
}
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
.toolbar .tab-content {
|
51
|
-
font-size: 16px;
|
52
|
-
text-align: center;
|
53
|
-
|
54
|
-
label { color: $iron; }
|
55
|
-
|
56
|
-
i {
|
57
|
-
font-size: 30px;
|
58
|
-
display: block;
|
59
|
-
margin: 0 auto;
|
60
|
-
color: $iron;
|
61
|
-
vertical-align: middle;
|
62
|
-
}
|
63
|
-
|
64
|
-
img {
|
65
|
-
width: 30px;
|
66
|
-
height: 30px;
|
67
|
-
display: block;
|
68
|
-
margin: 0 auto;
|
69
|
-
}
|
70
|
-
}
|
@@ -1,142 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
|
7
|
-
//
|
8
|
-
// Tooltip Variables
|
9
|
-
//
|
10
|
-
$include-html-tooltip-classes: $include-html-classes !default;
|
11
|
-
|
12
|
-
$has-tip-border-bottom: dotted 1px $iron !default;
|
13
|
-
$has-tip-font-weight: $font-weight-bold !default;
|
14
|
-
$has-tip-font-color: $oil !default;
|
15
|
-
$has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%) !default;
|
16
|
-
$has-tip-font-color-hover: $primary-color !default;
|
17
|
-
$has-tip-cursor-type: help !default;
|
18
|
-
|
19
|
-
$tooltip-padding: rem-calc(12) !default;
|
20
|
-
$tooltip-bg: $oil !default;
|
21
|
-
$tooltip-font-size: rem-calc(14) !default;
|
22
|
-
$tooltip-font-weight: $font-weight-normal !default;
|
23
|
-
$tooltip-font-color: $white !default;
|
24
|
-
$tooltip-line-height: 1.3 !default;
|
25
|
-
$tooltip-close-font-size: rem-calc(10) !default;
|
26
|
-
$tooltip-close-font-weight: $font-weight-normal !default;
|
27
|
-
$tooltip-close-font-color: $monsoon !default;
|
28
|
-
$tooltip-font-size-sml: rem-calc(14) !default;
|
29
|
-
$tooltip-radius: $global-radius !default;
|
30
|
-
$tooltip-rounded: $global-rounded !default;
|
31
|
-
$tooltip-pip-size: 5px !default;
|
32
|
-
$tooltip-max-width: 300px !default;
|
33
|
-
|
34
|
-
@include exports("tooltip") {
|
35
|
-
@if $include-html-tooltip-classes {
|
36
|
-
|
37
|
-
/* Tooltips */
|
38
|
-
.has-tip {
|
39
|
-
border-bottom: $has-tip-border-bottom;
|
40
|
-
cursor: $has-tip-cursor-type;
|
41
|
-
font-weight: $has-tip-font-weight;
|
42
|
-
color: $has-tip-font-color;
|
43
|
-
|
44
|
-
&:hover,
|
45
|
-
&:focus {
|
46
|
-
border-bottom: $has-tip-border-bottom-hover;
|
47
|
-
color: $has-tip-font-color-hover;
|
48
|
-
}
|
49
|
-
|
50
|
-
&.tip-left,
|
51
|
-
&.tip-right { float: none !important; }
|
52
|
-
}
|
53
|
-
|
54
|
-
.tooltip {
|
55
|
-
display: none;
|
56
|
-
position: absolute;
|
57
|
-
z-index: 999;
|
58
|
-
font-weight: $tooltip-font-weight;
|
59
|
-
font-size: $tooltip-font-size;
|
60
|
-
line-height: $tooltip-line-height;
|
61
|
-
padding: $tooltip-padding;
|
62
|
-
max-width: $tooltip-max-width;
|
63
|
-
#{$default-float}: 50%;
|
64
|
-
width: 100%;
|
65
|
-
color: $tooltip-font-color;
|
66
|
-
background: $tooltip-bg;
|
67
|
-
|
68
|
-
&>.nub {
|
69
|
-
display: block;
|
70
|
-
#{$default-float}: $tooltip-pip-size;
|
71
|
-
position: absolute;
|
72
|
-
width: 0;
|
73
|
-
height: 0;
|
74
|
-
border: solid $tooltip-pip-size;
|
75
|
-
border-color: transparent transparent $tooltip-bg transparent;
|
76
|
-
top: -($tooltip-pip-size * 2);
|
77
|
-
pointer-events: none;
|
78
|
-
|
79
|
-
&.rtl {
|
80
|
-
left: auto;
|
81
|
-
#{$opposite-direction}: $tooltip-pip-size;
|
82
|
-
}
|
83
|
-
}
|
84
|
-
|
85
|
-
&.radius {
|
86
|
-
@include radius($tooltip-radius);
|
87
|
-
}
|
88
|
-
&.round {
|
89
|
-
@include radius($tooltip-rounded);
|
90
|
-
&>.nub {
|
91
|
-
left: 2rem;
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
&.opened {
|
96
|
-
color: $has-tip-font-color-hover !important;
|
97
|
-
border-bottom: $has-tip-border-bottom-hover !important;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
|
-
.tap-to-close {
|
102
|
-
display: block;
|
103
|
-
font-size: $tooltip-close-font-size;
|
104
|
-
color: $tooltip-close-font-color;
|
105
|
-
font-weight: $tooltip-close-font-weight;
|
106
|
-
}
|
107
|
-
|
108
|
-
@media #{$small} {
|
109
|
-
.tooltip {
|
110
|
-
&>.nub {
|
111
|
-
border-color: transparent transparent $tooltip-bg transparent;
|
112
|
-
top: -($tooltip-pip-size * 2);
|
113
|
-
}
|
114
|
-
&.tip-top>.nub {
|
115
|
-
border-color: $tooltip-bg transparent transparent transparent;
|
116
|
-
top: auto;
|
117
|
-
bottom: -($tooltip-pip-size * 2);
|
118
|
-
}
|
119
|
-
|
120
|
-
&.tip-left,
|
121
|
-
&.tip-right { float: none !important; }
|
122
|
-
|
123
|
-
&.tip-left>.nub {
|
124
|
-
border-color: transparent transparent transparent $tooltip-bg;
|
125
|
-
right: -($tooltip-pip-size * 2);
|
126
|
-
left: auto;
|
127
|
-
top: 50%;
|
128
|
-
margin-top: -$tooltip-pip-size;
|
129
|
-
}
|
130
|
-
&.tip-right>.nub {
|
131
|
-
border-color: transparent $tooltip-bg transparent transparent;
|
132
|
-
right: auto;
|
133
|
-
left: -($tooltip-pip-size * 2);
|
134
|
-
top: 50%;
|
135
|
-
margin-top: -$tooltip-pip-size;
|
136
|
-
}
|
137
|
-
|
138
|
-
}
|
139
|
-
}
|
140
|
-
|
141
|
-
}
|
142
|
-
}
|
@@ -1,676 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
@import "grid";
|
7
|
-
@import "buttons";
|
8
|
-
|
9
|
-
//
|
10
|
-
// Top Bar Variables
|
11
|
-
//
|
12
|
-
$include-html-top-bar-classes: $include-html-classes !default;
|
13
|
-
|
14
|
-
// Background color for the top bar
|
15
|
-
$topbar-bg-color: $oil !default;
|
16
|
-
$topbar-bg: $topbar-bg-color !default;
|
17
|
-
|
18
|
-
// Height and margin
|
19
|
-
$topbar-height: 45px !default;
|
20
|
-
$topbar-margin-bottom: 0 !default;
|
21
|
-
|
22
|
-
// Controlling the styles for the title in the top bar
|
23
|
-
$topbar-title-weight: $font-weight-normal !default;
|
24
|
-
$topbar-title-font-size: rem-calc(17) !default;
|
25
|
-
|
26
|
-
// Style the top bar dropdown elements
|
27
|
-
$topbar-dropdown-bg: $oil !default;
|
28
|
-
$topbar-dropdown-link-color: $white !default;
|
29
|
-
$topbar-dropdown-link-bg: $oil !default;
|
30
|
-
$topbar-dropdown-link-weight: $font-weight-normal !default;
|
31
|
-
$topbar-dropdown-toggle-size: 5px !default;
|
32
|
-
$topbar-dropdown-toggle-color: $white !default;
|
33
|
-
$topbar-dropdown-toggle-alpha: 0.4 !default;
|
34
|
-
|
35
|
-
// Set the link colors and styles for top-level nav
|
36
|
-
$topbar-link-color: $white !default;
|
37
|
-
$topbar-link-color-hover: $white !default;
|
38
|
-
$topbar-link-color-active: $white !default;
|
39
|
-
$topbar-link-color-active-hover: $white !default;
|
40
|
-
$topbar-link-weight: $font-weight-normal !default;
|
41
|
-
$topbar-link-font-size: rem-calc(13) !default;
|
42
|
-
$topbar-link-hover-lightness: -10% !default; // Darken by 10%
|
43
|
-
$topbar-link-bg: $topbar-bg !default;
|
44
|
-
$topbar-link-bg-hover: #272727 !default;
|
45
|
-
$topbar-link-bg-color-hover: $charcoal !default;
|
46
|
-
$topbar-link-bg-active: $primary-color !default;
|
47
|
-
$topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%) !default;
|
48
|
-
$topbar-link-font-family: $body-font-family !default;
|
49
|
-
$topbar-link-text-transform: none !default;
|
50
|
-
$topbar-link-padding: $topbar-height / 3 !default;
|
51
|
-
$topbar-back-link-size: $h5-font-size !default;
|
52
|
-
$topbar-link-dropdown-padding: 20px;
|
53
|
-
$topbar-button-font-size: 0.75rem !default;
|
54
|
-
$topbar-button-top: 7px !default;
|
55
|
-
|
56
|
-
$topbar-dropdown-label-color: $monsoon !default;
|
57
|
-
$topbar-dropdown-label-text-transform: uppercase !default;
|
58
|
-
$topbar-dropdown-label-font-weight: $font-weight-bold !default;
|
59
|
-
$topbar-dropdown-label-font-size: rem-calc(10) !default;
|
60
|
-
$topbar-dropdown-label-bg: $oil !default;
|
61
|
-
|
62
|
-
// Top menu icon styles
|
63
|
-
$topbar-menu-link-transform: uppercase !default;
|
64
|
-
$topbar-menu-link-font-size: rem-calc(13) !default;
|
65
|
-
$topbar-menu-link-weight: $font-weight-bold !default;
|
66
|
-
$topbar-menu-link-color: $white !default;
|
67
|
-
$topbar-menu-icon-color: $white !default;
|
68
|
-
$topbar-menu-link-color-toggled: $jumbo !default;
|
69
|
-
$topbar-menu-icon-color-toggled: $jumbo !default;
|
70
|
-
|
71
|
-
// Transitions and breakpoint styles
|
72
|
-
$topbar-transition-speed: 300ms !default;
|
73
|
-
// Using rem-calc for the below breakpoint causes issues with top bar
|
74
|
-
$topbar-breakpoint: #{lower-bound($medium-range)} !default; // Change to 9999px for always mobile layout
|
75
|
-
$topbar-media-query: $medium-up !default;
|
76
|
-
|
77
|
-
// Divider Styles
|
78
|
-
$topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%) !default;
|
79
|
-
$topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%) !default;
|
80
|
-
|
81
|
-
// Sticky Class
|
82
|
-
$topbar-sticky-class: ".sticky" !default;
|
83
|
-
$topbar-arrows: true !default; //Set false to remove the triangle icon from the menu item
|
84
|
-
|
85
|
-
// Accessibility mixins for hiding and showing the menu dropdown items
|
86
|
-
@mixin topbar-hide-dropdown {
|
87
|
-
// Makes an element visually hidden by default, but visible when focused.
|
88
|
-
display: block;
|
89
|
-
@include element-invisible();
|
90
|
-
}
|
91
|
-
|
92
|
-
@mixin topbar-show-dropdown {
|
93
|
-
display: block;
|
94
|
-
@include element-invisible-off();
|
95
|
-
position: absolute !important; // Reset the position from static to absolute
|
96
|
-
}
|
97
|
-
|
98
|
-
@include exports("top-bar") {
|
99
|
-
|
100
|
-
@if $include-html-top-bar-classes {
|
101
|
-
|
102
|
-
// Used to provide media query values for javascript components.
|
103
|
-
// This class is generated despite the value of $include-html-top-bar-classes
|
104
|
-
// to ensure width calculations work correctly.
|
105
|
-
meta.foundation-mq-topbar {
|
106
|
-
font-family: "/" + unquote($topbar-media-query) + "/";
|
107
|
-
width: $topbar-breakpoint;
|
108
|
-
}
|
109
|
-
|
110
|
-
/* Wrapped around .top-bar to contain to grid width */
|
111
|
-
.contain-to-grid {
|
112
|
-
width: 100%;
|
113
|
-
background: $topbar-bg;
|
114
|
-
|
115
|
-
.top-bar { margin-bottom: $topbar-margin-bottom; }
|
116
|
-
}
|
117
|
-
|
118
|
-
// Wrapped around .top-bar to make it stick to the top
|
119
|
-
.fixed {
|
120
|
-
width: 100%;
|
121
|
-
#{$default-float}: 0;
|
122
|
-
position: fixed;
|
123
|
-
top: 0;
|
124
|
-
z-index: 99;
|
125
|
-
|
126
|
-
&.expanded:not(.top-bar) {
|
127
|
-
overflow-y: auto;
|
128
|
-
height: auto;
|
129
|
-
width: 100%;
|
130
|
-
max-height: 100%;
|
131
|
-
|
132
|
-
.title-area {
|
133
|
-
position: fixed;
|
134
|
-
width: 100%;
|
135
|
-
z-index: 99;
|
136
|
-
}
|
137
|
-
// Ensure you can scroll the menu on small screens
|
138
|
-
.top-bar-section {
|
139
|
-
z-index: 98;
|
140
|
-
margin-top: $topbar-height;
|
141
|
-
}
|
142
|
-
}
|
143
|
-
}
|
144
|
-
|
145
|
-
.top-bar {
|
146
|
-
overflow: hidden;
|
147
|
-
height: $topbar-height;
|
148
|
-
line-height: $topbar-height;
|
149
|
-
position: relative;
|
150
|
-
background: $topbar-bg;
|
151
|
-
margin-bottom: $topbar-margin-bottom;
|
152
|
-
|
153
|
-
// Topbar Global list Styles
|
154
|
-
ul {
|
155
|
-
margin-bottom: 0;
|
156
|
-
list-style: none;
|
157
|
-
}
|
158
|
-
|
159
|
-
.row { max-width: none; }
|
160
|
-
|
161
|
-
form,
|
162
|
-
input { margin-bottom: 0; }
|
163
|
-
|
164
|
-
input { height: 1.8rem; padding-top: .35rem; padding-bottom: .35rem; font-size: $topbar-button-font-size; }
|
165
|
-
|
166
|
-
.button, button {
|
167
|
-
padding-top: .35rem + rem-calc(1);
|
168
|
-
padding-bottom: .35rem + rem-calc(1);
|
169
|
-
margin-bottom: 0;
|
170
|
-
font-size: $topbar-button-font-size;
|
171
|
-
// position: relative;
|
172
|
-
// top: -1px;
|
173
|
-
|
174
|
-
// Corrects a slight misalignment when put next to an input field
|
175
|
-
@media #{$small-only} {
|
176
|
-
position: relative;
|
177
|
-
top: -1px;
|
178
|
-
}
|
179
|
-
}
|
180
|
-
|
181
|
-
// Title Area
|
182
|
-
.title-area {
|
183
|
-
position: relative;
|
184
|
-
margin: 0;
|
185
|
-
}
|
186
|
-
|
187
|
-
.name {
|
188
|
-
height: $topbar-height;
|
189
|
-
margin: 0;
|
190
|
-
font-size: $rem-base;
|
191
|
-
|
192
|
-
h1 {
|
193
|
-
line-height: $topbar-height;
|
194
|
-
font-size: $topbar-title-font-size;
|
195
|
-
margin: 0;
|
196
|
-
a {
|
197
|
-
font-weight: $topbar-title-weight;
|
198
|
-
color: $topbar-link-color;
|
199
|
-
width: 75%;
|
200
|
-
display: block;
|
201
|
-
padding: 0 $topbar-link-padding;
|
202
|
-
}
|
203
|
-
}
|
204
|
-
}
|
205
|
-
|
206
|
-
// Menu toggle button on small devices
|
207
|
-
.toggle-topbar {
|
208
|
-
position: absolute;
|
209
|
-
#{$opposite-direction}: 0;
|
210
|
-
top: 0;
|
211
|
-
|
212
|
-
a {
|
213
|
-
color: $topbar-link-color;
|
214
|
-
text-transform: $topbar-menu-link-transform;
|
215
|
-
font-size: $topbar-menu-link-font-size;
|
216
|
-
font-weight: $topbar-menu-link-weight;
|
217
|
-
position: relative;
|
218
|
-
display: block;
|
219
|
-
padding: 0 $topbar-link-padding;
|
220
|
-
height: $topbar-height;
|
221
|
-
line-height: $topbar-height;
|
222
|
-
}
|
223
|
-
|
224
|
-
// Adding the class "menu-icon" will add the 3-line icon people love and adore.
|
225
|
-
&.menu-icon {
|
226
|
-
top: 50%;
|
227
|
-
margin-top: -16px;
|
228
|
-
|
229
|
-
a {
|
230
|
-
@if $text-direction == rtl {
|
231
|
-
text-indent: -58px;
|
232
|
-
}
|
233
|
-
height: 34px;
|
234
|
-
line-height: 33px;
|
235
|
-
padding: 0 $topbar-link-padding+25 0 $topbar-link-padding;
|
236
|
-
color: $topbar-menu-link-color;
|
237
|
-
position: relative;
|
238
|
-
|
239
|
-
& {
|
240
|
-
// @include hamburger icon
|
241
|
-
//
|
242
|
-
// We use this to create the icon with three lines aka the hamburger icon, the menu-icon or the navicon
|
243
|
-
// $width - Width of hamburger icon
|
244
|
-
// $left - If false, icon will be centered horizontally || explicitly set value in rem
|
245
|
-
// $top - If false, icon will be centered vertically || explicitly set value in rem
|
246
|
-
// $thickness - thickness of lines in hamburger icon, set value in px
|
247
|
-
// $gap - spacing between the lines in hamburger icon, set value in px
|
248
|
-
// $color - icon color
|
249
|
-
// $hover-color - icon color during hover, here it is set the same as $color because the values are changed on line 264
|
250
|
-
// $offcanvas - Set to false of @include in topbar
|
251
|
-
@include hamburger(16px, false, 0, 1px, 6px, $topbar-menu-icon-color, $topbar-menu-icon-color, false);
|
252
|
-
}
|
253
|
-
}
|
254
|
-
}
|
255
|
-
}
|
256
|
-
|
257
|
-
// Change things up when the top-bar is expanded
|
258
|
-
&.expanded {
|
259
|
-
height: auto;
|
260
|
-
background: transparent;
|
261
|
-
|
262
|
-
.title-area { background: $topbar-bg; }
|
263
|
-
|
264
|
-
.toggle-topbar {
|
265
|
-
a { color: $topbar-menu-link-color-toggled;
|
266
|
-
&::after {
|
267
|
-
// Shh, don't tell, but box-shadows create the menu icon :)
|
268
|
-
box-shadow: 0 10px 0 1px $topbar-menu-icon-color-toggled,
|
269
|
-
0 16px 0 1px $topbar-menu-icon-color-toggled,
|
270
|
-
0 22px 0 1px $topbar-menu-icon-color-toggled;
|
271
|
-
}
|
272
|
-
}
|
273
|
-
}
|
274
|
-
}
|
275
|
-
}
|
276
|
-
|
277
|
-
// Right and Left Navigation that stacked by default
|
278
|
-
.top-bar-section {
|
279
|
-
#{$default-float}: 0;
|
280
|
-
position: relative;
|
281
|
-
width: auto;
|
282
|
-
@include single-transition($default-float, $topbar-transition-speed);
|
283
|
-
|
284
|
-
ul {
|
285
|
-
padding: 0;
|
286
|
-
width: 100%;
|
287
|
-
height: auto;
|
288
|
-
display: block;
|
289
|
-
font-size: $rem-base;
|
290
|
-
margin: 0;
|
291
|
-
}
|
292
|
-
|
293
|
-
.divider,
|
294
|
-
[role="separator"] {
|
295
|
-
border-top: $topbar-divider-border-top;
|
296
|
-
clear: both;
|
297
|
-
height: 1px;
|
298
|
-
width: 100%;
|
299
|
-
}
|
300
|
-
|
301
|
-
ul li {
|
302
|
-
background: $topbar-dropdown-bg;
|
303
|
-
& > a {
|
304
|
-
display: block;
|
305
|
-
width: 100%;
|
306
|
-
color: $topbar-link-color;
|
307
|
-
padding: 12px 0 12px 0;
|
308
|
-
padding-#{$default-float}: $topbar-link-padding;
|
309
|
-
font-family: $topbar-link-font-family;
|
310
|
-
font-size: $topbar-link-font-size;
|
311
|
-
font-weight: $topbar-link-weight;
|
312
|
-
text-transform: $topbar-link-text-transform;
|
313
|
-
|
314
|
-
|
315
|
-
&.button {
|
316
|
-
font-size: $topbar-link-font-size;
|
317
|
-
padding-#{$opposite-direction}: $topbar-link-padding;
|
318
|
-
padding-#{$default-float}: $topbar-link-padding;
|
319
|
-
@include button-style($bg:$primary-color);
|
320
|
-
}
|
321
|
-
&.button.secondary { @include button-style($bg:$secondary-color); }
|
322
|
-
&.button.success { @include button-style($bg:$success-color); }
|
323
|
-
&.button.alert { @include button-style($bg:$alert-color); }
|
324
|
-
}
|
325
|
-
|
326
|
-
> button {
|
327
|
-
font-size: $topbar-link-font-size;
|
328
|
-
padding-#{$opposite-direction}: $topbar-link-padding;
|
329
|
-
padding-#{$default-float}: $topbar-link-padding;
|
330
|
-
@include button-style($bg:$primary-color);
|
331
|
-
|
332
|
-
&.secondary { @include button-style($bg:$secondary-color); }
|
333
|
-
&.success { @include button-style($bg:$success-color); }
|
334
|
-
&.alert { @include button-style($bg:$alert-color); }
|
335
|
-
}
|
336
|
-
|
337
|
-
// Apply the hover link color when it has that class
|
338
|
-
&:hover:not(.has-form) > a {
|
339
|
-
background-color: $topbar-link-bg-color-hover;
|
340
|
-
@if ($topbar-link-bg-hover) {
|
341
|
-
background: $topbar-link-bg-hover;
|
342
|
-
}
|
343
|
-
color: $topbar-link-color-hover;
|
344
|
-
|
345
|
-
}
|
346
|
-
|
347
|
-
// Apply the active link color when it has that class
|
348
|
-
&.active > a {
|
349
|
-
background: $topbar-link-bg-active;
|
350
|
-
color: $topbar-link-color-active;
|
351
|
-
&:hover {
|
352
|
-
background: $topbar-link-bg-active-hover;
|
353
|
-
color: $topbar-link-color-active-hover;
|
354
|
-
}
|
355
|
-
}
|
356
|
-
}
|
357
|
-
|
358
|
-
// Add some extra padding for list items contains buttons
|
359
|
-
.has-form { padding: $topbar-link-padding; }
|
360
|
-
|
361
|
-
// Styling for list items that have a dropdown within them.
|
362
|
-
.has-dropdown {
|
363
|
-
position: relative;
|
364
|
-
|
365
|
-
& > a {
|
366
|
-
&:after {
|
367
|
-
@if ($topbar-arrows){
|
368
|
-
@include css-triangle($topbar-dropdown-toggle-size, rgba($topbar-dropdown-toggle-color, $topbar-dropdown-toggle-alpha), $default-float);
|
369
|
-
}
|
370
|
-
margin-#{$opposite-direction}: $topbar-link-padding;
|
371
|
-
margin-top: -($topbar-dropdown-toggle-size / 2) - 2;
|
372
|
-
position: absolute;
|
373
|
-
top: 50%;
|
374
|
-
#{$opposite-direction}: 0;
|
375
|
-
}
|
376
|
-
}
|
377
|
-
|
378
|
-
&.moved { position: static;
|
379
|
-
& > .dropdown {
|
380
|
-
@include topbar-show-dropdown();
|
381
|
-
width: 100%;
|
382
|
-
}
|
383
|
-
& > a:after {
|
384
|
-
display: none;
|
385
|
-
}
|
386
|
-
}
|
387
|
-
}
|
388
|
-
|
389
|
-
// Styling elements inside of dropdowns
|
390
|
-
.dropdown {
|
391
|
-
padding: 0;
|
392
|
-
position: absolute;
|
393
|
-
#{$default-float}: 100%;
|
394
|
-
top: 0;
|
395
|
-
z-index: 99;
|
396
|
-
@include topbar-hide-dropdown();
|
397
|
-
|
398
|
-
li {
|
399
|
-
width: 100%;
|
400
|
-
height: auto;
|
401
|
-
|
402
|
-
a {
|
403
|
-
font-weight: $topbar-dropdown-link-weight;
|
404
|
-
padding: 8px $topbar-link-padding;
|
405
|
-
&.parent-link {
|
406
|
-
font-weight: $topbar-link-weight;
|
407
|
-
}
|
408
|
-
}
|
409
|
-
|
410
|
-
&.title h5, &.parent-link {
|
411
|
-
// Back Button
|
412
|
-
margin-bottom: 0;
|
413
|
-
margin-top: 0;
|
414
|
-
a {
|
415
|
-
color: $topbar-link-color;
|
416
|
-
// line-height: $topbar-height / 2;
|
417
|
-
display: block;
|
418
|
-
&:hover { background:none; }
|
419
|
-
}
|
420
|
-
}
|
421
|
-
&.has-form { padding: 8px $topbar-link-padding; }
|
422
|
-
.button, button { top: auto; }
|
423
|
-
}
|
424
|
-
|
425
|
-
label {
|
426
|
-
padding: 8px $topbar-link-padding 2px;
|
427
|
-
margin-bottom: 0;
|
428
|
-
text-transform: $topbar-dropdown-label-text-transform;
|
429
|
-
color: $topbar-dropdown-label-color;
|
430
|
-
font-weight: $topbar-dropdown-label-font-weight;
|
431
|
-
font-size: $topbar-dropdown-label-font-size;
|
432
|
-
}
|
433
|
-
}
|
434
|
-
}
|
435
|
-
|
436
|
-
.js-generated { display: block; }
|
437
|
-
|
438
|
-
|
439
|
-
// Top Bar styles intended for screen sizes above the breakpoint.
|
440
|
-
@media #{$topbar-media-query} {
|
441
|
-
.top-bar {
|
442
|
-
background: $topbar-bg;
|
443
|
-
@include clearfix;
|
444
|
-
overflow: visible;
|
445
|
-
|
446
|
-
.toggle-topbar { display: none; }
|
447
|
-
|
448
|
-
.title-area { float: $default-float; }
|
449
|
-
.name h1 a { width: auto; }
|
450
|
-
|
451
|
-
input,
|
452
|
-
.button,
|
453
|
-
button {
|
454
|
-
font-size: rem-calc(14);
|
455
|
-
position: relative;
|
456
|
-
top: $topbar-button-top;
|
457
|
-
}
|
458
|
-
|
459
|
-
&.expanded { background: $topbar-bg; }
|
460
|
-
}
|
461
|
-
|
462
|
-
.contain-to-grid .top-bar {
|
463
|
-
max-width: $row-width;
|
464
|
-
margin: 0 auto;
|
465
|
-
margin-bottom: $topbar-margin-bottom;
|
466
|
-
}
|
467
|
-
|
468
|
-
.top-bar-section {
|
469
|
-
@include single-transition(none,0,0);
|
470
|
-
#{$default-float}: 0 !important;
|
471
|
-
|
472
|
-
ul {
|
473
|
-
width: auto;
|
474
|
-
height: auto !important;
|
475
|
-
display: inline;
|
476
|
-
|
477
|
-
li {
|
478
|
-
float: $default-float;
|
479
|
-
.js-generated { display: none; }
|
480
|
-
}
|
481
|
-
}
|
482
|
-
|
483
|
-
li {
|
484
|
-
&.hover {
|
485
|
-
> a:not(.button) {
|
486
|
-
background-color: $topbar-link-bg-color-hover;
|
487
|
-
@if ($topbar-link-bg-hover) {
|
488
|
-
background: $topbar-link-bg-hover;
|
489
|
-
}
|
490
|
-
color: $topbar-link-color-hover;
|
491
|
-
}
|
492
|
-
}
|
493
|
-
&:not(.has-form) {
|
494
|
-
a:not(.button) {
|
495
|
-
padding: 0 $topbar-link-padding;
|
496
|
-
line-height: $topbar-height;
|
497
|
-
background: $topbar-link-bg;
|
498
|
-
&:hover {
|
499
|
-
background-color: $topbar-link-bg-color-hover;
|
500
|
-
@if ($topbar-link-bg-hover) {
|
501
|
-
background: $topbar-link-bg-hover;
|
502
|
-
}
|
503
|
-
}
|
504
|
-
}
|
505
|
-
}
|
506
|
-
&.active:not(.has-form) {
|
507
|
-
a:not(.button) {
|
508
|
-
padding: 0 $topbar-link-padding;
|
509
|
-
line-height: $topbar-height;
|
510
|
-
color: $topbar-link-color-active;
|
511
|
-
background: $topbar-link-bg-active;
|
512
|
-
&:hover {
|
513
|
-
background: $topbar-link-bg-active-hover;
|
514
|
-
color: $topbar-link-color-active-hover;
|
515
|
-
}
|
516
|
-
}
|
517
|
-
}
|
518
|
-
}
|
519
|
-
|
520
|
-
.has-dropdown {
|
521
|
-
|
522
|
-
@if($topbar-arrows){
|
523
|
-
|
524
|
-
& > a {
|
525
|
-
padding-#{$opposite-direction}: $topbar-link-padding + $topbar-link-dropdown-padding !important;
|
526
|
-
&:after {
|
527
|
-
@include css-triangle($topbar-dropdown-toggle-size, rgba($topbar-dropdown-toggle-color, $topbar-dropdown-toggle-alpha), top);
|
528
|
-
margin-top: -($topbar-dropdown-toggle-size / 2);
|
529
|
-
top: $topbar-height / 2;
|
530
|
-
}
|
531
|
-
}
|
532
|
-
|
533
|
-
}
|
534
|
-
|
535
|
-
&.moved { position: relative;
|
536
|
-
& > .dropdown {
|
537
|
-
@include topbar-hide-dropdown();
|
538
|
-
}
|
539
|
-
}
|
540
|
-
|
541
|
-
&.hover, &.not-click:hover {
|
542
|
-
& > .dropdown {
|
543
|
-
@include topbar-show-dropdown();
|
544
|
-
}
|
545
|
-
}
|
546
|
-
> a:focus + .dropdown {
|
547
|
-
@include topbar-show-dropdown();
|
548
|
-
}
|
549
|
-
|
550
|
-
.dropdown li.has-dropdown {
|
551
|
-
& > a {
|
552
|
-
&:after {
|
553
|
-
border: none;
|
554
|
-
content: "\00bb";
|
555
|
-
top: 1rem;
|
556
|
-
margin-top: -1px;
|
557
|
-
#{$opposite-direction}: 5px;
|
558
|
-
line-height: 1.2;
|
559
|
-
}
|
560
|
-
}
|
561
|
-
}
|
562
|
-
|
563
|
-
}
|
564
|
-
|
565
|
-
.dropdown {
|
566
|
-
#{$default-float}: 0;
|
567
|
-
top: auto;
|
568
|
-
background: transparent;
|
569
|
-
min-width: 100%;
|
570
|
-
|
571
|
-
li {
|
572
|
-
a {
|
573
|
-
color: $topbar-dropdown-link-color;
|
574
|
-
line-height: $topbar-height;
|
575
|
-
white-space: nowrap;
|
576
|
-
padding: 12px $topbar-link-padding;
|
577
|
-
background: $topbar-dropdown-link-bg;
|
578
|
-
}
|
579
|
-
|
580
|
-
&:not(.has-form):not(.active) {
|
581
|
-
& > a:not(.button) {
|
582
|
-
color: $topbar-dropdown-link-color;
|
583
|
-
background: $topbar-dropdown-link-bg;
|
584
|
-
}
|
585
|
-
|
586
|
-
&:hover > a:not(.button) {
|
587
|
-
color: $topbar-link-color-hover;
|
588
|
-
background-color: $topbar-link-bg-color-hover;
|
589
|
-
@if ($topbar-link-bg-hover) {
|
590
|
-
background: $topbar-link-bg-hover;
|
591
|
-
}
|
592
|
-
}
|
593
|
-
}
|
594
|
-
|
595
|
-
label {
|
596
|
-
white-space: nowrap;
|
597
|
-
background: $topbar-dropdown-label-bg;
|
598
|
-
}
|
599
|
-
|
600
|
-
// Second Level Dropdowns
|
601
|
-
.dropdown {
|
602
|
-
#{$default-float}: 100%;
|
603
|
-
top: 0;
|
604
|
-
}
|
605
|
-
}
|
606
|
-
}
|
607
|
-
|
608
|
-
& > ul > .divider,
|
609
|
-
& > ul > [role="separator"] {
|
610
|
-
border-bottom: none;
|
611
|
-
border-top: none;
|
612
|
-
border-#{$opposite-direction}: $topbar-divider-border-bottom;
|
613
|
-
clear: none;
|
614
|
-
height: $topbar-height;
|
615
|
-
width: 0;
|
616
|
-
}
|
617
|
-
|
618
|
-
.has-form {
|
619
|
-
background: $topbar-link-bg;
|
620
|
-
padding: 0 $topbar-height / 3;
|
621
|
-
height: $topbar-height;
|
622
|
-
}
|
623
|
-
|
624
|
-
// Position overrides for ul.right and ul.left
|
625
|
-
.right {
|
626
|
-
li .dropdown {
|
627
|
-
#{$default-float}: auto;
|
628
|
-
#{$opposite-direction}: 0;
|
629
|
-
|
630
|
-
li .dropdown { #{$opposite-direction}: 100%; }
|
631
|
-
}
|
632
|
-
}
|
633
|
-
.left {
|
634
|
-
li .dropdown {
|
635
|
-
#{$opposite-direction}: auto;
|
636
|
-
#{$default-float}: 0;
|
637
|
-
|
638
|
-
li .dropdown { #{$default-float}: 100%; }
|
639
|
-
}
|
640
|
-
}
|
641
|
-
}
|
642
|
-
|
643
|
-
// Degrade gracefully when Javascript is disabled. Displays dropdown and changes
|
644
|
-
// background & text color on hover.
|
645
|
-
.no-js .top-bar-section {
|
646
|
-
ul li {
|
647
|
-
// Apply the hover link color when it has that class
|
648
|
-
&:hover > a {
|
649
|
-
background-color: $topbar-link-bg-color-hover;
|
650
|
-
@if ($topbar-link-bg-hover) {
|
651
|
-
background: $topbar-link-bg-hover;
|
652
|
-
}
|
653
|
-
color: $topbar-link-color-hover;
|
654
|
-
}
|
655
|
-
|
656
|
-
// Apply the active link color when it has that class
|
657
|
-
&:active > a {
|
658
|
-
background: $topbar-link-bg-active;
|
659
|
-
color: $topbar-link-color-active;
|
660
|
-
}
|
661
|
-
}
|
662
|
-
|
663
|
-
.has-dropdown {
|
664
|
-
&:hover {
|
665
|
-
& > .dropdown {
|
666
|
-
@include topbar-show-dropdown();
|
667
|
-
}
|
668
|
-
}
|
669
|
-
> a:focus + .dropdown {
|
670
|
-
@include topbar-show-dropdown();
|
671
|
-
}
|
672
|
-
}
|
673
|
-
}
|
674
|
-
}
|
675
|
-
}
|
676
|
-
}
|