Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 6df2881

Browse files
committed
Merge pull request #1282 from woothemes/release-2-4-0
Release 2.4.0 release, standards improvements, css compartmentalization, fixes.
2 parents 745266f + 1d85b24 commit 6df2881

13 files changed

+608
-576
lines changed

README.mdown

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![Gitter chat](https://badges.gitter.im/woothemes/FlexSlider.png)](https://gitter.im/woothemes/FlexSlider)
22

3-
# FlexSlider 2.3.0
4-
http://www.woothemes.com/flexslider/ - Copyright (c) 2014 WooThemes
3+
# FlexSlider 2.4.0
4+
http://www.woothemes.com/flexslider/ - Copyright (c) 2015 WooThemes
55

66
## Releases
77

@@ -19,6 +19,10 @@ To keep up to date with how FlexSlider's development roadmap looks, please see o
1919

2020
## Updates
2121

22+
** Version 2.4.0 **
23+
24+
** Update for improved standards. Adds classes to li nav elements. Reset for li elements in stylesheet. **
25+
2226
** Version 2.3.0 **
2327

2428
** Fixes pauseInvisible attribute issue with Chrome and the Page Visibility API. **
@@ -38,7 +42,7 @@ To keep up to date with how FlexSlider's development roadmap looks, please see o
3842
-----
3943

4044
## General Notes
41-
FlexSlider is no longer licensed under the MIT license. FlexSlider now shares the common licensed used for all WooThemes themes, GPLv2.
45+
FlexSlider is no longer licensed under the MIT license. FlexSlider now uses the license, GPLv2 and later.
4246

4347
In an effort to move the plugin forward, support for jQuery 1.3.2 has been dropped. The plugin now requires jQuery 1.4.2+. If you don't have access to the later versions of jQuery, [FlexSlider 1.8](https://github.com/woothemes/FlexSlider/tree/flexslider1) should be a perfectly suitable substitute for your needs!
4448

changelog.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ FLEXSLIDER CHANGELOG
77
* Added flexslider.less
88

99
2015.02.11 - Version 2.3.0
10-
* Fix for pauseInvisible attribute for Chrome and the Page Visibility API
10+
* Fix for pauseInvisible attribute for Chrome and the Page Visibility API
11+
12+
2015.02.27 - Version 2.4.0
13+
* Update for improved standards. Adds classes to li nav elements. Reset for li elements in stylesheet.

css/base.less

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
/* ====================================================================================================================
2+
* BASE STYLES
3+
* ====================================================================================================================*/
4+
5+
6+
.flexslider {
7+
8+
margin: 0;
9+
padding: 0;
10+
11+
.slides {
12+
13+
> li {
14+
15+
display: none;
16+
-webkit-backface-visibility: hidden;
17+
18+
}
19+
20+
img{
21+
22+
width: 100%;
23+
display: block;
24+
25+
}
26+
27+
28+
//
29+
// Clearfix for the .slides element
30+
//
31+
32+
&:after{
33+
34+
content: "\0020";
35+
display: block;
36+
clear: both;
37+
visibility: hidden;
38+
line-height: 0;
39+
height: 0;
40+
41+
42+
}
43+
44+
html[xmlns] &{
45+
46+
display: block;
47+
48+
}
49+
50+
* html &{
51+
52+
height: 1%;
53+
54+
}
55+
56+
57+
58+
//
59+
// No JavaScript Fallback
60+
// If you are not using another script, such as Modernizr, make sure you
61+
// include js that eliminates this class on page load
62+
//
63+
64+
65+
.no-js &{
66+
67+
> li{
68+
69+
&:first-child{
70+
71+
display: block;
72+
73+
}
74+
}
75+
}
76+
}
77+
}

css/font.less

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* ====================================================================================================================
2+
* FONT-FACE
3+
* ====================================================================================================================*/
4+
5+
6+
@font-face {
7+
8+
font-family: '@{font-name}';
9+
src:url('@{font-path}/@{font-file-name}.eot');
10+
src:url('@{font-path}/@{font-file-name}.eot?#iefix') format('embedded-opentype'),
11+
url('@{font-path}/@{font-file-name}.woff') format('woff'),
12+
url('@{font-path}/@{font-file-name}.ttf') format('truetype'),
13+
url('@{font-path}/@{font-file-name}.svg#flexslider-icon') format('svg');
14+
font-weight: normal;
15+
font-style: normal;
16+
17+
}

css/mixins.less

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
//
2+
// Transition
3+
//
4+
5+
.transition( @duration: @default-duration, @easing: @default-easing ) {
6+
7+
-webkit-transition: all @duration @easing;
8+
-moz-transition: all @duration @easing;
9+
-ms-transition: all @duration @easing;
10+
-o-transition: all @duration @easing;
11+
transition: all @duration @easing;
12+
13+
}
14+
15+
16+
//
17+
// Border-radius
18+
//
19+
20+
.border-radius( @radius: @default-border-radius ){
21+
22+
-webkit-border-radius: @arguments;
23+
-moz-border-radius: @arguments;
24+
border-radius: @arguments;
25+
26+
}
27+
28+
29+
//
30+
// Box-shadow
31+
//
32+
33+
.box-shadow( @x-axis: @default-box-shadow-x-axis, @y-axis: @default-box-shadow-y-axis, @blur: @default-box-shadow-blur, @color: @default-box-shadow-color, @inset: @default-box-shadow-inset ) {
34+
35+
-webkit-box-shadow: @inset @x-axis @y-axis @blur @color;
36+
-moz-box-shadow: @inset @x-axis @y-axis @blur @color;
37+
-o-box-shadow: @inset @x-axis @y-axis @blur @color;
38+
box-shadow: @inset @x-axis @y-axis @blur @color;
39+
40+
}

css/resets.less

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/* ====================================================================================================================
2+
* RESETS
3+
* ====================================================================================================================*/
4+
5+
6+
.flex-container,
7+
.flex-slider {
8+
9+
a:hover,
10+
a:focus {
11+
12+
outline: none;
13+
14+
}
15+
16+
}
17+
18+
.slides,
19+
.slides > li,
20+
.flex-control-nav,
21+
.flex-direction-nav {
22+
23+
margin: 0;
24+
padding: 0;
25+
list-style: none;
26+
27+
}
28+
29+
.flex-pauseplay span {
30+
31+
text-transform: capitalize;
32+
33+
}

css/responsive.less

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/* ====================================================================================================================
2+
* RESPONSIVE
3+
* ====================================================================================================================*/
4+
5+
@media screen and ( max-width: 860px ) {
6+
7+
.flex-direction-nav {
8+
9+
.flex-prev {
10+
11+
opacity: 1;
12+
left: 10px;
13+
14+
}
15+
16+
.flex-next {
17+
18+
opacity: 1;
19+
right: 10px;
20+
21+
}
22+
}
23+
}

0 commit comments

Comments
 (0)