From e92c02cb491701e0bf0450869ff72d7a4551b1e5 Mon Sep 17 00:00:00 2001 From: mb Date: Tue, 11 Aug 2020 15:22:14 +0200 Subject: [PATCH] theme custom changes zero border radius to button, badges, segments etc. This closes #67. --- .../less/invenio_theme_tugraz/overrides.less | 38 +++++++++++++++++++ .../invenio_theme_tugraz/macros/authors.html | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/overrides.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/overrides.less index b698873..21be845 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/overrides.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/overrides.less @@ -98,3 +98,41 @@ search.button .ui.search.button:hover{ background-color:#000000; } + +/*** +remove corners from border +**/ +.ui.label { +border-radius: 0; +} + +.ui.button{ + border-radius: 0; +} + +.ui.rdm-sidebar{ + border-radius: 0; +} + +.label-keyword { + border-radius: 0; +} + +.ui.menu { + border-radius: 0; +} + +.ui.form input:not([type]), +.ui.form input[type=date], +.ui.form input[type=datetime-local], +.ui.form input[type=email], +.ui.form input[type=file], +.ui.form input[type=number], +.ui.form input[type=password], +.ui.form input[type=search], +.ui.form input[type=tel], +.ui.form input[type=text], +.ui.form input[type=time], +.ui.form input[type=url] { + border-radius: 0; +} \ No newline at end of file diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/macros/authors.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/macros/authors.html index d3a9d63..ecfe24d 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/macros/authors.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/macros/authors.html @@ -13,7 +13,7 @@ {%- for creators in authors_list %} {%- if creators.identifiers.Orcid %} - + {%- endif %} {{creators.name}}