// Fonts @import url("https://fonts.googleapis.com/css?family=Nunito"); // Variables @import "variables"; // Bootstrap @import "~bootstrap/scss/bootstrap"; //Corpo geral body { font-family: $font-primary; font-size: 14px; line-height: 1.8; font-weight: normal; background: $body-bg; color: lighten($black, 50%); height: 100%; } /*|--------------------------------------------|*/ /*| BARRA DE ROLAGEM |*/ /*|--------------------------------------------|*/ ::-webkit-scrollbar { width: 5px; display: table-caption; } ::-webkit-scrollbar-track-piece { background-color: #fafafa; } ::-webkit-scrollbar-thumb { background-color: $primary; width: 2px; } /*|--------------------------------------------|*/ /*| MENU |*/ /*|--------------------------------------------|*/ a { transition: 0.3s all ease; &:hover, &:focus { text-decoration: none !important; outline: none !important; box-shadow: none; } } button { transition: 0.3s all ease; &:hover, &:focus { text-decoration: none !important; outline: none !important; box-shadow: none !important; } } h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { line-height: 1.5; font-weight: 400; font-family: $font-primary; color: $black; } //SIDEBAR .wrapper { width: 100%; } #sidebar { min-width: 220px; max-width: 220px; background: $primary; color: #fff; transition: all 0.3s; position: fixed; z-index: 0; height: 100%; z-index: 1; .h6 { color: $white; } &.active { margin-left: -220px; } h1 { margin-bottom: 20px; font-weight: 700; font-size: 22px; .logo { color: $white; width:100px; span { font-size: 14px; color: $secondary; display: block; } .marcatexto-cor { color: $marcatexto; } } } ul.components { padding: 0; } ul { li { font-size: 16px; > ul { margin-left: 10px; li { font-size: 14px; } } a:first-child{ border-top: 1px solid rgba(255, 255, 255, 0.1); } a { padding: 10px 0; display: block; color: rgba(255, 255, 255, 0.6); border-bottom: 1px solid rgba(255, 255, 255, 0.1); span { color: $secondary; } &:hover { color: $white; } } &.active { > a { background: transparent; color: $white; } } } } @media (max-width: $breakpoint-md) { margin-left: -220px; &.active { margin-left: 0; } } .custom-menu { display: inline-block; position: absolute; top: 20px; right: 0; margin-right: -20px; transition: 0.3s; .btn { width: 60px; height: 60px; border-radius: 50%; position: relative; i { margin-right: -40px; font-size: 14px; } &.btn-primary { background: transparent; border-color: transparent; &:after { z-index: -1; position: absolute; top: 0; left: 0; right: 0; bottom: 0; content: ""; transform: rotate(45deg); background: $primary; border-radius: 10px; } &:hover, &:focus { background: transparent !important; border-color: transparent !important; } } } } } a[data-toggle="collapse"] { position: relative; } .dropdown-toggle::after { display: block; position: absolute; top: 50%; right: 0; transform: translateY(-50%); } #sidebarCollapse { span { @media (max-width: $breakpoint-md) { display: none; } } } .footer { p { color: rgba(255, 255, 255, 0.5); } .marcatexto-cor { color: $marcatexto; } } /*|--------------------------------------------|*/ /*| CONTENT |*/ /*|--------------------------------------------|*/ #content { width: 100%; padding: 15px 15px 15px 15px; min-height: 100vh; transition: all 0.3s; background-color: #dedede; @media (min-width: $breakpoint-md) { padding-left: 235px; &.active { padding-left: 15px; } } } #background-content img { position: fixed; width: 50%; top: 25%; left: 35%; background-repeat: no-repeat; opacity: 0.2; z-index: -1; } .btn { &.btn-primary { background-color: transparent !important; box-shadow: none !important; &:hover, &:focus { background: $primary !important; border-color: $primary !important; } } } /*|--------------------------------------------|*/ /*| MENSAGEM SISTEMA |*/ /*|--------------------------------------------|*/ #mensagemSistema { position: fixed; top: 25; right: 25; } /*|------------------------------------------------------------|*/ /*| CSS POR COMPONENTE |*/ /*|------------------------------------------------------------|*/ /*|--------------------------------------------|*/ /*| FOLHA DE ESTILO PARA DATATABLES |*/ /*|--------------------------------------------|*/ form, .formSistema { label { color: $text-dark; font-weight: 500; } input { color: $black; font-size: 13px; border-radius: 4px; place &:focus, &:active, &::placeholder { border-color: $primary; box-shadow: rgba(41, 87, 105, 1); } &::-webkit-input-placeholder, /* Chrome/Opera/Safari */ &::-moz-placeholder, /* Firefox 19+ */ &:-ms-input-placeholder, /* IE 10+ */ &:-moz-placeholder { /* Firefox 18- */ color: rgba(255, 255, 255, 1); } select { color: $black; font-size: 13px; border-radius: 4px; place &:focus, &:active, &::placeholder { border-color: $primary; box-shadow: rgba(41, 87, 105, 1); } &::-webkit-input-placeholder, /* Chrome/Opera/Safari */ &::-moz-placeholder, /* Firefox 19+ */ &:-ms-input-placeholder, /* IE 10+ */ &:-moz-placeholder { /* Firefox 18- */ color: rgba(255, 255, 255, 1); } } } span.FormObr { color: rgb(255, 0, 0, 0.7) !important; } } table.tableClick { width: 100%; font-size: 15px !important; tr:hover { cursor: pointer; } td { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } } /*|--------------------------------------------|*/ /*| LOADER DO SISTEMA |*/ /*|--------------------------------------------|*/ .loader-system { display: none; z-index: 1055; top: 0; left: 0; width: 100%; height: 100%; background: $black; opacity: 0.7; position: fixed; -webkit-transition: 0.2s ease-out; -moz-transition: 0.2s ease-out; transition: 0.2s ease-out; } .sk-chase { width: 55px; height: 55px; position: relative; animation: sk-chase 2.5s infinite linear both; top: 50%; left: 50%; } .sk-chase-dot { width: 100%; height: 100%; position: absolute; left: 0; top: 0; animation: sk-chase-dot 2s infinite ease-in-out both; } .sk-chase-dot:before { content: ""; display: block; width: 25%; height: 25%; background-color: #fff; border-radius: 100%; animation: sk-chase-dot-before 2s infinite ease-in-out both; } .sk-chase-dot:nth-child(1) { animation-delay: -1.1s; } .sk-chase-dot:nth-child(2) { animation-delay: -1s; } .sk-chase-dot:nth-child(3) { animation-delay: -0.9s; } .sk-chase-dot:nth-child(4) { animation-delay: -0.8s; } .sk-chase-dot:nth-child(5) { animation-delay: -0.7s; } .sk-chase-dot:nth-child(6) { animation-delay: -0.6s; } .sk-chase-dot:nth-child(1):before { animation-delay: -1.1s; } .sk-chase-dot:nth-child(2):before { animation-delay: -1s; } .sk-chase-dot:nth-child(3):before { animation-delay: -0.9s; } .sk-chase-dot:nth-child(4):before { animation-delay: -0.8s; } .sk-chase-dot:nth-child(5):before { animation-delay: -0.7s; } .sk-chase-dot:nth-child(6):before { animation-delay: -0.6s; } @keyframes sk-chase { 100% { transform: rotate(360deg); } } @keyframes sk-chase-dot { 80%, 100% { transform: rotate(360deg); } } @keyframes sk-chase-dot-before { 50% { transform: scale(0.4); } 100%, 0% { transform: scale(1); } } //**// /*|--------------------------------------------|*/ /*| MENSAGEM DO SISTEMA |*/ /*|--------------------------------------------|*/ #mensagemSistema { z-index: 1056; } #mensagemSistema div { white-space: nowrap; } #listMsgJs .alert-warning { background-color: #e0cb0b; color: $black; } /*|--------------------------------------------|*/ /*| TABELAS - SM - DATATABLE |*/ /*|--------------------------------------------|*/ .dataTables_filter { width: 300px; .dataTables_length { margin-left: 0.5rem; } select { outline: none; place &:focus, &:active, &::placeholder { border-color: $primary; box-shadow: rgba(41, 87, 105, 1); } &::-webkit-input-placeholder, /* Chrome/Opera/Safari */ &::-moz-placeholder, /* Firefox 19+ */ &:-ms-input-placeholder, /* IE 10+ */ &:-moz-placeholder { /* Firefox 18- */ color: rgba(255, 255, 255, 1); } } input { width: 300px; margin-left: -0.5em; padding-left: 7px; border-radius: 6px; border-color: $primary; border-style: dotted; background: $body-bg; outline-color: $primary; outline-offset: -2px; border-width: 1px; place &:focus, &:active, &::placeholder { border-color: $primary; box-shadow: rgba(41, 87, 105, 1); } &::-webkit-input-placeholder, /* Chrome/Opera/Safari */ &::-moz-placeholder, /* Firefox 19+ */ &:-ms-input-placeholder, /* IE 10+ */ &:-moz-placeholder { /* Firefox 18- */ color: rgba(255, 255, 255, 1); } } } .table-sm { thead { font-size: 0.8rem; } tbody { font-size: 0.8rem; td.details-control { background-color: $primary ; content: 'X'; cursor: pointer; } tr.shown td.details-control { background-color:$danger; } } } /*input radio para mensagens padrões*/ div.msgp-chooser div.msgp-chooser-item input[type="radio"]{ position: absolute; left: 0; top: 0; visibility: hidden; display:none; } .msgp-chooser-item textarea{ cursor:pointer; resize: none; height: 200px } .msgp-selected{ box-shadow: 0 0 3px $primary, 0 0 5px $primary; border: 3px solid $primarycc; border-style: outset; outline: none; } /* * * * * */