:root { --header-height: @global-header-height; } @general-number-small-font-size: 22px; @general-number-font-size: 36px; @general-number-large-font-size: 64px; @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; @general-search-form-background-image: none; @general-tab-featured-tab: @global-primary-background; main { min-height: calc(100vh - var(--header-height)); } /* Clickable*/ .clickable { cursor: pointer; user-select: none; } /* Default dropdown */ .default-dropdown { max-width: 500px; } /* 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; } /* 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; } } /* 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; font-size: 0.7em; 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 */ font-size: 1.25em; 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; @lines: 1, 2, 3, 10; .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, { &.lines-@{value} > *{ -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 */ .search-form, .generalSearchForm { background-color: @general-search-form-background; background-image: @general-search-form-background-image; } /* Filter slider */ .filters-slider { line-height: @global-line-height; & a { display: flex; flex-direction: column; justify-content: center; height: 110%; } } .uk-tab { & > li.uk-active > a.featuredTab, & > * > a.featuredTab { color: @general-tab-featured-tab !important; } } @inverse-general-custom-external-color: @global-inverse-color; .hook-inverse() { .custom-external { &::after { color: @inverse-general-custom-external-color; } } }