tabs.css

Same filename in this branch
  1. 8.9.x core/profiles/demo_umami/themes/umami/css/components/navigation/tabs/tabs.css
  2. 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/tabs.css
  3. 8.9.x core/themes/seven/css/classy/components/tabs.css
  4. 8.9.x core/themes/claro/css/components/tabs.css
  5. 8.9.x core/themes/bartik/css/components/tabs.css
  6. 8.9.x core/themes/bartik/css/classy/components/tabs.css
  7. 8.9.x core/themes/classy/css/components/tabs.css
  8. 8.9.x core/assets/vendor/jquery.ui/themes/base/tabs.css
Same filename and directory in other branches
  1. 9 core/profiles/demo_umami/themes/umami/css/components/navigation/tabs/tabs.css
  2. 9 core/profiles/demo_umami/themes/umami/css/components/regions/tabs/tabs.css
  3. 9 core/profiles/demo_umami/themes/umami/css/classy/components/tabs.css
  4. 9 core/themes/olivero/css/components/tabs.css
  5. 9 core/themes/seven/css/components/tabs.css
  6. 9 core/themes/seven/css/classy/components/tabs.css
  7. 9 core/themes/claro/css/components/tabs.css
  8. 9 core/themes/bartik/css/components/tabs.css
  9. 9 core/themes/bartik/css/classy/components/tabs.css
  10. 9 core/themes/starterkit_theme/css/components/tabs.css
  11. 9 core/themes/classy/css/components/tabs.css
  12. 10 core/profiles/demo_umami/themes/umami/css/components/navigation/tabs/tabs.css
  13. 10 core/profiles/demo_umami/themes/umami/css/components/regions/tabs/tabs.css
  14. 10 core/themes/olivero/css/components/tabs.css
  15. 10 core/themes/claro/css/components/tabs.css
  16. 10 core/themes/starterkit_theme/css/components/tabs.css
  17. 11.x core/profiles/demo_umami/themes/umami/css/components/navigation/tabs/tabs.css
  18. 11.x core/profiles/demo_umami/themes/umami/css/components/regions/tabs/tabs.css
  19. 11.x core/themes/olivero/css/components/tabs.css
  20. 11.x core/themes/claro/css/components/tabs.css
  21. 11.x core/themes/starterkit_theme/css/components/tabs.css
/**
 * Tabs.
 */
.is-collapse-enabled .tabs,
.is-horizontal .tabs {
  position: relative;
}
.is-collapse-enabled .tabs:before,
.is-horizontal .tabs:before {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 1px;
  content: "";
  background-color: #a6a6a6;
}

/* Span the full width of the viewport */
.content-header .is-horizontal .tabs:before,
.content-header .is-collapse-enabled .tabs:before {
  right: -2.5em;
  left: -2.5em;
}

/**
 * Tab
 *
 * 1. Required by some elements such as <button>
 * 2. Fixed height needed to ensure alignment with absolutely-positioned
 *    active tab.
 */
.tabs__tab {
  position: relative;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;  /* 1 */
  margin: -1px 0 0;
  padding: 9px 2em 7px 1em; /* LTR */
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #0074bd;
  border: 1px solid #bfbfbf;
  background-color: rgba(242, 242, 240, 0.7);
}
[dir="rtl"] .tabs__tab {
  padding-right: 1em;
  padding-left: 2em;
}
.tabs__tab:hover,
.tabs__tab:focus {
  color: #008ee6;
  background-color: #fafaf7;
}
li.tabs__tab {
  display: block;
  padding: 0;
}
/* This is required to win over specificity of [dir="rtl"] .tabs__tab */
[dir="rtl"] li.tabs__tab {
  padding-right: 0;
  padding-left: 0;
}
li.tabs__tab a {
  padding: 9px 2em 7px 1em; /* LTR */
}
[dir="rtl"] li.tabs__tab a {
  padding-right: 1em;
  padding-left: 2em;
}
.tabs a:hover,
.tabs a:focus {
  text-decoration: none;
}

/* Primary tabs */
.tabs.primary {
  clear: both;
  margin: 16px 0 0;
  margin: 1rem 0 0;
}
.tabs.primary .tabs__tab.is-active {
  z-index: 15;
  color: #004f80;
  border-color: #a6a6a6;
  border-radius: 4px 0 0 0; /* LTR */
  background-color: #fff;
}
[dir="rtl"] .tabs.primary .tabs__tab.is-active {
  border-top-left-radius: 0;
  border-top-right-radius: 4px;
}
.tabs.primary a {
  background: none;
}
.tabs.primary a:focus {
  text-decoration: underline;
  color: #008ee6;
  background-color: #fafaf7;
}
.tabs.primary .is-active a:focus {
  text-decoration: underline;
  background: none;
}

/* Only add the arrow if there's space */
@media screen and (min-width: 18.75em) { /* 300px */
  .tabs.primary a {
    background: url(../../../../misc/icons/0074bd/chevron-right.svg) 99% center no-repeat;
  }
  [dir="rtl"] .tabs.primary a {
    background: url(../../../../misc/icons/0074bd/chevron-left.svg) 1% center no-repeat;
  }
  .tabs.primary .tabs__tab.is-active a {
    background-image: none;
  }
}
.tabs__trigger {
  display: none;
}

/* JS dependent styling */
.is-collapse-enabled .tabs__trigger {
  position: absolute;
  z-index: 10;
  top: 2px;
  right: 0; /* LTR */
  left: auto; /* LTR */
  display: block;
  box-sizing: content-box;
  width: 25%;
  padding-right: 4px;
  padding-left: 4px;
  text-align: center;
  letter-spacing: 0.1em;
  border-left: 0; /* LTR */
  border-radius: 0 4px 0 0; /* LTR */
  outline: 0;
  font-family: Arial, sans-serif;
  font-size: 1.25em;
}
[dir="rtl"] .is-collapse-enabled .tabs__trigger {
  right: auto;
  left: 0;
  border-right: 0;
  border-left: 1px solid #bfbfbf;
  border-radius: 4px 0 0 0;
}
.is-collapse-enabled .tabs {
  max-height: 0;
  padding-top: 38px;
}
.tabs.is-open {
  max-height: 999em;
  padding-bottom: 16px;
  padding-bottom: 1rem;
}
.is-collapse-enabled .tabs__tab.is-active {
  position: absolute;
  top: 2px;
  left: 0; /* LTR */
  width: 75%;
  border-bottom: 0;
}
[dir="rtl"] .is-collapse-enabled .tabs__tab.is-active {
  right: 0;
  left: auto;
}
.is-collapse-enabled .tabs.primary a.is-active:before {
  content: none;
}
.is-open .tabs__tab.is-active {
  color: #004f80;
  border-color: #a6a6a6;
  border-bottom: 1px solid #a6a6a6;
  background-color: #fff;
}

/* Styles for the horizontal state always take priority */
.is-horizontal .tabs {
  overflow: visible;
  max-height: none !important;
  padding-top: 0 !important;
}
.is-horizontal .tabs__tab {
  float: left; /* LTR */
  width: auto;
  height: auto;
  margin: 0 0 -1px;
  text-align: center;
  border-bottom-color: #a6a6a6;
}
[dir="rtl"] .is-horizontal .tabs__tab {
  float: right;
  /* This is required to win over specificity of [dir="rtl"] .tabs > li */
  margin-left: 0;
}
.is-horizontal .tabs__tab + .tabs__tab {
  margin-left: -1px; /* LTR */
}
[dir="rtl"] .is-horizontal .tabs__tab + .tabs__tab {
  margin-right: -1px;
  margin-left: 0;
}
.is-horizontal .tabs.primary .tabs__tab:first-child {
  border-radius: 4px 0 0 0; /* LTR */
}
[dir="rtl"] .is-horizontal .tabs.primary .tabs__tab:first-child {
  border-radius: 0 4px 0 0;
}
.is-horizontal .tabs.primary .tabs__tab:last-child {
  border-radius: 0 4px 0 0; /* LTR */
}
[dir="rtl"] .is-horizontal .tabs.primary .tabs__tab:last-child {
  border-radius: 4px 0 0 0;
}

/* Override the states above */
.is-horizontal .tabs__tab.is-active,
.is-horizontal .tabs.primary .tabs__tab.is-active,
[dir="rtl"] .is-horizontal .tabs.primary .tabs__tab.is-active {
  position: relative;
  top: 0;
  width: auto;
  margin: 0 -4px;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}
.is-horizontal .tabs.primary a {
  padding: 7px 2em 7px 2em;
  background-image: none;
}
.is-horizontal .tabs__trigger {
  display: none;
}

/* Secondary tabs */
.tabs.secondary {
  display: block;
  margin-top: 16px;
  margin-top: 1rem;
}
.tabs.secondary .tabs__tab {
  display: block;
  margin-left: -1px; /* LTR */
  padding: 5px 15px 5px 16px; /* LTR */
  -webkit-transition: border-color 0.2s, background-color 0.2s;
  transition: border-color 0.2s, background-color 0.2s;
  color: #0074bd;
}
[dir="rtl"] .tabs.secondary .tabs__tab {
  margin-right: -1px;
  margin-left: 0;
  padding-right: 16px;
  padding-left: 15px;
}
/* This is required to win over specificity of [dir="rtl"] .tabs.secondary .tabs__tab */
[dir="rtl"] .views-displays .tabs.secondary li,
[dir="rtl"] .views-displays .tabs.secondary li.is-active {
  padding-right: 0;
  padding-left: 0;
}
.tabs.secondary .tabs__tab + .tabs__tab {
  border-top: 1px solid #d9d8d4;
}
.tabs.secondary .tabs__tab.is-active {
  padding-left: 15px; /* LTR */
  color: #004f80;
  border-left: 2px solid #004f80; /* LTR */
}
[dir="rtl"] .tabs.secondary .tabs__tab.is-active {
  padding-right: 15px;
  border-right: 2px solid #004f80;
  border-left: 1px solid #bfbfbf;
}
/* This is required to win over specificity of [dir="rtl"] .tabs.secondary .tabs__tab.is-active */
[dir="rtl"] .views-displays .tabs.secondary li.is-active {
  padding-right: 0;
  border: 0 none;
}
.tabs.secondary .tabs__tab:hover,
.tabs.secondary .tabs__tab:focus {
  padding-left: 15px; /* LTR */
  color: #008ee6;
  border-left: 2px solid #008ee6; /* LTR */
}
[dir="rtl"] .tabs.secondary .tabs__tab:hover,
[dir="rtl"] .tabs.secondary .tabs__tab:focus {
  padding-right: 15px;
  border-right: 2px solid #008ee6;
  border-left: 1px solid #bfbfbf;
}
/* This is required to win over specificity of [dir="rtl"] .tabs.secondary .tabs__tab:hover */
[dir="rtl"] .views-displays .tabs li.tabs__tab:hover {
  padding-right: 0;
  border: 0 none;
}
.tabs.secondary a {
  padding: 7px 13px 5px;
  text-decoration: none;
  background-color: transparent;
}
/* This is required to win over specificity of [dir="rtl"] li.tabs__tab a */
[dir="rtl"] .tabs.secondary a {
  padding-right: 13px;
  padding-left: 13px;
}
/* This is required to win over specificity of [dir="rtl"] .tabs.secondary a */
[dir="rtl"] .views-displays .tabs.secondary a {
  padding-right: 7px;
  padding-left: 7px;
}
.tabs.secondary .is-active a {
  color: #004f80;
}
.tabs.secondary a:focus {
  text-decoration: underline;
}

/* Styles for the horizontal state */
.is-horizontal .tabs.secondary .tabs__tab {
  position: relative;
  z-index: 15;
  top: 0;
  float: left; /* LTR */
  margin-right: 1em;
  margin-left: 1em;
  padding: 0;
  border-top: 0;
  border-right-color: transparent; /* LTR */
  border-bottom: 2px solid transparent;
  border-left: 1px solid transparent; /* LTR */
  background: none;
}
/**
 * 1. This is required to win over specificity of
 *      [dir="rtl"] .tabs.secondary .tabs__tab:hover,
 *      [dir="rtl"] .tabs.secondary .tabs__tab:focus
 */
[dir="rtl"] .is-horizontal .tabs.secondary .tabs__tab {
  float: right;
  padding-right: 0; /* 1 */
  border-right: 1px solid transparent;
  border-left-color: transparent;
}
.is-horizontal .tabs.secondary .tabs__tab.is-active {
  border-bottom-color: #004f80;
}
.is-horizontal .tabs.secondary .tabs__tab:hover,
.is-horizontal .tabs.secondary .tabs__tab:focus {
  border-bottom-color: #008ee6;
}

File

core/themes/seven/css/components/tabs.css

View source
  1. /**
  2. * Tabs.
  3. */
  4. .is-collapse-enabled .tabs,
  5. .is-horizontal .tabs {
  6. position: relative;
  7. }
  8. .is-collapse-enabled .tabs:before,
  9. .is-horizontal .tabs:before {
  10. position: absolute;
  11. z-index: 10;
  12. right: 0;
  13. bottom: 0;
  14. left: 0;
  15. display: block;
  16. height: 1px;
  17. content: "";
  18. background-color: #a6a6a6;
  19. }
  20. /* Span the full width of the viewport */
  21. .content-header .is-horizontal .tabs:before,
  22. .content-header .is-collapse-enabled .tabs:before {
  23. right: -2.5em;
  24. left: -2.5em;
  25. }
  26. /**
  27. * Tab
  28. *
  29. * 1. Required by some elements such as
  30. * 2. Fixed height needed to ensure alignment with absolutely-positioned
  31. * active tab.
  32. */
  33. .tabs__tab {
  34. position: relative;
  35. display: block;
  36. overflow: hidden;
  37. box-sizing: border-box;
  38. width: 100%; /* 1 */
  39. margin: -1px 0 0;
  40. padding: 9px 2em 7px 1em; /* LTR */
  41. white-space: nowrap;
  42. text-overflow: ellipsis;
  43. color: #0074bd;
  44. border: 1px solid #bfbfbf;
  45. background-color: rgba(242, 242, 240, 0.7);
  46. }
  47. [dir="rtl"] .tabs__tab {
  48. padding-right: 1em;
  49. padding-left: 2em;
  50. }
  51. .tabs__tab:hover,
  52. .tabs__tab:focus {
  53. color: #008ee6;
  54. background-color: #fafaf7;
  55. }
  56. li.tabs__tab {
  57. display: block;
  58. padding: 0;
  59. }
  60. /* This is required to win over specificity of [dir="rtl"] .tabs__tab */
  61. [dir="rtl"] li.tabs__tab {
  62. padding-right: 0;
  63. padding-left: 0;
  64. }
  65. li.tabs__tab a {
  66. padding: 9px 2em 7px 1em; /* LTR */
  67. }
  68. [dir="rtl"] li.tabs__tab a {
  69. padding-right: 1em;
  70. padding-left: 2em;
  71. }
  72. .tabs a:hover,
  73. .tabs a:focus {
  74. text-decoration: none;
  75. }
  76. /* Primary tabs */
  77. .tabs.primary {
  78. clear: both;
  79. margin: 16px 0 0;
  80. margin: 1rem 0 0;
  81. }
  82. .tabs.primary .tabs__tab.is-active {
  83. z-index: 15;
  84. color: #004f80;
  85. border-color: #a6a6a6;
  86. border-radius: 4px 0 0 0; /* LTR */
  87. background-color: #fff;
  88. }
  89. [dir="rtl"] .tabs.primary .tabs__tab.is-active {
  90. border-top-left-radius: 0;
  91. border-top-right-radius: 4px;
  92. }
  93. .tabs.primary a {
  94. background: none;
  95. }
  96. .tabs.primary a:focus {
  97. text-decoration: underline;
  98. color: #008ee6;
  99. background-color: #fafaf7;
  100. }
  101. .tabs.primary .is-active a:focus {
  102. text-decoration: underline;
  103. background: none;
  104. }
  105. /* Only add the arrow if there's space */
  106. @media screen and (min-width: 18.75em) { /* 300px */
  107. .tabs.primary a {
  108. background: url(../../../../misc/icons/0074bd/chevron-right.svg) 99% center no-repeat;
  109. }
  110. [dir="rtl"] .tabs.primary a {
  111. background: url(../../../../misc/icons/0074bd/chevron-left.svg) 1% center no-repeat;
  112. }
  113. .tabs.primary .tabs__tab.is-active a {
  114. background-image: none;
  115. }
  116. }
  117. .tabs__trigger {
  118. display: none;
  119. }
  120. /* JS dependent styling */
  121. .is-collapse-enabled .tabs__trigger {
  122. position: absolute;
  123. z-index: 10;
  124. top: 2px;
  125. right: 0; /* LTR */
  126. left: auto; /* LTR */
  127. display: block;
  128. box-sizing: content-box;
  129. width: 25%;
  130. padding-right: 4px;
  131. padding-left: 4px;
  132. text-align: center;
  133. letter-spacing: 0.1em;
  134. border-left: 0; /* LTR */
  135. border-radius: 0 4px 0 0; /* LTR */
  136. outline: 0;
  137. font-family: Arial, sans-serif;
  138. font-size: 1.25em;
  139. }
  140. [dir="rtl"] .is-collapse-enabled .tabs__trigger {
  141. right: auto;
  142. left: 0;
  143. border-right: 0;
  144. border-left: 1px solid #bfbfbf;
  145. border-radius: 4px 0 0 0;
  146. }
  147. .is-collapse-enabled .tabs {
  148. max-height: 0;
  149. padding-top: 38px;
  150. }
  151. .tabs.is-open {
  152. max-height: 999em;
  153. padding-bottom: 16px;
  154. padding-bottom: 1rem;
  155. }
  156. .is-collapse-enabled .tabs__tab.is-active {
  157. position: absolute;
  158. top: 2px;
  159. left: 0; /* LTR */
  160. width: 75%;
  161. border-bottom: 0;
  162. }
  163. [dir="rtl"] .is-collapse-enabled .tabs__tab.is-active {
  164. right: 0;
  165. left: auto;
  166. }
  167. .is-collapse-enabled .tabs.primary a.is-active:before {
  168. content: none;
  169. }
  170. .is-open .tabs__tab.is-active {
  171. color: #004f80;
  172. border-color: #a6a6a6;
  173. border-bottom: 1px solid #a6a6a6;
  174. background-color: #fff;
  175. }
  176. /* Styles for the horizontal state always take priority */
  177. .is-horizontal .tabs {
  178. overflow: visible;
  179. max-height: none !important;
  180. padding-top: 0 !important;
  181. }
  182. .is-horizontal .tabs__tab {
  183. float: left; /* LTR */
  184. width: auto;
  185. height: auto;
  186. margin: 0 0 -1px;
  187. text-align: center;
  188. border-bottom-color: #a6a6a6;
  189. }
  190. [dir="rtl"] .is-horizontal .tabs__tab {
  191. float: right;
  192. /* This is required to win over specificity of [dir="rtl"] .tabs > li */
  193. margin-left: 0;
  194. }
  195. .is-horizontal .tabs__tab + .tabs__tab {
  196. margin-left: -1px; /* LTR */
  197. }
  198. [dir="rtl"] .is-horizontal .tabs__tab + .tabs__tab {
  199. margin-right: -1px;
  200. margin-left: 0;
  201. }
  202. .is-horizontal .tabs.primary .tabs__tab:first-child {
  203. border-radius: 4px 0 0 0; /* LTR */
  204. }
  205. [dir="rtl"] .is-horizontal .tabs.primary .tabs__tab:first-child {
  206. border-radius: 0 4px 0 0;
  207. }
  208. .is-horizontal .tabs.primary .tabs__tab:last-child {
  209. border-radius: 0 4px 0 0; /* LTR */
  210. }
  211. [dir="rtl"] .is-horizontal .tabs.primary .tabs__tab:last-child {
  212. border-radius: 4px 0 0 0;
  213. }
  214. /* Override the states above */
  215. .is-horizontal .tabs__tab.is-active,
  216. .is-horizontal .tabs.primary .tabs__tab.is-active,
  217. [dir="rtl"] .is-horizontal .tabs.primary .tabs__tab.is-active {
  218. position: relative;
  219. top: 0;
  220. width: auto;
  221. margin: 0 -4px;
  222. border-bottom: 0;
  223. border-radius: 4px 4px 0 0;
  224. }
  225. .is-horizontal .tabs.primary a {
  226. padding: 7px 2em 7px 2em;
  227. background-image: none;
  228. }
  229. .is-horizontal .tabs__trigger {
  230. display: none;
  231. }
  232. /* Secondary tabs */
  233. .tabs.secondary {
  234. display: block;
  235. margin-top: 16px;
  236. margin-top: 1rem;
  237. }
  238. .tabs.secondary .tabs__tab {
  239. display: block;
  240. margin-left: -1px; /* LTR */
  241. padding: 5px 15px 5px 16px; /* LTR */
  242. -webkit-transition: border-color 0.2s, background-color 0.2s;
  243. transition: border-color 0.2s, background-color 0.2s;
  244. color: #0074bd;
  245. }
  246. [dir="rtl"] .tabs.secondary .tabs__tab {
  247. margin-right: -1px;
  248. margin-left: 0;
  249. padding-right: 16px;
  250. padding-left: 15px;
  251. }
  252. /* This is required to win over specificity of [dir="rtl"] .tabs.secondary .tabs__tab */
  253. [dir="rtl"] .views-displays .tabs.secondary li,
  254. [dir="rtl"] .views-displays .tabs.secondary li.is-active {
  255. padding-right: 0;
  256. padding-left: 0;
  257. }
  258. .tabs.secondary .tabs__tab + .tabs__tab {
  259. border-top: 1px solid #d9d8d4;
  260. }
  261. .tabs.secondary .tabs__tab.is-active {
  262. padding-left: 15px; /* LTR */
  263. color: #004f80;
  264. border-left: 2px solid #004f80; /* LTR */
  265. }
  266. [dir="rtl"] .tabs.secondary .tabs__tab.is-active {
  267. padding-right: 15px;
  268. border-right: 2px solid #004f80;
  269. border-left: 1px solid #bfbfbf;
  270. }
  271. /* This is required to win over specificity of [dir="rtl"] .tabs.secondary .tabs__tab.is-active */
  272. [dir="rtl"] .views-displays .tabs.secondary li.is-active {
  273. padding-right: 0;
  274. border: 0 none;
  275. }
  276. .tabs.secondary .tabs__tab:hover,
  277. .tabs.secondary .tabs__tab:focus {
  278. padding-left: 15px; /* LTR */
  279. color: #008ee6;
  280. border-left: 2px solid #008ee6; /* LTR */
  281. }
  282. [dir="rtl"] .tabs.secondary .tabs__tab:hover,
  283. [dir="rtl"] .tabs.secondary .tabs__tab:focus {
  284. padding-right: 15px;
  285. border-right: 2px solid #008ee6;
  286. border-left: 1px solid #bfbfbf;
  287. }
  288. /* This is required to win over specificity of [dir="rtl"] .tabs.secondary .tabs__tab:hover */
  289. [dir="rtl"] .views-displays .tabs li.tabs__tab:hover {
  290. padding-right: 0;
  291. border: 0 none;
  292. }
  293. .tabs.secondary a {
  294. padding: 7px 13px 5px;
  295. text-decoration: none;
  296. background-color: transparent;
  297. }
  298. /* This is required to win over specificity of [dir="rtl"] li.tabs__tab a */
  299. [dir="rtl"] .tabs.secondary a {
  300. padding-right: 13px;
  301. padding-left: 13px;
  302. }
  303. /* This is required to win over specificity of [dir="rtl"] .tabs.secondary a */
  304. [dir="rtl"] .views-displays .tabs.secondary a {
  305. padding-right: 7px;
  306. padding-left: 7px;
  307. }
  308. .tabs.secondary .is-active a {
  309. color: #004f80;
  310. }
  311. .tabs.secondary a:focus {
  312. text-decoration: underline;
  313. }
  314. /* Styles for the horizontal state */
  315. .is-horizontal .tabs.secondary .tabs__tab {
  316. position: relative;
  317. z-index: 15;
  318. top: 0;
  319. float: left; /* LTR */
  320. margin-right: 1em;
  321. margin-left: 1em;
  322. padding: 0;
  323. border-top: 0;
  324. border-right-color: transparent; /* LTR */
  325. border-bottom: 2px solid transparent;
  326. border-left: 1px solid transparent; /* LTR */
  327. background: none;
  328. }
  329. /**
  330. * 1. This is required to win over specificity of
  331. * [dir="rtl"] .tabs.secondary .tabs__tab:hover,
  332. * [dir="rtl"] .tabs.secondary .tabs__tab:focus
  333. */
  334. [dir="rtl"] .is-horizontal .tabs.secondary .tabs__tab {
  335. float: right;
  336. padding-right: 0; /* 1 */
  337. border-right: 1px solid transparent;
  338. border-left-color: transparent;
  339. }
  340. .is-horizontal .tabs.secondary .tabs__tab.is-active {
  341. border-bottom-color: #004f80;
  342. }
  343. .is-horizontal .tabs.secondary .tabs__tab:hover,
  344. .is-horizontal .tabs.secondary .tabs__tab:focus {
  345. border-bottom-color: #008ee6;
  346. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.