_sections.less 30.8 KB
Newer Older
Ketan's avatar
Ketan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691
// /**
//  * Copyright © Magento, Inc. All rights reserved.
//  * See COPYING.txt for license details.
//  */

//  # Tabs and accordions
//
//  To set up tabs and accordions Magento UI library provides 2 types of mixins: <code>.lib-data-tabs__base()</code> and <code>.lib-data-accordion__base()</code>. These mixins reset markup elements default styles and add minimal required css setup to make these elements work properly.
//
//  # Tabs
//
//  The <code>.lib-data-tabs()</code> mixin is used to setup tabs parameters.
//
//  ```html
//  <dl class="example-sections-1" data-sections="tabs">
//    <dt class="item title active" data-section="title">
//        <a class="switch" data-toggle="switch" href="#product.info.description">Details</a>
//    </dt>
//    <dd class="item content active" data-section="content">
//        <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
//    </dd>
//
//    <dt class="item title" data-section="title">
//        <a class="switch" data-toggle="switch" href="#product_tags">Tags</a>
//    </dt>
//    <dd class="item content" data-section="content">
//        <p>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
//    </dd>
//
//    <dt class="item title" data-section="title">
//        <a class="switch" data-toggle="switch" href="#product_reviews">Reviews</a>
//    </dt>
//    <dd class="item content" data-section="content">
//        <p>It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
//    </dd>
//  </dl>
//  ```

.example-sections-1 {
    .lib-data-tabs();
}

//  # Tabs mixin variables
//
//  <pre>
//    <table>
//        <tr>
//            <th class="vars_head">Mixin variable</th>
//            <th class="vars_head">Global variable</th>
//            <th class="vars_head">Default value</th>
//            <th class="vars_head">Allowed values</th>
//            <th class="vars_head">Comment</th>
//        </tr>
//        <tr>
//            <th>@_tab-control-font-family</th>
//            <td>@tab-control__font-family</td>
//            <td class="vars_value">false</td>
//            <td class="vars_value" nowrap>'' | false | value</td>
//            <td>Tabs font family</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-font-size</th>
//            <td>@tab-control__font-size</td>
//            <td class="vars_value">@font-size__base</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tabs font size</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-font-weight</th>
//            <td>@tab-control__font-weight</td>
//            <td class="vars_value">@font-weight__semibold</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tabs font weight</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-font-style</th>
//            <td>@tab-control__font-style</td>
//            <td class="vars_value">false</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tabs font style</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-line-height</th>
//            <td>@tab-control__line-height</td>
//            <td class="vars_value">@tab-control__height</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tabs line height</td>
//        </tr>
//        <tr>
//            <th colspan="5" class="vars_section">Tabs controls settings</th>
//        </tr>
//        <tr>
//            <th>@_tab-control-background-color</th>
//            <td>@tab-control__background-color</td>
//            <td class="vars_value">@panel__background-color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Current tab background</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-color</th>
//            <td>@tab-control__color</td>
//            <td class="vars_value">@link__color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Current tab text color</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-text-decoration</th>
//            <td>@tab-control__text-decoration</td>
//            <td class="vars_value">none</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Current tab text-decoration</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-background-color-hover</th>
//            <td>@tab-control__hover__background-color</td>
//            <td class="vars_value">lighten(@tab-control__background-color, 5%)</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Hovered tab background</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-color-visited</th>
//            <td>@tab-control__color</td>
//            <td class="vars_value">@text__color__muted</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Visited tab color</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-text-decoration-visited</th>
//            <td>@tab-control__color</td>
//            <td class="vars_value"></td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Visited tab text-decoration</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-color-hover</th>
//            <td>@tab-control__hover__color</td>
//            <td class="vars_value">@tab-control__color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Hovered tab text color</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-text-decoration-hover</th>
//            <td>@tab-control__text-decoration</td>
//            <td class="vars_value">@tab-control__text-decoration</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Hovered tab text-decoration</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-background-color-active</th>
//            <td>@tab-control__active__background-color</td>
//            <td class="vars_value">lighten(@tab-control__background-color, 15%)</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Active tab background</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-color-active</th>
//            <td>@tab-control__active__color</td>
//            <td class="vars_value">@text__color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Active tab text color</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-text-decoration-active</th>
//            <td>@tab-control__text-decoration</td>
//            <td class="vars_value">@tab-control__text-decoration</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Active tab text-decoration</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-height</th>
//            <td>@tab-control__height</td>
//            <td class="vars_value">@indent__l</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Height of tab control</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-margin-right</th>
//            <td>@tab-control__margin-right</td>
//            <td class="vars_value">@indent__xs</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Right margin of tab title block</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-padding-top</th>
//            <td>@tab-control__padding-top</td>
//            <td class="vars_value">@indent__xs</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab control padding top</td>
//        </tr>
//        <tr>
//            <th nowrap="nowrap">@_tab-control-padding-right</th>
//            <td>@tab-control__padding-right</td>
//            <td class="vars_value">@indent__base</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab control padding right</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-padding-bottom</th>
//            <td>@tab-control__padding-bottom</td>
//            <td class="vars_value">@tab-control__padding-bottom</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab control padding bottom</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-padding-left</th>
//            <td>@tab-control__padding-left</td>
//            <td class="vars_value">@tab-control__padding-left</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab control padding left</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-border-width</th>
//            <td>@tab-control__border-width</td>
//            <td class="vars_value">@border-width__base</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab control border width</td>
//        </tr>
//        <tr>
//            <th>@_tab-control-border-color</th>
//            <td>@tab-control__border-color</td>
//            <td class="vars_value">@border-color__base</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab control border color</td>
//        </tr>
//        <tr>
//            <th colspan="5" class="vars_section">Tab content settings</th>
//        </tr>
//        <tr>
//            <th>@_tab-content-background-color</th>
//            <td>@tab-content__background-color</td>
//            <td class="vars_value">@tab-control__active__background-color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab content background</td>
//        </tr>
//        <tr>
//            <th>@_tab-content-border-top-status</th>
//            <td>@tab-content__border-top-status</td>
//            <td class="vars_value">false</td>
//            <td class="vars_value">true | false</td>
//            <td>Tab content border top status. When set to 'true' the content has only top border. When set to 'false' the content has all 4 borders</td>
//        </tr>
//        <tr>
//            <th>@_tab-content-border</th>
//            <td>@tab-content__border</td>
//            <td class="vars_value">@tab-control__border-width solid @tab-control__border-color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab content border</td>
//        </tr>
//        <tr>
//            <th>@_tab-content-margin-top</th>
//            <td>@tab-content__margin-top</td>
//            <td class="vars_value">@tab-control__height + @tab-control__border-width + @tab-control__padding-top + @tab-control__padding-bottom</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab content top margin (it is the sum of tabs height and top border width)</td>
//        </tr>
//        <tr>
//            <th>@_tab-content-padding-top</th>
//            <td>@tab-content__padding-top</td>
//            <td class="vars_value">@indent__base</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab content padding</td>
//        </tr>
//        <tr>
//            <th>@_tab-content-padding-right</th>
//            <td>@tab-content__padding-right</td>
//            <td class="vars_value">@indent__base</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab content padding</td>
//        </tr>
//        <tr>
//            <th>@_tab-content-padding-bottom</th>
//            <td>@tab-content__padding-bottom</td>
//            <td class="vars_value">@tab-content__padding-top</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab content padding</td>
//        </tr>
//        <tr>
//            <th>@_tab-content-padding-left</th>
//            <td>@tab-content__padding-left</td>
//            <td class="vars_value">@tab-content__padding-right</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Tab content padding</td>
//        </tr>
//    </table>
//  </pre>
//
//  # Tabs with content top border
//
//  To set up tabs with only top content border use variable:
//  ```css
//  @_tab-content-border: true
//  ```
//
//  ```html
//  <dl class="example-sections-2" data-sections="tabs">
//    <dt class="item title active" data-section="title">
//        <a class="switch" data-toggle="switch" href="#product.info.description">Details</a>
//    </dt>
//    <dd class="item content active" data-section="content">
//        <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
//    </dd>
//
//    <dt class="item title" data-section="title">
//        <a class="switch" data-toggle="switch" href="#product_tags">Tags</a>
//    </dt>
//    <dd class="item content" data-section="content">
//        <p>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
//    </dd>
//
//    <dt class="item title" data-section="title">
//        <a class="switch" data-toggle="switch" href="#product_reviews">Reviews</a>
//    </dt>
//    <dd class="item content" data-section="content">
//        <p>It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
//    </dd>
//  </dl>
//  ```

.example-sections-2 {
    .lib-data-tabs(
        @_tab-content-border-top-status: true
    );
}

//  # Accordion
//
//  The <code>.lib-data-accordion()</code> mixin is used to setup accordion parameters. Accordion has the same markup as tabs.
//
//  ```html
//  <dl class="example-sections-3" data-sections="tabs">
//    <dt class="item title active" data-section="title">
//        <a class="switch" data-toggle="switch" href="#product.info.description">Details</a>
//    </dt>
//    <dd class="item content active" data-section="content">
//        <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
//    </dd>
//    <dt class="item title" data-section="title">
//        <a class="switch" data-toggle="switch" href="#product_tags">Tags</a>
//    </dt>
//    <dd class="item content" data-section="content">
//        <p>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
//    </dd>
//
//    <dt class="item title" data-section="title">
//        <a class="switch" data-toggle="switch" href="#product_reviews">Reviews</a>
//    </dt>
//    <dd class="item content" data-section="content">
//        <p>It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
//    </dd>
//  </dl>
//  ```

.example-sections-3 {
    .lib-data-accordion();
}

//  # Accordion mixin variables
//
//  <pre>
//    <table>
//        <tr>
//            <th class="vars_head">Mixin variable</th>
//            <th class="vars_head">Global variable</th>
//            <th class="vars_head">Default value</th>
//            <th class="vars_head">Allowed values</th>
//            <th class="vars_head">Comment</th>
//        </tr>
//        <tr>
//            <th>@_accordion-control-font-family</th>
//            <td>@accordion-control__font-family</td>
//            <td class="vars_value">@tab-control__font-family</td>
//            <td class="vars_value" nowrap>'' | false | value</td>
//            <td>Accordion font family</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-font-size</th>
//            <td>@accordion-control__font-size</td>
//            <td class="vars_value">@font-size__l</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion font size</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-font-style</th>
//            <td>@accordion-control__font-style</td>
//            <td class="vars_value">@tab-control__font-style</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion font style</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-font-weight</th>
//            <td>@accordion-control__font-weight</td>
//            <td class="vars_value">@tab-control__font-weight</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion font weight</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-line-height</th>
//            <td>@accordion-control__line-height</td>
//            <td class="vars_value">@accordion-control__height</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion line height</td>
//        </tr>
//        <tr>
//            <th colspan="5" class="vars_section">Accordion tabs controls settings</th>
//        </tr>
//        <tr>
//            <th>@_accordion-control-border-top</th>
//            <td>@accordion-control__border-top</td>
//            <td class="vars_value">@tab-control__border-width solid @tab-control__border-color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion control border</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-border-right</th>
//            <td>@accordion-control__border-right</td>
//            <td class="vars_value">@tab-control__border-width solid @tab-control__border-color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion control border</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-border-bottom</th>
//            <td>@accordion-control__border-bottom</td>
//            <td class="vars_value">@tab-control__border-width solid @tab-control__border-color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion control border</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-border-left</th>
//            <td>@accordion-control__border-left</td>
//            <td class="vars_value">@tab-control__border-width solid @tab-control__border-color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion control border</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-background-color</th>
//            <td>@accordion-control__background-color</td>
//            <td class="vars_value">@tab-control__background-color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion control background</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-color</th>
//            <td>@accordion-control__color</td>
//            <td class="vars_value">@tab-control__color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion control color</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-text-decoration</th>
//            <td>@accordion-control__text-decoration</td>
//            <td class="vars_value">@tab-control__text-decoration</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion control text decoration</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-color-visited</th>
//            <td>@accordion-control__color</td>
//            <td class="vars_value">@accordion-control__color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion control visited link color</td>
//        </tr>
//        <tr>
//            <th nowrap="nowrap">@_accordion-control-text-decoration-visited</th>
//            <td>@accordion-control__text-decoration</td>
//            <td class="vars_value">@accordion-control__text-decoration</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion control visited link text-decoration</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-background-color-hover</th>
//            <td>@accordion-control__hover__background-color</td>
//            <td class="vars_value">@tab-control__hover__background-color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Hovered accordion control background</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-color-hover</th>
//            <td>@accordion-control__hover__color</td>
//            <td class="vars_value">@tab-control__hover__color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Hovered accordion control text color</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-text-decoration-hover</th>
//            <td>@accordion-control__hover__text-decoration</td>
//            <td class="vars_value">@tab-control__hover__text-decoration</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Hovered accordion control text-decoration</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-background-color-active</th>
//            <td>@accordion-control__active__background-color</td>
//            <td class="vars_value">@tab-control__active__background-color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Active accordion control background</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-color-active</th>
//            <td>@accordion-control__active__color</td>
//            <td class="vars_value">@tab-control__active__color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Active accordion control text color</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-text-decoration-active</th>
//            <td>@accordion-control__active__text-decoration</td>
//            <td class="vars_value">@tab-control__active__text-decoration</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Active accordion control text-decoration</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-height</th>
//            <td>@accordion-control__height</td>
//            <td class="vars_value">@indent__xl</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Height of accordion control</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-margin-bottom</th>
//            <td>@accordion-control__margin-bottom</td>
//            <td class="vars_value">@indent__xs</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Bottom margin of the accordion control</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-padding-top</th>
//            <td>@accordion-control__padding-top</td>
//            <td class="vars_value">@tab-control__padding-top</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion tab control padding top</td>
//        </tr>
//        <tr>
//            <th nowrap="nowrap">@_accordion-control-padding-right</th>
//            <td>@accordion-control__padding-right</td>
//            <td class="vars_value">@indent__base</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion tab control padding right</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-padding-bottom</th>
//            <td>@accordion-control__padding-bottom</td>
//            <td class="vars_value">@tab-control__padding-bottom</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion tab control padding bottom</td>
//        </tr>
//        <tr>
//            <th>@_accordion-control-padding-left</th>
//            <td>@accordion-control__padding-left</td>
//            <td class="vars_value">@accordion-control__padding-right</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion tab control padding left</td>
//        </tr>
//        <tr>
//            <th colspan="5" class="vars_section">Accordion content settings</th>
//        </tr>
//        <tr>
//            <th>@_accordion-content-background-color</th>
//            <td>@accordion-content__background-color</td>
//            <td class="vars_value">@tab-control__active__background-color</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion tab content background</td>
//        </tr>
//        <tr>
//            <th>@_accordion-content-border</th>
//            <td>@accordion-content__border</td>
//            <td class="vars_value">@tab-content__border</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion tab content border</td>
//        </tr>
//        <tr>
//            <th>@_accordion-content-margin</th>
//            <td>@accordion-content__margin</td>
//            <td class="vars_value">0 0 @indent__xs</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion tab content margin</td>
//        </tr>
//        <tr>
//            <th>@_accordion-content-padding</th>
//            <td>@accordion-content__padding</td>
//            <td class="vars_value">@tab-content__padding-top @tab-content__padding-right @tab-content__padding-bottom @tab-content__padding-left</td>
//            <td class="vars_value">'' | false | value</td>
//            <td>Accordion tab content padding</td>
//        </tr>
//    </table>
//  </pre>

//  # Responsive tabs
//
//  Since tabs and accordion have same markup, they can transform one into other by means of CSS and JavaScript. This can be used for responsive web design. For instance, for mobile version there is an accordion, for desktop version it is transformed to tabs. To implement this approach, use the  <code>.lib-data-accordion()</code> mixin for mobile version, and the <code>.lib-data-tabs()</code> mixin for desktop version.
//
//  ```html
//  <dl class="example-sections-4" data-sections="tabs">
//    <dt class="item title active" data-section="title">
//        <a class="switch" data-toggle="switch" href="#product.info.description">Details</a>
//    </dt>
//    <dd class="item content active" data-section="content">
//        <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
//    </dd>
//    <dt class="item title" data-section="title">
//        <a class="switch" data-toggle="switch" href="#product_tags">Tags</a>
//    </dt>
//    <dd class="item content" data-section="content">
//        <p>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
//    </dd>
//
//    <dt class="item title" data-section="title">
//        <a class="switch" data-toggle="switch" href="#product_reviews">Reviews</a>
//    </dt>
//    <dd class="item content" data-section="content">
//        <p>It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
//    </dd>
//  </dl>
//  ```

@media only screen and (max-width: 99999px) {
    .example-sections-4 {
        .lib-data-tabs();
    }
}

@media only screen and (max-width: @screen__m) {
    .example-sections-4 {
        .lib-data-accordion();
    }
}

//  # Tabs Base
//
//  The <code>.lib-data-tabs__base()</code> mixin sets basic tabs styles.
//
//  ```html
//  <dl class="example-sections-5" data-sections="tabs">
//    <dt class="item title active" data-section="title">
//        <a class="switch" data-toggle="switch" href="#">Details</a>
//    </dt>
//    <dd class="item content active" data-section="content">
//        <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
//    </dd>
//
//    <dt class="item title" data-section="title">
//        <a class="switch" data-toggle="switch" href="#">Tags</a>
//    </dt>
//    <dd class="item content" data-section="content">
//        <p>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
//    </dd>
//
//    <dt class="item title" data-section="title">
//        <a class="switch" data-toggle="switch" href="#">Reviews</a>
//    </dt>
//    <dd class="item content" data-section="content">
//        <p>It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
//    </dd>
//  </dl>
//  ```

.example-sections-5 {
    .lib-data-tabs__base();
}

//  # Accordion Base
//
//  The <code>.lib-data-accordion__base()</code> mixin sets basic accordion styles.
//  Data accordion uses the same markup as data tabs.
//
//  ```html
//  <dl class="example-sections-6" data-sections="tabs">
//    <dt class="item title active" data-section="title">
//        <a class="switch" data-toggle="switch" href="#">Details</a>
//    </dt>
//    <dd class="item content active" data-section="content">
//        <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
//    </dd>
//    <dt class="item title" data-section="title">
//        <a class="switch" data-toggle="switch" href="#">Tags</a>
//    </dt>
//    <dd class="item content" data-section="content">
//        <p>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
//    </dd>
//
//    <dt class="item title" data-section="title">
//        <a class="switch" data-toggle="switch" href="#">Reviews</a>
//    </dt>
//    <dd class="item content" data-section="content">
//        <p>It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
//    </dd>
//  </dl>
//  ```

.example-sections-6 {
    .lib-data-accordion__base();
}