You are here

tabs.css in AT Tools 8.3

/**
 * Tabs (local tasks).
 * Tab styles leverage AT's responsive lists JS feature. This sets a class if
 * the list is too wide for it's container. This allows us to dynamically change
 * the design of the tabs menu if they are too wide. We use media queries as a
 * no-js fallback.
 ============================================================================ */
.tabs {
  padding: 0;
  margin: 1rem 0;
}

.tabs ul {
  margin-bottom: 1rem;
  padding: 0;
}

.tabs ul:before, .tabs ul:after {
  content: " ";
  display: table;
}

.tabs ul:after {
  clear: both;
}

.tabs ul.tabs--primary {
  margin-bottom: 0;
}

.tabs .is-vertical ul.tabs--primary {
  border-bottom: 0;
}

.tabs .is-vertical ul.tabs--primary li {
  list-style: none;
}

.tabs .is-vertical ul.tabs--primary li:first-child a {
  border-radius: 2px 2px 0 0;
}

.tabs .is-vertical ul.tabs--primary li:last-child a {
  border-radius: 0 0 2px 2px;
}

.tabs .is-vertical ul.tabs--primary li a {
  color: #fcfcfc;
  background-color: #828282;
  border: 1px #828282 solid;
  -webkit-box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
          box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
  margin-bottom: -1px;
  padding: 0.5rem 1rem;
  text-align: left;
  text-decoration: none;
  font-weight: 400;
  line-height: 1;
  width: auto;
  display: block;
  position: relative;
  -webkit-transition: all, 225ms, ease-in-out;
  -o-transition: all, 225ms, ease-in-out;
  transition: all, 225ms, ease-in-out;
}

.tabs .is-vertical ul.tabs--primary li a:link, .tabs .is-vertical ul.tabs--primary li a:visited {
  color: #fcfcfc;
  background-color: #828282;
  border-color: #828282;
}

.tabs .is-vertical ul.tabs--primary li a:hover, .tabs .is-vertical ul.tabs--primary li a:focus, .tabs .is-vertical ul.tabs--primary li a:active, .tabs .is-vertical ul.tabs--primary li a.active {
  color: #fcfcfc;
  background-color: #828282;
  border-color: #828282;
}

.tabs .is-vertical ul.tabs--secondary {
  text-align: left;
}

.tabs .is-vertical ul.tabs--secondary:before, .tabs .is-vertical ul.tabs--secondary:after {
  content: " ";
  display: table;
}

.tabs .is-vertical ul.tabs--secondary:after {
  clear: both;
}

.tabs .is-vertical ul.tabs--secondary li {
  list-style: none;
}

.tabs .is-vertical ul.tabs--secondary a {
  display: inline-block;
  line-height: 1;
  color: #363636;
  border-bottom: 1px solid transparent;
  border-left: 3px solid;
  -webkit-transition: all, 225ms, ease-in-out;
  -o-transition: all, 225ms, ease-in-out;
  transition: all, 225ms, ease-in-out;
  padding: 0.75rem 1rem 0.5rem 0.875rem;
}

.tabs .is-vertical ul.tabs--secondary a:hover, .tabs .is-vertical ul.tabs--secondary a:focus {
  text-decoration: none;
  color: #363636;
  border-bottom: 1px solid #cccccc;
}

.tabs .is-vertical ul.tabs--secondary a.active, .tabs .is-vertical ul.tabs--secondary a.is-active {
  border-bottom: 1px solid #cccccc;
}

.tabs .is-vertical ul.tabs--secondary a.active:hover, .tabs .is-vertical ul.tabs--secondary a.active:focus, .tabs .is-vertical ul.tabs--secondary a.is-active:hover, .tabs .is-vertical ul.tabs--secondary a.is-active:focus {
  color: #363636;
}

.tabs .is-horizontal ul.tabs--primary {
  border-bottom: 1px solid #cccccc;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  white-space: nowrap;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.tabs .is-horizontal ul.tabs--primary li {
  margin: 0 0 0 0;
  list-style: none;
}

[dir="rtl"] .tabs .is-horizontal ul.tabs--primary li {
  margin-right: 0;
  margin-left: 0;
}

.tabs .is-horizontal ul.tabs--primary li {
  margin-bottom: -1px;
}

.tabs .is-horizontal ul.tabs--primary li:first-child a {
  border-radius: 2px 0 0 0;
}

.tabs .is-horizontal ul.tabs--primary li:last-child a {
  border-radius: 0 2px 0 0;
}

.tabs .is-horizontal ul.tabs--primary a {
  display: block;
  line-height: 1;
  color: #363636;
  background-color: #f7f7f7;
  border: 1px solid #cccccc;
  padding: 0.5rem 1rem;
  -webkit-transition: background-color, .15s, ease-in-out;
  -o-transition: background-color, .15s, ease-in-out;
  transition: background-color, .15s, ease-in-out;
  margin-right: -1px;
  -webkit-box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
          box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
}

.tabs .is-horizontal ul.tabs--primary a:hover, .tabs .is-horizontal ul.tabs--primary a:focus {
  color: #363636;
  background-color: #ededed;
  text-decoration: none;
}

.tabs .is-horizontal ul.tabs--primary a.active, .tabs .is-horizontal ul.tabs--primary a.is-active {
  color: #363636;
  background: none;
  border-bottom-color: #f7f7f7;
}

.tabs .is-horizontal ul.tabs--primary a.active:hover, .tabs .is-horizontal ul.tabs--primary a.active:focus, .tabs .is-horizontal ul.tabs--primary a.is-active:hover, .tabs .is-horizontal ul.tabs--primary a.is-active:focus {
  color: #363636;
  background: none;
}

.tabs .is-horizontal ul.tabs--secondary {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  padding: 0;
}

.tabs .is-horizontal ul.tabs--secondary li {
  margin: 0 0 0 0;
  list-style: none;
}

[dir="rtl"] .tabs .is-horizontal ul.tabs--secondary li {
  margin-right: 0;
  margin-left: 0;
}

.tabs .is-horizontal ul.tabs--secondary a {
  display: block;
  line-height: 1;
  color: #363636;
  border-bottom: 1px solid #d9d9d9;
  -webkit-transition: all, 225ms, ease-in-out;
  -o-transition: all, 225ms, ease-in-out;
  transition: all, 225ms, ease-in-out;
  padding: 1rem 0.5rem 0.625rem;
  margin-right: 1rem;
}

.tabs .is-horizontal ul.tabs--secondary a:hover, .tabs .is-horizontal ul.tabs--secondary a:focus {
  text-decoration: none;
  color: #363636;
  border-bottom: 1px solid #cccccc;
}

.tabs .is-horizontal ul.tabs--secondary a.active, .tabs .is-horizontal ul.tabs--secondary a.is-active {
  border-bottom: 1px solid #cccccc;
}

.tabs .is-horizontal ul.tabs--secondary a.active:hover, .tabs .is-horizontal ul.tabs--secondary a.active:focus, .tabs .is-horizontal ul.tabs--secondary a.is-active:hover, .tabs .is-horizontal ul.tabs--secondary a.is-active:focus {
  color: #363636;
}

@media screen and (max-width: 60em) {
  .no-js .tabs ul.tabs--primary {
    border-bottom: 0;
  }
  .no-js .tabs ul.tabs--primary li {
    list-style: none;
  }
  .no-js .tabs ul.tabs--primary li:first-child a {
    border-radius: 2px 2px 0 0;
  }
  .no-js .tabs ul.tabs--primary li:last-child a {
    border-radius: 0 0 2px 2px;
  }
  .no-js .tabs ul.tabs--primary li a {
    color: #fcfcfc;
    background-color: #828282;
    border: 1px #828282 solid;
    -webkit-box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
            box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
    margin-bottom: -1px;
    padding: 0.5rem 1rem;
    text-align: left;
    text-decoration: none;
    font-weight: 400;
    line-height: 1;
    width: auto;
    display: block;
    position: relative;
    -webkit-transition: all, 225ms, ease-in-out;
    -o-transition: all, 225ms, ease-in-out;
    transition: all, 225ms, ease-in-out;
  }
  .no-js .tabs ul.tabs--primary li a:link, .no-js .tabs ul.tabs--primary li a:visited {
    color: #fcfcfc;
    background-color: #828282;
    border-color: #828282;
  }
  .no-js .tabs ul.tabs--primary li a:hover, .no-js .tabs ul.tabs--primary li a:focus, .no-js .tabs ul.tabs--primary li a:active, .no-js .tabs ul.tabs--primary li a.active {
    color: #fcfcfc;
    background-color: #828282;
    border-color: #828282;
  }
  .no-js .tabs ul.tabs--secondary {
    text-align: left;
  }
  .no-js .tabs ul.tabs--secondary:before, .no-js .tabs ul.tabs--secondary:after {
    content: " ";
    display: table;
  }
  .no-js .tabs ul.tabs--secondary:after {
    clear: both;
  }
  .no-js .tabs ul.tabs--secondary li {
    list-style: none;
  }
  .no-js .tabs ul.tabs--secondary a {
    display: inline-block;
    line-height: 1;
    color: #363636;
    border-bottom: 1px solid transparent;
    border-left: 3px solid;
    -webkit-transition: all, 225ms, ease-in-out;
    -o-transition: all, 225ms, ease-in-out;
    transition: all, 225ms, ease-in-out;
    padding: 0.75rem 1rem 0.5rem 0.875rem;
  }
  .no-js .tabs ul.tabs--secondary a:hover, .no-js .tabs ul.tabs--secondary a:focus {
    text-decoration: none;
    color: #363636;
    border-bottom: 1px solid #cccccc;
  }
  .no-js .tabs ul.tabs--secondary a.active, .no-js .tabs ul.tabs--secondary a.is-active {
    border-bottom: 1px solid #cccccc;
  }
  .no-js .tabs ul.tabs--secondary a.active:hover, .no-js .tabs ul.tabs--secondary a.active:focus, .no-js .tabs ul.tabs--secondary a.is-active:hover, .no-js .tabs ul.tabs--secondary a.is-active:focus {
    color: #363636;
  }
}

@media screen and (min-width: 60.0625em) {
  .no-js .tabs ul.tabs--primary {
    border-bottom: 1px solid #cccccc;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    white-space: nowrap;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }
  .no-js .tabs ul.tabs--primary li {
    margin: 0 0 0 0;
    list-style: none;
  }
  [dir="rtl"] .no-js .tabs ul.tabs--primary li {
    margin-right: 0;
    margin-left: 0;
  }
  .no-js .tabs ul.tabs--primary li {
    margin-bottom: -1px;
  }
  .no-js .tabs ul.tabs--primary li:first-child a {
    border-radius: 2px 0 0 0;
  }
  .no-js .tabs ul.tabs--primary li:last-child a {
    border-radius: 0 2px 0 0;
  }
  .no-js .tabs ul.tabs--primary a {
    display: block;
    line-height: 1;
    color: #363636;
    background-color: #f7f7f7;
    border: 1px solid #cccccc;
    padding: 0.5rem 1rem;
    -webkit-transition: background-color, .15s, ease-in-out;
    -o-transition: background-color, .15s, ease-in-out;
    transition: background-color, .15s, ease-in-out;
    margin-right: -1px;
    -webkit-box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
            box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
  }
  .no-js .tabs ul.tabs--primary a:hover, .no-js .tabs ul.tabs--primary a:focus {
    color: #363636;
    background-color: #ededed;
    text-decoration: none;
  }
  .no-js .tabs ul.tabs--primary a.active, .no-js .tabs ul.tabs--primary a.is-active {
    color: #363636;
    background: none;
    border-bottom-color: #f7f7f7;
  }
  .no-js .tabs ul.tabs--primary a.active:hover, .no-js .tabs ul.tabs--primary a.active:focus, .no-js .tabs ul.tabs--primary a.is-active:hover, .no-js .tabs ul.tabs--primary a.is-active:focus {
    color: #363636;
    background: none;
  }
  .no-js .tabs ul.tabs--secondary {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    padding: 0;
  }
  .no-js .tabs ul.tabs--secondary li {
    margin: 0 0 0 0;
    list-style: none;
  }
  [dir="rtl"] .no-js .tabs ul.tabs--secondary li {
    margin-right: 0;
    margin-left: 0;
  }
  .no-js .tabs ul.tabs--secondary a {
    display: block;
    line-height: 1;
    color: #363636;
    border-bottom: 1px solid #d9d9d9;
    -webkit-transition: all, 225ms, ease-in-out;
    -o-transition: all, 225ms, ease-in-out;
    transition: all, 225ms, ease-in-out;
    padding: 1rem 0.5rem 0.625rem;
    margin-right: 1rem;
  }
  .no-js .tabs ul.tabs--secondary a:hover, .no-js .tabs ul.tabs--secondary a:focus {
    text-decoration: none;
    color: #363636;
    border-bottom: 1px solid #cccccc;
  }
  .no-js .tabs ul.tabs--secondary a.active, .no-js .tabs ul.tabs--secondary a.is-active {
    border-bottom: 1px solid #cccccc;
  }
  .no-js .tabs ul.tabs--secondary a.active:hover, .no-js .tabs ul.tabs--secondary a.active:focus, .no-js .tabs ul.tabs--secondary a.is-active:hover, .no-js .tabs ul.tabs--secondary a.is-active:focus {
    color: #363636;
  }
}
/*# sourceMappingURL=tabs.css.map */

File

at_theme_generator/starterkits/starterkit/styles/css/components/tabs.css
View source
  1. /**
  2. * Tabs (local tasks).
  3. * Tab styles leverage AT's responsive lists JS feature. This sets a class if
  4. * the list is too wide for it's container. This allows us to dynamically change
  5. * the design of the tabs menu if they are too wide. We use media queries as a
  6. * no-js fallback.
  7. ============================================================================ */
  8. .tabs {
  9. padding: 0;
  10. margin: 1rem 0;
  11. }
  12. .tabs ul {
  13. margin-bottom: 1rem;
  14. padding: 0;
  15. }
  16. .tabs ul:before, .tabs ul:after {
  17. content: " ";
  18. display: table;
  19. }
  20. .tabs ul:after {
  21. clear: both;
  22. }
  23. .tabs ul.tabs--primary {
  24. margin-bottom: 0;
  25. }
  26. .tabs .is-vertical ul.tabs--primary {
  27. border-bottom: 0;
  28. }
  29. .tabs .is-vertical ul.tabs--primary li {
  30. list-style: none;
  31. }
  32. .tabs .is-vertical ul.tabs--primary li:first-child a {
  33. border-radius: 2px 2px 0 0;
  34. }
  35. .tabs .is-vertical ul.tabs--primary li:last-child a {
  36. border-radius: 0 0 2px 2px;
  37. }
  38. .tabs .is-vertical ul.tabs--primary li a {
  39. color: #fcfcfc;
  40. background-color: #828282;
  41. border: 1px #828282 solid;
  42. -webkit-box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
  43. box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
  44. margin-bottom: -1px;
  45. padding: 0.5rem 1rem;
  46. text-align: left;
  47. text-decoration: none;
  48. font-weight: 400;
  49. line-height: 1;
  50. width: auto;
  51. display: block;
  52. position: relative;
  53. -webkit-transition: all, 225ms, ease-in-out;
  54. -o-transition: all, 225ms, ease-in-out;
  55. transition: all, 225ms, ease-in-out;
  56. }
  57. .tabs .is-vertical ul.tabs--primary li a:link, .tabs .is-vertical ul.tabs--primary li a:visited {
  58. color: #fcfcfc;
  59. background-color: #828282;
  60. border-color: #828282;
  61. }
  62. .tabs .is-vertical ul.tabs--primary li a:hover, .tabs .is-vertical ul.tabs--primary li a:focus, .tabs .is-vertical ul.tabs--primary li a:active, .tabs .is-vertical ul.tabs--primary li a.active {
  63. color: #fcfcfc;
  64. background-color: #828282;
  65. border-color: #828282;
  66. }
  67. .tabs .is-vertical ul.tabs--secondary {
  68. text-align: left;
  69. }
  70. .tabs .is-vertical ul.tabs--secondary:before, .tabs .is-vertical ul.tabs--secondary:after {
  71. content: " ";
  72. display: table;
  73. }
  74. .tabs .is-vertical ul.tabs--secondary:after {
  75. clear: both;
  76. }
  77. .tabs .is-vertical ul.tabs--secondary li {
  78. list-style: none;
  79. }
  80. .tabs .is-vertical ul.tabs--secondary a {
  81. display: inline-block;
  82. line-height: 1;
  83. color: #363636;
  84. border-bottom: 1px solid transparent;
  85. border-left: 3px solid;
  86. -webkit-transition: all, 225ms, ease-in-out;
  87. -o-transition: all, 225ms, ease-in-out;
  88. transition: all, 225ms, ease-in-out;
  89. padding: 0.75rem 1rem 0.5rem 0.875rem;
  90. }
  91. .tabs .is-vertical ul.tabs--secondary a:hover, .tabs .is-vertical ul.tabs--secondary a:focus {
  92. text-decoration: none;
  93. color: #363636;
  94. border-bottom: 1px solid #cccccc;
  95. }
  96. .tabs .is-vertical ul.tabs--secondary a.active, .tabs .is-vertical ul.tabs--secondary a.is-active {
  97. border-bottom: 1px solid #cccccc;
  98. }
  99. .tabs .is-vertical ul.tabs--secondary a.active:hover, .tabs .is-vertical ul.tabs--secondary a.active:focus, .tabs .is-vertical ul.tabs--secondary a.is-active:hover, .tabs .is-vertical ul.tabs--secondary a.is-active:focus {
  100. color: #363636;
  101. }
  102. .tabs .is-horizontal ul.tabs--primary {
  103. border-bottom: 1px solid #cccccc;
  104. display: -webkit-box;
  105. display: -ms-flexbox;
  106. display: flex;
  107. -webkit-box-orient: horizontal;
  108. -webkit-box-direction: normal;
  109. -ms-flex-direction: row;
  110. flex-direction: row;
  111. white-space: nowrap;
  112. -webkit-box-align: end;
  113. -ms-flex-align: end;
  114. align-items: flex-end;
  115. }
  116. .tabs .is-horizontal ul.tabs--primary li {
  117. margin: 0 0 0 0;
  118. list-style: none;
  119. }
  120. [dir="rtl"] .tabs .is-horizontal ul.tabs--primary li {
  121. margin-right: 0;
  122. margin-left: 0;
  123. }
  124. .tabs .is-horizontal ul.tabs--primary li {
  125. margin-bottom: -1px;
  126. }
  127. .tabs .is-horizontal ul.tabs--primary li:first-child a {
  128. border-radius: 2px 0 0 0;
  129. }
  130. .tabs .is-horizontal ul.tabs--primary li:last-child a {
  131. border-radius: 0 2px 0 0;
  132. }
  133. .tabs .is-horizontal ul.tabs--primary a {
  134. display: block;
  135. line-height: 1;
  136. color: #363636;
  137. background-color: #f7f7f7;
  138. border: 1px solid #cccccc;
  139. padding: 0.5rem 1rem;
  140. -webkit-transition: background-color, .15s, ease-in-out;
  141. -o-transition: background-color, .15s, ease-in-out;
  142. transition: background-color, .15s, ease-in-out;
  143. margin-right: -1px;
  144. -webkit-box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
  145. box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
  146. }
  147. .tabs .is-horizontal ul.tabs--primary a:hover, .tabs .is-horizontal ul.tabs--primary a:focus {
  148. color: #363636;
  149. background-color: #ededed;
  150. text-decoration: none;
  151. }
  152. .tabs .is-horizontal ul.tabs--primary a.active, .tabs .is-horizontal ul.tabs--primary a.is-active {
  153. color: #363636;
  154. background: none;
  155. border-bottom-color: #f7f7f7;
  156. }
  157. .tabs .is-horizontal ul.tabs--primary a.active:hover, .tabs .is-horizontal ul.tabs--primary a.active:focus, .tabs .is-horizontal ul.tabs--primary a.is-active:hover, .tabs .is-horizontal ul.tabs--primary a.is-active:focus {
  158. color: #363636;
  159. background: none;
  160. }
  161. .tabs .is-horizontal ul.tabs--secondary {
  162. display: -webkit-box;
  163. display: -ms-flexbox;
  164. display: flex;
  165. -webkit-box-orient: horizontal;
  166. -webkit-box-direction: normal;
  167. -ms-flex-direction: row;
  168. flex-direction: row;
  169. padding: 0;
  170. }
  171. .tabs .is-horizontal ul.tabs--secondary li {
  172. margin: 0 0 0 0;
  173. list-style: none;
  174. }
  175. [dir="rtl"] .tabs .is-horizontal ul.tabs--secondary li {
  176. margin-right: 0;
  177. margin-left: 0;
  178. }
  179. .tabs .is-horizontal ul.tabs--secondary a {
  180. display: block;
  181. line-height: 1;
  182. color: #363636;
  183. border-bottom: 1px solid #d9d9d9;
  184. -webkit-transition: all, 225ms, ease-in-out;
  185. -o-transition: all, 225ms, ease-in-out;
  186. transition: all, 225ms, ease-in-out;
  187. padding: 1rem 0.5rem 0.625rem;
  188. margin-right: 1rem;
  189. }
  190. .tabs .is-horizontal ul.tabs--secondary a:hover, .tabs .is-horizontal ul.tabs--secondary a:focus {
  191. text-decoration: none;
  192. color: #363636;
  193. border-bottom: 1px solid #cccccc;
  194. }
  195. .tabs .is-horizontal ul.tabs--secondary a.active, .tabs .is-horizontal ul.tabs--secondary a.is-active {
  196. border-bottom: 1px solid #cccccc;
  197. }
  198. .tabs .is-horizontal ul.tabs--secondary a.active:hover, .tabs .is-horizontal ul.tabs--secondary a.active:focus, .tabs .is-horizontal ul.tabs--secondary a.is-active:hover, .tabs .is-horizontal ul.tabs--secondary a.is-active:focus {
  199. color: #363636;
  200. }
  201. @media screen and (max-width: 60em) {
  202. .no-js .tabs ul.tabs--primary {
  203. border-bottom: 0;
  204. }
  205. .no-js .tabs ul.tabs--primary li {
  206. list-style: none;
  207. }
  208. .no-js .tabs ul.tabs--primary li:first-child a {
  209. border-radius: 2px 2px 0 0;
  210. }
  211. .no-js .tabs ul.tabs--primary li:last-child a {
  212. border-radius: 0 0 2px 2px;
  213. }
  214. .no-js .tabs ul.tabs--primary li a {
  215. color: #fcfcfc;
  216. background-color: #828282;
  217. border: 1px #828282 solid;
  218. -webkit-box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
  219. box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
  220. margin-bottom: -1px;
  221. padding: 0.5rem 1rem;
  222. text-align: left;
  223. text-decoration: none;
  224. font-weight: 400;
  225. line-height: 1;
  226. width: auto;
  227. display: block;
  228. position: relative;
  229. -webkit-transition: all, 225ms, ease-in-out;
  230. -o-transition: all, 225ms, ease-in-out;
  231. transition: all, 225ms, ease-in-out;
  232. }
  233. .no-js .tabs ul.tabs--primary li a:link, .no-js .tabs ul.tabs--primary li a:visited {
  234. color: #fcfcfc;
  235. background-color: #828282;
  236. border-color: #828282;
  237. }
  238. .no-js .tabs ul.tabs--primary li a:hover, .no-js .tabs ul.tabs--primary li a:focus, .no-js .tabs ul.tabs--primary li a:active, .no-js .tabs ul.tabs--primary li a.active {
  239. color: #fcfcfc;
  240. background-color: #828282;
  241. border-color: #828282;
  242. }
  243. .no-js .tabs ul.tabs--secondary {
  244. text-align: left;
  245. }
  246. .no-js .tabs ul.tabs--secondary:before, .no-js .tabs ul.tabs--secondary:after {
  247. content: " ";
  248. display: table;
  249. }
  250. .no-js .tabs ul.tabs--secondary:after {
  251. clear: both;
  252. }
  253. .no-js .tabs ul.tabs--secondary li {
  254. list-style: none;
  255. }
  256. .no-js .tabs ul.tabs--secondary a {
  257. display: inline-block;
  258. line-height: 1;
  259. color: #363636;
  260. border-bottom: 1px solid transparent;
  261. border-left: 3px solid;
  262. -webkit-transition: all, 225ms, ease-in-out;
  263. -o-transition: all, 225ms, ease-in-out;
  264. transition: all, 225ms, ease-in-out;
  265. padding: 0.75rem 1rem 0.5rem 0.875rem;
  266. }
  267. .no-js .tabs ul.tabs--secondary a:hover, .no-js .tabs ul.tabs--secondary a:focus {
  268. text-decoration: none;
  269. color: #363636;
  270. border-bottom: 1px solid #cccccc;
  271. }
  272. .no-js .tabs ul.tabs--secondary a.active, .no-js .tabs ul.tabs--secondary a.is-active {
  273. border-bottom: 1px solid #cccccc;
  274. }
  275. .no-js .tabs ul.tabs--secondary a.active:hover, .no-js .tabs ul.tabs--secondary a.active:focus, .no-js .tabs ul.tabs--secondary a.is-active:hover, .no-js .tabs ul.tabs--secondary a.is-active:focus {
  276. color: #363636;
  277. }
  278. }
  279. @media screen and (min-width: 60.0625em) {
  280. .no-js .tabs ul.tabs--primary {
  281. border-bottom: 1px solid #cccccc;
  282. display: -webkit-box;
  283. display: -ms-flexbox;
  284. display: flex;
  285. -webkit-box-orient: horizontal;
  286. -webkit-box-direction: normal;
  287. -ms-flex-direction: row;
  288. flex-direction: row;
  289. white-space: nowrap;
  290. -webkit-box-align: end;
  291. -ms-flex-align: end;
  292. align-items: flex-end;
  293. }
  294. .no-js .tabs ul.tabs--primary li {
  295. margin: 0 0 0 0;
  296. list-style: none;
  297. }
  298. [dir="rtl"] .no-js .tabs ul.tabs--primary li {
  299. margin-right: 0;
  300. margin-left: 0;
  301. }
  302. .no-js .tabs ul.tabs--primary li {
  303. margin-bottom: -1px;
  304. }
  305. .no-js .tabs ul.tabs--primary li:first-child a {
  306. border-radius: 2px 0 0 0;
  307. }
  308. .no-js .tabs ul.tabs--primary li:last-child a {
  309. border-radius: 0 2px 0 0;
  310. }
  311. .no-js .tabs ul.tabs--primary a {
  312. display: block;
  313. line-height: 1;
  314. color: #363636;
  315. background-color: #f7f7f7;
  316. border: 1px solid #cccccc;
  317. padding: 0.5rem 1rem;
  318. -webkit-transition: background-color, .15s, ease-in-out;
  319. -o-transition: background-color, .15s, ease-in-out;
  320. transition: background-color, .15s, ease-in-out;
  321. margin-right: -1px;
  322. -webkit-box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
  323. box-shadow: rgba(255, 255, 255, 0.5) 0 1px 0 inset;
  324. }
  325. .no-js .tabs ul.tabs--primary a:hover, .no-js .tabs ul.tabs--primary a:focus {
  326. color: #363636;
  327. background-color: #ededed;
  328. text-decoration: none;
  329. }
  330. .no-js .tabs ul.tabs--primary a.active, .no-js .tabs ul.tabs--primary a.is-active {
  331. color: #363636;
  332. background: none;
  333. border-bottom-color: #f7f7f7;
  334. }
  335. .no-js .tabs ul.tabs--primary a.active:hover, .no-js .tabs ul.tabs--primary a.active:focus, .no-js .tabs ul.tabs--primary a.is-active:hover, .no-js .tabs ul.tabs--primary a.is-active:focus {
  336. color: #363636;
  337. background: none;
  338. }
  339. .no-js .tabs ul.tabs--secondary {
  340. display: -webkit-box;
  341. display: -ms-flexbox;
  342. display: flex;
  343. -webkit-box-orient: horizontal;
  344. -webkit-box-direction: normal;
  345. -ms-flex-direction: row;
  346. flex-direction: row;
  347. padding: 0;
  348. }
  349. .no-js .tabs ul.tabs--secondary li {
  350. margin: 0 0 0 0;
  351. list-style: none;
  352. }
  353. [dir="rtl"] .no-js .tabs ul.tabs--secondary li {
  354. margin-right: 0;
  355. margin-left: 0;
  356. }
  357. .no-js .tabs ul.tabs--secondary a {
  358. display: block;
  359. line-height: 1;
  360. color: #363636;
  361. border-bottom: 1px solid #d9d9d9;
  362. -webkit-transition: all, 225ms, ease-in-out;
  363. -o-transition: all, 225ms, ease-in-out;
  364. transition: all, 225ms, ease-in-out;
  365. padding: 1rem 0.5rem 0.625rem;
  366. margin-right: 1rem;
  367. }
  368. .no-js .tabs ul.tabs--secondary a:hover, .no-js .tabs ul.tabs--secondary a:focus {
  369. text-decoration: none;
  370. color: #363636;
  371. border-bottom: 1px solid #cccccc;
  372. }
  373. .no-js .tabs ul.tabs--secondary a.active, .no-js .tabs ul.tabs--secondary a.is-active {
  374. border-bottom: 1px solid #cccccc;
  375. }
  376. .no-js .tabs ul.tabs--secondary a.active:hover, .no-js .tabs ul.tabs--secondary a.active:focus, .no-js .tabs ul.tabs--secondary a.is-active:hover, .no-js .tabs ul.tabs--secondary a.is-active:focus {
  377. color: #363636;
  378. }
  379. }
  380. /*# sourceMappingURL=tabs.css.map */