ZwiiCMS/module/slider/view/index/index.css

250 lines
4.5 KiB
CSS
Raw Normal View History

2023-07-24 21:18:56 +02:00
/**
* This file is part of Zwii.
*
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
*
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
2024-01-14 19:31:28 +01:00
* @copyright Copyright (C) 2018-2024, Frédéric Tempez
2023-07-24 21:18:56 +02:00
* @license CC Attribution-NonCommercial-NoDerivatives 4.0 International
* @link http://zwiicms.fr/
*/
/*! http://responsiveslides.com v1.55 by @arielsalminen */
.rslides {
2024-08-19 10:11:29 +02:00
position: relative;
list-style: none;
overflow: hidden;
width: 100%;
padding: 0;
margin: 0 auto;
}
.rslides li {
-webkit-backface-visibility: hidden;
position: absolute;
display: none;
width: 100%;
left: 0;
top: 0;
}
.rslides li:first-child {
position: relative;
display: block;
float: left;
}
.rslides img {
display: block;
height: auto;
float: left;
width: 100%;
border: 0;
}
#wrapper {
margin: 0 auto;
width: 100%;
margin-bottom: 50px;
}
.rslides h1 {
2024-08-19 10:11:29 +02:00
font: 600 28px/36px sans-serif;
margin: 50px 0;
}
.rslides h3 {
2024-08-19 10:11:29 +02:00
font: 600 18px/24px sans-serif;
color: #999;
margin: 0 0 20px;
}
.rslides a {
2024-08-19 10:11:29 +02:00
color: #222;
}
2024-08-19 10:11:29 +02:00
.rslides {
margin: 0 auto;
}
.rslides_container {
margin-bottom: 50px;
position: relative;
float: left;
width: 100%;
}
.centered-btns_nav {
z-index: 3;
position: absolute;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
top: 50%;
left: 0;
opacity: 0.7;
text-indent: -9999px;
overflow: hidden;
text-decoration: none;
height: 61px;
width: 38px;
background: transparent url("module/slider/view/index/black.gif") no-repeat left top;
margin-top: -45px;
}
.centered-btns_nav:active {
opacity: 1.0;
}
.centered-btns_nav.next {
left: auto;
background-position: right top;
right: 0;
}
.transparent-btns_nav {
z-index: 3;
position: absolute;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
top: 0;
left: 0;
display: block;
background: #fff;
/* Fix for IE6-9 */
opacity: 0;
filter: alpha(opacity=1);
width: 48%;
text-indent: -9999px;
overflow: hidden;
height: 91%;
}
.transparent-btns_nav.next {
left: auto;
right: 0;
}
.large-btns_nav {
z-index: 3;
position: absolute;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
opacity: 0.6;
text-indent: -9999px;
overflow: hidden;
top: 0;
bottom: 0;
left: 0;
background: #000 url("module/slider/view/index/black.gif") no-repeat left 50%;
width: 38px;
}
.large-btns_nav:active {
opacity: 1.0;
}
.large-btns_nav.next {
left: auto;
background-position: right 50%;
right: 0;
}
2023-07-24 21:18:56 +02:00
/**
Boutons blancs
*/
.white-btns_nav {
2024-08-19 10:11:29 +02:00
z-index: 3;
position: absolute;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
opacity: 0.6;
text-indent: -9999px;
overflow: hidden;
top: 0;
bottom: 0;
left: 0;
background: transparent url("module/slider/view/index/white.gif") no-repeat left 50%;
width: 38px;
}
.white-btns_nav:active {
opacity: 1.0;
}
.white-btns_nav.next {
left: auto;
background-position: right 50%;
right: 0;
}
2023-07-24 21:18:56 +02:00
/**
Boutons blancs
*/
2024-08-19 10:11:29 +02:00
.centered-btns_nav:focus,
.transparent-btns_nav:focus,
2023-07-24 21:18:56 +02:00
.large-btns_nav:focus,
.white-btns_nav:focus {
2024-08-19 10:11:29 +02:00
outline: none;
}
.centered-btns_tabs,
.transparent-btns_tabs,
2023-07-24 21:18:56 +02:00
.large-btns_tabs,
2024-08-19 10:11:29 +02:00
.white-btns_tabs {
margin-top: 10px;
text-align: center;
2024-08-19 15:55:47 +02:00
padding: 0px;
2024-08-19 10:11:29 +02:00
}
.centered-btns_tabs li,
.transparent-btns_tabs li,
2023-07-24 21:18:56 +02:00
.large-btns_tabs li,
.white-btns_tabs li {
2024-08-19 10:11:29 +02:00
display: inline;
float: none;
margin-right: 5px;
}
.centered-btns_tabs a,
.transparent-btns_tabs a,
2023-07-24 21:18:56 +02:00
.large-btns_tabs a,
2024-08-19 10:11:29 +02:00
.white-btns_tabs a {
text-indent: -9999px;
overflow: hidden;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
background: #ccc;
2023-07-24 21:18:56 +02:00
background: rgba(0, 0, 0, .2);
2024-08-19 10:11:29 +02:00
display: inline-block;
2024-08-19 10:33:38 +02:00
/*display: block;*/
2023-07-24 21:18:56 +02:00
-webkit-box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .3);
-moz-box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .3);
box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .3);
2024-08-19 10:11:29 +02:00
width: 9px;
height: 9px;
}
.centered-btns_here a,
.transparent-btns_here a,
2023-07-24 21:18:56 +02:00
.large-btns_here a,
.white-btns_here a {
2024-08-19 10:11:29 +02:00
background: #222;
background: rgba(0, 0, 0, .8);
}
2024-08-19 16:44:08 +02:00
.caption {
position: absolute;
display: block;
bottom: 0;
left: 0;
right: 0;
padding: 15px;
text-align: center;
background: #000;
background: rgba(0,0,0, .8);
color: #fff;
margin: inherit;
}
2024-08-19 10:11:29 +02:00