From 3d7638410eee25aa1f7713b8b7f2104707251638 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Thu, 7 Dec 2023 17:01:53 +0200 Subject: [PATCH] [master]: Upload DOIs change class for access-route label and remove component less. --- .../upload-dois/upload-dois.component.html | 4 +- .../upload-dois/upload-dois.component.less | 44 ------------------- src/app/upload-dois/upload-dois.component.ts | 3 +- src/assets/common-assets | 2 +- src/assets/irish-monitor.less | 4 +- src/assets/openaire-theme | 2 +- 6 files changed, 7 insertions(+), 52 deletions(-) delete mode 100644 src/app/upload-dois/upload-dois.component.less diff --git a/src/app/upload-dois/upload-dois.component.html b/src/app/upload-dois/upload-dois.component.html index bf9cf0b..4312ca1 100644 --- a/src/app/upload-dois/upload-dois.component.html +++ b/src/app/upload-dois/upload-dois.component.html @@ -180,11 +180,11 @@
- + green - + {{result.accessRoute}} diff --git a/src/app/upload-dois/upload-dois.component.less b/src/app/upload-dois/upload-dois.component.less deleted file mode 100644 index b512fd2..0000000 --- a/src/app/upload-dois/upload-dois.component.less +++ /dev/null @@ -1,44 +0,0 @@ -.dot { - height: 8px; - width: 8px; - background-color: #bbb; - border-radius: 50%; - display: inline-block; - margin-right: 4px; -} -.dot.open{ - background-color: orange; -} - -.dot.restricted{ - background-color: #920192; -} - -.dot.embargo{ - background-color: #003E92; -} -.dot.closed{ - background-color: #E34950; -} - -.dot.green{ - background-color: #24B050; -} - -.dot.gold{ - background-color: #EAB201; -} - -.dot.hybrid{ - background-color: #ED7D31; -} -.dot.bronze{ - background-color: #806001; -} -.dot.diamond{ - background-color: #595959; -} - -.custom-access-route-label { - padding: 3px 5px; -} diff --git a/src/app/upload-dois/upload-dois.component.ts b/src/app/upload-dois/upload-dois.component.ts index cd180bc..8edf436 100644 --- a/src/app/upload-dois/upload-dois.component.ts +++ b/src/app/upload-dois/upload-dois.component.ts @@ -11,8 +11,7 @@ import {LogService} from "../openaireLibrary/utils/log/log.service"; @Component({ selector: 'upload-dois', - templateUrl: './upload-dois.component.html', - styleUrls:['./upload-dois.component.less'] + templateUrl: './upload-dois.component.html' }) export class UploadDoisComponent implements OnInit { page: number = 1; diff --git a/src/assets/common-assets b/src/assets/common-assets index 3bd0419..77039ce 160000 --- a/src/assets/common-assets +++ b/src/assets/common-assets @@ -1 +1 @@ -Subproject commit 3bd0419facb2699e30b743b4a8ea2a2a9a8aa2bc +Subproject commit 77039ce35b10da86cbaee1215eb045b3d21c9bfd diff --git a/src/assets/irish-monitor.less b/src/assets/irish-monitor.less index 896e9b1..eacb715 100644 --- a/src/assets/irish-monitor.less +++ b/src/assets/irish-monitor.less @@ -28,7 +28,7 @@ @banner-background: @global-primary-gradient; } -.datasource { +/*.datasource { @import (multiple) "~src/assets/common"; @primary-color: @datasource-color; @@ -37,7 +37,7 @@ @primary-dark-color: @primary-color; @ciel-color: #F5E9F3; @banner-background: @global-primary-gradient; -} +}*/ .researcher { @import (multiple) "~src/assets/common"; diff --git a/src/assets/openaire-theme b/src/assets/openaire-theme index 074205f..c9e01c8 160000 --- a/src/assets/openaire-theme +++ b/src/assets/openaire-theme @@ -1 +1 @@ -Subproject commit 074205f9dc1d40a26c6bf90dcc2fcd5ecf0733f3 +Subproject commit c9e01c8a90b6caeb2bb060106c82caf68c511fa5