summaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
Diffstat (limited to 'sass')
-rwxr-xr-xsass/_slider.scss95
1 files changed, 95 insertions, 0 deletions
diff --git a/sass/_slider.scss b/sass/_slider.scss
new file mode 100755
index 0000000..17d0550
--- /dev/null
+++ b/sass/_slider.scss
@@ -0,0 +1,95 @@
+
+/*Flexslider*/
+
+.flexslider {
+ border: 0;
+ max-width: 100%;
+ margin: 0;
+ overflow: hidden;
+ @include box-shadow(none);
+ @include border-radius(0px);
+
+ .slider-caption{
+ display: none;
+ position: absolute;
+ top: 30%;
+ left: 5%;
+ z-index: 99;
+ width: 90%;
+ text-align: left;
+ font-size: 1.2em;
+ line-height: 150%;
+ color: #fff;
+ padding: 20px;
+ background: rgba(0,0,0,0.3);
+ @include border-radius(0px);
+ }
+
+ .slider-title{
+ font-size: 2em;
+ font-weight: 600;
+ color: #fff;
+ }
+
+ .slider-description{
+ display: inline-block;
+ clear: both;
+ }
+
+ .slides{
+
+ li{
+ position: relative;
+
+ &:after{
+ content:"";
+ position: absolute;
+ top: 0;
+ right: 0;
+ left: 0;
+ bottom: 0;
+ @include transition(all 2s);
+ }
+ }
+ }
+
+ .flex-direction-nav{
+ display: none;
+ position: absolute;
+ top: 50%;
+ width: 100%;
+
+ li{
+ list-style: none;
+ }
+
+ a{
+ font-size: 0;
+ padding: 10px;
+
+ &:before,
+ &:after{
+ color: #fff;
+ }
+ }
+ }
+
+ .flex-control-paging li a {
+ width: 8px;
+ height: 8px;
+ display: block;
+ background: #fff;
+ cursor: pointer;
+ text-indent: -9999px;
+ @include border-radius(50%);
+
+ &.flex-active{
+ background: #000;
+ }
+ }
+
+ .flex-control-nav{
+ bottom: 0;
+ }
+
+} \ No newline at end of file