diff --git a/invenio_theme_tugraz/assets/scss/invenio_tugraz_theme/header.scss b/invenio_theme_tugraz/assets/scss/invenio_tugraz_theme/header.scss
index e71e3f2..8ed3476 100644
--- a/invenio_theme_tugraz/assets/scss/invenio_tugraz_theme/header.scss
+++ b/invenio_theme_tugraz/assets/scss/invenio_tugraz_theme/header.scss
@@ -6,230 +6,177 @@
* under the terms of the MIT License; see LICENSE file for more details.
*/
- #int-menu-q-home-icon {
- width: 18px;
- height: 18px;
- vertical-align: top;
- fill: red;
+#int-menu-q-home-icon {
+ width: 18px;
+ height: 18px;
+ vertical-align: top;
+ fill: red;
+}
- }
+/*****logo section******/
+.affiliation-spacer {
+ display: table-cell;
+ vertical-align: middle;
+ width: 100%;
+}
- /*****logo section******/
- .affiliation-spacer{
- display: table-cell;
- vertical-align: middle;
- width: 100%;
- }
-
- .affiliation-logo {
- display: table-cell;
- padding: 0 50px 0 0;
- vertical-align: middle;
- white-space: nowrap;
- }
- .affiliation {
- background-color: white;
- display: table;
- margin: 0 auto 80px;
- max-width: 1060px;
- width: 100%;
- text-decoration: none;
-
- }
-
- .affiliation-text {
- display: table-cell;
- font-size: 17px;
- padding: 0 0 0 50px;
- vertical-align: middle;
- white-space: nowrap;
- }
-
- .affiliation-logo-claim {
- display: inline-block;
- font-size: 12px;
- letter-spacing: 2px;
- line-height: 17px;
- padding: 0 17px 0 0;
- text-align: right;
- vertical-align: top;
- }
-
- a {
- color: inherit;
- text-decoration: none;
- transition: background-color 0.15s ease 0s, color 0.15s ease 0s;
- }
- /*****END logo section******/
-
-
-
- .short-menu {
- display: table;
- height: 49px;
- width: 100%;
- }
- .short-menu-left {
- border-right: 1px solid black;
- display: table-cell;
- text-align: right;
- width: 50%;
- }
- .short-menu-right {
- display: table-cell;
- vertical-align: top;
- width: 50%;
- color:#000000;
- }
- .short-menu-left-search {
- display: inline-block;
- margin: 12px 9px 6px 0;
- color:#000000;
- }
- .short-menu-right-h {
- cursor: pointer;
- display: inline-block;
- margin: 12px 0 6px 9px;
- padding: 5px;
- }
-
- .short-menu-right-main-menu {
- display: inline-block;
- margin-right: 3px;
- vertical-align: top;
- width: 21px;
- }
- svg:not(:root) {
- overflow: hidden;
- }
-
-
-
- /***********MAIN menu*************/
- .header {
- min-width: 0;
- position: relative;
- width: 100%;
- }
-
- .main-menu-box {
- box-sizing: border-box;
- display: table;
- margin: 0 auto;
- max-width: 1060px;
- padding: 9px 50px 8px;
- text-align: left;
- width: 100%;
- }
-
- .main-menu-entry {
- display: table-cell;
- text-align: center;
- }
- .main-menu-entry a {
- box-decoration-break: clone;
- padding: 5px 8px;
- }
-
- .main-menu-entry a:hover{
- background-color: #000000;
- color: #ffffff;
- text-decoration: none;
- }
-
- .affiliation-text a:hover{
- background-color: #000000;
- color: #ffffff;
- text-decoration : none;
- }
-
- .affiliation-logo :hover{
+.affiliation-logo {
+ display: table-cell;
+ padding: 0 50px 0 0;
+ vertical-align: middle;
+ white-space: nowrap;
+}
+.affiliation {
+ background-color: white;
+ display: table;
+ margin: 0 auto 80px;
+ max-width: 1060px;
+ width: 100%;
text-decoration: none;
- }
+}
- .short-menu-right :hover{
- background-color: #000000;
- color: #ffffff;
- }
+.affiliation-text {
+ display: table-cell;
+ font-size: 17px;
+ padding: 0 0 0 50px;
+ vertical-align: middle;
+ white-space: nowrap;
+}
- .main-menu {
- border-bottom: 1px solid #000;
- box-sizing: border-box;
- height: 39px;
- margin-top: -1px;
- overflow: hidden;
- transition: height 0.3s linear 0s;
- }
+.affiliation-logo-claim {
+ display: inline-block;
+ font-size: 12px;
+ letter-spacing: 2px;
+ line-height: 17px;
+ padding: 0 17px 0 0;
+ text-align: right;
+ vertical-align: top;
+}
- @media (max-width: 767.9px){
+a {
+ color: inherit;
+ text-decoration: none;
+ transition: background-color 0.15s ease 0s, color 0.15s ease 0s;
+}
+/*****END logo section******/
+
+.short-menu {
+ display: table;
+ height: 49px;
+ width: 100%;
+}
+.short-menu-left {
+ border-right: 1px solid black;
+ display: table-cell;
+ text-align: right;
+ width: 50%;
+}
+.short-menu-right {
+ display: table-cell;
+ vertical-align: top;
+ width: 50%;
+ color: #000000;
+}
+.short-menu-left-search {
+ display: inline-block;
+ margin: 12px 9px 6px 0;
+ color: #000000;
+}
+.short-menu-right-h {
+ cursor: pointer;
+ display: inline-block;
+ margin: 12px 0 6px 9px;
+ padding: 5px;
+}
+
+.short-menu-right-main-menu {
+ display: inline-block;
+ margin-right: 3px;
+ vertical-align: top;
+ width: 21px;
+}
+svg:not(:root) {
+ overflow: hidden;
+}
+
+/***********MAIN menu*************/
+
+.affiliation-text a:hover {
+ background-color: #000000;
+ color: #ffffff;
+ text-decoration: none;
+}
+
+.affiliation-logo :hover {
+ text-decoration: none;
+}
+
+.short-menu-right :hover {
+ background-color: #000000;
+ color: #ffffff;
+}
+
+.main-menu {
+ border-bottom: 1px solid #000;
+ box-sizing: border-box;
+ height: 39px;
+ margin-top: -1px;
+ overflow: hidden;
+ transition: height 0.3s linear 0s;
+}
+
+@media (max-width: 767.9px) {
.main-menu {
height: auto;
}
- }
+}
- @media (max-width: 767.9px){
- .main-menu-entry {
- display: table-row;
-
- line-height: 1.9em;
- }
- }
-
- @media screen and (max-width: 767.9px){
+@media screen and (max-width: 767.9px) {
#int-header-logo-img {
width: 200px;
height: 75px;
}
- }
+}
- @media screen and (max-width: 767.9px){
+@media screen and (max-width: 767.9px) {
#int-header-logo {
padding: 50px 0;
text-align: center;
- }}
+ }
+}
- @media screen and (max-width: 767.9px){
- .affiliation{
+@media screen and (max-width: 767.9px) {
+ .affiliation {
margin: 0;
text-align: center;
-
}
- .affiliation-text{
+ .affiliation-text {
display: none;
}
- .affiliation-logo-claim{
+ .affiliation-logo-claim {
display: none;
}
- .affiliation-spacer{
+ .affiliation-spacer {
display: none;
}
+}
- }
+.int-menu-q-open-icon {
+ width: 14px;
+ vertical-align: middle;
+ margin-left: 5px;
+}
- @media (max-width: 767.9px){
- .main-menu-box {
- margin-top:15px;
- width: 100%;
- text-align: center;
- }
- }
+/*********************Custom overrides**********************/
+/** Login with SAML**/
+.col a {
+ cursor: pointer;
+}
- .int-menu-q-open-icon {
- width: 14px;
- vertical-align: middle;
- margin-left: 5px;
- }
-
- /*********************Custom overrides**********************/
- /** Login with SAML**/
- .col a{
- cursor: pointer;
- }
-
- /**** hyperlink hover color ****/
- a:focus,
- a:hover {
- color:#E4154B;
- text-decoration:underline
- }
+/**** hyperlink hover color ****/
+a:focus,
+a:hover {
+ color: #e4154b;
+ text-decoration: underline;
+}
diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less
index 149359d..8a7f522 100644
--- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less
+++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less
@@ -88,25 +88,27 @@ a {
width: 50%;
color: #000000;
& div {
- & svg {
- & g {
- stroke: #000;
- stroke-linecap: round;
- stroke-width: 2;
- fill: none;
- }
- }
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-width: 2;
+ fill: none;
}
}
.short-menu-right :hover {
background-color: #000000;
color: #ffffff;
- & svg {
- & g {
- stroke: #fff;
- }
- }
+ stroke: #fff;
+}
+
+.short-menu-right-button {
+ cursor: pointer;
+ display: inline-block;
+ margin: 12px 0 6px 9px;
+ padding: 5px;
+}
+.short-menu-right-button a:hover {
+ text-decoration: none;
}
.short-menu-left-lang {
@@ -166,13 +168,6 @@ a {
color: #000000;
}
-.short-menu-right-h {
- cursor: pointer;
- display: inline-block;
- margin: 12px 0 6px 9px;
- padding: 5px;
-}
-
.short-menu-right-main-menu {
display: inline-block;
margin-right: 3px;
@@ -191,31 +186,8 @@ svg:not(:root) {
}
/***********MAIN menu*************/
-.header {
- min-width: 0;
- position: relative;
- width: 100%;
- //height: 100%;
-}
-
-.main-menu-box {
- font-size: 16px;
- box-sizing: border-box;
- display: table;
- margin: 0 auto;
- max-width: 1060px;
- padding: 9px 50px 8px;
- text-align: left;
- width: 100%;
-}
-
-.main-menu-entry {
- display: table-cell;
- text-align: center;
-}
.main-menu-entry a {
- box-decoration-break: clone;
padding: 5px 8px;
}
@@ -225,6 +197,12 @@ svg:not(:root) {
text-decoration: none;
}
+.main-menu-underline {
+ background-color: #e4154b;
+ height: 5px;
+ width: 100%;
+}
+
.affiliation-text a:hover {
background-color: #000000;
color: #ffffff;
@@ -246,14 +224,6 @@ svg:not(:root) {
}
}
-@media (max-width: 767.9px) {
- .main-menu-entry {
- display: table-row;
-
- line-height: 1.9em;
- }
-}
-
@media screen and (max-width: 767.9px) {
#int-header-logo-img {
width: 200px;
@@ -285,14 +255,6 @@ svg:not(:root) {
}
}
-@media (max-width: 767.9px) {
- .main-menu-box {
- margin-top: 15px;
- width: 100%;
- text-align: center;
- }
-}
-
.int-menu-q-open-icon {
width: 14px;
vertical-align: middle;
diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html
index 283eecf..dcf6ddb 100644
--- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html
+++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html
@@ -2,41 +2,26 @@
{%- if not current_user.is_authenticated %}
-
-Login
-
-
+
{%- else %}
{%- if config.USERPROFILES %}
-
-
- {{ current_user.email }}
-
-
-
-
-{{_('Logout')}}
-
-
+
+
{%- endif %}
{%- endif %}
diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html
index fe35cb3..e59e244 100644
--- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html
+++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html
@@ -17,64 +17,8 @@
{%- block navbar_header %}
-