I’migrating my project from ionic 3 to ionic 4 and all my scss is not read.
Version ionic v3
Version ionic v4
login.page.scss
:host {
ion-content{
background-image: url('../../assets/img/background-login.jpg');
background-size: cover;
}
.remember{
font-size: 11pt;
background-color: transparent!important;
}
.label{
margin-left: 3px
}
video {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
transform: translateX(-50%) translateY(-50%);
}
.scroll-content {
// align-content: center;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
overflow-y: hidden;
position: fixed;
}
ion-card.card {
box-shadow: none;
background:#D9D9D9;
border-radius: 5px;
}
a, p,
ion-card-header.card-header {
color: #E36524!important;
}
.list > .item-block:first-child {
border: medium none;
}
.item-md {
padding-left: 0;
}
.logo{
background-color: transparent!important;
padding-top: 10px;
}
.footer{
font-size: 9.5pt;
}
.item {
margin-bottom: 10px;
background: rgba(255, 255, 255, 0.5);
border: medium none;
.text-input {
color: #E36524;
}
input::-moz-placeholder {
color:#E36524!important;
}
input:-moz-placeholder {
color:#E36524!important;
}
*::-webkit-input-placeholder {
color:#E36524!important;
}
*:-ms-input-placeholder {
color: #E36524!important;
}
*:-moz-placeholder {
color: #E36524!important;
}
}
.icon {
padding-right: 10px;
}
}
login.page.html
<!--
Generated template for the LoginPage page.
See http://ionicframework.com/docs/components/#navigation for more info on
Ionic pages and navigation.
-->
<!--<ion-header>
<ion-navbar>
<ion-title>login</ion-title>
</ion-navbar>
</ion-header> -->
<ion-content padding style="float:right;background-image: url('')">
<ion-card style="width: 40%; max-width: 430px; min-width:350px; min-height:270px; align-self: center; ">
<ion-card-header>
<ion-img class="logo" width="80" height="80" src="">
</ion-img>
</ion-card-header>
<ion-card-content>
<ion-list>
<ion-item>
<ion-input [(ngModel)]="Shopkeeper" type="text" placeholder="Esercente"></ion-input>
</ion-item>
<ion-item>
<ion-input [(ngModel)]="Username" type="text" placeholder="Username"></ion-input>
</ion-item>
<ion-item>
<ion-input [(ngModel)]="Password" type="password" placeholder="Password"></ion-input>
</ion-item>
<ion-grid>
<ion-row>
<ion-col>
<ion-row>
<ion-item class="remember">
<ion-label>
<span>Ricorda</span>
</ion-label>
<ion-checkbox color="default" [(ngModel)]="Remember" style="align-self:auto; "></ion-checkbox>
</ion-item>
</ion-row>
</ion-col>
<ion-col>
<button ion-button block outline color="default" (click)="login()">Log in</button>
</ion-col>
</ion-row>
</ion-grid>
</ion-list>
<h6 class="footer"> <br> <br>
<br> </h6>
</ion-card-content>
</ion-card>
</ion-content>```