Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* REQUIRED for core functionality */
- .responsive-tabs__heading { display: none;}
- .responsive-tabs__list__item { display: inline; cursor:pointer;}
- @media (max-width: 767px) {
- .responsive-tabs__list { display: none;}
- .responsive-tabs__heading { display: block; cursor: pointer; }
- .responsive-tabs__panel--closed-accordion-only { display: none;}
- }
- @media (min-width: 768px) {
- .responsive-tabs__panel--closed-accordion-only { display: block !important;}
- }
- /* END - Required for core functionality */
- /* OPTIONAL - Basic Skin */
- .responsive-tabs-wrapper {
- clear: both;
- zoom: 1;
- }
- .responsive-tabs-wrapper:before,
- .responsive-tabs-wrapper:after {
- content: "";
- display: table;
- }
- .responsive-tabs-wrapper:after {
- clear: both;
- }
- .responsive-tabs__heading:focus,
- .responsive-tabs__list__item:focus { outline: 1px solid #ccc; }
- .responsive-tabs__heading--active:focus,
- .responsive-tabs__list__item--active:focus { outline: none !important;}
- .responsive-tabs__list { font-size: 1.2em; margin: 0em 0 0 0; padding: 0;border-bottom: 1px solid #ddd; padding-bottom:11px; line-height: 1em;}
- .responsive-tabs__list__item { background: rgba(255, 153, 0, 1); padding: 10px 20px; margin-right: 1em; border-top-left-radius: 5px; border-top-right-radius: 5px;border: 1px solid #ddd;color:#000; }
- .responsive-tabs__list__item:hover {background: rgba(255, 153, 0, 1); color:#fff;}
- .responsive-tabs__list__item--active,
- .responsive-tabs__list__item--active:hover { background: #000; border-top-color: #ff0; color:#fff;}
- .responsive-tabs__panel { margin-bottom: 2px;}
- @media (max-width: 767px) {
- .responsive-tabs__heading {
- padding: 0.5em; border-radius: 5px; border: 1px solid #ccc; box-shadow: 0px 2px 3px rgba(0,0,0,0.4);
- background: #ddd;
- position: relative;
- }
- .responsive-tabs__heading:after {
- content:"";
- display: block;
- position: absolute;
- right: 20px;
- top: 40%;
- width: 0;
- height: 0;
- border-left: 10px solid transparent;
- border-right: 10px solid transparent;
- border-top: 10px solid #000;
- }
- .responsive-tabs__heading:hover,
- .responsive-tabs__heading--active:hover { background-color: #efefef}
- .responsive-tabs__heading--active { background: #fff;}
- .responsive-tabs__heading--active:after {
- border-bottom: 10px solid #000;
- border-top:0;
- }
- }
- /* END - Optional - Basic Skin */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement