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/_reveal.scss
DELETED
@@ -1,220 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
|
7
|
-
//
|
8
|
-
// @name _reveal.scss
|
9
|
-
// @dependencies _global.scss
|
10
|
-
//
|
11
|
-
|
12
|
-
$include-html-reveal-classes: $include-html-classes !default;
|
13
|
-
|
14
|
-
// We use these to control the style of the reveal overlay.
|
15
|
-
$reveal-overlay-bg: rgba($black, .45) !default;
|
16
|
-
$reveal-overlay-bg-old: $black !default;
|
17
|
-
|
18
|
-
// We use these to control the style of the modal itself.
|
19
|
-
$reveal-modal-bg: $white !default;
|
20
|
-
$reveal-position-top: rem-calc(100) !default;
|
21
|
-
$reveal-default-width: 80% !default;
|
22
|
-
$reveal-max-width: $row-width !default;
|
23
|
-
$reveal-modal-padding: rem-calc(20) !default;
|
24
|
-
$reveal-box-shadow: 0 0 10px rgba($black,.4) !default;
|
25
|
-
|
26
|
-
// We use these to style the reveal close button
|
27
|
-
$reveal-close-font-size: rem-calc(40) !default;
|
28
|
-
$reveal-close-top: rem-calc(8) !default;
|
29
|
-
$reveal-close-side: rem-calc(11) !default;
|
30
|
-
$reveal-close-color: $base !default;
|
31
|
-
$reveal-close-weight: $font-weight-bold !default;
|
32
|
-
|
33
|
-
// We use this to set the default radius used throughout the core.
|
34
|
-
$reveal-radius: $global-radius !default;
|
35
|
-
$reveal-round: $global-rounded !default;
|
36
|
-
|
37
|
-
// We use these to control the modal border
|
38
|
-
$reveal-border-style: solid !default;
|
39
|
-
$reveal-border-width: 1px !default;
|
40
|
-
$reveal-border-color: $steel !default;
|
41
|
-
|
42
|
-
$reveal-modal-class: "reveal-modal" !default;
|
43
|
-
$close-reveal-modal-class: "close-reveal-modal" !default;
|
44
|
-
|
45
|
-
//
|
46
|
-
// @mixins
|
47
|
-
//
|
48
|
-
|
49
|
-
// We use this to create the reveal background overlay styles
|
50
|
-
@mixin reveal-bg( $include-z-index-value: true ) {
|
51
|
-
position: fixed;
|
52
|
-
top: 0;
|
53
|
-
bottom: 0;
|
54
|
-
left: 0;
|
55
|
-
right: 0;
|
56
|
-
background: $reveal-overlay-bg-old; // Autoprefixer should be used to avoid such variables needed when Foundation for Sites can do so in the near future.
|
57
|
-
background: $reveal-overlay-bg;
|
58
|
-
z-index: if( $include-z-index-value, 1004, null );
|
59
|
-
display: none;
|
60
|
-
#{$default-float}: 0;
|
61
|
-
}
|
62
|
-
|
63
|
-
// We use this mixin to create the structure of a reveal modal
|
64
|
-
//
|
65
|
-
// $base-style - Provides reveal base styles, can be set to false to override. Default: true, Options: false
|
66
|
-
// $width - Sets reveal width Default: $reveal-default-width || 80%
|
67
|
-
//
|
68
|
-
@mixin reveal-modal-base( $base-style: true, $width:$reveal-default-width, $max-width:$reveal-max-width, $border-radius: $reveal-radius) {
|
69
|
-
@if $base-style {
|
70
|
-
visibility: hidden;
|
71
|
-
display: none;
|
72
|
-
position: absolute;
|
73
|
-
z-index: 1005;
|
74
|
-
width: 100vw;
|
75
|
-
top:0;
|
76
|
-
border-radius: $border-radius;
|
77
|
-
#{$default-float}: 0;
|
78
|
-
|
79
|
-
@media #{$small-only} {
|
80
|
-
min-height:100vh;
|
81
|
-
}
|
82
|
-
|
83
|
-
// Make sure rows don't have a min-width on them
|
84
|
-
.column, .columns { min-width: 0; }
|
85
|
-
|
86
|
-
// Get rid of margin from first and last element inside modal
|
87
|
-
& > :first-child { margin-top: 0; }
|
88
|
-
|
89
|
-
& > :last-child { margin-bottom: 0; }
|
90
|
-
}
|
91
|
-
|
92
|
-
@if $width {
|
93
|
-
@media #{$medium-up} {
|
94
|
-
width: $width;
|
95
|
-
max-width: $max-width;
|
96
|
-
left: 0;
|
97
|
-
right: 0;
|
98
|
-
margin: 0 auto;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
// We use this to style the reveal modal defaults
|
104
|
-
//
|
105
|
-
// $bg - Sets background color of reveal modal. Default: $reveal-modal-bg || $white
|
106
|
-
// $padding - Padding to apply to reveal modal. Default: $reveal-modal-padding.
|
107
|
-
// $border - Choose whether reveal uses a border. Default: true, Options: false
|
108
|
-
// $border-style - Set reveal border style. Default: $reveal-border-style || solid
|
109
|
-
// $border-width - Width of border (i.e. 1px). Default: $reveal-border-width.
|
110
|
-
// $border-color - Color of border. Default: $reveal-border-color.
|
111
|
-
// $box-shadow - Choose whether or not to include the default box-shadow. Default: true, Options: false
|
112
|
-
// $radius - If true, set to modal radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default: false
|
113
|
-
// $top-offset - Default: $reveal-position-top || 50px
|
114
|
-
@mixin reveal-modal-style(
|
115
|
-
$bg:false,
|
116
|
-
$padding:false,
|
117
|
-
$border:false,
|
118
|
-
$border-style:$reveal-border-style,
|
119
|
-
$border-width:$reveal-border-width,
|
120
|
-
$border-color:$reveal-border-color,
|
121
|
-
$box-shadow:false,
|
122
|
-
$radius:false,
|
123
|
-
$top-offset:false) {
|
124
|
-
|
125
|
-
@if $bg { background-color: $bg; }
|
126
|
-
@if $padding != false { padding: $padding; }
|
127
|
-
|
128
|
-
@if $border { border: $border-style $border-width $border-color; }
|
129
|
-
|
130
|
-
// We can choose whether or not to include the default box-shadow.
|
131
|
-
@if $box-shadow {
|
132
|
-
box-shadow: $reveal-box-shadow;
|
133
|
-
}
|
134
|
-
|
135
|
-
// We can control how much radius is used on the modal
|
136
|
-
@if $radius == true { @include radius($reveal-radius); }
|
137
|
-
@else if $radius { @include radius($radius); }
|
138
|
-
|
139
|
-
@if $top-offset {
|
140
|
-
@media #{$medium-up} {
|
141
|
-
top: $top-offset;
|
142
|
-
}
|
143
|
-
}
|
144
|
-
}
|
145
|
-
|
146
|
-
// We use this to create a close button for the reveal modal
|
147
|
-
//
|
148
|
-
// $color - Default: $reveal-close-color || $base
|
149
|
-
@mixin reveal-close($color:$reveal-close-color) {
|
150
|
-
font-size: $reveal-close-font-size;
|
151
|
-
line-height: 1;
|
152
|
-
position: absolute;
|
153
|
-
top: $reveal-close-top;
|
154
|
-
#{$opposite-direction}: $reveal-close-side;
|
155
|
-
color: $color;
|
156
|
-
font-weight: $reveal-close-weight;
|
157
|
-
cursor: $cursor-pointer-value;
|
158
|
-
}
|
159
|
-
|
160
|
-
@include exports("reveal") {
|
161
|
-
@if $include-html-reveal-classes {
|
162
|
-
|
163
|
-
// Reveal Modals
|
164
|
-
.reveal-modal-bg { @include reveal-bg; }
|
165
|
-
|
166
|
-
.#{$reveal-modal-class} {
|
167
|
-
@include reveal-modal-base;
|
168
|
-
@include reveal-modal-style(
|
169
|
-
$bg:$reveal-modal-bg,
|
170
|
-
$padding:$reveal-modal-padding,
|
171
|
-
$border:true,
|
172
|
-
$box-shadow:true,
|
173
|
-
$radius:false,
|
174
|
-
$top-offset:$reveal-position-top
|
175
|
-
);
|
176
|
-
@include reveal-modal-style($padding:$reveal-modal-padding * 1.5);
|
177
|
-
|
178
|
-
&.radius { @include reveal-modal-style($radius:true); }
|
179
|
-
&.round { @include reveal-modal-style($radius:$reveal-round); }
|
180
|
-
&.collapse { @include reveal-modal-style($padding:0); }
|
181
|
-
&.tiny { @include reveal-modal-base(false, 30%); }
|
182
|
-
&.small { @include reveal-modal-base(false, 40%); }
|
183
|
-
&.medium { @include reveal-modal-base(false, 60%); }
|
184
|
-
&.large { @include reveal-modal-base(false, 70%); }
|
185
|
-
&.xlarge { @include reveal-modal-base(false, 95%); }
|
186
|
-
&.full {
|
187
|
-
@include reveal-modal-base(false, 100vw);
|
188
|
-
top:0;
|
189
|
-
left:0;
|
190
|
-
height:100%;
|
191
|
-
height: 100vh;
|
192
|
-
min-height:100vh;
|
193
|
-
margin-left: 0 !important;
|
194
|
-
}
|
195
|
-
|
196
|
-
.#{$close-reveal-modal-class} { @include reveal-close; }
|
197
|
-
}
|
198
|
-
|
199
|
-
dialog {
|
200
|
-
@extend .#{$reveal-modal-class};
|
201
|
-
display: none;
|
202
|
-
|
203
|
-
&::backdrop, & + .backdrop {
|
204
|
-
@include reveal-bg(false);
|
205
|
-
}
|
206
|
-
|
207
|
-
&[open]{
|
208
|
-
display: block;
|
209
|
-
}
|
210
|
-
}
|
211
|
-
|
212
|
-
// Reveal Print Styles: It should be invislbe, adds no value being printed.
|
213
|
-
@media print {
|
214
|
-
dialog, .#{$reveal-modal-class} {
|
215
|
-
display: none;
|
216
|
-
background: $white !important;
|
217
|
-
}
|
218
|
-
}
|
219
|
-
}
|
220
|
-
}
|
@@ -1,116 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
|
7
|
-
//
|
8
|
-
// @variables
|
9
|
-
//
|
10
|
-
|
11
|
-
$include-html-nav-classes: $include-html-classes !default;
|
12
|
-
|
13
|
-
// We use this to control padding.
|
14
|
-
$side-nav-padding: rem-calc(14 0) !default;
|
15
|
-
|
16
|
-
// We use these to control list styles.
|
17
|
-
$side-nav-list-type: none !default;
|
18
|
-
$side-nav-list-position: outside !default;
|
19
|
-
$side-nav-list-margin: rem-calc(0 0 7 0) !default;
|
20
|
-
|
21
|
-
// We use these to control link styles.
|
22
|
-
$side-nav-link-color: $primary-color !default;
|
23
|
-
$side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%) !default;
|
24
|
-
$side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%) !default;
|
25
|
-
$side-nav-link-bg-hover: hsla(0, 0, 0, 0.025) !default;
|
26
|
-
$side-nav-link-margin: 0 !default;
|
27
|
-
$side-nav-link-padding: rem-calc(7 14) !default;
|
28
|
-
$side-nav-font-size: rem-calc(14) !default;
|
29
|
-
$side-nav-font-weight: $font-weight-normal !default;
|
30
|
-
$side-nav-font-weight-active: $side-nav-font-weight !default;
|
31
|
-
$side-nav-font-family: $body-font-family !default;
|
32
|
-
$side-nav-font-family-active: $side-nav-font-family !default;
|
33
|
-
|
34
|
-
// We use these to control heading styles.
|
35
|
-
$side-nav-heading-color: $side-nav-link-color !default;
|
36
|
-
$side-nav-heading-font-size: $side-nav-font-size !default;
|
37
|
-
$side-nav-heading-font-weight: bold !default;
|
38
|
-
$side-nav-heading-text-transform: uppercase !default;
|
39
|
-
|
40
|
-
// We use these to control border styles
|
41
|
-
$side-nav-divider-size: 1px !default;
|
42
|
-
$side-nav-divider-style: solid !default;
|
43
|
-
$side-nav-divider-color: scale-color($white, $lightness: 10%) !default;
|
44
|
-
|
45
|
-
|
46
|
-
//
|
47
|
-
// @mixins
|
48
|
-
//
|
49
|
-
|
50
|
-
|
51
|
-
// We use this to style the side-nav
|
52
|
-
//
|
53
|
-
// $divider-color - Border color of divider. Default: $side-nav-divider-color.
|
54
|
-
// $font-size - Font size of nav items. Default: $side-nav-font-size.
|
55
|
-
// $link-color - Color of navigation links. Default: $side-nav-link-color.
|
56
|
-
// $link-color-hover - Color of navigation links when hovered. Default: $side-nav-link-color-hover.
|
57
|
-
@mixin side-nav(
|
58
|
-
$divider-color:$side-nav-divider-color,
|
59
|
-
$font-size:$side-nav-font-size,
|
60
|
-
$link-color:$side-nav-link-color,
|
61
|
-
$link-color-hover:$side-nav-link-color-hover,
|
62
|
-
$link-bg-hover:$side-nav-link-bg-hover) {
|
63
|
-
display: block;
|
64
|
-
margin: 0;
|
65
|
-
padding: $side-nav-padding;
|
66
|
-
list-style-type: $side-nav-list-type;
|
67
|
-
list-style-position: $side-nav-list-position;
|
68
|
-
font-family: $side-nav-font-family;
|
69
|
-
|
70
|
-
li {
|
71
|
-
margin: $side-nav-list-margin;
|
72
|
-
font-size: $font-size;
|
73
|
-
font-weight: $side-nav-font-weight;
|
74
|
-
|
75
|
-
a:not(.button) {
|
76
|
-
display: block;
|
77
|
-
color: $link-color;
|
78
|
-
margin: $side-nav-link-margin;
|
79
|
-
padding: $side-nav-link-padding;
|
80
|
-
&:hover,
|
81
|
-
&:focus {
|
82
|
-
background: $link-bg-hover;
|
83
|
-
color: $link-color-hover;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
&.active > a:first-child:not(.button) {
|
88
|
-
color: $side-nav-link-color-active;
|
89
|
-
font-weight: $side-nav-font-weight-active;
|
90
|
-
font-family: $side-nav-font-family-active;
|
91
|
-
}
|
92
|
-
|
93
|
-
&.divider {
|
94
|
-
border-top: $side-nav-divider-size $side-nav-divider-style;
|
95
|
-
height: 0;
|
96
|
-
padding: 0;
|
97
|
-
list-style: none;
|
98
|
-
border-top-color: $divider-color;
|
99
|
-
}
|
100
|
-
|
101
|
-
&.heading {
|
102
|
-
color: $side-nav-heading-color;
|
103
|
-
font: {
|
104
|
-
size: $side-nav-heading-font-size;
|
105
|
-
weight: $side-nav-heading-font-weight;
|
106
|
-
}
|
107
|
-
text-transform: $side-nav-heading-text-transform;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
@include exports("side-nav") {
|
113
|
-
@if $include-html-nav-classes {
|
114
|
-
.side-nav { @include side-nav; }
|
115
|
-
}
|
116
|
-
}
|
@@ -1,191 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
@import "buttons";
|
7
|
-
@import "dropdown-buttons";
|
8
|
-
|
9
|
-
//
|
10
|
-
// @name _split-buttons.scss
|
11
|
-
// @dependencies _buttons.scss, _global.scss
|
12
|
-
//
|
13
|
-
|
14
|
-
//
|
15
|
-
// @variables
|
16
|
-
//
|
17
|
-
|
18
|
-
$include-html-button-classes: $include-html-classes !default;
|
19
|
-
|
20
|
-
// We use these to control different shared styles for Split Buttons
|
21
|
-
$split-button-function-factor: 10% !default;
|
22
|
-
$split-button-pip-color: $white !default;
|
23
|
-
$split-button-pip-color-alt: $oil !default;
|
24
|
-
$split-button-active-bg-tint: rgba(0,0,0,0.1) !default;
|
25
|
-
|
26
|
-
// We use these to control tiny split buttons
|
27
|
-
$split-button-padding-tny: $button-pip-tny * 10 !default;
|
28
|
-
$split-button-span-width-tny: $button-pip-tny * 6 !default;
|
29
|
-
$split-button-pip-size-tny: $button-pip-tny !default;
|
30
|
-
$split-button-pip-top-tny: $button-pip-tny * 2 !default;
|
31
|
-
$split-button-pip-default-float-tny: rem-calc(-6) !default;
|
32
|
-
|
33
|
-
// We use these to control small split buttons
|
34
|
-
$split-button-padding-sml: $button-pip-sml * 10 !default;
|
35
|
-
$split-button-span-width-sml: $button-pip-sml * 6 !default;
|
36
|
-
$split-button-pip-size-sml: $button-pip-sml !default;
|
37
|
-
$split-button-pip-top-sml: $button-pip-sml * 1.5 !default;
|
38
|
-
$split-button-pip-default-float-sml: rem-calc(-6) !default;
|
39
|
-
|
40
|
-
// We use these to control medium split buttons
|
41
|
-
$split-button-padding-med: $button-pip-med * 9 !default;
|
42
|
-
$split-button-span-width-med: $button-pip-med * 5.5 !default;
|
43
|
-
$split-button-pip-size-med: $button-pip-med - rem-calc(3) !default;
|
44
|
-
$split-button-pip-top-med: $button-pip-med * 1.5 !default;
|
45
|
-
$split-button-pip-default-float-med: rem-calc(-6) !default;
|
46
|
-
|
47
|
-
// We use these to control large split buttons
|
48
|
-
$split-button-padding-lrg: $button-pip-lrg * 8 !default;
|
49
|
-
$split-button-span-width-lrg: $button-pip-lrg * 5 !default;
|
50
|
-
$split-button-pip-size-lrg: $button-pip-lrg - rem-calc(6) !default;
|
51
|
-
$split-button-pip-top-lrg: $button-pip-lrg + rem-calc(5) !default;
|
52
|
-
$split-button-pip-default-float-lrg: rem-calc(-6) !default;
|
53
|
-
|
54
|
-
|
55
|
-
//
|
56
|
-
// @mixins
|
57
|
-
//
|
58
|
-
|
59
|
-
// We use this mixin to create split buttons that build upon the button mixins
|
60
|
-
//
|
61
|
-
// $padding - Type of padding to apply. Default: medium. Options: tiny, small, medium, large.
|
62
|
-
// $pip-color - Color of the triangle. Default: $split-button-pip-color.
|
63
|
-
// $span-border - Border color of button divider. Default: $primary-color.
|
64
|
-
// $base-style - Apply base style to split button. Default: true.
|
65
|
-
@mixin split-button(
|
66
|
-
$padding:medium,
|
67
|
-
$pip-color:$split-button-pip-color,
|
68
|
-
$span-border:$primary-color,
|
69
|
-
$base-style:true) {
|
70
|
-
|
71
|
-
// With this, we can control whether or not the base styles come through.
|
72
|
-
@if $base-style {
|
73
|
-
position: relative;
|
74
|
-
|
75
|
-
// Styling for the split arrow clickable area
|
76
|
-
span {
|
77
|
-
display: block;
|
78
|
-
height: 100%;
|
79
|
-
position: absolute;
|
80
|
-
#{$opposite-direction}: 0;
|
81
|
-
top: 0;
|
82
|
-
border-#{$default-float}: solid 1px;
|
83
|
-
|
84
|
-
// Building the triangle pip indicator
|
85
|
-
&:after {
|
86
|
-
position: absolute;
|
87
|
-
content: "";
|
88
|
-
width: 0;
|
89
|
-
height: 0;
|
90
|
-
display: block;
|
91
|
-
border-style: inset;
|
92
|
-
top: 50%;
|
93
|
-
|
94
|
-
#{$default-float}: 50%;
|
95
|
-
}
|
96
|
-
|
97
|
-
&:active { background-color: $split-button-active-bg-tint; }
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
|
-
// Control the border color for the span area of the split button
|
102
|
-
@if $span-border {
|
103
|
-
span {
|
104
|
-
border-#{$default-float}-color: rgba(255,255,255,0.5);
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
// Style of the button and clickable area for tiny sizes
|
109
|
-
@if $padding == tiny {
|
110
|
-
padding-#{$opposite-direction}: $split-button-padding-tny;
|
111
|
-
|
112
|
-
span { width: $split-button-span-width-tny;
|
113
|
-
&:after {
|
114
|
-
border-top-style: solid;
|
115
|
-
border-width: $split-button-pip-size-tny;
|
116
|
-
top: 48%;
|
117
|
-
margin-#{$default-float}: $split-button-pip-default-float-tny;
|
118
|
-
}
|
119
|
-
}
|
120
|
-
}
|
121
|
-
|
122
|
-
// Style of the button and clickable area for small sizes
|
123
|
-
@else if $padding == small {
|
124
|
-
padding-#{$opposite-direction}: $split-button-padding-sml;
|
125
|
-
|
126
|
-
span { width: $split-button-span-width-sml;
|
127
|
-
&:after {
|
128
|
-
border-top-style: solid;
|
129
|
-
border-width: $split-button-pip-size-sml;
|
130
|
-
top: 48%;
|
131
|
-
margin-#{$default-float}: $split-button-pip-default-float-sml;
|
132
|
-
}
|
133
|
-
}
|
134
|
-
}
|
135
|
-
|
136
|
-
// Style of the button and clickable area for default (medium) sizes
|
137
|
-
@else if $padding == medium {
|
138
|
-
padding-#{$opposite-direction}: $split-button-padding-med;
|
139
|
-
|
140
|
-
span { width: $split-button-span-width-med;
|
141
|
-
&:after {
|
142
|
-
border-top-style: solid;
|
143
|
-
border-width: $split-button-pip-size-med;
|
144
|
-
top: 48%;
|
145
|
-
margin-#{$default-float}: $split-button-pip-default-float-med;
|
146
|
-
}
|
147
|
-
}
|
148
|
-
}
|
149
|
-
|
150
|
-
// Style of the button and clickable area for large sizes
|
151
|
-
@else if $padding == large {
|
152
|
-
padding-#{$opposite-direction}: $split-button-padding-lrg;
|
153
|
-
|
154
|
-
span { width: $split-button-span-width-lrg;
|
155
|
-
&:after {
|
156
|
-
border-top-style: solid;
|
157
|
-
border-width: $split-button-pip-size-lrg;
|
158
|
-
top: 48%;
|
159
|
-
margin-#{$default-float}: $split-button-pip-default-float-lrg;
|
160
|
-
}
|
161
|
-
}
|
162
|
-
}
|
163
|
-
|
164
|
-
// Control the color of the triangle pip
|
165
|
-
@if $pip-color {
|
166
|
-
span:after { border-color: $pip-color transparent transparent transparent; }
|
167
|
-
}
|
168
|
-
}
|
169
|
-
|
170
|
-
@include exports("split-button") {
|
171
|
-
@if $include-html-button-classes {
|
172
|
-
|
173
|
-
.split.button { @include split-button;
|
174
|
-
|
175
|
-
&.secondary { @include split-button(false, $split-button-pip-color, $secondary-color, false); }
|
176
|
-
&.alert { @include split-button(false, false, $alert-color, false); }
|
177
|
-
&.success { @include split-button(false, false, $success-color, false); }
|
178
|
-
|
179
|
-
&.tiny { @include split-button(tiny, false, false, false); }
|
180
|
-
&.small { @include split-button(small, false, false, false); }
|
181
|
-
&.large { @include split-button(large, false, false, false); }
|
182
|
-
&.expand { padding-left: 2rem; }
|
183
|
-
|
184
|
-
&.secondary { @include split-button(false, $split-button-pip-color-alt, false, false); }
|
185
|
-
|
186
|
-
&.radius span { @include side-radius($opposite-direction, $global-radius); }
|
187
|
-
&.round span { @include side-radius($opposite-direction, 1000px); }
|
188
|
-
}
|
189
|
-
|
190
|
-
}
|
191
|
-
}
|