Files
doneit-web/src/app/pages/gabinete-digital/gabinete-digital.page.scss
T
2021-05-25 14:15:47 +01:00

393 lines
7.4 KiB
SCSS

ion-content{
/* --padding-top:15px; */
/* --padding-end:15px;
--padding-start:15px; */
/* --padding-bottom:15px; */
/* --background:#ecf8ff; */
--background: transparent;
}
:host{
// background: #0782c9;
ion-card-title{
text-align: center;
}
.title-container{
padding: 30px 20px 0 20px !important;
margin-bottom: 15px;
.btn-no-color{
display: flex;
float: right;
}
.title-icon{
float: right;
margin-right: 20px;
font-size: 30px;
color: #42b9fe;
}
}
ion-card{
background-color: #d4d5ca;
border-radius: 20px;
}
ion-item{
--ion-background-color:#dae3f3;
margin-bottom: 10px;
border-radius: 5px;
}
ion-button{
color: #000;
--background:none;
--border-color: none;
--box-shadow:none;
}
ion-label{
padding: 10px;
}
}
.ion-item-change-color{
--ion-background-color:#fff2cc !important;
margin-bottom: 10px;
border-radius: 5px;
}
.div-top-header{
width: 400px;
margin: 0 auto;
background-color: #0782c9;
overflow: auto;
padding-top: 15px;
border: 0!important;
.div-search{
font-size: 45px;
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: 45px;
float: right;
margin-right: 10px;
}
}
/* NEW CSS */
.main-content{
width: 100%; /* 400px */
height: 100%;
font-family: Roboto;
margin: 0 auto;
background:#ecf8ff;
overflow:auto;
padding: 0 !important;
border-top-left-radius: 25px;
border-top-right-radius: 25px;
.aside{
//display: flex;
align-items: center;
justify-content: center;
.exp-card{
cursor: pointer;
user-select: none;
width: 173px;
height: 200px;
margin: 7px;
//margin: 8px;
padding: 30px 5px 30px 5px;
border-radius: 15px;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.07);
background: white;
//border: solid 1px #e9e9e9;
/* --background-color: #ffffff !important; */
// background-color: #ffffff !important;
float: left;
//border: 1px solid red;
//justify-content: center;
}
.exp-card-long{
cursor: pointer;
user-select: none;
background: white;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.07);
background: white;
width: 360px;
margin: 7px 20px;
border-radius: 15px;
// background-color: #ffffff !important;
padding: 7px;
border: blue !important;
.center-div{
width: fit-content;
margin: 0 auto;
overflow: auto;
.exp-card-title{
margin: 0 !important;
}
}
.exp-card-icon{
width: fit-content;
font-size: 48px;
float: left !important;
}
.exp-card-text{
padding: 0 !important;
margin: 0 !important;
width: fit-content;
float: left !important;
}
}
.exp-card-icon{
margin: 0 auto;
}
.exp-card ion-icon{
font-size: 48px;
}
.exp-card-title{
font-size: 15px;
color: #0d89d1;
font-family: Roboto;
font-weight: bold;
font-stretch: normal;
font-style: normal;
color: #0d89d1;
margin: 15px 0 0 10px;
text-align: center;
}
.exp-card-title p{
text-align: center;
}
.exp-card-content{
font-size: 13px;
color: #797979;
margin: 11px 0 0;
font-family: Roboto;
font-weight: 700;
font-stretch: normal;
font-style: normal;
line-height: normal;
letter-spacing: normal;
text-align: center;
}
}
}
.title-content{
height: auto;
margin: 0 auto;
overflow: hidden;
padding: 0 !important;
background: transparent;
}
.div-title{
padding: 0!important;
float: left;
}
.title{
font-size: 25px;
}
.div-icon{
float: right;
font-size: 35px;
overflow: auto;
}
@media only screen and (min-width: 561px) {
.exp-card-long{
width: 547px !important;
}
}
@media only screen and (min-width: 749px) {
.exp-card-long{
width: 734px !important;
}
}
@media only screen and (min-width: 801px) {
.main-content{
.aside-wrapper{
display: flex;
width: 35%;
justify-content: flex-start !important;
border-right: 1px solid #d8d8d8;
.aside{
background:transparent;
.d-none{
display: block;
}
}
.aside-title{
font-family: Roboto;
font-size: 25px;
text-align: left;
}
.exp-card{
width: 90% !important;
justify-content: flex-start !important;
padding: 10px !important;
.exp-card-title{
text-align: left !important;
}
}
.exp-card-long{
//display: none;
width: 100% !important;
cursor: pointer;
user-select: none;
background: white;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.07);
background: white;
.center-div{
display: flex;
justify-content: center;
width: 100%;
margin: 0 !important;
.exp-card-text{
width: calc(100% - 50px);
}
}
.title1{
display: none !important;
}
.exp-card-title {
flex: 1;
float: left !important;
text-align: left;
padding-left: 10px;
}
.exp-card-content{
width: fit-content;
float: right;
}
.exp-card-text{
display: flex;
align-items: center;
justify-content: center;
}
}
}
.aside-content{
width: 65%;
display: flex !important;
background-color: white;
}
}
.exp-card{
display: flex;
align-items: center;
margin: 0 auto;
margin-bottom: 15px;
flex-direction: row !important;
width: 100%;
padding: 10px 17px 10px 17px;
height: unset !important;
//box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.07);
.exp-card-title{
flex: 1;
text-align: left;
margin-top: 0px !important;
}
.exp-card-content{
margin: 0 !important;
}
.exp-card-content .title1{
display: none;
margin-top: 0px !important;
}
.exp-card-content .number{
//display: none;
margin-top: 0px !important;
}
}
}
@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%;
}
}
.active {
color: white !important;
fill: white !important;
background: #42b9fe !important;
box-sizing: border-box;
.exp-card-title {
color: rgb(255, 255, 255) !important;
}
svg path::part(native) {
color: white !important;
fill: white !important;
}
svg path::part(button):hover {
color: white !important;
fill: rgb(255, 255, 255) !important;
}
svg{
path{
fill: rgb(255, 255, 255) !important
}
}
}
.active ion-icon::part(button) {
color: white !important;
fill: rgb(255, 255, 255) !important;
}
.active ion-icon::part(native) {
color: white !important;
fill: rgb(255, 255, 255) !important;
}
.active ion-icon{
color: white !important;
fill: red !important;
}