slick.theme--asnavfor.css in Slick Carousel 7.2
Same filename and directory in other branches
asNavFor. Main display has class "slick--display--main". Thumbnail has class "slick--display--thumbnail". Tips: make sure to use odd number for slideToShow with centerMode on.
File
css/theme/slick.theme--asnavfor.cssView source
- /**
- * @file
- * asNavFor.
- * Main display has class "slick--display--main".
- * Thumbnail has class "slick--display--thumbnail".
- * Tips: make sure to use odd number for slideToShow with centerMode on.
- */
-
- .slick--display--thumbnail.slick--skin--asnavfor {
- margin-left: auto;
- margin-right: auto;
- padding: 0;
- width: 96%;
- }
-
- .slick--display--thumbnail.slick--skin--asnavfor .slick-list {
- margin: 0 -20px;
- padding: 30px 40px;
- }
-
- .slick--display--thumbnail.slick--skin--asnavfor .slide__caption p {
- margin: 0;
- }
-
- .slick--display--thumbnail.slick--skin--asnavfor .slick-current {
- background: #fff;
- }
-
- .slick--display--thumbnail.slick--skin--asnavfor .slick__slide {
- margin: 0 2px;
- overflow: visible;
- -webkit-backface-visibility: hidden;
- backface-visibility: hidden;
- -webkit-transition: -webkit-transform 0.4s ease-in-out 0.2s;
- transition: transform 0.4s ease-in-out 0.2s;
- }
-
- .slick--display--thumbnail.slick--skin--asnavfor .slick__slide img {
- border: 6px solid transparent;
- cursor: pointer;
- position: relative;
- width: 100%;
- }
-
- .slick--display--thumbnail.slick--skin--asnavfor .slick__slide.slick-current {
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
- -ms-transform: scale(1.3);
- -webkit-transform: scale(1.3);
- transform: scale(1.3);
- -webkit-transition-delay: 0s;
- transition-delay: 0s;
- z-index: 3;
- }
-
- .slick--display--thumbnail.slick--skin--asnavfor .slick__slide.slick-current::before {
- content: '';
- display: block;
- border: 8px solid transparent;
- border-top: 0;
- border-bottom-color: #fff;
- height: 0;
- left: 50%;
- margin-left: -8px;
- position: absolute;
- top: -5px;
- width: 0;
- z-index: 1;
- }
-
- .slick--display--thumbnail.slick--skin--asnavfor .slick__slide.slick-current img {
- border-color: #fff;
- }
-
- .slick--display--thumbnail.slick--skin--asnavfor.slick--center .slick-track {
- padding-bottom: 40px;
- padding-top: 40px;
- }
-
- .slick--display--thumbnail.slick--skin--asnavfor .slick__arrow .slick-disabled {
- pointer-events: none;
- opacity: 0;
- }
-
- .slick--display--thumbnail.slick--skin--asnavfor .slick__arrow .slick-prev {
- left: -20px;
- }
-
- .slick--display--thumbnail.slick--skin--asnavfor .slick__arrow .slick-next {
- right: -20px;
- }