- md5
- 2d351e2c8335a5c00122ce166c5e6f1e
- sha1
- c21b2553a4a30962f45a955ef3abb5c7a91495e5
- sha256
- 6d519d85ae8a53365fbe87bbb9b49366dbfc2bd15b94fba45dd0c7ea99285e43
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
// Header
.container-header {
position: relative;
z-index: 10;
background-color: var(--cassiopeia-color-primary);
background-image: $cassiopeia-header-grad;
box-shadow: 0 5px 5px hsla(0, 0%, 0%, .03) inset;
@include media-breakpoint-down(lg) {
position: relative !important;
}
.grid-child {
padding: ($cassiopeia-grid-gutter / 2);
}
nav {
padding: 0;
margin-top: $cassiopeia-grid-gutter / 2;
}
.site-description {
font-size: 1rem;
color: $white;
white-space: normal;
}
.navbar-brand {
position: relative;
display: inline-block;
margin-right: auto;
font-size: 2rem;
color: $white;
[dir=rtl] & {
margin-right: 0;
margin-left: auto;
}
img {
width: 18rem;
min-width: 18rem;
}
a {
color: $white;
}
&:hover,
&:focus {
color: scale-color($white, $lightness: -6%);
}
}
.container-nav {
flex-wrap: wrap;
justify-content: space-between;
padding-bottom: $cassiopeia-grid-gutter;
@include media-breakpoint-down(md) {
.container-search,
nav {
margin-top: $cassiopeia-grid-gutter;
}
}
.container-search:only-child {
margin-left: auto;
}
}
.navbar-collapse {
&.show {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
}
.mod-menu {
flex: 1 0 100%;
padding: 0;
margin: 0;
color: $white;
list-style: none;
@include media-breakpoint-up(lg) {
display: flex;
flex: 1 1 0%;
flex-direction: row;
}
> li {
position: relative;
@include media-breakpoint-up(lg) {
+ li {
margin-left: 1.55em;
}
}
> a,
> span {
position: relative;
color: currentColor;
text-decoration: none;
}
&::after {
@include media-breakpoint-up(lg) {
position: absolute;
right: 50%;
bottom: 0;
left: 50%;
display: block;
height: 2px;
margin: auto;
content: "";
background: transparent;
opacity: .2;
transition: all .2s ease, background-color .2s ease;
}
}
&.active::after,
&:hover::after {
right: 2px;
left: 0;
background: $white;
}
@include media-breakpoint-down(lg) {
&.active > a,
&.active > span,
> a:hover {
text-decoration: underline;
}
}
}
.parent {
> ul {
display: none;
color: $gray-900;
}
}
}
@if $metismenu==true {
.metismenu > li {
+ li {
margin-left: 0;
}
> a::after,
> button::before {
@include media-breakpoint-up(lg) {
position: absolute;
right: 50%;
bottom: 0;
left: 50%;
display: block;
height: 2px;
margin: auto;
content: "";
background: transparent;
opacity: .2;
transition: all .2s ease, background-color .2s ease;
}
}
> a:hover::after,
> button:hover::before,
&.active > a::after,
&.active > button::before {
right: 0;
left: 0;
background: $white;
}
> button.mm-toggler-link:hover::before,
&.active > button.mm-toggler-link::before {
right: 0;
left: .5em;
[dir="rtl"] & {
right: .5em;
left: 0;
}
}
}
.metismenu > li.level-1 {
&.active > a,
&.active > button,
> a:hover,
> button:hover {
@include media-breakpoint-up(lg) {
text-decoration: none;
}
}
> ul {
min-width: 12rem;
}
}
}
.navbar-toggler {
color: $white;
cursor: pointer;
border: 1px solid $white;
.fas {
font-size: 1.5rem;
}
}
.container-search {
margin-top: $cassiopeia-grid-gutter / 2;
}
.mod-finder {
position: relative;
display: flex;
flex: 1 0 20rem;
max-width: 100%;
> label {
@include visually-hidden();
}
}
}
The same content is in 6 releases, Joomla 4.0.3-rc to 4.1.0-alpha2. See them all, or every version of this file.