general.scss 7.77 KB
@import "constants";
@import "admin-seguimiento";
@import "bootstrap";
@import "botonera";
@import "botonera-lateral";
@import "botonera-principal";
@import "botonera-secundaria";
@import "contenedor";
@import "lista";
@import "login";
@import "panel-informativo";
@import "tabla";
@import "teclado";
@import "tabla-articulos";
@import "acciones-mobile";
@import "swiper";
@import "foca-crear";
@import "logistica-pedido-ruta";
@import "tabs";
@import "grid";
@import "paginador-abm";
@import "table-autorizar-nota-pedido";

//OCULTA FLECHAS INPUT NUMBER
input[type="number"] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.d-md-grid {
    @media (min-width: 768px) {
        display: grid !important;
    }
}

.btn-dashed {
    border-style: dashed !important;
    border-width: 3px;
    border-color: white;
    background-color: #dedfe0;
}

.marcador {
    position: absolute;
    right: 44.5%;
    bottom: -32%;
}

.informacion {
    position: absolute;
    right: 18px;
    bottom: 5px;
}

.flashit {
    -webkit-animation: flash linear 1s infinite;
    animation: flash linear 1s infinite;
}
@-webkit-keyframes flash {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}
@keyframes flash {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

.btn-outline-debo {
    background-color: transparent;
    color: $primary;
    border-color: $primary;
    &:hover {
        color: #fff;
        border-color: transparent;
        background-color: $primary;
    }
    &:focus {
        box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
    }
    &:active {
        color: #fff;
        background-color: $primary !important;
        box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
    }
}

.input-group-append > button {
    &:focus {
        border-color: $primary !important;
        box-shadow: 0 0 5px $primary !important;
    }
    &:active {
        border-color: $primary !important;
        box-shadow: 0 0 5px $primary !important;
    }
}

.line-break {
    white-space: pre-wrap;
}

.input-group-append > button {
    &:focus {
        border-color: $primary !important;
        box-shadow: 0 0 5px $primary !important;
    }
    &:active {
        border-color: $primary !important;
        box-shadow: 0 0 5px $primary !important;
    }
}

.btn-login {
    box-shadow: none !important;
}

input[type="file"] {
    display: none;
}
.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.btn-brown {
    background-color: $primary;
    -webkit-appearance: none;
    border-color: transparent;
    &:focus {
        outline: 0 !important;
        box-shadow: none;
    }
    .icon-white {
        color: white;
    }
}

.btn-Guardar {
    background-color: green;
    -webkit-appearance: none;
    border-color: transparent;
    &:focus {
        outline: 0 !important;
        box-shadow: none;
    }
    .icon-white {
        color: white;
    }
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: $primary;
    border-color: $primary;
}

.foca-input {
    &:focus {
        border-color: $primary;
        box-shadow: 0 0 5px $primary;
    }
    &:hover {
        border-color: $primary;
        box-shadow: 0 0 5px $primary;
    }
}

.btn-enviar {
    background-color: white;
    border-color: #cd9035;
    &:focus {
        box-shadow: none !important;
    }
    &:hover {
        border-color: $primaryTransparency !important;
        background-color: $primaryTransparency !important;
    }
    &:active {
        background-color: $primary !important;
        box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
    }
}

.btn-primary {
    background-color: $primary !important;
    border-color: $primary !important;
    &:focus {
        box-shadow: none !important;
    }
    &:hover {
        border-color: $primaryTransparency !important;
        background-color: $primaryTransparency !important;
    }
    &:active {
        background-color: $primary !important;
        box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
    }
}

.input-group-text {
    &:focus {
        outline: none;
        border-color: $primary;
        box-shadow: 0 0 5px $primary;
    }
    &:hover {
        border-color: $primary;
        box-shadow: 0 0 5px $primary;
    }
    &:active {
        box-shadow: 0 0 5px $primary;
    }
}

.btn-default {
    color: #fff;
    background-color: $default !important;
    border-color: $default !important;
    &:focus {
        box-shadow: none !important;
    }
    &:hover {
        color: #fff;
        border-color: $defaultTransparency !important;
        background-color: $defaultTransparency !important;
    }
    &:active {
        background-color: $default !important;
        box-shadow: 0px 0px 0px 3px $defaultTransparency !important;
    }
}

.btn-danger {
    &:hover {
        color: #fff;
        border-color: $dangerTransparency !important;
        background-color: $dangerTransparency !important;
    }
}

.table-celda-total {
    background-color: $highlightedArea;
}

marquee {
    background-color: $highlightedArea;
}

.front-index {
    z-index: 9999;
}

.uib-daypicker {
    outline: 0;
}

.right-0 {
    right: 0;
}

.tabla-factura {
    word-wrap: break-word;
    table-layout: fixed;
}

.ladda-w-100 .ladda-label {
    width: 100%;
    float: right;
}

.btn-delete-image {
    height: 25px;
    width: 25px;
    top: -10px;
    right: 0;
}

button.clear-input {
    cursor: pointer;
    background: transparent;
    border: none;
    margin-left: -24px;
    z-index: 9;
    color: #a3a3a3;
    &:focus {
        outline: none;
    }
}
.custom-control-input {
    &:checked ~ .custom-control-label::before {
        border: none !important;
        color: $primary !important;
        background-color: $primary !important;
        box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
    }
    &:active ~ .custom-control-label::before {
        border: none !important;
        color: $primary !important;
        background-color: $primary !important;
    }
    &:focus ~ .custom-control-label::before {
        border: none !important;
        box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
    }
    &:focus:not(:checked) ~ .custom-control-label::before {
        border: none !important;
    }
    &:not(:disabled):active ~ .custom-control-label::before {
        border: none !important;
        color: $primary !important;
        box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
    }
    &:hover ~ .custom-control-label::before {
        border: none !important;
        background-color: $primaryTransparency;
    }
}
.disable-selection {
    user-select: none;
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer */
    -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
    -webkit-user-select: none; /* Chrome, Safari, and Opera */
    -webkit-touch-callout: none; /* Disable Android and iOS callouts*/
}
.foca-text-success {
    color: $textSuccess !important;
}
.foca-text-danger {
    color: $textDanger !important;
}
.cover-spin {
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    display: flex;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6);
    left: 0;
    top: 0;
    z-index: 9999;
}
.fadeIn {
    opacity: 0;
    animation: fadeIn 1.8s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    30% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.bg-gray-gradient {    
    background: linear-gradient(0deg, hsl(0, 0%, 90%),hsl(0, 0%, 70%));
}