[master]: Upload DOIs change class for access-route label and remove component less.

This commit is contained in:
Konstantinos Triantafyllou 2023-12-07 17:01:53 +02:00
parent 7fe91d164d
commit 3d7638410e
6 changed files with 7 additions and 52 deletions

View File

@ -180,11 +180,11 @@
<!-- TODO: make the labels dynamic-->
<td class="uk-text-xsmall">
<div class="uk-flex">
<span class="uk-label uk-text-capitalize uk-background-default custom-access-route-label">
<span class="access-route-label">
<span class="dot green"></span>
green
</span>
<span class="uk-label uk-text-capitalize uk-background-default custom-access-route-label uk-margin-xsmall-left">
<span class="access-route-label uk-margin-xsmall-left">
<span class="dot {{result.accessRoute}}"></span>
{{result.accessRoute}}
</span>

View File

@ -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;
}

View File

@ -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;

@ -1 +1 @@
Subproject commit 3bd0419facb2699e30b743b4a8ea2a2a9a8aa2bc
Subproject commit 77039ce35b10da86cbaee1215eb045b3d21c9bfd

View File

@ -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";

@ -1 +1 @@
Subproject commit 074205f9dc1d40a26c6bf90dcc2fcd5ecf0733f3
Subproject commit c9e01c8a90b6caeb2bb060106c82caf68c511fa5