diff --git a/orcid/orcid-work.component.ts b/orcid/orcid-work.component.ts index 213442fc..d52a6ef4 100644 --- a/orcid/orcid-work.component.ts +++ b/orcid/orcid-work.component.ts @@ -22,7 +22,9 @@ declare var UIkit: any; '.loading-action-button { width: 36px; height: 36px; }' + '.orcid-button { background-color: #fff; border: 1px solid #a6ce39; } ' + - '.orcid-button:hover { background-color: #e0f0d5; } ' + '.orcid-button:hover { background-color: #e0f0d5; } ' + + + 'a.orcid_icon_opacity:hover > .uk-icon { opacity: 0.8; } ' ], selector: 'orcid-work', template: ` @@ -36,14 +38,14 @@ declare var UIkit: any; - - + + - Add to - + Add to + {{" "}} - ORCID + ORCID @@ -62,19 +64,20 @@ declare var UIkit: any; - - - - - - - + + + + + + + + - Delete from - + Delete from + {{" "}} - ORCID + ORCID @@ -89,18 +92,20 @@ declare var UIkit: any; : 'Add this work to your ORCID record'" [class]="(!pids || !isLoggedIn) ? 'half-opacity' : ''"> - - - - - + [class]="'orcid_icon_opacity uk-link-text uk-text-bold uk-text-uppercase '+ (showLoading ? 'uk-disabled' : '') + (!isLoggedIn || !pids ? 'uk-disabled uk-text-muted' : '')"> + + + + + + + Add to - {{" "}} + ORCID @@ -115,26 +120,28 @@ declare var UIkit: any; : 'Delete this work from your ORCID record'" [class]="(!pids || !isLoggedIn) ? 'half-opacity' : ''"> + [class]="'orcid_icon_opacity uk-link-text uk-text-bold uk-text-uppercase '+ (showLoading ? 'uk-disabled' : '') + (!isLoggedIn || !pids ? 'uk-disabled uk-text-muted' : '')"> - - - - - - - - - + + + + + + + + + + + Delete from - {{" "}} + ORCID @@ -174,52 +181,12 @@ declare var UIkit: any; {{" "}} ORCID ACTIONS - - - - - - - - Add to ORCID - - - - - - - - - - - - - - - - - - - - - - - - Delete from ORCID - - - + : 'View this work from your ORCID record'"> + [class]="'uk-button action uk-flex uk-flex-middle '+ ((showLoading || !putCodes || putCodes.length == 0) ? 'uk-disabled' : '')"> @@ -234,7 +201,7 @@ declare var UIkit: any; - Show ORCID work + View ORCID work @@ -256,6 +223,48 @@ declare var UIkit: any; + + + + + + + + + Add to ORCID + + + + + + + + + + + + + + + + + + + + + + + + + Delete from ORCID + + +