Difference between revisions of "Team:ZJU-China/css/card/owl.3.css"
(10 intermediate revisions by the same user not shown) | |||
Line 79: | Line 79: | ||
margin-top: 10px; | margin-top: 10px; | ||
text-align: center; | text-align: center; | ||
+ | } | ||
+ | .owl-prev{ | ||
+ | float:left; | ||
} | } | ||
+ | .owl-next{ | ||
+ | float:right; | ||
+ | } | ||
/* Styling Next and Prev buttons */ | /* Styling Next and Prev buttons */ | ||
Line 89: | Line 95: | ||
*display: inline;/*IE7 life-saver */ | *display: inline;/*IE7 life-saver */ | ||
margin: 5px; | margin: 5px; | ||
− | padding: | + | margin-top: -25px; |
+ | padding: 10px 175px; | ||
font-size: 12px; | font-size: 12px; | ||
-webkit-border-radius: 30px; | -webkit-border-radius: 30px; | ||
Line 153: | Line 160: | ||
*{margin:0;padding:0;list-style-type:none;} | *{margin:0;padding:0;list-style-type:none;} | ||
− | .scroll-outer{height: | + | .scroll-outer{height:100%; padding-top: 20px; |
− | # | + | padding-bottom: 20px;} |
− | #scroll .owl-wrapper-outer{margin:0 auto;} | + | #scroll{ |
+ | width: 75%; | ||
+ | margin: 0 auto; | ||
+ | padding-left: 20px; | ||
+ | padding-right: 20px; | ||
+ | font-family:"Microsoft Yahei"; | ||
+ | background-color: #FFF; | ||
+ | border: 2px solid #ddd; | ||
+ | -moz-box-shadow: 10px 10px 5px #888888; | ||
+ | box-shadow: 2px 2px 5px #888888; | ||
+ | border-radius: 2em;{width:76%;margin:0 auto;padding-top:30px;font-family:"Microsoft Yahei";} | ||
+ | #scroll .owl-wrapper-outer{ | ||
+ | margin: 0 auto; | ||
+ | padding-bottom: 10px; | ||
+ | padding-top: 20px; | ||
+ | } | ||
#scroll .item{position:relative;width:250px;height:400px;margin:0 auto;background-color:#fff;overflow:hidden;} | #scroll .item{position:relative;width:250px;height:400px;margin:0 auto;background-color:#fff;overflow:hidden;} | ||
#scroll .shd{position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.15);} | #scroll .shd{position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.15);} |
Latest revision as of 05:33, 8 September 2015
/*
* Core Owl Carousel CSS File * v1.3.3 */
/* clearfix */ .owl-carousel .owl-wrapper:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } /* display none until init */ .owl-carousel{ display: none; position: relative; width: 100%; -ms-touch-action: pan-y; } .owl-carousel .owl-wrapper{ display: none; position: relative; -webkit-transform: translate3d(0px, 0px, 0px); } .owl-carousel .owl-wrapper-outer{ overflow: hidden; position: relative; width: 100%; } .owl-carousel .owl-wrapper-outer.autoHeight{ -webkit-transition: height 500ms ease-in-out; -moz-transition: height 500ms ease-in-out; -ms-transition: height 500ms ease-in-out; -o-transition: height 500ms ease-in-out; transition: height 500ms ease-in-out; }
.owl-carousel .owl-item{ float: left; } .owl-controls .owl-page, .owl-controls .owl-buttons div{ cursor: pointer; } .owl-controls { -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
/* mouse grab icon */ .grabbing {
cursor:url() 8 8, move;
}
/* fix */ .owl-carousel .owl-wrapper, .owl-carousel .owl-item{ -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden;
-webkit-transform: translate3d(0,0,0); -moz-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0);
}
/*
- Owl Carousel Owl Demo Theme
- v1.3.3
- www.mycodes.net
- /
.owl-theme .owl-controls{ margin-top: 10px; text-align: center; } .owl-prev{ float:left; }
.owl-next{ float:right; } /* Styling Next and Prev buttons */
.owl-theme .owl-controls .owl-buttons div{ color: #FFF; display: inline-block; zoom: 1; *display: inline;/*IE7 life-saver */ margin: 5px; margin-top: -25px;
padding: 10px 175px;
font-size: 12px; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; background: #869791; filter: Alpha(Opacity=50);/*IE7 fix*/ opacity: 0.5; } /* Clickable class fix problem with hover on touch devices */ /* Use it for non-touch hover action */ .owl-theme .owl-controls.clickable .owl-buttons div:hover{ filter: Alpha(Opacity=100);/*IE7 fix*/ opacity: 1; text-decoration: none; }
/* Styling Pagination*/
.owl-theme .owl-controls .owl-page{ display: inline-block; zoom: 1; *display: inline;/*IE7 life-saver */ } .owl-theme .owl-controls .owl-page span{ display: block; width: 12px; height: 12px; margin: 5px 7px; filter: Alpha(Opacity=50);/*IE7 fix*/ opacity: 0.5; -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px; background: #869791; }
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span{ filter: Alpha(Opacity=100);/*IE7 fix*/ opacity: 1; }
/* If PaginationNumbers is true */
.owl-theme .owl-controls .owl-page span.owl-numbers{ height: auto; width: auto; color: #FFF; padding: 2px 10px; font-size: 12px; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; }
/* preloading images */ .owl-item.loading{ min-height: 150px; background: url() no-repeat center center }
- {margin:0;padding:0;list-style-type:none;}
.scroll-outer{height:100%; padding-top: 20px;
padding-bottom: 20px;}
- scroll{
width: 75%; margin: 0 auto; padding-left: 20px; padding-right: 20px; font-family:"Microsoft Yahei"; background-color: #FFF; border: 2px solid #ddd; -moz-box-shadow: 10px 10px 5px #888888; box-shadow: 2px 2px 5px #888888; border-radius: 2em;{width:76%;margin:0 auto;padding-top:30px;font-family:"Microsoft Yahei";}
- scroll .owl-wrapper-outer{
margin: 0 auto; padding-bottom: 10px; padding-top: 20px;
}
- scroll .item{position:relative;width:250px;height:400px;margin:0 auto;background-color:#fff;overflow:hidden;}
- scroll .shd{position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.15);}
- scroll .shd a{display:block;width:250px;height:239px;*background-image:url(about:blank);background-image:url(about:blank)\0;}
- scroll .txt{position:absolute;left:0;bottom:0;width:226px;height:100px;padding:0 12px;color:#888;box-shadow:0 0 15px 15px rgba(228, 233, 238, 0.95);background-color:#e4e9ee\9;background-color:rgba(228, 233, 238, 0.95);}
- scroll h3{width:226px;height:25px;margin-bottom:6px;padding-top:6px;font:700 18px/25px arial,"Microsoft Yahei";overflow:hidden;}
- scroll h3 a{color:#333;text-decoration:none;}
- scroll h3 a:hover{color:#338de6;}
- scroll p{width:226px;height:54px;line-height:18px;font-size:12px;}
- scroll .item:hover .shd{background-color:rgba(0, 0, 0, 0);}
- scroll .item:hover .txt{background-color:#fff\9;background-color:rgba(248, 249, 249, 0.95);box-shadow:0 0 15px 15px rgba(248, 249, 249, 0.95);}
.owl-theme .owl-controls .owl-buttons div{position:absolute;top:180px;width:30px;height:60px;margin:0;padding:0;border-radius:0;font:60px/60px "ו";background-color:transparent;overflow:hidden;_display:none;} .owl-theme .owl-controls .owl-buttons .owl-prev{left:-40px;} .owl-theme .owl-controls .owl-buttons .owl-next{right:-40px;} .owl-theme .owl-controls .owl-buttons .owl-prev:before{content:"<";} .owl-theme .owl-controls .owl-buttons .owl-next:before{content:">";}