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
@@ -1,125 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
|
7
|
-
//
|
8
|
-
// @name _sub-nav.scss
|
9
|
-
// @dependencies _global.scss
|
10
|
-
//
|
11
|
-
|
12
|
-
//
|
13
|
-
// @variables
|
14
|
-
//
|
15
|
-
|
16
|
-
$include-html-nav-classes: $include-html-classes !default;
|
17
|
-
|
18
|
-
// We use these to control margin and padding
|
19
|
-
$sub-nav-list-margin: rem-calc(-4 0 18) !default;
|
20
|
-
$sub-nav-list-padding-top: rem-calc(4) !default;
|
21
|
-
|
22
|
-
// We use this to control the definition
|
23
|
-
$sub-nav-font-family: $body-font-family !default;
|
24
|
-
$sub-nav-font-size: rem-calc(14) !default;
|
25
|
-
$sub-nav-font-color: $aluminum !default;
|
26
|
-
$sub-nav-font-weight: $font-weight-normal !default;
|
27
|
-
$sub-nav-text-decoration: none !default;
|
28
|
-
$sub-nav-padding: rem-calc(3 16) !default;
|
29
|
-
$sub-nav-border-radius: 3px !default;
|
30
|
-
$sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%) !default;
|
31
|
-
|
32
|
-
|
33
|
-
// We use these to control the active item styles
|
34
|
-
|
35
|
-
$sub-nav-active-font-weight: $font-weight-normal !default;
|
36
|
-
$sub-nav-active-bg: $primary-color !default;
|
37
|
-
$sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%) !default;
|
38
|
-
$sub-nav-active-color: $white !default;
|
39
|
-
$sub-nav-active-padding: $sub-nav-padding !default;
|
40
|
-
$sub-nav-active-cursor: default !default;
|
41
|
-
|
42
|
-
$sub-nav-item-divider: "" !default;
|
43
|
-
$sub-nav-item-divider-margin: rem-calc(12) !default;
|
44
|
-
|
45
|
-
//
|
46
|
-
// @mixins
|
47
|
-
//
|
48
|
-
|
49
|
-
|
50
|
-
// Create a sub-nav item
|
51
|
-
//
|
52
|
-
// $font-color - Font color. Default: $sub-nav-font-color.
|
53
|
-
// $font-size - Font size. Default: $sub-nav-font-size.
|
54
|
-
// $active-bg - Background of active nav item. Default: $sub-nav-active-bg.
|
55
|
-
// $active-bg-hover - Background of active nav item, when hovered. Default: $sub-nav-active-bg-hover.
|
56
|
-
@mixin sub-nav(
|
57
|
-
$font-color: $sub-nav-font-color,
|
58
|
-
$font-size: $sub-nav-font-size,
|
59
|
-
$active-bg: $sub-nav-active-bg,
|
60
|
-
$active-bg-hover: $sub-nav-active-bg-hover) {
|
61
|
-
display: block;
|
62
|
-
width: auto;
|
63
|
-
overflow: hidden;
|
64
|
-
margin: $sub-nav-list-margin;
|
65
|
-
padding-top: $sub-nav-list-padding-top;
|
66
|
-
margin-#{$opposite-direction}: 0;
|
67
|
-
margin-#{$default-float}: rem-calc(-12);
|
68
|
-
|
69
|
-
dt {
|
70
|
-
text-transform: uppercase;
|
71
|
-
}
|
72
|
-
|
73
|
-
dt,
|
74
|
-
dd,
|
75
|
-
li {
|
76
|
-
float: $default-float;
|
77
|
-
display: inline;
|
78
|
-
margin-#{$default-float}: rem-calc(16);
|
79
|
-
margin-bottom: rem-calc(10);
|
80
|
-
font-family: $sub-nav-font-family;
|
81
|
-
font-weight: $sub-nav-font-weight;
|
82
|
-
font-size: $font-size;
|
83
|
-
color: $font-color;
|
84
|
-
|
85
|
-
a {
|
86
|
-
text-decoration: $sub-nav-text-decoration;
|
87
|
-
color: $sub-nav-font-color;
|
88
|
-
padding: $sub-nav-padding;
|
89
|
-
&:hover {
|
90
|
-
color: $sub-nav-font-color-hover;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
&.active a {
|
95
|
-
@include radius($sub-nav-border-radius);
|
96
|
-
font-weight: $sub-nav-active-font-weight;
|
97
|
-
background: $active-bg;
|
98
|
-
padding: $sub-nav-active-padding;
|
99
|
-
cursor: $sub-nav-active-cursor;
|
100
|
-
color: $sub-nav-active-color;
|
101
|
-
&:hover {
|
102
|
-
background: $active-bg-hover;
|
103
|
-
}
|
104
|
-
}
|
105
|
-
@if $sub-nav-item-divider != "" {
|
106
|
-
margin-#{$default-float}: 0;
|
107
|
-
|
108
|
-
&:before {
|
109
|
-
content: "#{$sub-nav-item-divider}";
|
110
|
-
margin: 0 $sub-nav-item-divider-margin;
|
111
|
-
}
|
112
|
-
|
113
|
-
&:first-child:before {
|
114
|
-
content: "";
|
115
|
-
margin: 0;
|
116
|
-
}
|
117
|
-
}
|
118
|
-
}
|
119
|
-
}
|
120
|
-
|
121
|
-
@include exports("sub-nav") {
|
122
|
-
@if $include-html-nav-classes {
|
123
|
-
.sub-nav { @include sub-nav; }
|
124
|
-
}
|
125
|
-
}
|
@@ -1,226 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
|
7
|
-
//
|
8
|
-
// @name
|
9
|
-
// @dependencies _global.scss
|
10
|
-
//
|
11
|
-
|
12
|
-
//
|
13
|
-
// @variables
|
14
|
-
//
|
15
|
-
|
16
|
-
$include-html-form-classes: $include-html-classes !default;
|
17
|
-
|
18
|
-
// Controlling background color for the switch container
|
19
|
-
$switch-bg: $gainsboro !default;
|
20
|
-
|
21
|
-
// We use these to control the switch heights for our default classes
|
22
|
-
$switch-height-tny: 1.5rem !default;
|
23
|
-
$switch-height-sml: 1.75rem !default;
|
24
|
-
$switch-height-med: 2rem !default;
|
25
|
-
$switch-height-lrg: 2.5rem !default;
|
26
|
-
$switch-bottom-margin: 1.5rem !default;
|
27
|
-
|
28
|
-
// We use these to style the switch-paddle
|
29
|
-
$switch-paddle-bg: $white !default;
|
30
|
-
$switch-paddle-transition-speed: .15s !default;
|
31
|
-
$switch-paddle-transition-ease: ease-out !default;
|
32
|
-
$switch-active-color: $primary-color;
|
33
|
-
|
34
|
-
|
35
|
-
//
|
36
|
-
// @mixins
|
37
|
-
//
|
38
|
-
|
39
|
-
// We use this mixin to create the base styles for our switch element.
|
40
|
-
//
|
41
|
-
// $transition-speed - Time in ms for switch to toggle. Default: $switch-paddle-transition-speed.
|
42
|
-
// $transition-ease - Easing function to use for animation (i.e. ease-out). Default: $switch-paddle-transition-ease.
|
43
|
-
@mixin switch-base(
|
44
|
-
$transition-speed:$switch-paddle-transition-speed,
|
45
|
-
$transition-ease:$switch-paddle-transition-ease) {
|
46
|
-
|
47
|
-
|
48
|
-
// Default label styles for type and transition
|
49
|
-
label {
|
50
|
-
display: block;
|
51
|
-
margin-bottom: $switch-height-med / 2;
|
52
|
-
position: relative;
|
53
|
-
color: transparent;
|
54
|
-
background: $switch-bg;
|
55
|
-
text-indent: 100%;
|
56
|
-
width: $switch-height-med * 2; height: $switch-height-med;
|
57
|
-
cursor: pointer;
|
58
|
-
|
59
|
-
// Transition for the switch label to follow paddle
|
60
|
-
@include single-transition(left, $transition-speed, $transition-ease);
|
61
|
-
}
|
62
|
-
|
63
|
-
// So that we don't need to recreate the form with any JS, we use the
|
64
|
-
// existing checkbox or radio button, but we cleverly position and hide it.
|
65
|
-
input {
|
66
|
-
opacity: 0;
|
67
|
-
position: absolute;
|
68
|
-
top: 9px;
|
69
|
-
left: 10px;
|
70
|
-
padding:0;
|
71
|
-
|
72
|
-
& + label { margin-left: 0; margin-right: 0; }
|
73
|
-
}
|
74
|
-
|
75
|
-
// The paddle for the switch is created from an after psuedoclass
|
76
|
-
// content element. This is sized and positioned, and reacts to
|
77
|
-
// the state of the input.
|
78
|
-
|
79
|
-
label:after {
|
80
|
-
content: "";
|
81
|
-
display: block;
|
82
|
-
background: $switch-paddle-bg;
|
83
|
-
position: absolute; top: .25rem; left: .25rem;
|
84
|
-
width: $switch-height-med - 0.5rem; height: $switch-height-med - 0.5rem;
|
85
|
-
|
86
|
-
-webkit-transition: left $transition-speed $transition-ease;
|
87
|
-
-moz-transition: left $transition-speed $transition-ease;
|
88
|
-
transition: left $transition-speed $transition-ease;
|
89
|
-
|
90
|
-
-webkit-transform: translate3d(0,0,0);
|
91
|
-
-moz-transform: translate3d(0,0,0);
|
92
|
-
transform: translate3d(0,0,0);
|
93
|
-
}
|
94
|
-
|
95
|
-
input:checked + label {
|
96
|
-
background: $switch-active-color;
|
97
|
-
}
|
98
|
-
|
99
|
-
input:checked + label:after {
|
100
|
-
left: $switch-height-med + 0.25rem;
|
101
|
-
}
|
102
|
-
}
|
103
|
-
|
104
|
-
// We use this mixin to create the size styles for switches.
|
105
|
-
//
|
106
|
-
// $height - Height (in px) of the switch. Default: $switch-height-med.
|
107
|
-
// $font-size - Font size of text in switch. Default: $switch-font-size-med.
|
108
|
-
// $line-height - Line height of switch. Default: 2.3rem.
|
109
|
-
@mixin switch-size($height: $switch-height-med) {
|
110
|
-
|
111
|
-
label {
|
112
|
-
width: $height * 2; height: $height;
|
113
|
-
}
|
114
|
-
|
115
|
-
label:after {
|
116
|
-
width: $height - 0.5rem; height: $height - 0.5rem;
|
117
|
-
}
|
118
|
-
|
119
|
-
input:checked + label:after {
|
120
|
-
left: $height + 0.25rem;
|
121
|
-
}
|
122
|
-
|
123
|
-
}
|
124
|
-
|
125
|
-
// We use this mixin to add color and other fanciness to the switches.
|
126
|
-
//
|
127
|
-
// $paddle-bg - Background of switch paddle. Default: $switch-paddle-bg.
|
128
|
-
// $active-color - Background color of positive side of switch. Default: $switch-positive-color.
|
129
|
-
// $negative-color - Background color of negative side of switch. Default: $switch-negative-color.
|
130
|
-
// $radius - Radius to apply to switch. Default: false.
|
131
|
-
// $base-style - Apply base styles? Default: true.
|
132
|
-
@mixin switch-style(
|
133
|
-
$paddle-bg:$switch-paddle-bg,
|
134
|
-
$radius:false,
|
135
|
-
$base-style:true) {
|
136
|
-
|
137
|
-
@if $base-style {
|
138
|
-
|
139
|
-
label {
|
140
|
-
color: transparent;
|
141
|
-
background: $switch-bg;
|
142
|
-
}
|
143
|
-
|
144
|
-
label:after {
|
145
|
-
background: $paddle-bg;
|
146
|
-
}
|
147
|
-
|
148
|
-
input:checked + label {
|
149
|
-
background: $switch-active-color;
|
150
|
-
}
|
151
|
-
}
|
152
|
-
|
153
|
-
// Setting up the radius for switches
|
154
|
-
@if $radius == true {
|
155
|
-
label {
|
156
|
-
border-radius: 2rem;
|
157
|
-
}
|
158
|
-
label:after {
|
159
|
-
border-radius: 2rem;
|
160
|
-
}
|
161
|
-
}
|
162
|
-
@else if $radius {
|
163
|
-
label {
|
164
|
-
border-radius: $radius;
|
165
|
-
}
|
166
|
-
label:after {
|
167
|
-
border-radius: $radius;
|
168
|
-
}
|
169
|
-
}
|
170
|
-
|
171
|
-
}
|
172
|
-
|
173
|
-
// We use this to quickly create switches with a single mixin
|
174
|
-
//
|
175
|
-
// $transition-speed - Time in ms for switch to toggle. Default: $switch-paddle-transition-speed.
|
176
|
-
// $transition-ease - Easing function to use for animation (i.e. ease-out). Default: $switch-paddle-transition-ease.
|
177
|
-
// $height - Height (in px) of the switch. Default: $switch-height-med.
|
178
|
-
// $paddle-bg - Background of switch paddle. Default: $switch-paddle-bg.
|
179
|
-
// $active-color - Background color of an active switch. Default: $switch-active-color.
|
180
|
-
// $radius - Radius to apply to switch. Default: false.
|
181
|
-
// $base-style - Apply base styles? Default: true.
|
182
|
-
@mixin switch(
|
183
|
-
$transition-speed: $switch-paddle-transition-speed,
|
184
|
-
$transition-ease: $switch-paddle-transition-ease,
|
185
|
-
$height: $switch-height-med,
|
186
|
-
$paddle-bg: $switch-paddle-bg,
|
187
|
-
$active-color: $switch-active-color,
|
188
|
-
$radius:false,
|
189
|
-
$base-style:true) {
|
190
|
-
padding: 0;
|
191
|
-
border: none;
|
192
|
-
position: relative;
|
193
|
-
@include switch-base($transition-speed, $transition-ease);
|
194
|
-
@include switch-size($height);
|
195
|
-
@include switch-style($paddle-bg, $radius, $base-style);
|
196
|
-
}
|
197
|
-
|
198
|
-
@include exports("switch") {
|
199
|
-
@if $include-html-form-classes {
|
200
|
-
.switch {
|
201
|
-
@include switch;
|
202
|
-
|
203
|
-
// Large radio switches
|
204
|
-
&.large { @include switch-size($switch-height-lrg); }
|
205
|
-
|
206
|
-
// Small radio switches
|
207
|
-
&.small { @include switch-size($switch-height-sml); }
|
208
|
-
|
209
|
-
// Tiny radio switches
|
210
|
-
&.tiny { @include switch-size($switch-height-tny); }
|
211
|
-
|
212
|
-
// Add a radius to the switch
|
213
|
-
&.radius {
|
214
|
-
label { @include radius(4px); }
|
215
|
-
label:after { @include radius(3px); }
|
216
|
-
}
|
217
|
-
|
218
|
-
// Make the switch completely round, like a pill
|
219
|
-
&.round { @include radius(1000px);
|
220
|
-
label { @include radius(2rem); }
|
221
|
-
label:after { @include radius(2rem); }
|
222
|
-
}
|
223
|
-
|
224
|
-
}
|
225
|
-
}
|
226
|
-
}
|
data/lib/fastlane/plugin/polidea/templates/installation-page/sass/foundation/components/_tables.scss
DELETED
@@ -1,135 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
|
7
|
-
//
|
8
|
-
// @name _tables.scss
|
9
|
-
// @dependencies _global.scss
|
10
|
-
//
|
11
|
-
|
12
|
-
//
|
13
|
-
// @variables
|
14
|
-
//
|
15
|
-
|
16
|
-
$include-html-table-classes: $include-html-classes !default;
|
17
|
-
|
18
|
-
// These control the background color for the table and even rows
|
19
|
-
$table-bg: $white !default;
|
20
|
-
$table-even-row-bg: $snow !default;
|
21
|
-
|
22
|
-
// These control the table cell border style
|
23
|
-
$table-border-style: solid !default;
|
24
|
-
$table-border-size: 1px !default;
|
25
|
-
$table-border-color: $gainsboro !default;
|
26
|
-
|
27
|
-
// These control the table head styles
|
28
|
-
$table-head-bg: $white-smoke !default;
|
29
|
-
$table-head-font-size: rem-calc(14) !default;
|
30
|
-
$table-head-font-color: $jet !default;
|
31
|
-
$table-head-font-weight: $font-weight-bold !default;
|
32
|
-
$table-head-padding: rem-calc(8 10 10) !default;
|
33
|
-
|
34
|
-
// These control the table foot styles
|
35
|
-
$table-foot-bg: $table-head-bg !default;
|
36
|
-
$table-foot-font-size: $table-head-font-size !default;
|
37
|
-
$table-foot-font-color: $table-head-font-color !default;
|
38
|
-
$table-foot-font-weight: $table-head-font-weight !default;
|
39
|
-
$table-foot-padding: $table-head-padding !default;
|
40
|
-
|
41
|
-
// These control the caption
|
42
|
-
$table-caption-bg: transparent !default;
|
43
|
-
$table-caption-font-color: $table-head-font-color !default;
|
44
|
-
$table-caption-font-size: rem-calc(16) !default;
|
45
|
-
$table-caption-font-weight: bold !default;
|
46
|
-
|
47
|
-
// These control the row padding and font styles
|
48
|
-
$table-row-padding: rem-calc(9 10) !default;
|
49
|
-
$table-row-font-size: rem-calc(14) !default;
|
50
|
-
$table-row-font-color: $jet !default;
|
51
|
-
$table-line-height: rem-calc(18) !default;
|
52
|
-
|
53
|
-
// These are for controlling the display and margin of tables
|
54
|
-
$table-display: table-cell !default;
|
55
|
-
$table-margin-bottom: rem-calc(20) !default;
|
56
|
-
|
57
|
-
|
58
|
-
//
|
59
|
-
// @mixins
|
60
|
-
//
|
61
|
-
|
62
|
-
@mixin table {
|
63
|
-
background: $table-bg;
|
64
|
-
margin-bottom: $table-margin-bottom;
|
65
|
-
border: $table-border-style $table-border-size $table-border-color;
|
66
|
-
table-layout: fixed;
|
67
|
-
width: 100%;
|
68
|
-
|
69
|
-
caption {
|
70
|
-
background: $table-caption-bg;
|
71
|
-
color: $table-caption-font-color;
|
72
|
-
font: {
|
73
|
-
size: $table-caption-font-size;
|
74
|
-
weight: $table-caption-font-weight;
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
thead {
|
79
|
-
background: $table-head-bg;
|
80
|
-
|
81
|
-
tr {
|
82
|
-
th,
|
83
|
-
td {
|
84
|
-
padding: $table-head-padding;
|
85
|
-
font-size: $table-head-font-size;
|
86
|
-
font-weight: $table-head-font-weight;
|
87
|
-
color: $table-head-font-color;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
}
|
91
|
-
|
92
|
-
tfoot {
|
93
|
-
background: $table-foot-bg;
|
94
|
-
|
95
|
-
tr {
|
96
|
-
th,
|
97
|
-
td {
|
98
|
-
padding: $table-foot-padding;
|
99
|
-
font-size: $table-foot-font-size;
|
100
|
-
font-weight: $table-foot-font-weight;
|
101
|
-
color: $table-foot-font-color;
|
102
|
-
}
|
103
|
-
}
|
104
|
-
}
|
105
|
-
|
106
|
-
tr {
|
107
|
-
th,
|
108
|
-
td {
|
109
|
-
padding: $table-row-padding;
|
110
|
-
font-size: $table-row-font-size;
|
111
|
-
color: $table-row-font-color;
|
112
|
-
text-align: $default-float;
|
113
|
-
}
|
114
|
-
|
115
|
-
&.even,
|
116
|
-
&.alt,
|
117
|
-
&:nth-of-type(even) { background: $table-even-row-bg; }
|
118
|
-
}
|
119
|
-
|
120
|
-
thead tr th,
|
121
|
-
tfoot tr th,
|
122
|
-
tfoot tr td,
|
123
|
-
tbody tr th,
|
124
|
-
tbody tr td,
|
125
|
-
tr td { display: $table-display; line-height: $table-line-height; }
|
126
|
-
}
|
127
|
-
|
128
|
-
|
129
|
-
@include exports("table") {
|
130
|
-
@if $include-html-table-classes {
|
131
|
-
table {
|
132
|
-
@include table;
|
133
|
-
}
|
134
|
-
}
|
135
|
-
}
|