123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367 |
- .el-carousel {
- position: relative; }
- .el-carousel--horizontal {
- overflow-x: hidden; }
- .el-carousel--vertical {
- overflow-y: hidden; }
- .el-carousel__container {
- position: relative;
- height: 300px; }
- .el-carousel__arrow {
- border: none;
- outline: none;
- padding: 0;
- margin: 0;
- height: 36px;
- width: 36px;
- cursor: pointer;
- -webkit-transition: .3s;
- transition: .3s;
- border-radius: 50%;
- background-color: rgba(31, 45, 61, 0.11);
- color: #FFFFFF;
- position: absolute;
- top: 50%;
- z-index: 10;
- -webkit-transform: translateY(-50%);
- transform: translateY(-50%);
- text-align: center;
- font-size: 12px; }
- .el-carousel__arrow--left {
- left: 16px; }
- .el-carousel__arrow--right {
- right: 16px; }
- .el-carousel__arrow:hover {
- background-color: rgba(31, 45, 61, 0.23); }
- .el-carousel__arrow i {
- cursor: pointer; }
- .el-carousel__indicators {
- position: absolute;
- list-style: none;
- margin: 0;
- padding: 0;
- z-index: 2; }
- .el-carousel__indicators--horizontal {
- bottom: 0;
- left: 50%;
- -webkit-transform: translateX(-50%);
- transform: translateX(-50%); }
- .el-carousel__indicators--vertical {
- right: 0;
- top: 50%;
- -webkit-transform: translateY(-50%);
- transform: translateY(-50%); }
- .el-carousel__indicators--outside {
- bottom: 26px;
- text-align: center;
- position: static;
- -webkit-transform: none;
- transform: none; }
- .el-carousel__indicators--outside .el-carousel__indicator:hover button {
- opacity: 0.64; }
- .el-carousel__indicators--outside button {
- background-color: #C0C4CC;
- opacity: 0.24; }
- .el-carousel__indicators--labels {
- left: 0;
- right: 0;
- -webkit-transform: none;
- transform: none;
- text-align: center; }
- .el-carousel__indicators--labels .el-carousel__button {
- height: auto;
- width: auto;
- padding: 2px 18px;
- font-size: 12px; }
- .el-carousel__indicators--labels .el-carousel__indicator {
- padding: 6px 4px; }
- .el-carousel__indicator {
- background-color: transparent;
- cursor: pointer; }
- .el-carousel__indicator:hover button {
- opacity: 0.72; }
- .el-carousel__indicator--horizontal {
- display: inline-block;
- padding: 12px 4px; }
- .el-carousel__indicator--vertical {
- padding: 4px 12px; }
- .el-carousel__indicator--vertical .el-carousel__button {
- width: 2px;
- height: 15px; }
- .el-carousel__indicator.is-active button {
- opacity: 1; }
- .el-carousel__button {
- display: block;
- opacity: 0.48;
- width: 30px;
- height: 2px;
- background-color: #FFFFFF;
- border: none;
- outline: none;
- padding: 0;
- margin: 0;
- cursor: pointer;
- -webkit-transition: .3s;
- transition: .3s; }
- .carousel-arrow-left-enter,
- .carousel-arrow-left-leave-active {
- -webkit-transform: translateY(-50%) translateX(-10px);
- transform: translateY(-50%) translateX(-10px);
- opacity: 0; }
- .carousel-arrow-right-enter,
- .carousel-arrow-right-leave-active {
- -webkit-transform: translateY(-50%) translateX(10px);
- transform: translateY(-50%) translateX(10px);
- opacity: 0; }
|