Skip to content

Commit 1a89b8a

Browse files
committed
fix minor formatting, vendor prefixes, & slimscroll word wrap bug
Tabs to 4 spaces Some -vendor- transitions, box-shadow, border-radius haven't been in use for years. Using a space inside `navigationTooltips` causes wrapping unless you use `white-space: nowrap;` examples/navigationV.html demos fix bump v2.1.8
1 parent c298057 commit 1a89b8a

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

examples/navigationV.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
sectionsColor: ['#C63D0F', '#1BBC9B', '#7E8F7C'],
7171
navigation: true,
7272
navigationPosition: 'right',
73-
navigationTooltips: ['First', 'Second', 'Third']
73+
navigationTooltips: ['First page', 'Second page', 'Third and last page']
7474
});
7575
});
7676
</script>

jquery.fullPage.css

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* fullPage 2.1.7
2+
* fullPage 2.1.8
33
* https://github.com/alvarotrigo/fullPage.js
44
* MIT licensed
55
*
@@ -8,25 +8,25 @@
88
html, body {
99
margin: 0;
1010
padding: 0;
11-
overflow:hidden;
11+
overflow:hidden;
1212

1313
/*Avoid flicker on slides transitions for mobile phones #336 */
14-
-webkit-tap-highlight-color: rgba(0,0,0,0);
14+
-webkit-tap-highlight-color: rgba(0,0,0,0);
1515
}
1616
#superContainer {
1717
height: 100%;
1818
position: relative;
1919

20-
/* Touch detection for Windows 8 */
20+
/* Touch detection for Windows 8 */
2121
-ms-touch-action: none;
2222

2323
/* IE 11 on Windows Phone 8.1*/
24-
touch-action: none;
24+
touch-action: none;
2525
}
2626
.fp-section {
2727
position: relative;
28-
-webkit-box-sizing: border-box;
29-
-moz-box-sizing: border-box;
28+
-webkit-box-sizing: border-box; /* Safari<=5 Android<=3 */
29+
-moz-box-sizing: border-box; /* <=28 */
3030
box-sizing: border-box;
3131
}
3232
.fp-slide {
@@ -40,9 +40,7 @@ html, body {
4040
height: 100%;
4141
overflow: hidden;
4242
position: relative;
43-
-webkit-transition: all 0.3s ease-out;
44-
-moz-transition: all 0.3s ease-out;
45-
-o-transition: all 0.3s ease-out;
43+
-webkit-transition: all 0.3s ease-out; /* Safari<=6 Android<=4.3 */
4644
transition: all 0.3s ease-out;
4745
}
4846
.fp-section.fp-table, .fp-slide.fp-table {
@@ -83,9 +81,7 @@ html, body {
8381
overflow: scroll;
8482
}
8583
.fp-easing {
86-
-webkit-transition: all 0.7s ease-out;
87-
-moz-transition: all 0.7s ease-out;
88-
-o-transition: all 0.7s ease-out;
84+
-webkit-transition: all 0.7s ease-out; /* Safari<=6 Android<=4.3 */
8985
transition: all 0.7s ease-out;
9086
}
9187
#fp-nav {
@@ -151,18 +147,18 @@ html, body {
151147
height: 8px;
152148
border: 1px solid #000;
153149
background: rgba(0, 0, 0, 0);
154-
-webkit-border-radius: 50%;
155-
-moz-border-radius: 50%;
156150
border-radius: 50%;
157151
position: absolute;
158152
z-index: 1;
159153
}
160154
.fp-tooltip {
161155
position: absolute;
156+
top: -2px;
162157
color: #fff;
163158
font-size: 14px;
164159
font-family: arial, helvetica, sans-serif;
165-
top: -2px;
160+
white-space: nowrap;
161+
max-width: 220px;
166162
}
167163
.fp-tooltip.right {
168164
right: 20px;

0 commit comments

Comments
 (0)