Rename component css to less

This commit is contained in:
Konstantinos Triantafyllou 2022-07-20 11:03:53 +03:00
parent e15224bc88
commit 00173fb16b
14 changed files with 28 additions and 39 deletions

View File

@ -1,14 +0,0 @@
.affiliationCard {
width: 260px !important;
height: 260px !important;
}
.supportingOrganizations img, svg {
-webkit-filter: grayscale(1);
filter: grayscale(1);
transition-duration: 0.3s;
}
.supportingOrganizations a:hover img, svg {
-webkit-filter: grayscale(0);
filter: grayscale(0);
transition-duration: 0.3s;
}

View File

@ -0,0 +1,18 @@
.affiliationCard {
width: 260px !important;
height: 260px !important;
}
.supportingOrganizations a {
img, svg {
-webkit-filter: grayscale(1);
filter: grayscale(1);
transition-duration: 0.3s;
}
&:hover {
-webkit-filter: grayscale(0);
filter: grayscale(0);
transition-duration: 0.3s;
}
}

View File

@ -14,7 +14,7 @@ import {properties} from "../../environments/environment";
@Component({
selector: 'affiliations',
templateUrl: './affiliations.component.html',
styleUrls: ['./affiliations.component.css']
styleUrls: ['./affiliations.component.less']
})
export class AffiliationsComponent {
@Input() getAffiliationsFromAPI: boolean = false;

View File

@ -1,4 +0,0 @@
.linksbasket{
background-color: var(--primary-background-color) opacity 0.1;
}

View File

@ -7,9 +7,7 @@ import {properties} from "../../../environments/environment";
@Component({
selector: 'openaire-linking-generic',
template: `<linking-generic [communityId]=communityId [piwikSiteId]="piwikSiteId" pageTitle="Linking"></linking-generic>`,
styleUrls:['./linkingGeneric.component.css']
template: `<linking-generic [communityId]=communityId [piwikSiteId]="piwikSiteId" pageTitle="Linking"></linking-generic>`
})
export class OpenaireLinkingComponent {
communityId:string;

View File

@ -23,7 +23,7 @@ import {OpenaireEntities} from "../openaireLibrary/utils/properties/searchFields
@Component({
selector: 'communities',
templateUrl: 'communities.component.html',
styleUrls: ['communities.component.css']
styleUrls: ['communities.component.less']
})
export class CommunitiesComponent implements OnInit, OnDestroy, AfterViewInit {

View File

@ -525,8 +525,8 @@
</ul>
</div>
<div class="">
<a class="uk-position-center-left blur-background" uk-slider-item="previous"><span uk-icon="chevron-left"></span></a>
<a class="uk-position-center-right blur-background" uk-slider-item="next"><span uk-icon="chevron-right"></span></a>
<a class="uk-position-center-left uk-blur-background" uk-slider-item="previous"><span uk-icon="chevron-left"></span></a>
<a class="uk-position-center-right uk-blur-background" uk-slider-item="next"><span uk-icon="chevron-right"></span></a>
</div>
</div>
</div>

View File

@ -43,16 +43,7 @@ import {OpenaireEntities} from '../openaireLibrary/utils/properties/searchFields
bottom: 0;
left: 0;
right: 0;
border-bottom: 2px solid #eaeaea;
}
.featuredTab, .uk-active a.featuredTab{
color:#E96439 !important;
}
.blur-background {
background-color: var(--landing-default-color);
}
.blur-background {
background: rgba(var(--landing-default-color-rgb), 0.80);
border-bottom: 1px solid #eaeaea;
}
`
]

View File

@ -213,7 +213,7 @@ import {properties} from "../../environments/environment";
<a class="uk-button uk-button-primary uk-text-uppercase uk-margin-medium-top uk-margin-medium-bottom" routerLink="/contact-us">Contact us</a>
</div>
`,
styleUrls: ['learn-how.component.css']
styleUrls: ['learn-how.component.less']
})
export class LearnHowComponent implements OnInit {
public pageContents = null;

@ -1 +1 @@
Subproject commit 13a35905597e1086d2d7e9fff3b55fce3e3e2a45
Subproject commit 2c289af1e633b9c4bc242bd256d66c287155d8ed

@ -1 +1 @@
Subproject commit d577c6d69a55901e319cf0cf5b93f900f1cdeaab
Subproject commit 5f6ce90db8213df9d88cff0231b0913543d2ed36

@ -1 +1 @@
Subproject commit a61c749816accd456cf30c9e4983d61282f28a89
Subproject commit 84d1673acc7f9368d219670c0c170d305b84ef7a