From 7fee8a27309226a6df03439ce1957e66c2d4c859 Mon Sep 17 00:00:00 2001 From: Nikita Lvov Date: Fri, 26 Jun 2020 16:33:59 +0200 Subject: [PATCH 1/2] fixing the padding on the header menu; adding favicon image; this closes #25, closes #31, closes #32; --- invenio_theme_tugraz/static/favicon.ico | Bin 0 -> 2550 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 invenio_theme_tugraz/static/favicon.ico diff --git a/invenio_theme_tugraz/static/favicon.ico b/invenio_theme_tugraz/static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..f6cf22d1afc22f071d2b64c7779bc5214c3adae5 GIT binary patch literal 2550 zcmeH{J!@1^5Qg9Qfi}@C1S=tFL@SHw1R=k|!X_wkl3I{dku4;hA_M{lL{exWVu~Os z1S^fr9!$4EB!X-a459`s0v5+-W+QHv-9Sty-ek_b^WOP*?wq?<8qpCo8sdCX)5oRr z(yl+I>0{D;vevH?r0~Nh9Q88+IXP7cgGYv9KnckV3nIf6qnclG-(Houqnf{snzD1e- znb~9*G7Opb#J7#9#M7g2X7z1k28DhFwgN|?Uu>;&FoOa|aSk3Vwwt5^OM#^TQD_*i z04#;XLQp{{u<(yjhdn8<6rV@1_}k#SfCfW_p~6sMs4!F*;&p}M*4Njyv9X~}r=zW{Ep2aaYiDOi-+xv;UR+eO*<`x@8}JkL!t=WBRy}G@sd4mn z*v(Pt!_taYX0PkU*(t3qz1IAzdA*#yrzuKv*H zOH*2FtjRhnYF&IoheIDnIC_ih_1%j@zADy!zenswML;)xxAGnbt>5njILLK(wlVIQ z^CxEQ)*SEJUA~iU_4KaAUi^vQ`<)$&))Rb#{~!BJpnvN7#SXgnxB2~fgM9DTum5J~ r*9Z9r$sZIutmdHDLE3)#9zX2p&l?suOh0V?u)6<--anm#erJ9GA@oeM literal 0 HcmV?d00001 From dbe21070b6ab750383b759b6916b7a6763f07ed5 Mon Sep 17 00:00:00 2001 From: Nikita Lvov Date: Wed, 1 Jul 2020 09:45:11 +0200 Subject: [PATCH 2/2] adding the *.ico extension to the manifest in #25; fixing the hovering tugraz logo #31; fixing the centralisation of the menu when window is minimized #32; adding the *.ico extension to the manifest in #25; fixing the hovering tugraz logo #31; fixing the centralisation of the menu when window is minimized #32; --- MANIFEST.in | 3 ++- .../less/invenio_theme_tugraz/header.less | 14 ++++++++--- .../accounts/header_login.html | 25 +++++++++---------- .../invenio_theme_tugraz/header.html | 23 +++++++---------- 4 files changed, 33 insertions(+), 32 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index f741613..818c013 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -40,4 +40,5 @@ recursive-include invenio_theme_tugraz *.png recursive-include invenio_theme_tugraz *.scss recursive-include invenio_theme_tugraz *.svg recursive-include invenio_theme_tugraz *.less -recursive-include tests *.py +recursive-include invenio_theme_tugraz *.ico +recursive-include tests *.py \ No newline at end of file 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 f39a2b3..149359d 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 @@ -25,7 +25,17 @@ padding: 0 50px 0 0; vertical-align: middle; white-space: nowrap; + & a { + fill: #e4154b; + } } + +.affiliation-logo :hover { + text-decoration: none; + fill: #000000; + color: #000000; +} + .affiliation { background-color: white; display: table; @@ -221,10 +231,6 @@ svg:not(:root) { text-decoration: none; } -.affiliation-logo :hover { - text-decoration: none; -} - .main-menu { border-bottom: 1px solid #000; box-sizing: border-box; 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 b9405bd..283eecf 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,20 +2,19 @@ {%- if not current_user.is_authenticated %} -
- Login - - - - - - -
+Login + + + + + + + {%- else %} {%- if config.USERPROFILES %} diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html index c12b7fd..342ab19 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html @@ -60,14 +60,9 @@
@@ -148,11 +143,11 @@ viewBox="0 0 141.10001 51.862499"> - - - - - + + + + + - +