- md5
- a99672b2309ba5121f5c984f2289e34f
- sha1
- 48695bc3a555771c6dfa755d49fe76b44f2a9cc2
- sha256
- d3d3a2768d30287ae5b8305539cc28b362741e22e5daf9bfd0f6b7d16e3cc6c6
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
// Tabs
//
// Base styles
//
joomla-tab {
display: flex;
flex-direction: column;
&[orientation=horizontal]:not([view=accordion]) {
margin-bottom: 5rem;
}
&[orientation=horizontal]:not([view=accordion]) > ul {
width: 100%;
background-color: var(--atum-bg-dark);
margin-bottom: 1rem;
}
> ul {
display: flex;
border-image: none;
border-radius: 0;
border: 0;
box-shadow: $atum-box-shadow;
margin: 0;
padding: 0;
list-style: outside none none;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
a[role=tab] {
display: block;
color: var(--atum-text-light);
padding: 1.3rem 2rem;
position: relative;
box-shadow: none;
border: 1px solid var(--atum-bg-dark-80);
border-right: 0;
border-bottom: 0;
text-decoration: none;
&[active], &:hover {
background-color: var(--atum-bg-dark-80);
background-image: none;
border-radius: 0;
box-shadow: none;
&::after {
background-color: var(--atum-contrast);
top: -1px;
content: "";
height: 8px;
left: 0;
opacity: .8;
position: absolute;
right: 0;
}
}
&[active] {
font-weight: $font-weight-bold;
}
}
}
> section {
display: none;
background-color: transparent;
border: 0;
border-radius: 0;
box-shadow: none;
padding: 0;
&[active] {
display: block;
}
}
&[orientation=vertical] {
flex-direction: row;
align-items: flex-start;
width: 100%;
> ul {
flex-direction: column;
flex: 0 0 25%;
width: 100%;
max-width: 25%;
min-width: 25%;
height: auto;
border: 1px solid $gray-300;
border-radius: 0;
box-shadow: none;
overflow: hidden;
padding: 0;
@include media-breakpoint-down(md) {
max-width: 100%;
flex: 0 0 100%;
}
}
li:last-of-type a[role=tab] {
border-bottom: 0;
}
a[role=tab] {
display: block;
color: var(--atum-special-color);
padding: .75em 1em;
position: relative;
border: 0;
border-bottom: 1px solid $gray-300;
box-shadow: none;
text-decoration: none;
&[active], &:hover {
background-color: $white;
background-image: none;
box-shadow: none;
border-right: 0;
&::after {
left: -1px;
width: 5px;
height: auto;
top: 0;
bottom: 0;
background-color: var(--atum-bg-dark);
}
}
}
> section {
border: 0 none;
box-shadow: none;
padding: $grid-gutter-width-s 0 $grid-gutter-width-s $grid-gutter-width-s;
width: 100%;
}
}
&[view=accordion] {
> ul {
flex-direction: column;
border-radius: 0;
white-space: normal;
box-shadow: 0 1px $white inset, 0 0 3px rgba(0, 0, 0, 0.04);
background-color: var(--atum-bg-dark);
}
section {
display: none;
padding: 15px;
&[active] {
display: block;
border-bottom: 1px solid $gray-300;
width: 100%;
max-width: 100%;
flex: 0 0 100%;
}
}
[active] {
background-color: $gray-300;
}
a[role=tab] {
border: 1px solid var(--atum-bg-dark-80);
border-top: 0;
&[active], &:hover {
&::after {
position: absolute;
top: auto;
bottom: -1px;
left: -1px;
right: -1px;
content: "";
width: calc(100% + 2px);
height: 8px;
opacity: .8;
background-color: var(--atum-text-light);
}
}
}
.col-md-6,
.col-md-9,
.col-md-3 {
padding: 0.5rem 0 0 !important;
}
joomla-tab[view=accordion] {
> ul {
background-color: $gray-100;
}
a[role=tab] {
display: block;
color: var(--atum-special-color);
padding: .75em 1em;
position: relative;
border: 0;
border-bottom: 1px solid $gray-300;
box-shadow: none;
text-decoration: none;
&[active], &:hover {
&::after {
position: absolute;
top: auto;
bottom: -1px;
left: -1px;
right: -1px;
content: "";
width: calc(100% + 2px);
height: 5px;
opacity: .8;
background-color: var(--atum-bg-dark);
display: block;
}
}
}
}
#permissions-sliders {
section[active] {
padding: 0 !important;
}
}
}
}
The same content is in 2 releases, Joomla 4.0.0-alpha11 to 4.0.0-alpha12. See them all, or every version of this file.