@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } html { height: 100%; } html body { height: 100%; } html body .hidden { display: none; } html body .loader-container { position: absolute; width: 100%; height: 100%; z-index: 1000; background-color: rgba(0,0,0,0.4); } html body .loader-container .loader { width: 30px; top: 40%; height: 30px; margin: auto; border: 5px solid #f3f3f3; position: relative; animation: spin 1s linear infinite; border-top: 5px solid #8bd81e; border-radius: 50%; } html body .full-height { height: 100%; } html body .scroll-bar { position: absolute; right: 10px; width: 50px; } html body .scroll-bar #scroll-down { position: fixed; right: 0; bottom: 0; } html body .popup { position: fixed; height: 100%; width: 100%; overflow: auto; z-index: 1; background-color: rgba(0,0,0,0.4); } html body .popup .popup-content { background-color: #fefefe; margin: 15% auto; padding: 20px; border: 1px solid #888; width: 15%; } html body .popup .popup-content .input-item label { min-width: 60px; display: inline-block; } html body .popup .popup-content ..popup-form-buttons { margin: 10px; } html body .popup .popup-content ..popup-form-buttons * { margin: 20px; } html body .wide-popup .popup-content { width: 45%; } html body .scroll-button { display: none; } @media (max-width: 800px) { html body .scroll-bar { display: none; } html body .menu-button { width: 100%; font-size: 1.5em; font-variant: small-caps; display: inherit; } html body .popup .popup-content { background-color: #fefefe; margin: 3% auto; padding: 20px; border: 1px solid #888; width: 60%; } html body .popup .popup-content .product-items-edit { margin-top: 1.5em; } html body .popup .popup-content .product-items-edit .product-item-edit label { display: none; } html body .calendar .day { min-height: 12em; } } @media (min-width: 800px) { html body .popup .popup-content { background-color: #fefefe; margin: 15% auto; padding: 20px; border: 1px solid #888; width: 15%; } html body .wide-popup .popup-content { width: 45%; } html body .calendar { display: grid; grid-template-columns: 25% 25% 25% 25%; grid-template-rows: 50% 50%; } } @media (min-width: 1200px) { html body .calendar { display: grid; grid-template-columns: 14% 14% 14% 14% 14% 14% 14%; grid-template-rows: 50% 50%; } } html body .calendar .day-header { border: 2px solid black; text-align: center; font-size: 1.5em; font-variant: small-caps; } html body .calendar .day-header .day-name { color: red; } html body .calendar .day-header .date { color: purple; } html body .calendar .day.today { border: 0.2em solid #6cb802; } html body .calendar .day { border: 2px solid black; overflow: auto; } html body .calendar .day .day-header { border: none; border-bottom: 2px solid black; } html body .calendar .day .orders { padding-left: 25px; } html body .calendar .day .orders .actions { display: none; float: right; } html body .calendar .day .orders .order:hover .actions { display: inline; } html body .calendar .day .orders .order.pending { color: rgb(247, 176, 176); } html body .calendar .day .orders .order.fulfilled { color: rgb(114, 114, 114); } html body .calendar .day .orders .who { font-size: 18px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } html body .calendar .day .product { margin-bottom: 5px; } html body .calendar .day .product .product-name { width: 5em; display: inline-block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; margin-right: 10px; } html body .calendar .day .product .product-amount { width: 40px; max-height: 5px; display: inline-block; } html body .calendar .day .product .product-price { width: 40px; max-height: 5px; } html body .calendar .day .summary { margin-top: 10px; } html body .stock-modal .add-product { float: right; } html body .stock-modal .stock-product { margin: 1em 0; } html body .stock-modal .stock-product .product-name { display: inline-block; width: 6em; } html body .stock-modal .stock-product .stock-product-amount { display: inline-block; } html body .stock-modal .stock-product .stock-product-amount .input-item { display: inline; } html body .stock-modal .stock-product .stock-product-amount .input-item input { width: 40px; } html body .stock-modal .stock-product .stock-product-amount .input-item label { display: none; } html body .customers-modal details { padding: 0.5em; } html body .customers-modal .customer-block { margin-left: 1em; padding: 0.5em; } html body .customers-modal .customer-block .order-date-picker { display: inline-block; width: 75%; cursor: pointer; } html body .customers-modal .customer-block .product-item-edit { margin-left: 1em; } html body .customer-product-group-edit { margin-left: 1.2em; padding: 0.5em; } input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } input[type=number] { -moz-appearance: textfield; }