- md5
- 6f130951339f6b1c74ea60203be35932
- sha1
- a09ef79c0622f332131ef6532296395fdd6431d7
- sha256
- 0db8777d8e71bb913fc5ad031b91d84b72966931c532f6217942a78b7519f6a6
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
// Tabs
.nav.nav-tabs {
padding: 0;
margin: 0;
background-color: $cassiopeia-tabs-header-bg;
border: 1px solid $cassiopeia-border-color;
border-bottom: 0;
border-radius: $border-radius $border-radius 0 0;
box-shadow: 0 1px #fff inset, 0 2px 3px -3px rgba(0, 0, 0, .15), 0 -4px 0 rgba(0, 0, 0, .05) inset, $cassiopeia-box-shadow;
.nav-item {
margin-bottom: 0;
margin-left: 0;
&:first-of-type .nav-link {
&.active {
border-radius: $border-radius 0 0;
box-shadow: -1px 0 1px -1px rgba(0, 0, 0, .06), inset -2px 0 1px -1px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(0, 0, 0, .02);
}
}
&:last-of-type .nav-link {
box-shadow: -1px 0 0 rgba(0, 0, 0, .05), 1px 0 0 rgba(0, 0, 0, .05);
&.active {
box-shadow: inset 2px 0 1px -1px rgba(0, 0, 0, .08), inset -2px 0 1px -1px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(0, 0, 0, .02);
}
}
}
.nav-link {
position: relative;
padding: .75em 1em;
color: $cassiopeia-template-color;
border: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
box-shadow: -1px 0 0 rgba(0, 0, 0, .05);
&.active {
background-color: $cassiopeia-tabs-active-bg;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .05) 100%);
border-right: 0;
border-left: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
box-shadow: inset 2px 0 1px -1px rgba(0, 0, 0, .08), inset -2px 0 1px -1px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(0, 0, 0, .02);
&::after {
position: absolute;
right: 0;
bottom: -1px;
left: 0;
height: 5px;
content: "";
background-color: $cassiopeia-tabs-active-highlight;
opacity: .8;
}
}
}
}
.nav-tabs + .tab-content {
padding: 15px;
background: $white-offset;
border: 1px solid;
border-color: $cassiopeia-border-color;
border-radius: 0 0 $border-radius $border-radius;
box-shadow: $cassiopeia-box-shadow;
}
The same content is in 5 releases, Joomla 4.0.0-beta to 4.0.0-beta5. See them all, or every version of this file.