270 lines
5.4 KiB
Plaintext
270 lines
5.4 KiB
Plaintext
:root {
|
|
--header-height: @global-header-height;
|
|
}
|
|
|
|
@general-number-small-font-size: 26px;
|
|
@general-number-font-size: 41px;
|
|
@general-number-large-font-size: 64px;
|
|
@general-number-size-font-size: 80%;
|
|
|
|
@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-search-form-background-position: center bottom;
|
|
|
|
@general-tab-featured-tab: @global-primary-background;
|
|
|
|
@general-number-card-border-width: 6px;
|
|
@general-number-card-border: @global-primary-gradient;
|
|
@general-number-card-height: 100px;
|
|
|
|
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;
|
|
}
|
|
|
|
& .number-size {
|
|
font-size: @general-number-size-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;
|
|
background-position: @general-search-form-background-position;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
}
|
|
|
|
/** Indicator Numbers card */
|
|
.uk-card {
|
|
&.number-card {
|
|
border-bottom: @general-number-card-border-width solid transparent;
|
|
position: relative;
|
|
height: @general-number-card-height;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
background: @general-number-card-border;
|
|
bottom: 0;
|
|
right: 0;
|
|
left: 0;
|
|
height: @general-number-card-border-width;
|
|
margin-bottom: -@general-number-card-border-width;
|
|
border-radius: 0 0 50px 50px;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
}
|
|
|
|
@inverse-general-custom-external-color: @global-inverse-color;
|
|
|
|
.hook-inverse() {
|
|
.custom-external {
|
|
&::after {
|
|
color: @inverse-general-custom-external-color;
|
|
}
|
|
}
|
|
}
|