From d6d5e7b989ebe8f842985065ad97bc023a491d57 Mon Sep 17 00:00:00 2001 From: amdomanska Date: Mon, 2 Dec 2024 15:00:30 +0000 Subject: [PATCH 1/5] UI updates: input placecholder warning button menu layout --- .idea/.gitignore | 8 ++ .idea/fair-data-repository.iml | 19 +++++ .../inspectionProfiles/profiles_settings.xml | 6 ++ .idea/modules.xml | 8 ++ .idea/vcs.xml | 6 ++ assets/less/site/collections/menu.overrides | 1 - assets/less/site/elements/button.variables | 6 ++ assets/less/site/elements/input.overrides | 4 + assets/less/site/globals/site.overrides | 76 +++++++++--------- celerybeat-schedule.db | Bin 0 -> 12288 bytes .../invenio_administration/header/header.html | 2 +- .../semantic-ui/invenio_app_rdm/footer.html | 11 +-- .../semantic-ui/invenio_app_rdm/header.html | 2 +- 13 files changed, 102 insertions(+), 47 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/fair-data-repository.iml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 celerybeat-schedule.db diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/fair-data-repository.iml b/.idea/fair-data-repository.iml new file mode 100644 index 0000000..6f938f3 --- /dev/null +++ b/.idea/fair-data-repository.iml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..6c539fe --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/assets/less/site/collections/menu.overrides b/assets/less/site/collections/menu.overrides index 05a26b7..2722c7a 100644 --- a/assets/less/site/collections/menu.overrides +++ b/assets/less/site/collections/menu.overrides @@ -11,7 +11,6 @@ text-decoration: underline; text-decoration-color: @primaryColor; a:not(.ui.button) { - display: inline-block; color: @primaryColor; padding: 2rem 1rem; text-decoration: underline; diff --git a/assets/less/site/elements/button.variables b/assets/less/site/elements/button.variables index 2653820..014e926 100644 --- a/assets/less/site/elements/button.variables +++ b/assets/less/site/elements/button.variables @@ -53,3 +53,9 @@ disabled button @disabledButtonBackgroundColor: @whiteSmoke; @disabledButtonBorderColor: @darkGray; @disabledButtonTextColor: @darkGray; + +/*---------------------------------------- +@warningButtonColor: @orange; +@warningButtonBorderColor: @orange; +@warningButtonTextColor: @black; +-------------------------------------------*/ diff --git a/assets/less/site/elements/input.overrides b/assets/less/site/elements/input.overrides index 3d7538a..7d39c6b 100644 --- a/assets/less/site/elements/input.overrides +++ b/assets/less/site/elements/input.overrides @@ -15,6 +15,10 @@ outline-width: 3px; outline-offset: 3px; } + &::placeholder{ + color: @darkGray; + } + } div.ui.search .ui.input input { diff --git a/assets/less/site/globals/site.overrides b/assets/less/site/globals/site.overrides index 45da2b5..a086572 100644 --- a/assets/less/site/globals/site.overrides +++ b/assets/less/site/globals/site.overrides @@ -170,45 +170,43 @@ html.cover-page { color: @primaryColor; } - #rdm-burger-menu-icon { - @headerOverlayOpenColor: @primaryColor; - - .header__inner--inverse & { - @headerOverlayOpenColor: @white; - } - background-color: transparent !important; - border: none !important; - color: none; - - span { - top: 1px; - - &::before { - top: clamp(0.4375rem, 0.4016rem + 0.1795vw, 0.5625rem); // 7px -> 9px - transition: transform 0.2s; - } - - &::after { - top: clamp(0.875rem, 0.8032rem + 0.3591vw, 1.125rem); // 14px -> 18px - transition: none; - } - } - - span, - span::before, - span::after { - background-color: var(@headerOverlayOpenColor); - } - - &:hover { - background-color: transparent !important; - border: none !important; - transform: rotate(90deg); - span::before { - width: clamp(0.875rem, 0.8032rem + 0.3591vw, 1.125rem); // 14px -> 18px - } - } - } +.header__nav-open { + color: var(--header-overlay-open-color); + margin-inline-start: $space-m; + + span { + top: 1px; + + &::before { + top: clamp(0.4375rem, 0.4016rem + 0.1795vw, 0.5625rem); // 7px -> 9px + transition: transform 0.2s; + } + + &::after { + top: clamp(0.875rem, 0.8032rem + 0.3591vw, 1.125rem); // 14px -> 18px + transition: none; + } + } + + span, + span::before, + span::after { + background-color: var(--header-overlay-open-color); + } + + &:hover { + --header-overlay-open-color: #{$base-color}; + + .header__inner--inverse & { + --header-overlay-open-color: #{$base-light}; + } + + span::before { + left: 1px; + transform: rotate(90deg); + width: clamp(0.875rem, 0.8032rem + 0.3591vw, 1.125rem); // 14px -> 18px + } + } } .theme.header { diff --git a/celerybeat-schedule.db b/celerybeat-schedule.db new file mode 100644 index 0000000000000000000000000000000000000000..d64b714501f434f88a0c12b2ab0fd84f1cda119c GIT binary patch literal 12288 zcmeI%v1$TA5P;!X4@C=E3HT0H+lW3!>QpY5xDY`uL{AITq_nXLVL&!=KtE0`Tq`- Y3;_fXKmY**5I_I{1Q0*~fpZG{0?`{Mi2wiq literal 0 HcmV?d00001 diff --git a/templates/semantic-ui/invenio_administration/header/header.html b/templates/semantic-ui/invenio_administration/header/header.html index 173b42f..1e351bd 100644 --- a/templates/semantic-ui/invenio_administration/header/header.html +++ b/templates/semantic-ui/invenio_administration/header/header.html @@ -39,7 +39,7 @@
diff --git a/templates/semantic-ui/invenio_app_rdm/header.html b/templates/semantic-ui/invenio_app_rdm/header.html index a5bb6eb..5e59a85 100644 --- a/templates/semantic-ui/invenio_app_rdm/header.html +++ b/templates/semantic-ui/invenio_app_rdm/header.html @@ -46,7 +46,7 @@