openaire-assets/library-css/portal.scss

90 lines
2.4 KiB
SCSS

.portal-color {
color: var(--portal-main-color) !important;
}
.portal-secondary-color {
color: var(--portal-dark-color) !important;
}
.portal-background-color {
background-color: var(--portal-main-color) !important;
}
.portal-background-color * {
color: var(--portal-main-contrast) !important;
}
.portal-box {
background-color: var(--portal-main-color) !important;
color: var(--portal-main-contrast) !important;
border: 1px solid var(--portal-main-color);
height: 18px;
}
/* TODO(mdc-migration): The following rule targets internal classes of select that may no longer apply for the MDC version. */
.portal-box .mat-select-value, .portal-box .mat-select-arrow {
color: var(--portal-main-contrast) !important;
}
/* Button */
.portal-icon-button, .portal-icon-button:hover {
background: var(--portal-main-color) !important;
color: var(--portal-main-contrast) !important;
border: 1px solid var(--portal-main-color) !important;
}
.portal-button:not(.uk-disabled), .portal-button-reverse:hover, .portal-button-reverse:active, .portal-button-reverse:focus {
background-color: var(--portal-main-color);
color: var(--portal-main-contrast) !important;
border: 1px solid var(--portal-main-color);
background-image: none;
}
.portal-button:hover, .portal-button:active, .portal-button:focus {
background-color: var(--portal-dark-color);
color: var(--portal-main-contrast) !important;;
border: 1px solid var(--portal-dark-color);
background-image: none;
}
.portal-button-reverse {
background-color: var(--portal-main-contrast);;
color: var(--portal-main-color) !important;;
border: 1px solid var(--portal-main-color);
background-image: none;
}
/* Link */
.portal-link, .grey-portal-link:hover {
color: var(--portal-main-color) !important;
}
.grey-portal-link {
color: rgba(26, 26, 26, 0.8) !important;
}
.portal-link:hover:not(.uk-icon-link), .portal-link:active:not(.uk-icon-link), .portal-link:focus:not(.uk-icon-link) {
text-decoration: underline !important;
}
.portal-link.uk-icon-link:hover, .portal-link.uk-icon-link:active, .portal-link.uk-icon-link:focus {
color: var(--portal-dark-color) !important;;
}
/* Icon */
.portal-icon svg > * {
fill: var(--portal-main-color);
}
.graph-color {
color: #EE2540 !important;
}
.graph-color:hover, .graph-color:active {
text-decoration: underline;
}
.provide-color {
color: var(--provide-portal-color);
}