This commit is contained in:
tiago.kayaya
2021-03-30 15:35:22 +01:00
parent 52fafe05e4
commit 3597466850
8 changed files with 45 additions and 23 deletions
@@ -149,11 +149,11 @@ ion-content{
@media only screen and (min-width: 1024px) {
@media only screen and (min-width: 801px) {
.main-content{
.aside-wrapper{
width: 40%;
width: 35%;
justify-content: flex-start !important;
border-right: 1px solid #d8d8d8;
.aside-title{
@@ -163,7 +163,7 @@ ion-content{
}
}
.aside-content{
width: 60%;
width: 65%;
display: flex !important;
background-color: white;
}
@@ -198,3 +198,23 @@ ion-content{
}
}
}
@media only screen and (min-width: 1024px){
.content{
width: 70%;
}
.aside-right{
width: 30%;
}
}
@media only screen and (min-width: 1140px) {
.div-icon{
display: none;
}
.content{
width: 75%;
border-right: 1px solid #d8d8d8;
}
.aside-right{
width: 25%;
}
}
@@ -10,12 +10,12 @@
</ion-refresher>
<!-- Main container -->
<div class="d-flex height-100 background-white overflow-hidden border-t-radius ">
<div class="main-content d-flex height-100 background-white overflow-hidden border-t-radius ">
<!-- Left -->
<div class="d-flex flex-grow-1 flex-column aside max-width-md-40">
<div class="aside-left app-default-padding d-flex flex-grow-1 flex-column aside max-width-md-35">
<!-- Header -->
<ion-toolbar >
<div class="main-header pt-25">
<div class="main-header">
<div class="title-content">
<div class="div-title">
<ion-label class="title">Ações Presidenciais</ion-label>
@@ -58,8 +58,7 @@
</div>
<!-- Right -->
<div class="d-none d-md-flex flex-grow-1 flex-column max-width-60"
style="border-left: 1px solid #d8d8d8;">
<div class="content d-none d-md-flex flex-grow-1 flex-column max-width-65 max-width-md-60">
<div class="width-100 height-100 d-flex align-center justify-center"
*ngIf="(
@@ -67,7 +66,7 @@
desktopComponent.showAddNewPublication == false &&
desktopComponent.showPublicationDetail == false &&
desktopComponent.showAddActions == false
)"><div>Nenhuma ação presidencial selecionado</div></div>
)"><div>Nenhuma ação presidencial selecionada</div></div>
<!-- View Publication -->
<app-view-publications
@@ -48,11 +48,8 @@ ion-toolbar{
width: 100%; /* 400px */
height: 100%;
font-family: Roboto;
border-top-left-radius: 25px;
border-top-right-radius: 25px;
background-color: #fff;
overflow:hidden;
padding: 30px 20px 0px 20px;
color:#000;
transform: translate3d(0, 1px, 0);
@@ -82,13 +79,15 @@ ion-toolbar{
}
}
.main-content{
width: 100%; /* 400px */
height: 100%;
font-family: Roboto;
margin: 0 auto;
background-color: #fff;
overflow:auto;
padding: 15px 20px 0 20px;
.aside-left{
border-right: 1px solid #d8d8d8;
}
.content{
//border: 1px solid red;
}
}
.item{
padding: 0 0px 0 0px;
@@ -50,10 +50,10 @@ export class OrganicEntityPage implements OnInit {
}
selectOrganicEntidy(selectedOraganicEntit: string){
this.close(selectedOraganicEntit)
this.modalController.dismiss(selectedOraganicEntit);
}
close(username: string){
this.modalController.dismiss(username);
close(){
this.modalController.dismiss();
}
}
+2 -2
View File
@@ -32,7 +32,7 @@ export class SenderPage implements OnInit {
});
}
filterContact(){
filterContact(event?:any){
const findPerson = this.sender.toLowerCase();
const persons = this.contacts.filter((person) => {
@@ -52,7 +52,7 @@ export class SenderPage implements OnInit {
this.close(this.selectedUser);
}
close(username: string){
close(username?: string){
this.modalController.dismiss(username);
}