Files
doneit-web/src/app/shared/publication/view-publications/view-publications.page.scss
T

213 lines
3.6 KiB
SCSS

@import '~src/function.scss';
:host{
::-webkit-scrollbar {
width: 7px;
height: 7px;
}
background: transparent;
padding: 0!important;
}
ion-content{
--background: transparent;
transform: translate3d(0, 5px, 0);
--border-radius: 30px;
}
ion-toolbar{
--border-width: 0 !important;
--border-style: none;
--padding-top: 0px !important;
--padding-start: 0px !important;
--padding-right: 0px !important;
--padding-end: 0px !important;
}
.div-top-header{
width: 400px;
margin: 0 auto;
background-color: #0782c9;
overflow: auto;
padding-top: 15px;
border: 0!important;
}
.div-search{
font-size: rem(45);
float: left;
margin: 0 0 0 10px
}
.div-logo{
background: transparent;
width: 140px;
margin: 5px 0 0px 71px;
float: left;
}
.div-logo img{
width: 100%;
}
.div-profile{
font-size: rem(45);
float: right;
margin-right: 10px;
}
.main-header{
width: 100%; /* 400px */
height: 100%;
font-family: Roboto;
border-top-left-radius: 25px;
border-top-right-radius: 25px;
background-color: #fff;
overflow:hidden;
padding: 25px 20px 0px 20px;
color:#000;
}
.main-container{
width: 100%;
height: 100% !important;
overflow-y: auto;
}
.content-top{
background: #f3f2f2;
height: 20px;
margin: 0 auto;
border-top-left-radius: 25px;
border-top-right-radius: 25px;
transform: translate3d(0, 1px, 0);
}
.title-content{
margin: 0px auto;
overflow: auto;
padding: 0 !important;
}
.back-icon{
float: left;
font-size: rem(35);
}
.div-title{
/* padding: 0!important; */
float: left;
margin: 2.5px 0 0 0;
overflow: auto;
}
.div-body{
overflow: auto;
}
.title{
width: fit-content;
font-size: rem(25);
float: left;
}
.actions-icon{
display: flex;
width: fit-content;
align-items: top;
justify-content: flex-end;
padding: 0 !important;
float: right;
}
.actions-icon ion-icon{
margin-left: 5px;
font-size: rem(35);
padding: 0 !important;
}
/* .title-icon{
font-size: rem(40) !important;
} */
.item-content-date{
color: #797979;
font-size: rem(13);
}
.item-content-detail{
color: #000000;
font-size: rem(14);
}
.post-item{
width: 100%;
border-radius: 0px;
padding: 0!important;
}
.post-img{
width: 100%;
height: 100%;
max-height: 500px;
max-width: 468px;
min-height: 350px;
min-width: 468px;
margin: 5px auto;
border-radius: 0px !important;
overflow: hidden;
background-color: white;
display: flex;
justify-content: center;
align-items: center;
background: black;
}
.post-img img{
height: 100%;
object-fit: cover;
}
.post-content{
margin: 0 auto;
margin-bottom: 35px;
}
.post-title-time{
width: 100%;
overflow: auto;
}
.post-title{
width: 60%;
float: left;
font-size: rem(15);
color: var(--title-text-color);
}
.post-data{
width: 40%;
float: left;
font-size: rem(13);
color: #797979;
text-align: right;
}
.post-description{
font-size: rem(13);
color: #000;
}
ion-fab{
overflow: auto !important;
padding-right: 25px;
padding-bottom: 15px;
background: transparent !important;
}
ion-fab-button{
--background: #FFB81C;
--box-shadow: none;
opacity: 0.7;
}
ion-fab-button:hover{
--background: #FFB81C;
opacity: 1;
}
ion-card{
width: fit-content;
max-width: calc(468px + 16px + 16px);
margin: 0px auto;
margin-top: 10px;
margin-bottom: 20px;
}