/* Template 2108 Dashboard http://www.tooplate.com/view/2108-dashboard COLOR CODES Dark Gray: #656565 Light Gray: #E6E6E6 Blue: #0062BB */ html { font-size: 17px; } body { font-family: "Open Sans", Helvetica, Arial, sans-serif; overflow-x: hidden; } body { background-image: url(../img/testbed_cropped.jpg); background-size: cover; background-repeat: no-repeat; background-position: center; background-attachment: fixed; padding-left: 50px; padding-right: 50px; } /* Grid Styling */ #grid-container { padding: 20px; background: #fff; /* border-radius: 10px; */ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } #grid { display: flex; flex-direction: column; gap: 0.8vw; width: 100%; max-width: 500px; margin: auto; } .row { display: flex; gap: 0.8vw; } .node { flex: 1; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; text-align: center; border: 2px solid #000; background-color: #f0f0f0; font-size: clamp(7px, 0.3vw, 12px); /*font-size: calc(0.4 * min(1.2vw, 1.2vh)); /* Adjusts with grid size */ min-width: 65px; min-height: 65px; transition: background-color 0.3s, font-size 0.3s; cursor: pointer; box-sizing: border-box; position: relative; } /* .node.selected { border: 2px solid rgb(153, 23, 204) !important; } */ .indicator { position: absolute; top: 5px; right: 5px; width: 15px; height: 15px; background-color: red; border-radius: 50%; display: none; color: white; font-size: 12px; font-weight: bold; text-align: center; line-height: 15px; } .node.selected .indicator { display: block !important; } .dropdown-menu .dropdown-submenu { position: relative; } .dropdown-menu .dropdown-submenu .dropdown-menu { top: 0; left: 100%; margin-top: -1px; } .dropdown-item { display: flex; align-items: center; padding: 5px 10px; min-width: 120px; } .dropdown-item input[type="checkbox"] { margin-right: 8px; transform: scale(0.9); vertical-align: middle; } .dropdown-item label { font-size: 12x; vertical-align: middle; white-space: nowrap; margin-bottom: 0; } .bg02 { background-image: url(../img/dash-bg-02.jpg); } .bg03 { background-image: url(../img/dash-bg-03.jpg); } a { transition: all 0.3s ease; } a:hover, a:focus { text-decoration: none; } .navbar-brand { display: flex; align-items: center; } .tm-site-icon { color: #656565; } .tm-site-title { display: inline-block; text-transform: uppercase; font-size: 2rem; margin-left: 1rem; color: #656565; letter-spacing: 1px; } .navbar { height: 100px; padding-left: 20px; padding-right: 20px; margin-top: 30px; } .tm-logout-icon { font-size: 1.5em; } .tm-bg-black { background-color: rgba(0, 0, 0, 0.5); } .tm-bg-white { border-radius: 10px; background-color: rgba(255, 255, 255, 0.9); } .tm-bg-light { border-radius: 10px; background-color: rgba(255, 255, 255, 0.9); } .tm-mt-big { margin-top: 30px; } .tm-mt-small { margin-top: 20px; } .tm-block { padding: 50px 45px; } .tm-block-title { font-size: 1.4rem; color: #333; margin-bottom: 30px; } .navbar-light .navbar-nav .nav-link { color: #656565; } .navbar-light .navbar-nav .nav-link, .dropdown-item { padding: 15px 20px; } .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav a:hover { background-color: #e6e6e6; } .nav-item { margin-right: 30px; } .nav-item:last-child { margin-right: 0; } .tm-content-row { justify-content: space-between; margin-left: -20px; margin-right: -20px; /* To offset col padding */ } .tm-col { padding-left: 5px; padding-right: 5px; margin-bottom: 30px; border-radius: 10px; } .tm-nav { position: relative; width: 100%; min-height: 1px; padding-right: 0px; padding-left: 0px; } .tm-foot { margin-right: 0px; margin-left: 0px; } .tm-col-big { width: 49%; } .tm-col-small { width: 20%; } .tm-link-black { color: black; } .tm-link-black:hover, .tm-link-black:focus { color: #0266c4; } ol { margin-bottom: 0; } .tm-list-group { counter-reset: myOrderedListItemsCounter; padding-left: 0; } .tm-list-group > li { list-style-type: none; position: relative; cursor: pointer; transition: all 0.3s ease; padding: 8px; } .tm-list-group-pad-big > li { padding: 20px; } .tm-list-group > li:hover { color: #0266c4; } .tm-list-group-alternate-color > li:nth-child(odd) { background-color: #e6e6e6; } .tm-list-group > li:before { counter-increment: myOrderedListItemsCounter; content: counter(myOrderedListItemsCounter) "."; margin-right: 0.5em; } .tm-list { padding-left: 30px; } .tm-list > li { margin-bottom: 20px; } .form-control { margin-bottom: 23px; padding: 19px 18px; border-radius: 0; height: 50px; } label { margin-bottom: 18px; } .btn { border-radius: 0; padding: 13px 28px; transition: all 0.2s ease; max-width: 100%; } .btn-small { padding: 10px 24px; } .btn-primary { background-color: transparent; color: black; border-color: #999999; } .btn-primary:hover, .btn-primary:active, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle { color: black; background-color: #cdd4da; border-color: #999999; } .btn-danger { color: #9f1321; background-color: transparent; border-color: #9f1321; } .btn-danger:hover { color: #9f1321; background-color: rgba(159, 19, 32, 0.27); border-color: #9f1321; } .custom-file-input { cursor: pointer; } .custom-file-label { border-radius: 0; } .tm-btn-right { text-align: right; } .table td, .table th { padding: 20px 24px; } .table-hover tbody tr:hover { background-color: white; color: #3aabd0; } .tm-bg-gray { background-color: rgba(0, 0, 0, 0.05); } .tm-table-striped-even.table-striped tbody tr:nth-of-type(even) { background-color: rgba(0, 0, 0, 0.05); } .tm-table-striped-even.table-striped tbody tr:nth-of-type(odd) { background-color: white; } .tm-table-mt { margin-top: 66px; } .page-item:first-child .page-link { border-top-left-radius: 0; border-bottom-left-radius: 0; } .page-item:last-child .page-link { border-top-right-radius: 0; border-bottom-right-radius: 0; } .page-link, .tm-dots { padding: 12px 18px; } .page-link, .page-link:hover { color: black; } .page-item { margin-right: 18px; } .page-item:last-child { margin-right: 0; } .page-item.active .page-link { background-color: #e9ecef; border-color: #dee2e6; color: black; } .tm-pagination { justify-content: flex-end; } .tm-pagination-label { padding-bottom: 15px; padding-right: 15px; display: inline-block; } .tm-table-actions-row { display: flex; justify-content: space-between; } .tm-table-actions-col-right { text-align: right; } input[type="checkbox"] { cursor: pointer; -webkit-appearance: none; appearance: none; border: 1px solid black; box-sizing: border-box; position: relative; box-sizing: content-box; width: 24px; height: 24px; transition: all 0.1s linear; } input[type="checkbox"]:checked { background-color: #9f1321; } input[type="checkbox"]:focus { outline: 0 none; box-shadow: none; } .tm-trash-icon { color: #6e6c6c; cursor: pointer; } .tm-trash-icon:hover { color: #9f1321; } .tm-trash-icon-cell { width: 15px; } footer { margin-bottom: 35px; } .custom-select { height: 50px; border-radius: 0; } .tm-product-img-dummy { max-width: 100%; width: 240px; height: 240px; border: 1px solid #cccccc; display: flex; align-items: center; justify-content: center; color: #c8c8c8; } .tm-login-col { max-width: 600px; } @media (min-width: 992px) { .navbar-expand-lg .navbar-nav .nav-link { padding: 15px 20px; } } @media (min-width: 1200px) { .container { max-width: 1630px; } } @media (max-width: 1275px) and (min-width: 1200px) { .nav-item { margin-right: 15px; } } @media (max-width: 1350px) and (min-width: 1200px) { .tm-table-actions-row { display: block; } .tm-table-actions-col-right { margin-top: 30px; } } @media (max-width: 1350px) { .nav-item { margin-right: 1px; } } @media (max-width: 1199px) { .tm-col-big, .tm-col-small { width: 49.65%; } .navbar-collapse { background: white; padding: 15px; box-shadow: rgba(108, 117, 125, 0.27) 0px 1px 1px 0px; position: absolute; top: 77px; right: 20px; width: 245px; z-index: 1000; } .navbar-nav .nav-link { padding-right: 15px; padding-left: 15px; } .nav-item { margin-right: 0; } } @media (max-width: 991px) { .tm-col-big, .tm-col-small { width: 100%; min-height: 383px; height: auto; } .tm-block { padding: 30px; } .tm-table-actions-row { display: block; } .tm-table-actions-col-right { text-align: left; margin-top: 30px; } .tm-edit-product-row { flex-direction: column-reverse; } } @media (max-width: 633px) { .pagination { flex-wrap: wrap; } .tm-pagination { justify-content: flex-start; } .tm-pagination-label { display: inline-block; margin-right: 0; } .page-item { margin-top: 10px; } } @media (max-width: 574px) { .navbar-collapse { top: 70px; } .tm-btn-right { text-align: left; margin-top: 20px; } .navbar { margin-top: 30px; height: auto; } body { padding-left: 15px; padding-right: 15px; } .tm-site-title { font-size: 1.2rem; margin-left: 7px; } .tm-site-icon { font-size: 2em; } } @media (max-width: 480px) { .tm-mt-big { margin-top: 45px; } } @media (max-width: 424px) { .navbar-collapse { top: 107px; } }