UNPKG

@totvs-agro/mobile-components

Version:

Componentes Mobile Totvs (Front-End) para utilização dos estilos do T-Faces e Ionic v3

854 lines (717 loc) 16.2 kB
/*Accordion*/ accordion-list .expand-wrapper { -webkit-transition: 0.5s ease; transition: 0.5s ease; white-space: normal; padding-bottom: 0px; } accordion-list .expandable-item { border-bottom: 1px solid #eceeee !important; } accordion-list .outer-container { padding: 0 !important; } accordion-list .accordion-content { font-size: 14px !important; padding-top: 24px; padding-left: 32px; padding-right: 32px; padding-bottom: 0px; } accordion-list .last-content { padding-bottom: 16px !important; } accordion-list .collapsed { height: 0 !important; } accordion-list .separator { border-bottom: 1px solid #eceeee; } accordion-list .title { color: #0c9abe; font-size: 14px !important; font-weight: bold; } accordion-list ion-list { padding: 0 !important; } accordion-list card-item h2 { font-size: 14px !important; } accordion-list card-item ion-item { padding: 4px !important; } accordion-list .label { margin: 0; } accordion-list .item-inner { padding-right: 0px !important; padding-left: 0px !important; } accordion-list .item-check { padding-left: 16px; } accordion-list .label-disabled { opacity: 0.3; } /*CARD ITEM*/ card-item img { border-radius: 4px; -o-object-fit: cover; object-fit: cover; margin-left: 16px; } card-item h2 { font-size: 14px; font-weight: bold !important; color: #4a5c60; } card-item p { color: #4a5c60; opacity: 0.5; } card-item .card-thumbnail[item-start] { margin: 0 !important; margin-top: 8px !important; margin-bottom: 8px !important; } card-item .card-checkbox { margin: 0 !important; padding-left: 16px; } card-item .card-label { padding-left: 16px; } card-item .button-icon-container { margin-right: -10px !important; } card-item .button-icon { font-size: 23px; margin: 0px 0px 0px 0px !important; color: #0c9abe; } card-item .card-icon { font-size: 23px; padding-left: 16px; margin: 0px 0px 9px 0px !important; color: #0c9abe; } card-item .card-title { padding-top: 10px !important; } card-item .card-complement { font-weight: normal; color: #999; } card-item .disabled { pointer-events: none; opacity: 0.4; } /*SHAPE DRAW*/ ion-content .scroll-content { overflow-y: hidden !important; } shape-draw #map { width: 100%; height: 100%; } shape-draw .btn { position: fixed; bottom: 14px; width: calc(50% - 20px - 20px); } shape-draw .btn-walk { width: 100%; } shape-draw .col-restart { padding: 0px 0px 0px 24px !important; } shape-draw .restart { background-color: #ffffff; color: #0c9abe; border-color: #0c9abe; } shape-draw .col-save { padding: 0px 24px 0px 15px !important; } shape-draw .save { background-color: #b6bdbf; } shape-draw .fb-delete { visibility: hidden; margin-top: 60px; } shape-draw ion-fab { margin: 8px; } shape-draw .thf-fab-button { background-color: #ffffff; color: #0c9abe; } shape-draw .icon-totvs { font-size: 30px; padding-left: 10px; padding-top: 4px; } shape-draw .fb-walk { margin-top: 60px; } shape-draw .caminhe-o-permetro { font-family: NunitoSans; font-size: 16px; font-weight: normal; font-style: normal; font-stretch: normal; line-height: 1.5; letter-spacing: normal; text-align: left; color: #4a5c60; padding: 24px; } shape-draw .area { position: fixed; top: 77px; border-radius: 32px; margin-left: 10px; font-weight: bold; padding-left: 16px; padding-right: 16px; opacity: 0.75; } @supports (-webkit-overflow-scrolling: touch) { shape-draw .fb-walk { margin-top: 82px !important; } shape-draw .fb-delete { margin-top: 82px !important; } shape-draw .area { top: 97px !important; } } /*list-item*/ list-item img { border-radius: 4px; -o-object-fit: cover; object-fit: cover; margin-left: 16px; } list-item h2 { font-size: 14px !important; font-weight: bold !important; color: #4a5c60; } list-item p { color: #4a5c60; opacity: 0.5; } list-item .checkbox { margin-left: 16px !important; margin-right: 0 !important; float: left; position: relative; top: 40px; } list-item .button-icon-container-small { width: 24px; padding: 0 !important; margin: 0 !important; } list-item .button-icon-small { font-size: 16px; padding: 0; margin: 0; } list-item .grey { color: #b6bdbf; } list-item .blue { color: #0c9abe; } list-item .ion-item-checkbox { width: calc(100% - 40px) !important; } list-item .info { -webkit-transform: scaleY(-1); transform: scaleY(-1); position: relative; top: -1px; } list-item .label-container { padding-top: 16px; height: 72px; } list-item .label-container-badge { height: 72px; padding-top: 6px !important; margin: 0; } list-item .card-title-text { max-width: 100%; display: inline-block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } list-item .card-title-badge { position: relative; top: -2px; display: inline-block; overflow: hidden; } list-item .card-badge { width: 70px; border-radius: 4px; color: #fff; } list-item .no-display { display: none; } /*SEGMENT*/ /* Esta bagaça esta no Style segment > .segment-button { text-transform: none !important; font-size: 14px !important; }*/ /*Images Itens*/ images-itens .mask { width: 140px; height: 105px; border-radius: 3px; background-size: cover; display: inline-block; /*Display inline and maintain block characteristics.*/ vertical-align: top; /*Makes sure all the divs are correctly aligned.*/ white-space: normal; /*Prevents child elements from inheriting nowrap.*/ margin-left: 16px; } images-itens .mask-first { width: 140px; height: 105px; border-radius: 3px; background-size: cover; display: inline-block; /*Display inline and maintain block characteristics.*/ vertical-align: top; /*Makes sure all the divs are correctly aligned.*/ white-space: normal; /*Prevents child elements from inheriting nowrap.*/ margin-left: 16px; } images-itens .mask-last { width: 140px; height: 105px; border-radius: 3px; background-size: cover; display: inline-block; /*Display inline and maintain block characteristics.*/ vertical-align: top; /*Makes sure all the divs are correctly aligned.*/ white-space: normal; /*Prevents child elements from inheriting nowrap.*/ margin-right: 24px; margin-left: 16px; } images-itens .titulo-da-foto { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 120px; max-width: 120px; height: 23px; font-family: NunitoSans; font-size: 10px; font-weight: bold; font-style: normal; font-stretch: normal; line-height: 1.2; letter-spacing: normal; text-align: left; color: #ffffff; padding: 65px 12px 14px 8px; } images-itens .data { width: 109px; height: 16px; font-family: NunitoSans; font-size: 8px; font-weight: bold; font-style: normal; font-stretch: normal; line-height: 1.6; letter-spacing: normal; text-align: left; color: #ffffff; padding: 0px 0px 4.9px 8px; } images-itens .arrow-right { width: 8px; height: 13px; color: #ffffff; float: right; margin-right: 10px; } images-itens .container { white-space: nowrap; /*Prevents Wrapping*/ overflow-x: scroll; overflow-y: hidden; } images-itens ion-grid { margin: 6px !important; } images-itens .container-list { white-space: normal; /*Prevents Wrapping*/ overflow-x: hidden; overflow-y: scroll; } images-itens .close-right { color: #ffffff; background-color: transparent; font-size: 16px; position: absolute; right: 25px; z-index: 2; } images-itens .mask-grid { width: calc(100% - 10px) !important; padding-top: 75%; border-radius: 3px; background-size: cover; background-position: center center; display: inline-block; vertical-align: top; white-space: normal; -webkit-box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.5); } images-itens .mask-grid-space { width: calc(100% - 20px); padding-top: calc(75% - 7px); position: absolute; top: 5px; left: 5px; z-index: 1; } images-itens .label-grid { width: calc(100% - 10px) !important; text-align: center; margin-top: 8px; margin-bottom: 8px; font-size: 12px; } images-itens .label-grid thf-icon { margin-right: -12px; margin-left: 4px; } images-itens .no-items { font-size: 14px; font-weight: bold; color: #91a4a8; padding-top: 40px; } images-itens .sk-circle { width: 25%; height: 25%; position: absolute; top: calc(50% - 12px); left: calc(50% - 5px); -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } images-itens .sk-circle .sk-child { width: 100%; height: 100%; position: absolute; left: 0; top: 0; } images-itens .sk-circle .sk-child:before { content: ""; display: block; margin: 0 auto; width: 15%; height: 15%; background-color: #fff; border-radius: 100%; -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both; animation: sk-circleBounceDelay 1.2s infinite ease-in-out both; } images-itens .sk-circle .sk-circle2 { -webkit-transform: rotate(30deg); transform: rotate(30deg); } images-itens .sk-circle .sk-circle3 { -webkit-transform: rotate(60deg); transform: rotate(60deg); } images-itens .sk-circle .sk-circle4 { -webkit-transform: rotate(90deg); transform: rotate(90deg); } images-itens .sk-circle .sk-circle5 { -webkit-transform: rotate(120deg); transform: rotate(120deg); } images-itens .sk-circle .sk-circle6 { -webkit-transform: rotate(150deg); transform: rotate(150deg); } images-itens .sk-circle .sk-circle7 { -webkit-transform: rotate(180deg); transform: rotate(180deg); } images-itens .sk-circle .sk-circle8 { -webkit-transform: rotate(210deg); transform: rotate(210deg); } images-itens .sk-circle .sk-circle9 { -webkit-transform: rotate(240deg); transform: rotate(240deg); } images-itens .sk-circle .sk-circle10 { -webkit-transform: rotate(270deg); transform: rotate(270deg); } images-itens .sk-circle .sk-circle11 { -webkit-transform: rotate(300deg); transform: rotate(300deg); } images-itens .sk-circle .sk-circle12 { -webkit-transform: rotate(330deg); transform: rotate(330deg); } images-itens .sk-circle .sk-circle2:before { -webkit-animation-delay: -1.1s; animation-delay: -1.1s; } images-itens .sk-circle .sk-circle3:before { -webkit-animation-delay: -1s; animation-delay: -1s; } images-itens .sk-circle .sk-circle4:before { -webkit-animation-delay: -0.9s; animation-delay: -0.9s; } images-itens .sk-circle .sk-circle5:before { -webkit-animation-delay: -0.8s; animation-delay: -0.8s; } images-itens .sk-circle .sk-circle6:before { -webkit-animation-delay: -0.7s; animation-delay: -0.7s; } images-itens .sk-circle .sk-circle7:before { -webkit-animation-delay: -0.6s; animation-delay: -0.6s; } images-itens .sk-circle .sk-circle8:before { -webkit-animation-delay: -0.5s; animation-delay: -0.5s; } images-itens .sk-circle .sk-circle9:before { -webkit-animation-delay: -0.4s; animation-delay: -0.4s; } images-itens .sk-circle .sk-circle10:before { -webkit-animation-delay: -0.3s; animation-delay: -0.3s; } images-itens .sk-circle .sk-circle11:before { -webkit-animation-delay: -0.2s; animation-delay: -0.2s; } images-itens .sk-circle .sk-circle12:before { -webkit-animation-delay: -0.1s; animation-delay: -0.1s; } button { min-height: 44px !important; } @-webkit-keyframes sk-circleBounceDelay { 0%, 80%, 100% { -webkit-transform: scale(0); transform: scale(0); } 40% { -webkit-transform: scale(1); transform: scale(1); } } @keyframes sk-circleBounceDelay { 0%, 80%, 100% { -webkit-transform: scale(0); transform: scale(0); } 40% { -webkit-transform: scale(1); transform: scale(1); } } /*Notificações*/ ion-toast.errorToast .toast-wrapper { background-color: #C64840 } ion-toast.successToast .toast-wrapper { background-color: #29b6c5 } ion-toast.avisoToast .toast-wrapper { background-color: #EA9B3E } /*load-progress*/ load-progress .background-invite { background-color: #0c9abe; position: relative; } load-progress .invite-content { text-align: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } load-progress .close-button { position: absolute !important; top: 0; left: 0; box-shadow: unset; -webkit-box-shadow: unset; } load-progress .text-step { color: #ffffff; font-size: 18px; text-align: center; margin: 10px; } load-progress .text-time { color: #ffffff; font-size: 14px; font-weight: bold; text-align: center; margin: 10px; } load-progress input[type="text"], textarea { background-color : #0c9abe; color: #ffffff; font-size: 24px; text-align: center; width: 100% } load-progress .ion-input .text-input,.text-input-md { margin-top: 40px !important; margin: 0 !important; } load-progress .verify-icon { padding-top: 20px; } load-progress ion-footer { padding-bottom: 10px !important; background-color: #0c9abe; position: absolute; } load-progress .footer-md::before { display: none; } load-progress .item { background-color: #0c9abe; } load-progress .footer-md::before { display: none; } /*Profile*/ perfil-image ion-content { background-color: #fbfbfb !important; } perfil-image .avatar-container { background-color: transparent !important; text-align: center; } perfil-image .avatar { width: 144px; height: 144px; margin: 0; display: inline-block; } perfil-image .avatar img { width: 144px; height: 144px; } perfil-image .photo-edit { position: absolute; bottom: 8px; left: calc(50% + 56px); font-size: 24px; color: #bbb; } perfil-image .section { border-bottom: 1px solid #eceeee; } perfil-image .profile-title { font-size: 14px; font-weight: bold; } perfil-image .profile-label { font-size: 12px; color: #b5b7b7; float: left; } perfil-image .profile-info { font-size: 14px; text-align: right; float: right; } /*Crop*/ image-edit ion-content { overflow-y: hidden; } image-edit .scroll-content { background: #000; } image-edit .crop-container { height: 400px; background-color: red; position: absolute; width: 100%; top: 45%; transform: translate(0%, -50%); } image-edit .maskImg { width: 100%; margin: 0; height: auto; background-color: #000; } image-edit .mask { width: 100%; margin: 0; height: auto; background-color: #000; } image-edit .maskCrop { width: 100%; margin: 0; height: 400px; } image-edit .item-text-area { width: calc(100% - 20px); } image-edit .item-md.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner, image-edit .item-md.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner { box-shadow: none !important; border-bottom-color: #b6bdbf !important; } image-edit .footer-button { position: fixed; bottom: 14px; left: 20px; width: calc(100% - 40px); z-index: 1; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15); }