File Manager

Current Directory: /home/astoriaah/www/old15/templates/client/less/extensions
Viewing File: /home/astoriaah/www/old15/templates/client/less/extensions/slider.less
/*********************************************************************** * * Liquid Slider * Kevin Batdorf * * http://liquidslider.kevinbatdorf.com * * GPL license * ************************************************************************/ /****************************************************** * No JavaScript * Use this to apply styles when Javascript is disabled, * and be sure to include the ".no-js" class in your html * markup. *******************************************************/ .no-js .liquid-slider { height:350px; overflow:scroll; } /****************************************************************** * Base Styles * The styles here will apply to everything. I recommend you keep * the styles in here specific to mobile defices, then use * the media queries at the bottom to define further styles for larger * screen-sizes. Think Mobile First. But be cautious of how * your site will look in older IE browsers. * * Additional media queries are at the bottom of this document ******************************************************************/ .liquid-slider-wrapper { margin:0 auto; /* Do not edit below this line */ clear: both; overflow: auto; position: relative; .title{display: none} } /****************************************************** * Main Container * This is the main container (minus the navigation). * Be sure to match the width with the .panel class, * or it won't work properly. Also, width only applies * if you are not using the responsive setting. * * The responsive slider will interpret the width as the * max width instead *******************************************************/ .liquid-slider-wrapper .liquid-slider { /* Do not edit below this line */ float: left; overflow: hidden; position: relative; } .liquid-slider-wrapper .panel-container { /* Do not edit below this line */ position: relative; } .liquid-slider-wrapper .liquid-slider .panel-container .fadeClass { /* Do not edit below this line */ position: absolute; top: 0; left: 0; display: none; } /****************************************************** * Panels * This is for the panels. If you are using the * responsive setting, this will act as the max-width * for the entire slider. *******************************************************/ .liquid-slider-wrapper .liquid-slider .panel { width: 1030px; /* Do not edit below this line */ display: block; float: left; } /****************************************************** * This is mainly used to adjust the padding inside each * panel. If you are using the responsive setting, you * need to use the settings below as this will not apply. *******************************************************/ .liquid-slider-wrapper .liquid-slider .panel-wrapper { /* Do not edit below this line */ position:relative; } /***************************************************** * This will adjust styles for all navigation tabs * less of course the select box used for mobile * navigation. The .current styles will apply only to * the current tab. * * You may use this section to create navigation for * mobile devices if you set mobileNavigation: false * Be sure to edit media queries for larger devices below * I have included an example below in comments. * * .currentCrossLink refers to external crosslinking. *******************************************************/ .liquid-slider-wrapper .liquid-nav ul { /* Do not edit below this line */ clear: both; display: block; margin: auto; overflow: hidden; } .liquid-slider-wrapper .liquid-nav ul li { /* Do not edit below this line */ display: inline; } .liquid-slider-wrapper .liquid-nav ul li a { /* Do not edit below this line */ display: block; float: left; text-decoration: none; } /***************************************************** * Mobile Menu * This will adjust styles for selectbox styles. I have * included a simple example to create a custom select * box. *******************************************************/ .liquid-slider-wrapper .liquid-nav { overflow:hidden; clear:both; } .liquid-slider-wrapper .liquid-slider-select-box { /* Delete these if you want the standard select box. Also delete the rules below */ text-align: center; width: auto; } .liquid-slider-wrapper .liquid-slider-select-box select { /* If you want the standard select box, use width:100% And delete the rest of the styling here */ width: auto; -webkit-appearance: none; -moz-appearance: none; appearance:none; padding: 0px 20px 0 40px; background: @primary; border: 0; font-size: 100%; text-align: center; line-height: 2em; color: #fff; cursor:pointer; } /****************************************************** * Arrows * This section refers to both the non-graphical and * graphical navigation arrows. * * Some settings will be overwritten when using the * responsive setting. *******************************************************/ .liquid-slider-wrapper .liquid-nav-left, .liquid-slider-wrapper .liquid-nav-right { /* Do not edit below this line */ float: left; } .liquid-slider-wrapper .liquid-nav-left a, .liquid-slider-wrapper .liquid-nav-right a { /* non-graphical arrows */ background: #000; color: #fff; padding: 5px; width: 100px; /* Do not edit below this line */ display: block; text-align: center; text-decoration: none; } .liquid-slider-wrapper .liquid-nav-left-arrow, .liquid-slider-wrapper .liquid-nav-right-arrow { cursor: pointer; /* Do not edit below this line */ float: left; } .liquid-slider-wrapper .liquid-nav-left-arrow a, .liquid-slider-wrapper .liquid-nav-right-arrow a { /* Do not edit below this line */ display: block; } .liquid-slider-wrapper .liquid-nav-left, .liquid-slider-wrapper .liquid-nav-left-arrow { /* Do not edit below this line */ clear: both; } .liquid-slider-wrapper .liquid-nav-right-arrow { width: 25px; height: 25px; background: url(../img/arrow.png) no-repeat top right; margin-top: 50px; margin-right: 5px; /* Do not edit below this line */ position:relative; } .liquid-slider-wrapper .liquid-nav-left-arrow { width: 25px; height: 25px; background: url(../img/arrow.png) no-repeat top left; margin-top: 50px; margin-left: 5px; /* Do not edit below this line */ position:relative; } .liquid-slider-wrapper .liquid-nav-left-arrow:hover { /* Left graphical arrows hover */ background: url(../img/arrow.png) no-repeat bottom left; } .liquid-slider-wrapper .liquid-nav-left-arrow:active { /* Left graphical arrows click */ } .liquid-slider-wrapper .liquid-nav-right-arrow:hover { /* Right graphical arrows hover */ background: url(../img/arrow.png) no-repeat bottom right; } .liquid-slider-wrapper .liquid-nav-right-arrow:active { /* Right graphical arrows click */ } .arrows .liquid-slider { /* Margin between slider and arrows */ margin: 0 10px; } /****************************************************** * Responsive Styles * Here are the main responsive styles. This mostly * covers the arrows, and most of the settings can be * applied above. *******************************************************/ .liquid-responsive .liquid-slider { /* Do not edit below this line */ width: 100%; margin: 0; } .liquid-responsive .liquid-slider .panel .panel-wrapper { padding: 20px 0; } .liquid-responsive .liquid-nav-left { /* Left non-graphical arrows */ /* Do not edit below this line */ position: absolute; left: 0; z-index: 1; } .liquid-responsive .liquid-nav-left a { /* Left non-graphical arrows */ background: #9A9A9A; width: 80px; } .liquid-responsive .liquid-nav-left a:hover { /* Left non-graphical hover */ background: #747474; } .liquid-responsive .liquid-nav-right { /* Right non-graphical arrows */ /* Do not edit below this line */ position: absolute; right: 0; z-index: 1; } .liquid-responsive .liquid-nav-right a { /* Right non-graphical arrows */ background: #9A9A9A; width: 80px; } .liquid-responsive .liquid-nav-right a:hover { /* Right non-graphical arrows hover */ background: #747474; } .liquid-responsive .liquid-nav-left-arrow { /* Do not edit below this line */ position: absolute; left: 0; z-index: 1; } .liquid-responsive .liquid-nav-right-arrow { /* Do not edit below this line */ position: absolute; right: 0; z-index: 1; }