2023-11-02 10:30:59 +01:00
|
|
|
@import (reference) "~src/assets/openaire-theme/less/color.less";
|
2023-11-15 09:35:44 +01:00
|
|
|
@import (optional) "~src/assets/extend-theme/less/color.less";
|
2023-11-02 10:30:59 +01:00
|
|
|
|
|
|
|
.setType(@color) {
|
2024-01-24 09:36:40 +01:00
|
|
|
border-bottom: 4px solid if(@color = none, none, fade(@color, 30%));
|
2023-11-02 10:30:59 +01:00
|
|
|
|
|
|
|
& .type {
|
|
|
|
color: @color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.uk-card {
|
|
|
|
&.funder {
|
|
|
|
.setType(@funder-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ri {
|
|
|
|
.setType(@ri-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.organization {
|
|
|
|
.setType(@organization-color);
|
|
|
|
}
|
2023-11-15 09:35:44 +01:00
|
|
|
|
|
|
|
&.country {
|
|
|
|
.setType(@country-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.datasource {
|
|
|
|
.setType(@datasource-color);
|
|
|
|
}
|
2023-11-02 10:30:59 +01:00
|
|
|
}
|