mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
-style approve entents for desktop finished
-style expedient for desktop ongoing
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
<ion-content>
|
||||
<ion-row>
|
||||
<ion-content class="container">
|
||||
<div class="arrow-right">
|
||||
<ion-icon (click)="close()" slot="end" class="arrow-right-icon" src='assets/images/icons-arrow-arrow-right.svg'></ion-icon>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
<button full class="btn-ok" shape="round" >Tirar Fotografia</button>
|
||||
<button class="btn-ok" shape="round" >Digitalizar Documento</button>
|
||||
<button full class="btn-ok" shape="round" >Anexar Fotografia</button>
|
||||
<button class="btn-ok" shape="round" >Anexar Documento</button>
|
||||
<div class="solid"></div>
|
||||
<button (click)="close()" full class="btn-cancel" shape="round" >Cancelar</button>
|
||||
</div>
|
||||
|
||||
<!-- <ion-row>
|
||||
<ion-col>
|
||||
<button full class="btn-ok" shape="round" >Tirar Fotografia</button>
|
||||
</ion-col>
|
||||
@@ -19,5 +31,5 @@
|
||||
</ion-col>
|
||||
<ion-col>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
</ion-row> -->
|
||||
</ion-content>
|
||||
|
||||
@@ -1,32 +1,47 @@
|
||||
ion-row{
|
||||
padding: 10px 10px 5px 10px;
|
||||
}
|
||||
.border-top{
|
||||
padding-top: 5px !important;
|
||||
border-top: 1px solid #ebebeb;
|
||||
}
|
||||
/* ion-col{
|
||||
border: 1px solid red;
|
||||
} */
|
||||
.btn-cancel{
|
||||
display: block;
|
||||
width: 170px !important;
|
||||
height: 45px !important;
|
||||
border-radius: 22.5px;
|
||||
background-color: #e0e9ee;
|
||||
--color: #061b52 !important;
|
||||
--background:transparent;
|
||||
--box-shadow: none;
|
||||
margin: 0 auto !important;
|
||||
.container{
|
||||
--padding-top:20px !important;
|
||||
--padding-bottom:20px !important;
|
||||
--padding-start:20px !important;
|
||||
--padding-end:20px !important;
|
||||
}
|
||||
.arrow-right{
|
||||
display: none;
|
||||
margin-bottom: 20px;
|
||||
.arrow-right-icon{
|
||||
width: 37px;
|
||||
float: right;
|
||||
font-size: 35px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
.buttons{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
|
||||
.btn-ok{
|
||||
display: block;
|
||||
width: 170px !important;
|
||||
height: 45px !important;
|
||||
border-radius: 22.5px;
|
||||
--background: #42b9fe;
|
||||
--color: #ffffff !important;
|
||||
.btn-ok, .btn-cancel, .btn-delete{
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
}
|
||||
.solid {
|
||||
display: none;
|
||||
width: 90%;
|
||||
border-top: 1px solid #bbb;
|
||||
margin: 0 auto !important;
|
||||
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@media only screen and (min-width: 1024px) {
|
||||
.arrow-right{
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.btn-cancel{
|
||||
display: none;
|
||||
}
|
||||
.btn-ok{
|
||||
width: 100% !important;
|
||||
}
|
||||
.mobile-only{
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { PopoverController } from '@ionic/angular';
|
||||
import { ModalController, PopoverController } from '@ionic/angular';
|
||||
|
||||
@Component({
|
||||
selector: 'app-chat-options-popover',
|
||||
@@ -9,14 +9,20 @@ import { PopoverController } from '@ionic/angular';
|
||||
export class ChatOptionsPopoverPage implements OnInit {
|
||||
|
||||
constructor(
|
||||
private popoverController: PopoverController
|
||||
private popoverController: PopoverController,
|
||||
private modalController: ModalController,
|
||||
) { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
close(){
|
||||
this.popoverController.dismiss();
|
||||
if( window.innerWidth <= 1024){
|
||||
this.popoverController.dismiss();
|
||||
}
|
||||
else{
|
||||
this.modalController.dismiss();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -9,20 +9,4 @@
|
||||
<button (click)="close()" full class="btn-cancel mobile-only" shape="round" >Cancelar</button>
|
||||
<button (click)="deleteGroup()" class="btn-delete" shape="round">Apagar grupo</button>
|
||||
</div>
|
||||
<!-- <ion-row>
|
||||
<ion-col>
|
||||
<button (click)="leaveGroup()" class="btn-cancel" shape="round" >Sair do Grupo</button>
|
||||
</ion-col>
|
||||
<ion-col>
|
||||
<button (click)="openChangeGroupName()" class="btn-ok" shape="round" >Alterar nome do grupo</button>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
<ion-row class="border-top">
|
||||
<ion-col>
|
||||
<button (click)="close()" full class="btn-cancel" shape="round" >Cancelar</button>
|
||||
</ion-col>
|
||||
<ion-col>
|
||||
<button (click)="deleteGroup()" class="btn-delete" shape="round">Apagar grupo</button>
|
||||
</ion-col>
|
||||
</ion-row> -->
|
||||
</ion-content>
|
||||
|
||||
Reference in New Issue
Block a user