2022-07-17 15:08:00 +02:00
|
|
|
:root {
|
|
|
|
--header-height: @global-header-height;
|
|
|
|
}
|
|
|
|
|
2022-11-08 08:51:58 +01:00
|
|
|
@general-number-small-font-size: 26px;
|
2022-12-07 13:31:08 +01:00
|
|
|
@general-number-font-size: 41px;
|
2022-07-17 15:08:00 +02:00
|
|
|
@general-number-large-font-size: 64px;
|
2023-01-13 10:33:09 +01:00
|
|
|
@general-number-size-font-size: 80%;
|
2022-07-17 15:08:00 +02:00
|
|
|
|
|
|
|
@general-custom-external-color: @global-meta-color;
|
|
|
|
|
|
|
|
@general-clipboard-background: @global-inverse-color;
|
|
|
|
@general-clipboard-border-width: @global-border-width;
|
|
|
|
@general-clipboard-border: @global-border;
|
|
|
|
@general-clipboard-border-radius: @global-small-border-radius;
|
|
|
|
|
|
|
|
@general-search-form-background: @global-secondary-background;
|
2022-07-22 17:33:53 +02:00
|
|
|
@general-search-form-background-image: none;
|
2022-07-27 13:45:42 +02:00
|
|
|
@general-search-form-background-position: center bottom;
|
2022-07-17 15:08:00 +02:00
|
|
|
|
2023-02-17 18:20:39 +01:00
|
|
|
@general-download-from-border-radius: @global-border-radius;
|
2023-02-20 16:12:08 +01:00
|
|
|
@general-download-from-background-color-hover: @ciel-color;
|
2023-02-17 18:20:39 +01:00
|
|
|
|
2022-07-17 15:08:00 +02:00
|
|
|
@general-tab-featured-tab: @global-primary-background;
|
|
|
|
|
2022-11-08 08:51:58 +01:00
|
|
|
@general-number-card-border-width: 6px;
|
|
|
|
@general-number-card-border: @global-primary-gradient;
|
2022-11-08 15:36:33 +01:00
|
|
|
@general-number-card-height: 100px;
|
2022-11-08 08:51:58 +01:00
|
|
|
|
2023-02-13 14:49:36 +01:00
|
|
|
@usage-counts-icon-gradient: linear-gradient(127deg, @usage-counts-orange-color 0%, @usage-counts-blue-color 100%);
|
|
|
|
@usage-counts-number-gradient: linear-gradient(122deg, @primary-light-color 0%, @primary-dark-color 100%);
|
|
|
|
|
2023-12-07 16:00:48 +01:00
|
|
|
@general-dot-size: 8px;
|
|
|
|
@general-dot-default-background: @global-inverse-color;
|
|
|
|
@general-dot-items: {
|
|
|
|
open: @open-access-color;
|
|
|
|
restricted: @restricted-access-color;
|
|
|
|
embargo: @embargo-access-color;
|
|
|
|
closed: @closed-access-color;
|
|
|
|
|
|
|
|
green: @green-oa-color;
|
|
|
|
gold: @gold-oa-color;
|
|
|
|
hybrid: @hybrid-oa-color;
|
|
|
|
bronze: @bronze-oa-color;
|
|
|
|
diamond: @diamond-oa-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
@general-access-route-label-padding: @global-xsmall-margin;
|
|
|
|
@general-access-route-badge-size: 18px;
|
|
|
|
|
2022-07-17 15:08:00 +02:00
|
|
|
main {
|
|
|
|
min-height: calc(100vh - var(--header-height));
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Clickable*/
|
|
|
|
.clickable {
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Default dropdown */
|
|
|
|
.default-dropdown {
|
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
|
2023-02-17 18:20:39 +01:00
|
|
|
/* Special characters */
|
|
|
|
.bullet:before {
|
|
|
|
content: '\2022';
|
|
|
|
}
|
|
|
|
|
|
|
|
.space:before {
|
|
|
|
content: '\00A0';
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:44:14 +01:00
|
|
|
.truncated:after {
|
|
|
|
content: '...';
|
|
|
|
}
|
|
|
|
|
2022-07-17 15:08:00 +02:00
|
|
|
/* Visually hidden (for icons) */
|
|
|
|
.visually-hidden {
|
|
|
|
border: 0 !important;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
|
|
-webkit-clip-path: inset(50%) !important;
|
|
|
|
clip-path: inset(50%) !important;
|
|
|
|
height: 1px !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
position: absolute !important;
|
|
|
|
width: 1px !important;
|
|
|
|
white-space: nowrap !important;
|
2023-02-13 14:49:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.metrics-number:extend(.uk-text-background) {
|
2023-02-17 18:20:39 +01:00
|
|
|
background-image: @usage-counts-number-gradient;
|
2022-07-17 15:08:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Number */
|
|
|
|
.number {
|
|
|
|
line-height: 1.25;
|
|
|
|
font-size: @general-number-font-size;
|
|
|
|
|
|
|
|
&.uk-text-small {
|
|
|
|
font-size: @general-number-small-font-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.uk-text-large {
|
|
|
|
font-size: @general-number-large-font-size;
|
|
|
|
}
|
2023-01-13 10:33:09 +01:00
|
|
|
|
|
|
|
& .number-size {
|
|
|
|
font-size: @general-number-size-font-size;
|
|
|
|
}
|
2022-07-17 15:08:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* OpenAIRE portals texts */
|
|
|
|
.text-graph {
|
|
|
|
color: @graph-color !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-argos {
|
|
|
|
color: @argos-color !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-orcid {
|
|
|
|
color: @orcid-color !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Links */
|
|
|
|
.custom-external {
|
|
|
|
&::after {
|
|
|
|
vertical-align: super;
|
|
|
|
color: @general-custom-external-color;
|
|
|
|
font-weight: 300;
|
2022-07-19 10:04:57 +02:00
|
|
|
font-size: 0.7em;
|
2022-07-17 15:08:00 +02:00
|
|
|
font-family: "Material Icons";
|
|
|
|
content: "\e895"; /* launch */
|
|
|
|
margin-left: 1px;
|
|
|
|
margin-top: -5px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover::after, &::after:hover {
|
|
|
|
text-decoration: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-more-less-link {
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
font-family: "Material Icons";
|
|
|
|
content: "\e5cc"; /* chevron_right */
|
2022-07-19 10:04:57 +02:00
|
|
|
font-size: 1.25em;
|
2022-07-17 15:08:00 +02:00
|
|
|
margin-left: 1px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover::after, &::after:hover {
|
|
|
|
text-decoration: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Multi Line ellipsis */
|
|
|
|
@block-tags: p, div, pre, address, article, aside, blockquote,
|
|
|
|
canvas, dl, dd, dt, fieldset, figcaption, figure, footer,
|
|
|
|
form, h1, h2, h3, h4, h5, h6, header, hr, li, main, nav,
|
|
|
|
noscript, ol, section, table, tfoot, ul, video;
|
|
|
|
|
2023-03-28 10:37:11 +02:00
|
|
|
@lines: 1, 2, 3, 5, 10;
|
2022-07-17 15:08:00 +02:00
|
|
|
|
|
|
|
.multi-line-ellipsis {
|
|
|
|
& > * {
|
|
|
|
display: -webkit-box !important;
|
|
|
|
autoprefixer: ignore next;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: initial;
|
|
|
|
|
|
|
|
@{block-tags} {
|
|
|
|
display: contents;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "\A";
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
each(@lines, {
|
2023-02-17 18:20:39 +01:00
|
|
|
&.lines-@{value} > * {
|
2022-07-17 15:08:00 +02:00
|
|
|
-webkit-line-clamp: @value;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/* iframe container */
|
|
|
|
.iframeContainer {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
& iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Clip board */
|
|
|
|
.clipboard-wrapper {
|
|
|
|
background-color: @general-clipboard-background;
|
|
|
|
border: @general-clipboard-border-width solid @general-clipboard-border;
|
|
|
|
border-radius: @general-clipboard-border-radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
.orcid-dropdown input {
|
|
|
|
border: none;
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Search Form */
|
2022-07-27 12:50:32 +02:00
|
|
|
.search-form, .generalSearchForm {
|
2022-07-22 17:33:53 +02:00
|
|
|
background-color: @general-search-form-background;
|
2023-02-17 18:20:39 +01:00
|
|
|
background-image: @general-search-form-background-image;
|
2022-07-27 13:45:42 +02:00
|
|
|
background-position: @general-search-form-background-position;
|
2023-12-06 11:42:05 +01:00
|
|
|
.hook-general-search-form();
|
2022-07-17 15:08:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Filter slider */
|
|
|
|
.filters-slider {
|
|
|
|
line-height: @global-line-height;
|
|
|
|
|
|
|
|
& a {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
height: 110%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-17 18:20:39 +01:00
|
|
|
/* Download drop */
|
|
|
|
|
|
|
|
.download-drop {
|
|
|
|
|
|
|
|
.download-drop-item {
|
|
|
|
padding: 10px 20px;
|
|
|
|
margin: 0 4px;
|
|
|
|
border-radius: @general-download-from-border-radius;
|
|
|
|
|
|
|
|
&:hover {
|
2023-02-20 16:12:08 +01:00
|
|
|
background: @general-download-from-background-color-hover;
|
2023-02-17 18:20:39 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:44:14 +01:00
|
|
|
/* Feature tab */
|
2022-07-17 15:08:00 +02:00
|
|
|
.uk-tab {
|
|
|
|
& > li.uk-active > a.featuredTab, & > * > a.featuredTab {
|
|
|
|
color: @general-tab-featured-tab !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-08 08:51:58 +01:00
|
|
|
/** Indicator Numbers card */
|
|
|
|
.uk-card {
|
|
|
|
&.number-card {
|
2022-11-08 14:08:51 +01:00
|
|
|
border-bottom: @general-number-card-border-width solid transparent;
|
2022-11-08 08:51:58 +01:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
background: @general-number-card-border;
|
2023-02-09 10:43:46 +01:00
|
|
|
top: 0;
|
|
|
|
width: @general-number-card-border-width;
|
2022-11-08 08:51:58 +01:00
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
margin-bottom: -@general-number-card-border-width;
|
2023-02-09 10:43:46 +01:00
|
|
|
border-radius: 50px 0 0 50px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: @breakpoint-medium) {
|
|
|
|
.uk-card.number-card {
|
|
|
|
height: @general-number-card-height;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
right: 0;
|
|
|
|
top: unset;
|
|
|
|
width: auto;
|
|
|
|
height: @general-number-card-border-width;
|
2022-11-08 08:51:58 +01:00
|
|
|
border-radius: 0 0 50px 50px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-17 18:20:39 +01:00
|
|
|
/* General Icons */
|
|
|
|
.open-access {
|
|
|
|
color: @open-access-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.closed-access {
|
|
|
|
color: @close-access-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-usage-counts:extend(.uk-text-background),
|
|
|
|
a:hover .text-usage-counts-hover:extend(.uk-text-background) {
|
|
|
|
background-image: @usage-counts-icon-gradient;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bip-icon, a:hover .bip-icon-hover {
|
|
|
|
color: @bip-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-12-02 12:03:32 +01:00
|
|
|
/* Social buttons */
|
|
|
|
.twitter {
|
|
|
|
&, &:hover {
|
|
|
|
background-color: @twitter-color;
|
|
|
|
color: @global-inverse-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.facebook {
|
|
|
|
&, &:hover {
|
|
|
|
background-color: @facebook-color;
|
|
|
|
color: @global-inverse-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.linkedin {
|
|
|
|
&, &:hover {
|
|
|
|
background-color: @linkedin-color;
|
|
|
|
color: @global-inverse-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideshare {
|
|
|
|
&, &:hover {
|
|
|
|
background-color: @slideshare-color;
|
|
|
|
color: @global-inverse-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.youtube {
|
|
|
|
&, &:hover {
|
|
|
|
background-color: @youtube-color;
|
|
|
|
color: @global-inverse-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-08 16:10:51 +02:00
|
|
|
.filters-toggle-button {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 5vh;
|
|
|
|
right: 5vw;
|
|
|
|
z-index: @global-z-index - 20;
|
|
|
|
}
|
|
|
|
|
2023-07-04 18:12:34 +02:00
|
|
|
.fully_rounded .a2a_svg { border-radius: 50% !important; }
|
|
|
|
|
2023-12-07 16:00:48 +01:00
|
|
|
|
|
|
|
/* Dot Items */
|
|
|
|
.dot:extend(.uk-margin-xsmall-right):extend(.uk-display-inline-block) {
|
|
|
|
width: @general-dot-size;
|
|
|
|
height: @general-dot-size;
|
|
|
|
background: @general-dot-default-background;
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
each(@general-dot-items, {
|
|
|
|
&.@{key} {
|
|
|
|
background: @value;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Access Routes */
|
|
|
|
.access-route-label:extend(.uk-label all):extend(.uk-background-default):extend(.uk-text-capitalize) {
|
|
|
|
padding: @general-access-route-label-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.access-route-badge {
|
|
|
|
width: @general-access-route-badge-size;
|
|
|
|
height: @general-access-route-badge-size;
|
|
|
|
position: relative;
|
|
|
|
|
2023-12-21 12:20:17 +01:00
|
|
|
& > .dot {
|
|
|
|
position: absolute;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.dots-1 {
|
2023-12-19 11:26:05 +01:00
|
|
|
& > .dot:first-child {
|
|
|
|
top: 50%;
|
2023-12-21 12:20:17 +01:00
|
|
|
left: 50%;
|
2023-12-19 11:26:05 +01:00
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
2023-12-21 12:20:17 +01:00
|
|
|
}
|
2023-12-07 16:00:48 +01:00
|
|
|
|
2023-12-21 12:20:17 +01:00
|
|
|
&.dots-2 {
|
|
|
|
& > .dot:first-child {
|
|
|
|
top: 50%;
|
2023-12-19 11:26:05 +01:00
|
|
|
left: 0;
|
|
|
|
transform: translate(0, -50%);
|
2023-12-21 12:20:17 +01:00
|
|
|
}
|
2023-12-07 16:00:48 +01:00
|
|
|
|
2023-12-21 12:20:17 +01:00
|
|
|
& > .dot:nth-child(2) {
|
|
|
|
right: 0;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(0, -50%);
|
2023-12-07 16:00:48 +01:00
|
|
|
}
|
2023-12-19 11:26:05 +01:00
|
|
|
}
|
2023-12-07 16:00:48 +01:00
|
|
|
|
2023-12-21 12:20:17 +01:00
|
|
|
&.dots-3 {
|
|
|
|
& > .dot:first-child {
|
|
|
|
left: 0;
|
|
|
|
top: 100%;
|
|
|
|
transform: translate(0, -100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .dot:nth-child(2) {
|
|
|
|
right: 0;
|
|
|
|
top: 100%;
|
|
|
|
transform: translate(0, -100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .dot:nth-child(3) {
|
|
|
|
left: 50%;
|
|
|
|
top: 0;
|
|
|
|
transform: translate(-50%, 0);
|
|
|
|
}
|
2023-12-07 16:00:48 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-21 09:42:06 +01:00
|
|
|
.filter-button-toggle, .filter-button-toggle.mat-button-toggle-checked {
|
|
|
|
--mat-standard-button-toggle-height: @global-control-small-height;
|
|
|
|
background-color: @global-inverse-color;
|
|
|
|
|
|
|
|
& > button > span {
|
|
|
|
padding:@global-xsmall-margin;
|
|
|
|
margin: @global-xsmall-margin;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @global-secondary-background;
|
|
|
|
color: @global-inverse-color;
|
|
|
|
border-radius: @global-small-border-radius;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-button-toggle.mat-button-toggle-checked > button > span {
|
|
|
|
background-color: @global-secondary-background;
|
|
|
|
color: @global-inverse-color;
|
|
|
|
border-radius: @global-small-border-radius;
|
|
|
|
}
|
2023-12-07 16:00:48 +01:00
|
|
|
|
2024-07-09 15:21:44 +02:00
|
|
|
.custom-view-button {
|
|
|
|
padding: 4px;
|
|
|
|
background: @light-color;
|
|
|
|
border: 1px solid @disable-color;
|
|
|
|
border-radius: 4px;
|
|
|
|
icon {
|
|
|
|
color: @disable-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background: transparent linear-gradient(315deg, @primary-light-color 0%, @primary-dark-color 100%) 0% 0% no-repeat padding-box;
|
|
|
|
icon {
|
|
|
|
color: @light-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-17 15:08:00 +02:00
|
|
|
@inverse-general-custom-external-color: @global-inverse-color;
|
|
|
|
|
|
|
|
.hook-inverse() {
|
|
|
|
.custom-external {
|
|
|
|
&::after {
|
|
|
|
color: @inverse-general-custom-external-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-12-06 11:42:05 +01:00
|
|
|
|
|
|
|
.hook-general-search-form() {}
|