// // Magento Enterprise Edition // // NOTICE OF LICENSE // // This source file is subject to the Magento Enterprise Edition End User License Agreement // that is bundled with this package in the file LICENSE_EE.txt. // It is also available through the world-wide-web at this URL: // http://www.magento.com/license/enterprise-edition // If you did not receive a copy of the license and are unable to // obtain it through the world-wide-web, please send an email // to license@magento.com so we can send you a copy immediately. // // DISCLAIMER // // Do not edit or add to this file if you wish to upgrade Magento to newer // versions in the future. If you wish to customize Magento for your // needs please refer to http://www.magento.com for more information. // // @category design // @package rwd_default // @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com) // @license http://www.magento.com/license/enterprise-edition // @mixin pdptabs() { .toggle-tabs { display: block; width: 100%; position: relative; text-align: center; padding: 20px 0; //border: 1px solid $c-module-border; //background-color: $c-module-background; li { //float: left; //border-right: 1px solid transparent; //border-left: 1px solid transparent; display: inline-block; > span { @include not-selectable; display: inline-block; //padding: 0 $trim; //height: 40px; //line-height: 40px; cursor: pointer; //text-transform: uppercase; font-size: $f-size; position: relative; bottom: -1px; } &:after { content: "|"; padding: 0 3px; } &:last-child:after { content: ""; padding: 0; } } li.current { /* border-right: 1px solid $c-module-border; border-left: 1px solid $c-module-border; */ > span { // background-color: #FFFFFF; font-family: $f-stack-serif; font-weight: bold; z-index: 5; } } li.current span, li:hover span { color: $c-action; } li:first-child { border-left: none; } &:after { @include clearfix; } } > dl { width: 100%; > dt { display: none; } > dd { width: 100%; display: none; //padding: 15px; //border: 1px solid $c-module-border; border-top: 0; } > dd.current { display: block; } } } @mixin pdp_accordionDtBase($arrow-direction: 'down', $border-color: $c-module-border) { //@include h4; @include not-selectable; font-weight: normal; margin-bottom: 0px; padding: 13px 0; //border-top: 1px solid $c-black; position: relative; background-color: $c-white; //text-transform: uppercase; &:after { @include triangle(#{$arrow-direction}, 5px, $c-action); right: 0; top: 50%; margin-top: -3px; } &:hover { // background-color: $c-module-background-hover; } } @mixin pdp_accordion() { .toggle-tabs { display: none; } > dl { > dt { @include pdp_accordionDtBase; display: block; } > dd { padding: $trim $box-spacing $box-spacing; margin: 0; /* border-width: 0 1px; border-style: solid; border-color: $c-module-border; */ //border-top: 1px solid $c-black; } > dd:last-child { border-width: 0 1px 1px 1px; } } } @mixin pdp_accordionCollapse() { > dl { > dt { cursor: pointer; border-bottom-width: 0; /* &:hover { color: $c-action; } */ &:after { @include triangle(up, 5px, $c-black); } &.last { border-bottom-width: 1px; } } > dd { display: none; } } &.accordion-open { > dl { > dt { &.current { //border-bottom-width: 1px; } &.current:after { @include triangle(down, 5px, $c-black); right: 0; top: 50%; margin-top: -3px; } } > dd.current { display: block; padding-top: $trim*2; } } } }