- md5
- cb6b369169491be1f2a9a7a1ecfe7a8d
- sha1
- d2bde20415211234e69fbef156c43d57d9e17942
- sha256
- 70a9743d47bd0d3bfb55d74557c6d25685f753087620a6b72b35815f095d5bb5
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
@import "../../../../../../media/vendor/bootstrap/scss/functions";
// Atum Variables
@import "../../variables";
// Mixins
@import "../../mixin";
@import "../../../../../../media/vendor/bootstrap/scss/variables";
@import "../../../../../../media/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]) > ul {
width: 100%;
margin-bottom: 0;
}
> ul {
display: flex;
flex-flow: wrap;
padding: 0;
white-space: nowrap;
list-style: outside none none;
border-bottom: 1px solid var(--atum-bg-dark-10);
li + li {
margin-left: 1px;
}
a[role=tab] {
position: relative;
box-sizing: border-box;
display: block;
padding: .6rem 1rem;
color: var(--primary);
text-decoration: none;
border: 0;
border-top: 0;
border-right: 0;
border-bottom: 0;
box-shadow: none;
&[active],
&:hover {
border: 0;
border-radius: 0;
box-shadow: none;
&::after {
position: absolute;
right: 0;
bottom: -1px;
left: 0;
height: 3px;
content: "";
background-color: var(--atum-link-color);
opacity: .8;
}
}
&[active] {
font-weight: $font-weight-bold;
background: var(--atum-bg-dark-3);
}
}
}
> section {
--gutter-x: 2rem;
display: none;
padding: 30px 2vw;
background-color: $white;
border: 0;
border-radius: .25rem;
box-shadow: none;
&[active] {
display: block;
}
}
&[orientation=vertical] {
flex-direction: row;
align-items: flex-start;
width: 100%;
> ul {
flex: 0 0 25%;
flex-direction: column;
width: 100%;
min-width: 25%;
max-width: 25%;
height: auto;
padding: 0;
overflow: hidden;
border: 1px solid $gray-300;
border-radius: 0;
box-shadow: none;
@include media-breakpoint-down(lg) {
flex: 0 0 100%;
max-width: 100%;
}
}
li:last-of-type a[role=tab] {
border-bottom: 0;
}
a[role=tab] {
position: relative;
display: block;
padding: .75em 1em;
margin: -1px 0;
color: var(--atum-special-color);
text-decoration: none;
border-top: 1px solid transparent;
border-bottom: 1px solid $gray-300;
box-shadow: none;
&[active],
&:hover {
color: var(--atum-text-light);
background-color: var(--atum-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: var(--atum-bg-dark);
}
.text-muted {
color: var(--atum-text-light) !important;
}
}
}
> section {
width: 100%;
padding: $grid-gutter-width-s 0 $grid-gutter-width-s $grid-gutter-width-s;
border: 0 none;
box-shadow: none;
}
}
&[view=accordion] {
> ul {
flex-direction: column;
white-space: normal;
background-color: var(--atum-bg-dark-60);
border-radius: 0;
box-shadow: 0 1px $white inset, 0 0 3px rgba(0, 0, 0, .04);
}
section {
display: none;
padding: 15px;
&[active] {
display: block;
flex: 0 0 100%;
width: 100%;
max-width: 100%;
border-bottom: 1px solid $gray-300;
}
}
[active] {
background-color: $white;
}
a[role=tab] {
color: var(--atum-text-light);
background-color: var(--atum-link-color);
border: 1px solid var(--atum-text-light);
border-top: 0;
&[active],
&:hover,
&:focus {
color: var(--atum-text-light);
background-color: var(--atum-bg-dark);
}
.text-muted {
color: var(--atum-text-light) !important;
}
}
.col-md-6,
.col-md-9,
.col-md-3 {
padding: .5rem 0 0 !important;
}
joomla-tab[view=accordion] {
> ul {
background-color: $white;
}
a[role=tab] {
position: relative;
display: block;
padding: .75em 1em;
color: var(--atum-text-light);
text-decoration: none;
border: 0;
border-bottom: 1px solid $gray-300;
box-shadow: none;
&[active]::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(--atum-bg-dark);
opacity: .8;
}
}
}
#permissions-sliders section[active] {
padding: 0 !important;
@include media-breakpoint-down(lg) {
[dir=ltr] & .respTable {
text-align: right;
}
[dir=rtl] & .respTable {
text-align: left;
}
.respTable, .respTable thead, .respTable tbody, .respTable tr, .respTable th, .respTable td {
display: block;
}
.respTable thead {
position: absolute;
top: -1111px;
left: -1111px;
}
/* stylelint-disable */
.respTable td::before {
font-weight: $bold-weight;
content: attr(data-label) ":";
[dir=ltr] & {
float: left;
padding: 0 2em 0 0;
}
[dir=rtl] & {
float: right;
padding: 0 0 0 2em;
}
}
/* stylelint-enable */
.respTable td:nth-child(1) {
font-weight: $bold-weight;
}
.respTable td:last-child {
border-bottom: 1em var(--atum-bg-dark-80) solid;
}
.oddCol {
background: var(--atum-bg-light);
}
}
}
}
.main-card-columns > * > & {
height: 100%;
border-left: 1px solid var(--atum-bg-dark-10);
}
}
The same content is in 4 releases, Joomla 4.0.0-rc1 to 4.0.0-rc4. See them all, or every version of this file.