Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .tabbed-carousel__nav {
- position: relative;
- z-index: 3;
- height: 100px;
- border: 1px solid #e5e5e5;
- border-radius: 3px
- }
- @media screen and (max-width: 46.8125em) {
- .tabbed-carousel__nav {
- display:none
- }
- }
- .tabbed-carousel__nav.grid-container--thirds .tabbed-carousel__nav-item {
- width: 33.33%
- }
- .tabbed-carousel__nav-item {
- font-family: "Brandon", Helvetica, Arial, sans-serif;
- font-weight: 500;
- -webkit-font-smoothing: antialiased;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- position: relative;
- display: inline-block;
- height: 98px;
- width: 25%;
- float: left;
- padding-top: 15px;
- background-color: #f9fafa;
- text-align: center;
- -webkit-transition: color 300ms ease, background-color 300ms ease;
- transition: color 300ms ease, background-color 300ms ease
- }
- .tabbed-carousel__nav-item:before,.tabbed-carousel__nav-item:after {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- width: 0;
- height: 0;
- border-top: 49px solid transparent;
- border-left-width: 24px;
- border-left-style: solid;
- border-left: 24px solid #e5e5e5;
- border-bottom: 49px solid transparent;
- -webkit-transition: border-color 300ms ease;
- transition: border-color 300ms ease
- }
- .tabbed-carousel__nav-item:before {
- border-left-color: #e5e5e5
- }
- .tabbed-carousel__nav-item:after {
- left: -1px;
- border-left-color: #f9fafa
- }
- .tabbed-carousel__nav-item:first-child {
- padding-left: 0
- }
- .tabbed-carousel__nav-item:first-child:before,.tabbed-carousel__nav-item:first-child:after {
- display: none
- }
- .tabbed-carousel__nav-item .icon {
- display: block;
- margin: 0 auto 10px;
- fill: #a9a9a9
- }
- .tabbed-carousel__nav-item:focus,.tabbed-carousel__nav-item:hover,.tabbed-carousel__nav-item.js-is-active {
- background: #fff
- }
- .segment-online .tabbed-carousel__nav-item:focus .icon,.segment-online .tabbed-carousel__nav-item:hover .icon,.segment-online .tabbed-carousel__nav-item.js-is-active .icon {
- fill: #ebb129
- }
- .segment-pos .tabbed-carousel__nav-item:focus .icon,.segment-pos .tabbed-carousel__nav-item:hover .icon,.segment-pos .tabbed-carousel__nav-item.js-is-active .icon {
- fill: #368aa9
- }
- .segment-mobile .tabbed-carousel__nav-item:focus .icon,.segment-everywhere .tabbed-carousel__nav-item:focus .icon,.segment-mobile .tabbed-carousel__nav-item:hover .icon,.segment-everywhere .tabbed-carousel__nav-item:hover .icon,.segment-mobile .tabbed-carousel__nav-item.js-is-active .icon,.segment-everywhere .tabbed-carousel__nav-item.js-is-active .icon {
- fill: #7ab55c
- }
- .tabbed-carousel__nav-item:focus+.tabbed-carousel__nav-item:after,.tabbed-carousel__nav-item:hover+.tabbed-carousel__nav-item:after,.tabbed-carousel__nav-item.js-is-active+.tabbed-carousel__nav-item:after {
- border-left-color: #fff
- }
- .tabbed-carousel__nav-item.js-is-active {
- color: #000
- }
- .tabbed-carousel__nav-item:focus {
- outline: none;
- border-bottom: solid 1px
- }
- .tabbed-carousel.page-block--lowlight .tabbed-carousel__nav {
- border-color: #a9a9a9
- }
- .tabbed-carousel.page-block--lowlight .tabbed-carousel__nav-item {
- background-color: #2a2c2e;
- color: #a9a9a9
- }
- .tabbed-carousel.page-block--lowlight .tabbed-carousel__nav-item:before {
- border-left-color: #a9a9a9
- }
- .tabbed-carousel.page-block--lowlight .tabbed-carousel__nav-item:after {
- border-left-color: #2a2c2e
- }
- .tabbed-carousel.page-block--lowlight .tabbed-carousel__nav-item:focus,.tabbed-carousel.page-block--lowlight .tabbed-carousel__nav-item:hover,.tabbed-carousel.page-block--lowlight .tabbed-carousel__nav-item.js-is-active {
- background: #30373b;
- color: #fff
- }
- .tabbed-carousel.page-block--lowlight .tabbed-carousel__nav-item:focus+.tabbed-carousel__nav-item:after,.tabbed-carousel.page-block--lowlight .tabbed-carousel__nav-item:hover+.tabbed-carousel__nav-item:after,.tabbed-carousel.page-block--lowlight .tabbed-carousel__nav-item.js-is-active+.tabbed-carousel__nav-item:after {
- border-left-color: #30373b
- }
- .tabbed-carousel.page-block--lowlight .tabbed-carousel__item-text h4 {
- color: #fff
- }
- .tabbed-carousel__item {
- -webkit-transition: opacity 300ms ease 0s;
- transition: opacity 300ms ease 0s
- }
- @media screen and (min-width: 46.875em) {
- .tabbed-carousel__item {
- opacity:0;
- z-index: 0;
- display: none
- }
- .tabbed-carousel__item:after {
- content: "";
- display: table;
- clear: both
- }
- .tabbed-carousel__item .tabbed-carousel__item-header {
- opacity: 0;
- -webkit-transition: opacity 300ms ease 300ms, -webkit-transform 500ms ease 300ms;
- transition: opacity 300ms ease 300ms, transform 500ms ease 300ms;
- -webkit-transform: translateY(30px);
- -ms-transform: translateY(30px);
- transform: translateY(30px)
- }
- .tabbed-carousel__item .tabbed-carousel__item-text {
- opacity: 0;
- -webkit-transition: opacity 300ms ease 400ms, -webkit-transform 500ms ease 400ms;
- transition: opacity 300ms ease 400ms, transform 500ms ease 400ms;
- -webkit-transform: translateY(30px);
- -ms-transform: translateY(30px);
- transform: translateY(30px)
- }
- .tabbed-carousel__item .tabbed-carousel__item-image {
- opacity: 0;
- -webkit-transition: opacity 500ms ease 500ms;
- transition: opacity 500ms ease 500ms;
- -webkit-transition-property: opacity, -webkit-transform;
- transition-property: opacity, transform;
- -webkit-transform: translateX(20px);
- -ms-transform: translateX(20px);
- transform: translateX(20px)
- }
- .tabbed-carousel__item.js-is-active {
- opacity: 1;
- z-index: 1;
- display: block
- }
- .tabbed-carousel__item.js-is-active .tabbed-carousel__item-text {
- opacity: 1;
- -webkit-transform: translateY(0);
- -ms-transform: translateY(0);
- transform: translateY(0)
- }
- .tabbed-carousel__item.js-is-active .tabbed-carousel__item-header {
- opacity: 1;
- -webkit-transform: translateY(0);
- -ms-transform: translateY(0);
- transform: translateY(0)
- }
- .tabbed-carousel__item.js-is-active .tabbed-carousel__item-image {
- opacity: 1;
- -webkit-transform: translateX(0);
- -ms-transform: translateX(0);
- transform: translateX(0)
- }
- }
- @media screen and (max-width: 46.8125em) {
- .tabbed-carousel__item {
- padding:15px 0 10px;
- margin-bottom: 0;
- border-top: 1px solid #e5e5e5
- }
- .tabbed-carousel__item .tabbed-carousel__item-header {
- padding-right: 20px;
- margin-bottom: 5px
- }
- }
- .segment-online .tabbed-carousel__nav-item:focus {
- border-bottom: solid 1px #ebb129
- }
- .segment-pos .tabbed-carousel__nav-item:focus {
- border-bottom: solid 1px #368aa9
- }
- .segment-mobile .tabbed-carousel__nav-item:focus {
- border-bottom: solid 1px #7ab55c
- }
- .tabbed-carousel__item-image {
- z-index: 1
- }
- .tabbed-carousel__item-content {
- z-index: 2
- }
- .tabbed-carousel__mobile-image {
- margin: 1.875em 0
- }
- @media screen and (max-width: 46.8125em) {
- .tabbed-carousel__item-text {
- padding-top:0.625em
- }
- }
- .tabbed-carousel__item-text>p {
- margin-bottom: 1.5625em
- }
- .tabbed-carousel__item-text>p:last-child {
- margin-bottom: 0.9375em
- }
- .tabbed-carousel__nav-prev,.tabbed-carousel__nav-next {
- content: '';
- position: absolute;
- top: 50%;
- max-width: 64px;
- min-width: 64px;
- height: 50px;
- margin-top: -25px;
- z-index: 2;
- background: #000;
- border-radius: 3px;
- padding: 16px 18px;
- overflow: hidden;
- white-space: nowrap;
- -webkit-transition: max-width 333ms;
- transition: max-width 333ms
- }
- .tabbed-carousel__nav-prev:before,.tabbed-carousel__nav-next:before {
- width: 24px;
- height: 11px;
- display: block;
- position: absolute;
- top: 20px;
- content: ''
- }
- .tabbed-carousel__nav-prev:focus,.tabbed-carousel__nav-next:focus,.tabbed-carousel__nav-prev:hover,.tabbed-carousel__nav-next:hover {
- max-width: 200px
- }
- .tabbed-carousel__nav-prev:focus .tab-label,.tabbed-carousel__nav-next:focus .tab-label,.tabbed-carousel__nav-prev:hover .tab-label,.tabbed-carousel__nav-next:hover .tab-label {
- opacity: 1;
- -webkit-transform: translateX(0);
- -ms-transform: translateX(0);
- transform: translateX(0)
- }
- .tabbed-carousel__nav-prev .tab-label,.tabbed-carousel__nav-next .tab-label {
- font-family: "Brandon", Helvetica, Arial, sans-serif;
- font-weight: 900;
- -webkit-font-smoothing: antialiased;
- pointer-events: none;
- display: inline-block;
- opacity: 0;
- color: #fff;
- font-size: 0.75em;
- text-transform: uppercase;
- -webkit-transition: opacity 300ms, -webkit-transform 300ms;
- transition: opacity 300ms, transform 300ms
- }
- .tabbed-carousel__nav-prev {
- display: none
- }
- @media screen and (min-width: 1440px) {
- .tabbed-carousel__nav-prev {
- display:inline-block;
- left: -265px
- }
- }
- .tabbed-carousel__nav-prev:before {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2011%22%3E%3Cpath%20fill=%22%23FFF%22%20d=%22M5.5%200c.1%200%20.3%200%20.4.1.1.2.1.6-.1.8L1.2%205.5l4.6%204.6c.2.2.2.5%200%20.7-.2.2-.5.2-.7%200l-5-5c-.1-.2-.1-.5%200-.7l5-5c.1-.1.3-.1.4-.1z%22/%3E%3Cpath%20fill=%22%23FFF%22%20d=%22M.5%205h23c.2%200%20.5.2.5.5s-.3.5-.5.5H.5C.2%206%200%205.8%200%205.5S.2%205%20.5%205z%22/%3E%3C/svg%3E");
- left: 18px
- }
- .tabbed-carousel__nav-prev>span {
- padding-left: 32px;
- -webkit-transform: translateX(100%);
- -ms-transform: translateX(100%);
- transform: translateX(100%)
- }
- .tabbed-carousel__nav-next {
- display: none
- }
- @media screen and (min-width: 1440px) {
- .tabbed-carousel__nav-next {
- display:block;
- right: -265px
- }
- }
- .tabbed-carousel__nav-next:before {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2011%22%3E%3Cpath%20fill=%22%23FFF%22%20d=%22M18.5%2011c-.1%200-.3%200-.4-.1-.2-.2-.2-.5%200-.7l4.6-4.6L18.1%201c-.2-.2-.2-.5%200-.7.2-.2.5-.2.7%200l5%205c.2.2.2.5%200%20.7l-5%205c-.1-.1-.2%200-.3%200z%22/%3E%3Cpath%20fill=%22%23FFF%22%20d=%22M23.5%206H.5C.2%206%200%205.8%200%205.5S.2%205%20.5%205h23c.2%200%20.5.2.5.5s-.3.5-.5.5z%22/%3E%3C/svg%3E");
- right: 18px
- }
- .tabbed-carousel__nav-next>span {
- padding-right: 32px;
- -webkit-transform: translateX(-100%);
- -ms-transform: translateX(-100%);
- transform: translateX(-100%)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement