tabs.css
Same filename in this branch
- 8.9.x core/profiles/demo_umami/themes/umami/css/components/navigation/tabs/tabs.css
- 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/tabs.css
- 8.9.x core/themes/seven/css/components/tabs.css
- 8.9.x core/themes/seven/css/classy/components/tabs.css
- 8.9.x core/themes/claro/css/components/tabs.css
- 8.9.x core/themes/bartik/css/classy/components/tabs.css
- 8.9.x core/themes/classy/css/components/tabs.css
- 8.9.x core/assets/vendor/jquery.ui/themes/base/tabs.css
Same filename and directory in other branches
- 9 core/profiles/demo_umami/themes/umami/css/components/navigation/tabs/tabs.css
- 9 core/profiles/demo_umami/themes/umami/css/components/regions/tabs/tabs.css
- 9 core/profiles/demo_umami/themes/umami/css/classy/components/tabs.css
- 9 core/themes/olivero/css/components/tabs.css
- 9 core/themes/seven/css/components/tabs.css
- 9 core/themes/seven/css/classy/components/tabs.css
- 9 core/themes/claro/css/components/tabs.css
- 9 core/themes/bartik/css/components/tabs.css
- 9 core/themes/bartik/css/classy/components/tabs.css
- 9 core/themes/starterkit_theme/css/components/tabs.css
- 9 core/themes/classy/css/components/tabs.css
- 10 core/profiles/demo_umami/themes/umami/css/components/navigation/tabs/tabs.css
- 10 core/profiles/demo_umami/themes/umami/css/components/regions/tabs/tabs.css
- 10 core/themes/olivero/css/components/tabs.css
- 10 core/themes/claro/css/components/tabs.css
- 10 core/themes/starterkit_theme/css/components/tabs.css
- 11.x core/profiles/demo_umami/themes/umami/css/components/navigation/tabs/tabs.css
- 11.x core/profiles/demo_umami/themes/umami/css/components/regions/tabs/tabs.css
- 11.x core/themes/olivero/css/components/tabs.css
- 11.x core/themes/claro/css/components/tabs.css
- 11.x core/themes/starterkit_theme/css/components/tabs.css
/* --------------- System Tabs --------------- */ div.tabs { margin-bottom: 20px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } .tabs ul.primary { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } .tabs ul.primary li a { display: block; height: 1.8em; padding: 0 10px 3px; color: #000; border-width: 1px; border-style: solid solid none solid; border-color: #bbb; background-color: #ededed; text-shadow: 0 1px 0 #fff; font-size: 0.929em; line-height: 1.9; } .tabs ul.primary li.is-active a { border: 1px solid #bbb; background-color: #fff; } @media screen and (max-width: 37.5em) { /* 600px */ .tabs ul.primary { border-bottom: 1px solid #bbb; } .tabs ul.primary li { display: block; margin: 0; } .tabs ul.primary li a { padding: 5px 10px; } .tabs ul.primary li.is-active a { border-bottom: none; } } @media screen and (min-width: 37.5em) { /* 600px */ .tabs ul.primary { overflow: hidden; height: auto; margin: 0; padding: 0 3px; white-space: nowrap; border: none; border-collapse: collapse; background: transparent url(../../images/tabs-border.png) repeat-x left bottom; line-height: normal; } .tabs ul.primary li { display: block; float: left; /* LTR */ margin: 0 5px 0 0; /* LTR */ vertical-align: bottom; } [dir="rtl"] .tabs ul.primary li { float: right; margin: 0 0 0 5px; } .tabs ul.primary li a { float: left; /* not LTR */ border-top-left-radius: 6px; border-top-right-radius: 6px; } .tabs ul.primary li.is-active a { border-bottom: 1px solid #fff; } } .tabs ul.secondary { overflow: hidden; margin: 5px; padding: 0.5em 0; border-bottom: none; } .tabs ul.secondary li { display: block; float: left; /* LTR */ margin: 0; padding: 0 1em; border-right: 1px solid #ccc; /* LTR */ } [dir="rtl"] .tabs ul.secondary li { float: right; border-right: none; border-left: 1px solid #ccc; } .tabs ul.secondary li:last-child { border-right: none; /* LTR */ } [dir="rtl"] .tabs ul.secondary li:last-child { border-left: none; } .tabs ul.secondary li:first-child { padding-left: 0; /* LTR */ } [dir="rtl"] .tabs ul.secondary li:first-child { padding-right: 0; } .tabs ul.secondary li a { display: inline; padding: 0.25em 0.5em; text-decoration: none; } .tabs ul.secondary li a.is-active { border-bottom: none; border-radius: 5px; background: #f2f2f2; }
File
-
core/
themes/ bartik/ css/ components/ tabs.css
View source
- /* --------------- System Tabs --------------- */
-
- div.tabs {
- margin-bottom: 20px;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- }
- .tabs ul.primary {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- }
- .tabs ul.primary li a {
- display: block;
- height: 1.8em;
- padding: 0 10px 3px;
- color: #000;
- border-width: 1px;
- border-style: solid solid none solid;
- border-color: #bbb;
- background-color: #ededed;
- text-shadow: 0 1px 0 #fff;
- font-size: 0.929em;
- line-height: 1.9;
- }
- .tabs ul.primary li.is-active a {
- border: 1px solid #bbb;
- background-color: #fff;
- }
-
- @media screen and (max-width: 37.5em) { /* 600px */
- .tabs ul.primary {
- border-bottom: 1px solid #bbb;
- }
- .tabs ul.primary li {
- display: block;
- margin: 0;
- }
- .tabs ul.primary li a {
- padding: 5px 10px;
- }
- .tabs ul.primary li.is-active a {
- border-bottom: none;
- }
- }
-
- @media screen and (min-width: 37.5em) { /* 600px */
- .tabs ul.primary {
- overflow: hidden;
- height: auto;
- margin: 0;
- padding: 0 3px;
- white-space: nowrap;
- border: none;
- border-collapse: collapse;
- background: transparent url(../../images/tabs-border.png) repeat-x left bottom;
- line-height: normal;
- }
- .tabs ul.primary li {
- display: block;
- float: left; /* LTR */
- margin: 0 5px 0 0; /* LTR */
- vertical-align: bottom;
- }
- [dir="rtl"] .tabs ul.primary li {
- float: right;
- margin: 0 0 0 5px;
- }
- .tabs ul.primary li a {
- float: left; /* not LTR */
- border-top-left-radius: 6px;
- border-top-right-radius: 6px;
- }
- .tabs ul.primary li.is-active a {
- border-bottom: 1px solid #fff;
- }
- }
- .tabs ul.secondary {
- overflow: hidden;
- margin: 5px;
- padding: 0.5em 0;
- border-bottom: none;
- }
- .tabs ul.secondary li {
- display: block;
- float: left; /* LTR */
- margin: 0;
- padding: 0 1em;
- border-right: 1px solid #ccc; /* LTR */
- }
- [dir="rtl"] .tabs ul.secondary li {
- float: right;
- border-right: none;
- border-left: 1px solid #ccc;
- }
- .tabs ul.secondary li:last-child {
- border-right: none; /* LTR */
- }
- [dir="rtl"] .tabs ul.secondary li:last-child {
- border-left: none;
- }
- .tabs ul.secondary li:first-child {
- padding-left: 0; /* LTR */
- }
- [dir="rtl"] .tabs ul.secondary li:first-child {
- padding-right: 0;
- }
- .tabs ul.secondary li a {
- display: inline;
- padding: 0.25em 0.5em;
- text-decoration: none;
- }
- .tabs ul.secondary li a.is-active {
- border-bottom: none;
- border-radius: 5px;
- background: #f2f2f2;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.