CoreFiles by mySites.guru
joomla-tab.css128 lines, 3,115 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
9e87b5f2aee193eddc26d5f69b9550fe
sha1
31d168de640c454d7784a06da0f31dbdfe11e227
sha256
d14f29c5148b14589388c14c9bd91e6fd148e7b863e49f545cbcdbcdf0cfbdf8
joomla-tab {
  display: flex;
  flex-direction: column; }

joomla-tab > ul {
  display: flex;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  list-style: outside none none;
  background-color: #f5f5f5;
  border-color: #ccc #ccc currentcolor;
  border-style: solid solid none;
  border-width: 1px 1px 0;
  border-radius: .25rem .25rem 0 0;
  border-image: none;
  box-shadow: 0 1px #fff inset, 0 2px 3px -3px rgba(0, 0, 0, 0.15), 0 -4px 0 rgba(0, 0, 0, 0.05) inset, 0 0 3px rgba(0, 0, 0, 0.04); }

joomla-tab a[role=tab] {
  position: relative;
  display: block;
  padding: .75em 1em;
  color: #0d1321;
  text-decoration: none;
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.05); }

joomla-tab a[role=tab][active] {
  background-color: rgba(0, 0, 0, 0.03);
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05) 100%);
  border-right: 0 none;
  border-left: 0 none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: 2px 0 1px -1px rgba(0, 0, 0, 0.08) inset, -2px 0 1px -1px rgba(0, 0, 0, 0.08) inset, 0 1px 0 rgba(0, 0, 0, 0.02) inset; }

joomla-tab a[role=tab][active]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 5px;
  content: "";
  background-color: #006898;
  opacity: .8; }

joomla-tab > section {
  position: relative;
  display: none;
  padding: 15px;
  background-color: #fefefe;
  border: 1px solid #ccc;
  border-radius: 0 0 .25rem .25rem;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.04); }

joomla-tab > section[active] {
  display: block; }

joomla-tab[orientation=vertical] {
  flex-direction: row;
  align-items: flex-start; }

joomla-tab[orientation=vertical] > ul {
  flex-direction: column;
  min-width: 30%;
  height: auto;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: .25rem;
  box-shadow: none; }

joomla-tab[orientation=vertical] li:last-of-type a {
  border-bottom: 0; }

joomla-tab[orientation=vertical] a {
  position: relative;
  display: block;
  padding: .75em 1em;
  color: #0d1321;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
  box-shadow: none; }

joomla-tab[orientation=vertical] a[active] {
  background-color: #fff;
  background-image: none;
  border-right: 0 none;
  border-left: 0 none;
  box-shadow: none; }

joomla-tab[orientation=vertical] a[active]::after {
  top: 0;
  bottom: 0;
  left: -1px;
  width: 5px;
  height: auto; }

joomla-tab[orientation=vertical] > section {
  padding: 15px;
  border: 0 none;
  box-shadow: none; }

joomla-tab[view=accordion] > ul {
  flex-direction: column;
  white-space: normal;
  border-radius: .25rem;
  box-shadow: 0 1px #fff inset, 0 0 3px rgba(0, 0, 0, 0.04); }

joomla-tab[view=accordion] section {
  display: none;
  padding: 15px; }

joomla-tab[view=accordion] section[active] {
  display: block;
  border-bottom: 1px solid #ddd; }

joomla-tab[view=accordion] [active] {
  background-color: #fff; }

joomla-tab[view=accordion] a[role=tab] {
  border-bottom: 1px solid #ddd; }

joomla-tab[view=accordion] a[role=tab][active]::after {
  top: 0;
  left: 0;
  width: 5px;
  height: 100%; }

The same content is in 11 releases, Joomla 4.0.0-beta to 4.0.0-rc4. See them all, or every version of this file.