@import "scss-framework/framework"; /* Slider */ // CONFIGURATION $base-size: 14px; $smaller-size: $base-size*0.66; $slider_width: 100%; $slider_item_width: 61.8%; $font__main: Calibri, sans-serif; $highlight-color-1: #333333; $highlight-color-2: #eeeeee; $text-color: #ffffff; $base-color: #ffffff; // END CONFIGURATION body { //background-color: rgba($highlight-color-1, 0.5) font-family: Calibri, sans-serif; } header { @include absolute-span(0, 12.5%, auto, 12.5%); position: fixed; height: 200px; background-color: $highlight-color-1; z-index: 1000; .brand { display: block; font-size: 100px; font-weight: 700; padding: 25px 50px !important; color: $base-color; text-transform: uppercase; } } div#content { width: 75%; margin: 200px auto 0 auto; background-color: $base-color; border-left: solid 1px $highlight-color-2; border-right: solid 1px $highlight-color-2; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding-bottom: 120px; .text { max-width: 50%; margin: 20px auto; } } footer { display: table; position: fixed; bottom: 0; left: 0; right: 0; height: 100px; width: 100%; background-color: $highlight-color-2; text-align: center; span { display: table-cell; vertical-align: middle; margin: 0 auto; } } // SLIDER CSS div.bannergroup { width: $slider_width; position: relative; z-index: 0; margin: 0 auto; padding: 0 !important; overflow: hidden; background-color: $base-color; // Bottom Background Image //&:after { // content: ' '; // //background-image: url($img-dir + "/wave.png"); // position: absolute; // height: 100px; // width: 100%; // bottom: 0; // background-position: bottom; // background-size: 100%; // background-repeat: no-repeat; //} .banneritem { position: absolute; overflow: hidden; width: $slider_item_width; padding: 0 !important; transition: all 1s ease 0s; &.active { z-index: 100; opacity: 1; img { -ms-filter: none; filter: none; transform: scale(1); } } &.inactive { z-index: 90; opacity: 1; &.visible { z-index: 95; } img { -webkit-filter: blur(1px); -ms-filter: blur(1px); filter: blur(1px) !important; -webkit-transform: scale(1.1); transform: scale(1.1); } } img { vertical-align: middle !important; width: 100%; transition: all 0.2s ease 0s; &.portrait { width: 100%; height: auto; } &:before { content: ""; display: block; padding-top: 42.5532%; /* initial ratio of 47:20*/ } } a { position: absolute; display: table !important; top: 0; left: 0; margin: 0 !important; text-decoration: none; .bannertext { //position: absolute; display: table-cell; text-align: center; vertical-align: middle; line-height: 4*$base-size; font-family: $font__main; font-size: $base-size*3; color: $text-color; text-shadow: 0px 0px 0.33*$base-size #000; background: transparent !important; } } } .banneritem .banneritem img, .banneritem iframe { position: absolute; top: 0; left: 0 !important; bottom: 0; right: 0; width: 100%; height: auto; } .bannerautoplay { position: absolute; bottom: 0 !important; left: 0; margin: 0; padding: $base-size; z-index: 200000; width: auto; .play { display: inline-block; width: $base-size/1.8 !important; height: $base-size/1.8; margin: 0 $smaller-size -2px 0; border-top: solid 0.33*$base-size $highlight-color-2; border-right: solid 0.33*$base-size $highlight-color-2; border-bottom-left-radius: $base-size/1.8; background: $highlight-color-1; transform: rotate(45deg); box-shadow: 0 0 0.33*$base-size $highlight-color-1; &:first-of-type { margin-left: 0; } &:last-of-type { margin-right: 0; } } .pause { display: inline-block; height: $base-size; width: 0.33*$base-size !important; margin: 0 $smaller-size -4px 0; border-left: solid 0.33*$base-size $highlight-color-2; border-right: solid 0.33*$base-size $highlight-color-2; background: $highlight-color-1; box-shadow: 0 0 0.33*$base-size $highlight-color-1; &:first-of-type { margin-left: 0; } &:last-of-type { margin-right: 0; } } } .bannerjump-wrapper { position: absolute; bottom: 0 !important; right: 0; margin: 0; padding: $base-size; z-index: 200000; width: auto; .bannerjump { display: inline-block; width: 0.33*$base-size !important; height: 0.33*$base-size; margin: 0 $smaller-size -4px 0; border-radius: $smaller-size; border: solid 0.33*$base-size $highlight-color-1; background: $highlight-color-2; &.active { background: $highlight-color-1; border-color: $highlight-color-2; } &:first-of-type { margin-left: 0; } &:last-of-type { margin-right: 0; } } } .bannercontrols { position: absolute; .left { display: table; position: absolute; top: 0; right: 100%; min-width: 7*$base-size; margin: 0 !important; // PLAIN BACKGROUND //background-color: rgba($text-color, 0.7); // GRADIENT BACKGROUND //background: linear-gradient(to left, rgba($base-color,1) 0%, rgba($base-color,0.5) 66%, rgba($base-color,0) 100%); .circle { transform: rotate(180deg); } } .right { display: table; position: absolute; top: 0; left: 0; min-width: 7*$base-size; margin: 0 !important; // PLAIN BACKGROUND //background-color: rgba($text-color, 0.7); // GRADIENT BACKGROUND //background: linear-gradient(to right, rgba($base-color,1) 0%, rgba($base-color,0.5) 66%, rgba($base-color,0) 100%); } .iconwrapper { display: table-cell; vertical-align: middle; .circle { display: block; overflow: hidden !important; position: relative; width: 3.33*$base-size; height: 3.33*$base-size; margin: 0 auto; border-radius: 3.33*$base-size; border: solid 0.33*$base-size $highlight-color-2; background-color: $highlight-color-1; opacity: 1; box-shadow: 0 0 0.33*$base-size $highlight-color-1; .arrow { display: block; position: absolute; right: 20%; top: 30%; width: (3.33/3)*$base-size; height: (3.33/3)*$base-size; border-left: solid 0.33*$base-size $highlight-color-2; border-top: solid 0.33*$base-size $highlight-color-2; transform: rotate(-45deg); } } } } }