Compare commits

..

No commits in common. "master" and "angular-16" have entirely different histories.

19 changed files with 95 additions and 447 deletions

3
less/_import.less vendored
View File

@ -27,7 +27,6 @@
@import "close";
@import "totop";
@import "alert";
@import "placeholder";
@import "badge";
@import "label";
@import "search";
@ -65,5 +64,3 @@
// Extend
@import "stepper";
@import "banner";

View File

@ -1,100 +0,0 @@
@banner-background: @ciel-color;
@banner-background-gradient: none;
@banner-footer-background: #000000;
@banner-tab-gutter: 60px;
@banner-tab-margin-vertical: @global-small-margin;
@banner-tab-divider: @global-border-width solid @global-border;
@banner-tab-divider-height: @global-line-height;
@banner-tab-item-color: @global-inverse-color;
@banner-tab-item-hover-color: @global-secondary-background;
@banner-tab-item-hover-decoration: none;
@banner-tab-item-active-color: @banner-tab-item-hover-color;
@banner-tab-item-active-indicator: @global-background;
@banner-tab-button-background: @global-secondary-background;
@banner-tab-button-border-radius: 0;
.uk-banner:extend(.uk-section) {
background: @banner-background;
position: relative;
& .uk-banner-footer:extend(.uk-light all) {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: fade(@banner-footer-background, 50%);
@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
-webkit-backdrop-filter: blur(30px) opacity(10%) brightness(90%);
backdrop-filter: blur(30px) opacity(10%) brightness(90%);
}
& .uk-button {
height: 100%;
background: @banner-tab-button-background;
border-radius: @banner-tab-button-border-radius;
&:hover {
background: fade(@banner-tab-button-background, 80%);
}
}
}
& ul.uk-banner-tab:extend(.uk-flex):extend(.uk-margin-top) {
list-style: none;
margin: @banner-tab-margin-vertical 0;
& > li {
&:not(:first-child) {
margin-left: @banner-tab-gutter;
position: relative;
&::before {
content: '';
position: absolute;
left: -1 * (@banner-tab-gutter/2);
transform: translateX(-100%);
border-left: @banner-tab-divider;
height: @banner-tab-divider-height;
}
}
a:extend(.uk-text-truncate) {
text-transform: uppercase;
text-decoration: none;
color: @banner-tab-item-color;
}
&:hover a {
color: @banner-tab-item-hover-color;
text-decoration: @banner-tab-item-hover-decoration;
}
&.uk-active a {
color: @banner-tab-item-active-color;
font-weight: @text-bold-weight;
position: relative;
&:after {
content: '';
position: absolute;
bottom: -@banner-tab-margin-vertical;
left: 50%;
transform: translate(-50%, 50%);
width: 0;
height: 0;
border-left: 2*@banner-tab-margin-vertical solid transparent;
border-right: 2*@banner-tab-margin-vertical solid transparent;
border-bottom: @banner-tab-margin-vertical solid @banner-tab-item-active-indicator;
}
}
}
}
}
.uk-banner.dark {
background: @background-secondary-background;
}

View File

@ -37,6 +37,10 @@
@inverse-base-link-hover-color: @global-inverse-color;
.hook-base-misc() {
body {
overflow-y: scroll;
}
@media (min-width: @breakpoint-medium) {

View File

@ -5,9 +5,6 @@
@button-border-width: @global-border-width;
@button-text-transform: uppercase;
@button-border-radius: 500px;
@button-shadow: @global-medium-box-shadow;
@button-hover-shadow: @global-small-box-shadow;
@button-active-shadow: @button-hover-shadow;
/* Default */
@button-default-background: @global-background;
@ -15,72 +12,72 @@
@button-default-box-shadow: @global-medium-box-shadow;
@button-default-border: transparent;
@button-default-hover-background: @global-background;
@button-default-hover-color: @button-shadow;
@button-default-hover-box-shadow: @button-hover-shadow;
@button-default-hover-color: @global-secondary-background;
@button-default-hover-box-shadow: @global-small-box-shadow;
@button-default-hover-border: transparent;
@button-default-active-background: @button-default-hover-background;
@button-default-active-color: @button-default-hover-color;
@button-default-active-box-shadow: @button-active-shadow;
@button-default-active-border: @button-default-hover-border;
@button-default-active-background: @global-background;
@button-default-active-color: @global-secondary-background;
@button-default-active-box-shadow: @global-small-box-shadow;
@button-default-active-border: transparent;
/* Primary */
@button-primary-background: @global-primary-background;
@button-primary-background-gradient: @global-primary-gradient;
@button-primary-color: @global-inverse-color;
@button-primary-box-shadow: @button-shadow;
@button-primary-box-shadow: @global-medium-box-shadow;
@button-primary-border: transparent;
@button-primary-hover-background: @global-secondary-background;
@button-primary-hover-background-gradient: none;
@button-primary-hover-color: @global-inverse-color;
@button-primary-hover-box-shadow: @button-hover-shadow;
@button-primary-hover-box-shadow: @global-small-box-shadow;
@button-primary-hover-border: transparent;
@button-primary-active-background: @button-primary-hover-background;
@button-primary-active-background-gradient: @button-primary-hover-background-gradient;
@button-primary-active-color: @button-primary-hover-color;
@button-primary-active-box-shadow: @button-active-shadow;
@button-primary-active-border: @button-primary-hover-border;
@button-primary-active-background: @global-secondary-background;
@button-primary-active-background-gradient: none;
@button-primary-active-color: @global-inverse-color;
@button-primary-active-box-shadow: @global-small-box-shadow;
@button-primary-active-border: transparent;
/* Secondary */
@button-secondary-background: @global-background;
@button-secondary-background-gradient: none;
@button-secondary-color: @global-primary-background;
@button-secondary-box-shadow: @button-shadow;
@button-secondary-box-shadow: @global-medium-box-shadow;
@button-secondary-border: @global-primary-background;
@button-secondary-hover-background: @global-primary-background;
@button-secondary-hover-background-gradient: @global-primary-gradient;
@button-secondary-hover-color: @global-inverse-color;
@button-secondary-hover-box-shadow: @button-hover-shadow;
@button-secondary-hover-box-shadow: @global-small-box-shadow;
@button-secondary-hover-border: transparent;
@button-secondary-active-background: @button-secondary-hover-background;
@button-secondary-active-background-gradient: @button-secondary-hover-background-gradient;
@button-secondary-active-color: @button-secondary-hover-color;
@button-secondary-active-box-shadow: @button-active-shadow;
@button-secondary-active-border: @button-secondary-hover-border;
@button-secondary-active-background: @global-primary-background;
@button-secondary-active-background-gradient: @global-primary-gradient;
@button-secondary-active-color: @global-inverse-color;
@button-secondary-active-box-shadow: @global-small-box-shadow;
@button-secondary-active-border: transparent;
/* Danger */
@button-danger-background: @global-danger-background;
@button-danger-background-gradient: none;
@button-danger-color: @global-inverse-color;
@button-danger-box-shadow: @button-shadow;
@button-danger-box-shadow: @global-medium-box-shadow;
@button-danger-border: @global-danger-background;
@button-danger-hover-background: @global-background;
@button-danger-hover-background-gradient: none;
@button-danger-hover-color: @global-danger-background;
@button-danger-hover-box-shadow: @button-hover-shadow;
@button-danger-hover-box-shadow: @global-small-box-shadow;
@button-danger-hover-border: @global-danger-background;
@button-danger-active-background: @button-danger-hover-background;
@button-danger-active-background-gradient: @button-danger-hover-background-gradient;
@button-danger-active-color: @button-danger-hover-color;
@button-danger-active-box-shadow: @button-active-shadow;
@button-danger-active-border: @button-danger-hover-border;
@button-danger-active-background: @global-background;
@button-danger-active-background-gradient: none;
@button-danger-active-color: @global-danger-background;
@button-danger-active-box-shadow: @global-small-box-shadow;
@button-danger-active-border: @global-danger-background;
/* Text */
@button-text-color: @global-primary-background;
@button-text-hover-color: @button-text-color;
/* Link */
@button-link-color: @openaire-primary-color;
@button-link-hover-color: @openaire-secondary-color;
@button-link-color: @global-primary-background;
@button-link-hover-color: @global-secondary-background;
/* Disabled */
@button-disabled-box-shadow: none;
@ -204,71 +201,60 @@
background-image: none;
}
.hook-button-misc() {
a:hover {
& .uk-button-default:extend(.uk-button-default:hover){};
& .uk-button-primary:extend(.uk-button-primary:hover){};
& .uk-button-secondary:extend(.uk-button-secondary:hover){};
}
}
/* Inverse */
@inverse-button-box-shadow: @inverse-global-medium-box-shadow;
@inverse-button-hover-box-shadow: @inverse-global-small-box-shadow;
@inverse-button-active-box-shadow: @inverse-button-hover-box-shadow;
/* Default */
@inverse-button-default-background: @global-background;
@inverse-button-default-color: @global-color;
@inverse-button-default-box-shadow: @inverse-button-box-shadow;
@inverse-button-default-box-shadow: @inverse-global-medium-box-shadow;
@inverse-button-default-border: transparent;
@inverse-button-default-hover-background: @global-background;
@inverse-button-default-hover-color: @global-secondary-background;
@inverse-button-default-hover-box-shadow: @inverse-button-hover-box-shadow;
@inverse-button-default-hover-box-shadow: @inverse-global-small-box-shadow;
@inverse-button-default-hover-border: transparent;
@inverse-button-default-active-background: @global-background;
@inverse-button-default-active-color: @global-secondary-background;
@inverse-button-default-active-box-shadow: @inverse-button-active-box-shadow;
@inverse-button-default-active-box-shadow: @inverse-global-small-box-shadow;
@inverse-button-default-active-border: transparent;
/* Primary */
@inverse-button-primary-background: @button-primary-background;
@inverse-button-primary-background-gradient: @button-primary-background-gradient;
@inverse-button-primary-color: @button-primary-color;
@inverse-button-primary-box-shadow: @inverse-button-box-shadow;
@inverse-button-primary-box-shadow: @inverse-global-medium-box-shadow;;
@inverse-button-primary-border: @button-primary-border;
@inverse-button-primary-hover-background: @button-primary-hover-background;
@inverse-button-primary-hover-background-gradient: @button-primary-hover-background-gradient;
@inverse-button-primary-hover-color: @button-primary-hover-color;
@inverse-button-primary-hover-box-shadow: @inverse-button-hover-box-shadow;
@inverse-button-primary-hover-box-shadow: @inverse-global-small-box-shadow;
@inverse-button-primary-hover-border: @button-primary-hover-border;
@inverse-button-primary-active-background: @button-primary-active-background;
@inverse-button-primary-active-background-gradient: @button-primary-active-background-gradient;
@inverse-button-primary-active-color: @button-primary-active-color;
@inverse-button-primary-active-box-shadow: @inverse-button-active-box-shadow;
@inverse-button-primary-active-box-shadow: @inverse-global-small-box-shadow;
@inverse-button-primary-active-border: @button-primary-active-border;
/* Secondary */
@inverse-button-secondary-background: @global-background;
@inverse-button-secondary-background-gradient: none;
@inverse-button-secondary-color: @button-secondary-color;
@inverse-button-secondary-box-shadow: @inverse-button-box-shadow;
@inverse-button-secondary-box-shadow: @inverse-global-medium-box-shadow;
@inverse-button-secondary-border: @button-secondary-border;
@inverse-button-secondary-hover-background: @button-secondary-hover-background;
@inverse-button-secondary-hover-background-gradient: @button-secondary-hover-background-gradient;
@inverse-button-secondary-hover-color: @button-secondary-hover-color;
@inverse-button-secondary-hover-box-shadow: @inverse-button-hover-box-shadow;
@inverse-button-secondary-hover-box-shadow: @inverse-global-small-box-shadow;
@inverse-button-secondary-hover-border: @button-secondary-hover-border;
@inverse-button-secondary-active-background: @button-secondary-active-background;
@inverse-button-secondary-active-background-gradient: @button-secondary-active-background-gradient;
@inverse-button-secondary-active-color: @button-secondary-active-color;
@inverse-button-secondary-active-box-shadow: @inverse-button-active-box-shadow;
@inverse-button-secondary-active-box-shadow: @inverse-global-small-box-shadow;
@inverse-button-secondary-active-border: transparent;
/* Danger */
@inverse-button-danger-box-shadow: @inverse-button-box-shadow;
@inverse-button-danger-hover-box-shadow: @button-secondary-hover-background;
@inverse-button-danger-active-box-shadow: @inverse-button-active-box-shadow;
@inverse-button-danger-box-shadow: @inverse-global-medium-box-shadow;
@inverse-button-danger-hover-box-shadow: @inverse-global-small-box-shadow;
@inverse-button-danger-active-box-shadow: @inverse-global-small-box-shadow;
/* Text */
@inverse-button-text-color: @global-inverse-color;

View File

@ -1,38 +1,34 @@
@card-hover-background: @ciel-color;
@card-box-shadow-m: @global-large-box-shadow;
@card-hover-box-shadow: @global-small-box-shadow;
@card-background-hover: @ciel-color;
@card-body-padding-horizontal: @global-small-gutter;
@card-body-padding-vertical: @global-small-gutter;
@card-border-radius: @global-border-radius;
@card-default-background: @global-inverse-color;
@card-default-box-shadow-m: @card-box-shadow-m;
@card-default-box-shadow-m: @global-large-box-shadow;
@card-default-border-width: @global-border-width;
@card-default-border: @global-border;
@card-default-border-width-m: 0;
@card-default-hover-border: transparent;
@card-default-border-m: none;
@card-default-hover-background: @card-default-background;
@card-default-hover-box-shadow: @card-hover-box-shadow;
@card-default-hover-box-shadow: @global-small-box-shadow;
@card-default-header-border-width: @global-border-width;
@card-default-header-border: @global-border;
@card-default-footer-border-width: @global-border-width;
@card-default-footer-border: @card-default-border;
@card-default-footer-border: @global-border;
@card-primary-background: @global-primary-background;
@card-primary-background-gradient: @global-primary-gradient;
@card-primary-box-shadow-m: @card-box-shadow-m;
@card-primary-box-shadow-m: @global-large-box-shadow;
@card-primary-hover-background: @card-primary-background;
@card-primary-hover-box-shadow: @card-hover-box-shadow;
@card-primary-hover-box-shadow: @global-small-box-shadow;
@card-primary-hover-background-gradient: @global-primary-gradient;
@card-secondary-background: @global-secondary-background;
@card-secondary-box-shadow-m: @card-box-shadow-m;
@card-secondary-box-shadow-m: @global-large-box-shadow;
@card-secondary-color: @global-color;
@card-secondary-color-mode: light;
@card-secondary-hover-background: @card-secondary-background;
@card-secondary-hover-box-shadow: @card-hover-box-shadow;
@card-secondary-hover-box-shadow: @global-small-box-shadow;
@card-disabled-box-shadow: none;
@card-disabled-border: @global-border;
@ -53,6 +49,10 @@
opacity: @card-disabled-opacity;
}
}
&:not(.uk-card-default, .uk-card-primary, .uk-card-secondary):hover {
background-color: @card-background-hover;
}
}
.hook-card-header() {
@ -69,7 +69,6 @@
.hook-card-default-hover() {
box-shadow: @card-default-hover-box-shadow;
border-color: @card-default-hover-border;
}
.hook-card-default-header() {
@ -103,7 +102,7 @@
}
.uk-card-default {
border-width: @card-default-border-width-m;
border: @card-default-border-m;
box-shadow: @card-default-box-shadow-m;
}

View File

@ -1,8 +1,5 @@
@openaire-primary-color: #211F7E;
@openaire-secondary-color: #4687E6;
@primary-color: @openaire-primary-color;
@primary-light-color: @openaire-secondary-color;
@primary-color: #211F7E;
@primary-light-color: #4687E6;
@primary-dark-color: #1F2379;
@secondary-color: #3086ED;
@ -45,11 +42,6 @@
@funder-color: #3C9F94;
@ri-color: #D023AE;
@organization-color: #E28B6C;
@publisher-color: #8B6CE2;
@journal-color: #6CE295;
@researcher-color: none;
@country-color: none;
@datasource-color: none;
/* Connect */
@connect-color: #FECA1D;
@connect-light-color: #FECA1D;
@ -73,13 +65,4 @@
@youtube-color: #FF0312;
/* Access */
@open-access-color:#F68212;
@restricted-access-color: #920192;
@embargo-access-color: #003E92;
@closed-access-color: #E34950;
@close-access-color: #848484;
/* Access Routes */
@green-oa-color: #26580fda;
@gold-oa-color: #f2cd08ff;
@hybrid-oa-color: #fe9800ff;
@bronze-oa-color: #b45f05ff;
@diamond-oa-color: #842bd7ff;

View File

@ -3,7 +3,6 @@
@icon-button-xsmall-size: 24px;
@icon-bg-background: @global-background;
@icon-bg-size: @icon-button-size;
@icon-bg-size-small: @icon-button-size*0.5;
@icon-bg-size-medium: @icon-button-size*1.5;
@icon-bg-size-large: @icon-button-size*2;
@ -81,23 +80,6 @@
}
/* Default circle element for SVGs */
.uk-icon-bg {
border-radius: 100px;
width: @icon-bg-size;
height: @icon-bg-size;
display: flex;
align-items: center;
justify-content: center;
background-color: @icon-bg-background;
}
.uk-icon-bg-small {
width: @icon-bg-size-small;
height: @icon-bg-size-small;
}
/**/
/* Default circle element for SVGs with shadow*/
.uk-icon-bg-shadow {
border-radius: 100px;
width: @icon-button-size;

View File

@ -5,8 +5,6 @@
--input-placeholder-color: @global-meta-color;
--input-placeholder-weight: 400;
--input-placeholder-padding-horizontal: 5px;
--input-placeholder-top: 0px;
--input-placeholder-transform: translateY(-50%);
--input-hint-color: @global-meta-color;
--input-color: @global-emphasis-color;
--input-border-radius: @global-border-radius;
@ -63,7 +61,7 @@
background: var(--input-background);
border-radius: var(--input-border-radius);
position: relative;
padding: calc(var(--input-padding-vertical) + var(--input-placeholder-top)) 0 calc(var(--input-padding-vertical) - var(--input-placeholder-top)) var(--input-padding-horizontal);
padding: var(--input-padding-vertical) 0 var(--input-padding-vertical) var(--input-padding-horizontal);
cursor: pointer;
color: var(--input-color);
@ -266,8 +264,8 @@
&.active > .input-box > .placeholder > label,
&.focused > .input-box > .placeholder > label,
&.hint > .input-box > .placeholder > label {
transform: var(--input-placeholder-transform);
top: calc(var(--input-placeholder-top) + var(--input-border-width) * -1);
transform: translateY(-50%);
top: calc(var(--input-border-width) * -1);
font-size: 12px;
line-height: 18px;
}
@ -307,8 +305,6 @@
--input-placeholder-weight: 700;
--input-placeholder-color: @global-color;
--input-border-radius: 54px;
--input-placeholder-top: 10px;
--input-placeholder-transform: none;
--input-padding-horizontal: 30px;
--input-padding-vertical: var(--search-input-icon-padding-vertical);
--input-background-hover: @global-muted-background;

View File

@ -67,12 +67,8 @@
}
.uk-label-secondary {
background-color: @label-secondary-border;
color: @global-inverse-color;
border-color: @label-secondary-background;
.uk-close {
color: @global-inverse-color;
}
background-color: @label-secondary-background;
color: @label-secondary-color;
border-color: @label-secondary-border;
}
}

View File

@ -1,12 +1,12 @@
.set-blur-background(@color: @base-body-background, @opacity: 80%, @blur: saturate(180%) blur(20px)) {
.set-blur-background(@color: @base-body-background, @opacity: 80%) {
&.uk-blur-background, .uk-blur-background {
background: fade(@color, 99%);
}
@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
&.uk-blur-background, .uk-blur-background {
-webkit-backdrop-filter: @blur;
backdrop-filter: @blur;
-webkit-backdrop-filter: saturate(180%) blur(20px);
backdrop-filter: saturate(180%) blur(20px);
background: fade(@color, @opacity) !important;
}
}

View File

@ -42,17 +42,7 @@
}
.hook-modal-misc() {
#modal-container {
& > .uk-dropdown {
z-index: @modal-z-index + 1;
}
& > .uk-drop {
z-index: @modal-z-index + 1;
}
}
.uk-modal, .uk-dropdown, .uk-drop {
.uk-modal, uk-dropdown {
.uk-button, uk-icon-button {
box-shadow: none !important;

View File

@ -6,7 +6,6 @@
@navbar-nav-item-font-size: @global-small-font-size;
@navbar-nav-item-font-weight: 600;
@navbar-nav-item-height: @global-header-height;
@navbar-nav-logo-height: @navbar-nav-item-height - 20px;
@navbar-nav-logo-max-width: @width-xsmall-width;
@navbar-nav-item-color: @global-color;
@navbar-nav-item-before-background: @global-secondary-background;
@ -58,7 +57,7 @@
& .uk-logo {
& > img {
height: @navbar-nav-logo-height;
height: @navbar-nav-item-height - 20px;
object-fit: contain;
}

View File

@ -1,6 +0,0 @@
@placeholder-background: @global-inverse-color;
@placeholder-border: 2px dashed @global-border;
.hook-placeholder() {
border: @placeholder-border;
}

View File

@ -3,42 +3,17 @@
@progress-border-radius: 500px;
@progress-box-shadow: none;
@progress-bar-background: @global-primary-background;
@progress-bar-background-open-access: @open-access-color;
@progress-background-open-access: @muted-color;
@progress-circle-size: 100px;
@progress-circle-color: @global-primary-background;
@progress-circle-text-font-weight: @text-bold-weight;
@progress-circle-text-font-size: @global-large-font-size;
@progress-circle-sub-background: @table-color;
@progress-circle-background: conic-gradient(@progress-bar-background calc(var(--percentage) * 1%), @progress-background 0);
@progress-circle-background-open-access: conic-gradient(@progress-bar-background-open-access calc(var(--percentage) * 1%), @progress-background-open-access 0);
@progress-semicircle-size: 120px;
@progress-semicircle-size-small: 80px;
@progress-semicircle-color: @global-primary-background;
@progress-semicircle-text-font-weight: @text-bold-weight;
@progress-semicircle-text-font-size: @global-large-font-size;
@progress-semicircle-text-font-size-small: @global-font-size;
@progress-semicircle-background: conic-gradient(from 0.75turn at 50% 100%, @progress-bar-background calc(var(--percentage) * 1% / 2), @progress-background calc(var(--percentage) * 1% / 2 + 0.1%));
@progress-semicircle-background-open-access: conic-gradient(from 0.75turn at 50% 100%, @progress-bar-background-open-access calc(var(--percentage) * 1% / 2), @progress-background-open-access calc(var(--percentage) * 1% / 2 + 0.1%));
@inverse-progress-background: @inverse-global-color;
@inverse-progress-bar-background: @global-secondary-background;
.hook-progress() {
border-radius: @progress-border-radius;
box-shadow: @progress-box-shadow;
&.open-access {
background: @progress-background-open-access;
&::-moz-progress-bar {
background-color: @progress-bar-background-open-access;
}
&::-webkit-progress-value {
background-color: @progress-bar-background-open-access;
}
}
}
.hook-progress-bar() {
@ -54,144 +29,29 @@
width: @progress-circle-size;
height: @progress-circle-size;
border-radius: 50%;
background: @progress-circle-background;
background:
radial-gradient(closest-side, @table-color 70%, @global-inverse-color 70% 80%, transparent 80% 100%),
conic-gradient(@progress-bar-background calc(var(--percentage) * 1%), @progress-background 0);
&::before {
color: @progress-circle-color;
color: @progress-bar-background;
font-weight: @progress-circle-text-font-weight;
font-size: @progress-circle-text-font-size;
width: 80%;
height: 80%;
border-radius: inherit;
display: flex;
align-items: center;
justify-content: center;
background: @progress-circle-sub-background;
content: attr(percentage) '%';
}
&.open-access {
background: @progress-circle-background-open-access;
}
}
.uk-progress-semicircle[percentage] {
width: @progress-semicircle-size;
aspect-ratio: 2 / 1;
border-radius: 50% / 100% 100% 0 0;
position: relative;
overflow: hidden;
display: flex;
align-items: flex-end;
justify-content: center;
&::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: @progress-semicircle-background;
mask: radial-gradient(at 50% 100%, white 62%, transparent 63%);
mask-mode: alpha;
-webkit-mask: radial-gradient(at 50% 100%, #0000 62%, #000 63%);
-webkit-mask-mode: alpha;
}
&::after {
color: @progress-semicircle-color;
font-weight: @progress-semicircle-text-font-weight;
font-size: @progress-semicircle-text-font-size;
content: attr(percentage) '%';
}
&.open-access {
&::before {
background: @progress-semicircle-background-open-access;
}
}
}
.uk-progress-semicircle-small[percentage] {
width: @progress-semicircle-size-small;
&::after {
font-size: @progress-semicircle-text-font-size-small;
}
}
}
@inverse-progress-background: @inverse-global-color;
@inverse-progress-bar-background: @global-secondary-background;
@inverse-progress-background-open-access: @inverse-global-color;
@inverse-progress-bar-background-open-access: @progress-bar-background-open-access;
@inverse-progress-circle-color: @inverse-global-color;
@inverse-progress-circle-sub-background: @global-primary-background;
@inverse-progress-circle-background: conic-gradient(@inverse-progress-bar-background calc(var(--percentage) * 1%), @inverse-progress-background 0);
@inverse-progress-circle-background-open-access: conic-gradient(@inverse-progress-bar-background-open-access calc(var(--percentage) * 1%), @inverse-progress-background-open-access 0);
@inverse-progress-semicircle-color: @inverse-global-color;
@inverse-progress-semicircle-background: conic-gradient(from 0.75turn at 50% 100%, @inverse-progress-bar-background calc(var(--percentage) * 1% / 2), @inverse-progress-background calc(var(--percentage) * 1% / 2 + 0.1%));
@inverse-progress-semicircle-background-open-access: conic-gradient(from 0.75turn at 50% 100%, @inverse-progress-bar-background-open-access calc(var(--percentage) * 1% / 2), @inverse-progress-background-open-access calc(var(--percentage) * 1% / 2 + 0.1%));
.hook-inverse() {
.uk-progress {
background-color: @inverse-progress-background;
&::-moz-progress-bar {
background-color: @inverse-progress-bar-background;
}
&::-webkit-progress-value {
background-color: @inverse-progress-bar-background;
}
&.open-access {
background: @inverse-progress-background-open-access;
&::-moz-progress-bar {
background-color: @inverse-progress-bar-background-open-access;
}
&::-webkit-progress-value {
background-color: @inverse-progress-bar-background-open-access;
}
}
}
.uk-progress-circle[percentage] {
background: @inverse-progress-circle-background;
&::before {
color: @inverse-progress-circle-color;
background: @inverse-progress-circle-sub-background;
}
&.open-access {
background: @inverse-progress-circle-background-open-access;
}
.uk-progress::-moz-progress-bar {
background-color: @inverse-progress-bar-background;
}
.uk-progress-semicircle[percentage] {
&::before {
background: @inverse-progress-semicircle-background;
}
&::after {
color: @inverse-progress-semicircle-color;
}
&.open-access {
&::before {
background: @inverse-progress-semicircle-background-open-access;
}
&::after {
color: @inverse-progress-semicircle-color;
}
}
.uk-progress::-webkit-progress-value {
background-color: @inverse-progress-bar-background;
}
}

View File

@ -1,14 +1,10 @@
@subnav-item-font-size: @global-small-font-size;
@subnav-item-font-size-small: @global-xsmall-font-size;
@subnav-item-line-height: 17px;
@subnav-item-font-weight: 400;
@subnav-item-max-width: @width-medium-width;
/* Pills */
@subnav-pill-item-padding-vertical: 10px;
@subnav-pill-item-padding-horizontal: 20px;
@subnav-pill-item-padding-vertical-small: (@subnav-pill-item-padding-vertical / 2);
@subnav-pill-item-padding-horizontal-small: (@subnav-pill-item-padding-horizontal / 2);
@subnav-pill-item-border-radius: 60px;
@subnav-pill-item-background: transparent;
@subnav-pill-item-color: @global-primary-background;
@ -25,9 +21,7 @@
/* Pills alt*/
@subnav-pill-alt-item-padding-vertical: 10px;
@subnav-pill-alt-item-padding-horizontal: 20px;
@subnav-pill-alt-item-padding-vertical-small: (@subnav-pill-alt-item-padding-vertical / 2);
@subnav-pill-alt-item-padding-horizontal-small: (@subnav-pill-alt-item-padding-horizontal / 2);
@subnav-pill-alt-item-border-radius: @global-xlarge-border-radius;
@subnav-pill-alt-item-border-radius: 24px;
@subnav-pill-alt-item-color: @global-color;
@subnav-pill-alt-item-hover-color: @global-secondary-background;
@subnav-pill-alt-item-active-font-weight: 600;
@ -40,9 +34,6 @@
font-size: @subnav-item-font-size;
font-weight: @subnav-item-font-weight;
line-height: @subnav-item-line-height;
max-width: @subnav-item-max-width;
& > *:extend(.uk-text-truncate) {}
}
.hook-subnav-pill-item() {
@ -81,20 +72,13 @@
background-image: @subnav-pill-alt-item-active-background-gradient;
}
}
}
.uk-subnav.uk-subnav-pill.uk-subnav-small {
/* Inverse */
@inverse-subnav-pill-alt-box-shadow: @inverse-global-large-box-shadow;
& > * > * {
font-size: @subnav-item-font-size-small;
padding: @subnav-pill-item-padding-vertical-small @subnav-pill-item-padding-horizontal-small;
}
}
.uk-subnav.uk-subnav-pill-alt.uk-subnav-small {
& > * > * {
font-size: @subnav-item-font-size-small;
padding: @subnav-pill-alt-item-padding-vertical-small @subnav-pill-alt-item-padding-horizontal-small;
}
.hook-inverse-misc() {
.uk-subnav.uk-subnav-pill-alt {
box-shadow: @inverse-subnav-pill-alt-box-shadow;
}
}

View File

@ -6,7 +6,7 @@
@table-header-cell-color: @global-meta-color;
@table-header-cell-text-transform: uppercase;
@table-row-active-background: @ciel-color;
@table-row-active-background: fade(@global-primary-background, 20%);
@table-striped-row-background: @table-color;

View File

@ -10,4 +10,5 @@
.hook-tooltip() {
border: @tooltip-border-width solid @tooltip-border;
box-shadow: @tooltip-shadow;
word-break: break-all;
}

View File

@ -1,8 +1,5 @@
@dropcap-font-size: @global-line-height * 3;
@border-rounded-border-radius: @global-border-radius;
@border-rounded-small-border-radius: @global-small-border-radius;
@border-rounded-xlarge-border-radius: @global-xlarge-border-radius;
@border-width: @global-border-width;
@border-color: @global-border;
@ -46,15 +43,6 @@
.uk-box-no-shadow, .uk-box-no-shadow-hover:hover {
box-shadow: none;
}
/* Border radius*/
.uk-border-rounded-small {
border-radius: @border-rounded-small-border-radius;
}
.uk-border-rounded-xlarge {
border-radius: @border-rounded-xlarge-border-radius;
}
}
/* Inverse */

View File

@ -17,7 +17,7 @@
@global-link-color: @info-color;
@global-muted-color: @disable-color;
@global-meta-color: @placeholder-color;
@global-link-hover-color: @openaire-secondary-color;
@global-link-hover-color: @secondary-color;
@global-overlay-background: fade(@black-color, 60%);
/** Backgrounds */
@ -36,7 +36,6 @@
@global-border: @muted-color;
@global-border-radius: 6px;
@global-small-border-radius: 4px;
@global-xlarge-border-radius: 4 * @global-border-radius;
/* Shadows*/
@global-default-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
@ -47,19 +46,9 @@
@global-xlarge-box-shadow: -20px -20px 25px rgba(0, 0, 0, 0.02), 20px 20px 25px rgba(0, 0, 0, 0.08);
/* Spacings */
@global-xsmall-gutter: 8px;
@global-small-gutter: 16px;
@global-gutter: 32px;
@global-medium-gutter: 40px;
@global-large-gutter: 72px;
@global-xsmall-margin: 4px;
@global-small-margin: 8px;
@global-margin: 16px;
@global-medium-margin: 40px;
@global-large-margin: 72px;
@global-xlarge-margin: 144px;
@global-small-gutter: 20px;
@global-xsmall-gutter: 10px;
@global-xsmall-margin: 5px;
/* Controls */
@global-control-small-height: 30px;