InventoryManager / wwwroot / css / site.css
site.css
Raw
/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
body {
    background:linear-gradient(to right,#d4b6bd,#fff);
}

.nav-item{
    background: transparent !important;
}

.nav-link {
    color: black !important;
}

@media (min-width: 320px) {
    .navbar-expand-custom {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

        .navbar-expand-custom .navbar-nav {
            flex-direction: row;
        }

        .navbar-expand-custom .dropdown-menu {
            position: absolute;
        }

        .navbar-expand-custom .nav-link {
            padding-right: .5rem;
            padding-left: .5rem;
        }

        .navbar-expand-custom > .container {
            flex-wrap: nowrap;
            max-width: 100%;
        }

        .navbar-expand-custom .navbar-collapse {
            display: flex !important;
            flex-basis: auto;
        }

        .navbar-expand-custom .navbar-toggler {
            display: auto;
        }
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: black;
  border-color: black;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: white;
    border-color: black;
    border-radius: 20px
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}


@media (min-width: 768px) {
    .centeredContainer {
        position: absolute;
        transform: translate(-50%,-50%);
        top: 45%;
        left: 50%;
        background: radial-gradient(#d4b6bd,#fff);
        border-radius: 20px;
        box-shadow: 10px 10px 5px #808080;
        max-width:50%;
    }

    .centeredContainer dl {
        padding: 1em;
        margin: 1em;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        text-decoration: none;
        color: black;
        font-size: 20px;
    }
}
@media (max-width: 768px) {
    .centeredContainer {
        position: absolute;
        transform: translate(-50%,-50%);
        top: 42%;
        left: 50%;
        background: radial-gradient(#d4b6bd,#fff);
        border-radius: 20px;
        box-shadow: 10px 10px 5px #808080;
        max-width: 75%;
        max-height:80%;
        overflow-y: scroll;
        overflow-x: hidden;
    }

        .centeredContainer::-webkit-scrollbar {
            width: 0.2em;
            height:;
            background-color: transparent;
            margin-top: 10px;
            margin-bottom: 10px;
        }

    .centeredContainer::-webkit-scrollbar-thumb {
        background-color: #000000;
    }

    .centeredContainer::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        border-radius: 20px;
        background-color: #d4b6bd;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .centeredContainer dl {
        padding: 1em;
        margin: 1em;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        text-decoration: none;
        color: black;
        font-size: 20px;
    }

}

        .centeredContainer form {
            display: flex;
            flex-direction: column;
            align-items: stretch;
        }

        .centeredContainer dt, .centeredContainer dd {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: black;
            font-size: 20px;
        }

.centeredContainer form a {
    text-decoration: none;
    color: black;
    font-size: 15px;

}

            .centeredContainer form a:hover {
                text-shadow: 2px 2px 6px #808080;
            }

        .centeredContainer form input {
            border-radius: 20px;
        }

        .centeredContainer form .btn {
            font-size: 1em;
        }

        .centeredContainer:hover {
            margin: -8px;
        }

        .centeredContainer form a, input:focus, submit:focus, button:focus {
            outline: none;
            margin: 2px;
        }


    .mainDiv {
        position: fixed;
        top: 15%;
        left: 0;
        min-height: 100%;
        min-width: 100%;
    }

.categoryContainer {
    position: center;
    background: radial-gradient(#d4b6bd,#fff);
    border-radius: 20px;
    width: 100%;
    overflow-y: scroll;
    overflow-x: scroll;
    padding: 10px;
}

        .categoryContainer::-webkit-scrollbar {
            width: 0.2em;
            height: 0.2em;
            background-color: transparent;
        }

        .categoryContainer::-webkit-scrollbar-thumb {
            background-color: #000000;
        }

    .categoryContainer::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        border-radius: 20px;
        background-color: #d4b6bd;
        margin: 15px;
    }

    body {
        scrollbar-width: thin;
    }

    .page-link {
        color: lightgrey !important;
    }

    .page-item.active .page-link {
        z-index: 3;
        color: white;
        background-color: black !important;
        border-color: black;
    }

    .form-control {
        border-radius: 20px;
    }