diff --git a/src/archive-tainacan-collection.php b/src/archive-tainacan-collection.php index f46fb8a..32e6b06 100644 --- a/src/archive-tainacan-collection.php +++ b/src/archive-tainacan-collection.php @@ -2,8 +2,6 @@ - -
diff --git a/src/archive.php b/src/archive.php index 3c84971..c11712b 100644 --- a/src/archive.php +++ b/src/archive.php @@ -2,8 +2,6 @@ - -
diff --git a/src/assets/scss/_header-taxonomy.scss b/src/assets/scss/_header-taxonomy.scss index a3b76ca..7edc6b1 100644 --- a/src/assets/scss/_header-taxonomy.scss +++ b/src/assets/scss/_header-taxonomy.scss @@ -148,4 +148,6 @@ } } } -} \ No newline at end of file +} + +.page-header-taxonomy--height-auto { height: auto; } \ No newline at end of file diff --git a/src/assets/scss/style.scss b/src/assets/scss/style.scss index 7f55d13..527f21e 100644 --- a/src/assets/scss/style.scss +++ b/src/assets/scss/style.scss @@ -219,6 +219,7 @@ nav{ i { font-size: 1.1875rem; } + .mdi-close { display: none; } } > .dropdown-menu { top: calc(100% + 2px); @@ -237,6 +238,11 @@ nav{ color: #898d8f; } } + + &.show { + .mdi-magnify { display: none; } + .mdi-close { display: block !important; } + } } .dropdown-menu{ .dropdown-item{ @@ -246,8 +252,6 @@ nav{ } } &.menu-belowheader{ - border-bottom-color: #cbcbcb !important; - border-bottom-width: 0.75px !important; @media only screen and (min-width: 992px){ height: 70px; } @@ -259,13 +263,30 @@ nav{ font-size: 0.875rem; font-weight: 400; color: #000; + margin-right: .5rem; padding-left: 0; + padding-right: 0; + white-space: nowrap; + position: relative; &::after{ color: #298596; margin-left: 10px; } &:hover{ color: #000; + + &:before { + content: ""; + width: 100%; + height: 1px; + margin: 0; + padding: 0; + display: block; + position: absolute; + left: 0; + bottom: 0.5rem; + background-color: #8EB7BF; + } } &.dropdown-item{ padding-left: 1.5rem; @@ -288,6 +309,26 @@ nav{ } } } + @media only screen and (max-width: 768px) { + position: absolute; + top: 32px; + right: 0; + border: 1px solid #E2E2E2; + background-color: #fff; + z-index: 2; + + & > ul > li.menu-item a { + margin: 0; + padding: 2px 12px 1px; + + &:before { display: none !important; } + + &:hover, + &:focus { background-color: #DBDBDB; } + + &:active { background-color: #E4F4F6; } + } + } } } @media only screen and (max-width: 768px) { @@ -311,6 +352,43 @@ nav{ } } +.navbar { border: none; } +.navbar-box { + display: flex; + justify-content: flex-end; + align-items: center; + + .dropdown-menu { border: none; } + + nav.menu-belowheader #menubelowHeader > ul > li.menu-item a { + max-width: 240px; + overflow: hidden; + } + + & > .navbar { margin-right: 16px; } + + .mdi-menu, + .mdi-close { + margin-top: -4px; + color: #01295C !important; + } + + .navbar-toggler { + outline: none; + + .mdi-close { display: block; } + .mdi-menu { display: none; } + + &.collapsed { + .mdi-close { display: none; } + .mdi-menu { display: block; } + } + } +} +.navbar--border-bottom { + border-bottom: 2px solid #ededed !important; +} + /*Bordar Navbar top*/ .b-bottom-top{ border-bottom: 1px solid #298596; @@ -324,12 +402,21 @@ nav{ } .tainacan-search-form { + width: 32px; + height: 32px; + position: relative; + .input-group { - float: right !important; transition: all 0.35s, border-radius 0s; width: 32px; height: 32px; + cursor: pointer; background-color: #fff; + position: absolute; + top: 0; + right: 0; + overflow: hidden; + border: 1px solid transparent; //box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset; //border-radius: 25px; //border: 1px solid #ccc; @@ -353,25 +440,27 @@ nav{ } } &:hover, &.hover { - width: 100%; + width: 350px; //border-radius: 25px 25px 25px 25px; border: 1px solid #ccc; - position: static; } .form-control-feedback { position: absolute; - //top: -5px; - bottom: 0px; - right: -2px; - left: 5px; + top: 0; + right: 0; display: block; - width: 34px; - height: 34px; - line-height: 34px; + width: 30px; + height: 30px; text-align: center; color: #3596e0; - left: initial; font-size: 1.1875rem; + + &:before { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + } } } } diff --git a/src/functions/breadcrumb.php b/src/functions/breadcrumb.php index b985375..08b3ef2 100644 --- a/src/functions/breadcrumb.php +++ b/src/functions/breadcrumb.php @@ -21,7 +21,7 @@ function tainacan_interface_the_breadcrumb() { } else { - echo '