- md5
- d551158597e32b16cd70000166816af0
- sha1
- 930453b2bbb8ce265a3e70286a4337a97cc99ad1
- sha256
- 83860eeefc1ca706306ca097a79acee387d7f64b16362a97f5b9be2911773847
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
@import "../../../../../../vendor/bootstrap/scss/functions";
// Atum Variables
@import "../../variables";
@import "../../../../../../vendor/bootstrap/scss/variables";
@import "../../../../../../vendor/bootstrap/scss/mixins";
// Tabs
//
// Base styles
//
joomla-tab {
display: flex;
flex-direction: column;
&[orientation=horizontal]:not([view=accordion]) {
margin-bottom: 0;
}
&[orientation=horizontal]:not([view=accordion]) > div[role=tablist] {
width: 100%;
margin-bottom: 0;
}
> div[role=tablist] {
display: flex;
flex-flow: wrap;
padding: 0;
white-space: nowrap;
list-style: outside none none;
border-bottom: $joomla-tablist-border-bottom; // 1px solid var(--template-bg-dark-10);
> button[role=tab] {
position: relative;
box-sizing: border-box;
display: block;
padding: .6rem 1rem;
text-decoration: none;
background-color: var(--body-bg);
border: 0;
box-shadow: none;
&:first-of-type,
&[aria-expanded=true]:first-of-type {
border-start-start-radius: .25rem;
}
&:focus-visible {
z-index: 1;
}
&[aria-expanded=true],
&:focus,
&:hover {
color: $joomla-tab-btn-hvr;
border: 0;
border-radius: 0;
box-shadow: none;
&::after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 3px;
content: "";
background-color: var(--btn-primary-bg);
opacity: .8;
}
.text-muted {
color: $text-muted-hvr-color;
}
}
&[aria-expanded=true] {
font-weight: $font-weight-bold;
background: $joomla-tab-btn-aria-exp-bg;
}
.text-muted {
color: $text-muted-color;
}
}
}
> button[role=region] {
width: 100%;
padding: .7rem;
color: var(--template-text-light);
text-align: start;
background-color: var(--template-link-color);
border: $joomla-tab-btn-region-border;
border-top: 0;
&[aria-expanded=true],
&:hover,
&:focus {
color: var(--template-text-light);
background-color: var(--template-bg-dark);
}
.text-muted {
color: $text-muted-color;
}
}
> joomla-tab-element {
--gutter-x: 2rem;
display: none;
padding: 30px 2vw;
background-color: var(--body-bg);
border: 0;
border-radius: .25rem;
box-shadow: none;
&[active] {
display: block;
}
}
.main-card-columns > * > & {
height: 100%;
border-left: $main-card-col-border-left; // 1px solid var(--template-bg-dark-10);
}
}
joomla-tab[orientation=vertical] {
flex-direction: row;
align-items: flex-start;
width: 100%;
> div[role=tablist] {
flex: 0 0 25%;
flex-direction: column;
width: 100%;
min-width: 25%;
max-width: 25%;
height: auto;
padding: 0;
overflow: hidden;
border: $joomla-tab-tablist-border; // 1px solid $gray-300;
border-radius: 0;
box-shadow: none;
@include media-breakpoint-down(lg) {
flex: 0 0 100%;
max-width: 100%;
}
> button[role=tab] {
text-align: start;
&[aria-expanded=true] {
color: $joomla-tablist-btn-aria-exp; // var(--template-text-light);
background-color: $joomla-tablist-btn-aria-exp-bg; // var(--template-bg-dark-60);
}
}
> button[role=tab]:last-of-type {
border-bottom: 0;
}
> button[role=tab] {
position: relative;
display: block;
padding: .75em 1em;
margin: -1px 0;
text-decoration: none;
border-top: 1px solid transparent;
border-bottom: $joomla-tab-vert-border-bottom; // 1px solid $gray-300;
box-shadow: none;
&[aria-expanded=true],
&:focus,
&:hover {
color: var(--template-text-light);
background-color: $joomla-tablist-btn-aria-exp-bg; // var(--template-bg-dark-60);
background-image: none;
border-right: 0;
box-shadow: none;
&::after {
top: 0;
bottom: 0;
left: -1px;
width: 5px;
height: auto;
background-color: $joomla-tablist-btn-aria-exp-aft-bg; // var(--template-bg-dark);
}
.text-muted {
color: $text-muted-hvr-color;
}
}
.text-muted {
color: $text-muted-color;
}
}
}
> joomla-tab-element {
width: 100%;
padding: $grid-gutter-width-s 0 $grid-gutter-width-s $grid-gutter-width-s;
border: 0 none;
box-shadow: none;
}
}
joomla-tab[view=accordion] {
flex-direction: column;
white-space: normal;
border-radius: 0;
box-shadow: $joomla-tab-accordion-box-shadow;
> div[role=tablist] {
background-color: $white;
> button[role=tab] {
position: relative;
display: block;
padding: .75em 1em;
color: var(--template-text-light);
text-align: start;
text-decoration: none;
border: 0;
border-bottom: $joomla-tab-vert-border-bottom; // 1px solid $gray-300;
box-shadow: none;
&[aria-expanded=true]::after,
&:hover::after {
position: absolute;
top: auto;
right: -1px;
bottom: -1px;
left: -1px;
display: block;
width: calc(100% + 2px);
height: 5px;
content: "";
background-color: var(--template-bg-dark);
opacity: .8;
}
}
}
> joomla-tab-element {
display: none;
padding: 15px;
&[active] {
display: block;
width: 100%;
max-width: 100%;
border-bottom: $joomla-tab-vert-border-bottom; // 1px solid $gray-300;
}
}
[active],
[aria-expanded=true] {
background-color: var(--body-bg);
}
.col-md-6,
.col-md-9,
.col-md-3 {
padding: .5rem 0 0 !important;
}
#permissions-sliders > joomla-tab-element[active] {
padding: 0 !important;
@include media-breakpoint-down(lg) {
.respTable {
text-align: end;
}
.respTable, .respTable thead, .respTable tbody, .respTable tr, .respTable th, .respTable td {
display: block;
}
.respTable thead {
position: absolute;
inset-block-start: -1111px;
inset-inline-start: -1111px;
}
.respTable td::before {
float: inline-start;
padding-inline-end: 2em;
font-weight: $bold-weight;
content: attr(data-label) ":";
}
.respTable td:nth-child(1) {
font-weight: $bold-weight;
}
.respTable td:last-child {
border-bottom: $respTable-border-bottom; // 1em var(--template-bg-dark-80) solid;
}
.oddCol {
background: $permissions-sliders-oddCol-bg; // var(--template-bg-light);
}
}
}
}
@if $enable-dark-mode {
@include color-mode(dark) {
joomla-tab {
> button[role=region] {
color: var(--btn-primary-color);
background-color: var(--btn-primary-bg);
border: var(--btn-primary-border);
&[aria-expanded=true],
&:hover,
&:focus {
color: var(--btn-primary-color);
background-color: var(--btn-primary-bg-hvr);
}
}
}
[dir=rtl] joomla-tab {
div[role="tablist"] > button[role="tab"][aria-expanded="true"]::after {
right: auto;
left: 0;
}
}
}
}
The same content is in 2 releases, Joomla 5.3.0-beta1 to 5.3.0-beta2. See them all, or every version of this file.