* { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #1e1e2e; color: #ff66ff; } .container { margin: 0 auto; padding: 0 20px; overflow: hidden; } header { background-color: #14141f; color: #ff66ff; padding: 10px 0; height: 60px; border-bottom: 1px solid grey; } #logo { float: left; font-size: 1.5em; margin-top: 10px; } .content { padding: 50px 0; } form { padding: 80px; width: 100%; text-align: center; } form label { padding: 15px; } form input { margin-bottom: 15px; width: 100%; } .login-form { padding: 50px 0; text-align: center; } .login-form label { padding: 15px; } .login-form input { margin-bottom: 15px; } .user-form, .employee-form { padding: 80px; width: 100%; } .user-form input { width: 100%; } .employee-form input { width: 100%; } table { width: 100%; } table, th, td { border: 1px solid grey; border-collapse: collapse; } td, th { padding: 5px 15px; } table th { color: #00ffcc; } input[type=submit] { padding: 5px 20px; } input[type=text], input[type=password], input[type=email], input[type=number] { background-color: inherit; color: inherit; border: none; border-bottom: 2px solid #555; padding: 5px; } select { background-color: #14141f; border: none; border-bottom: 2px solid #555; border-radius: 5px; color: inherit; padding: 10px 20px; width: 100%; margin-bottom: 10px; } option { padding-left: 10px; } input[type=text]:focus, input[type=password]:focus, input[type=email]:focus { outline: none; } .btn { cursor: pointer; } .btn-edit img { position: fixed; right: 30px; width: 30px; height: 30px; } .btn img:hover { background-color: #555; } .btn-delete img { width: 20px; height: 20px; margin-top: 5px; } .btn-delete img:hover { background-color: #555; } .toggle, .toggle img { background-color: inherit; width: 60px; height: 30px; } a.toggle, a img.toggle { cursor: pointer; } .toggle img:hover { background-color: #555; } tr.htmx-swapping td { opacity: 0; transition: opacity 0.5s ease-out; } .sidepanel { height: 275px; width: 0; position: fixed; z-index: 1; top: 0; right: 0; background-color: #111; overflow-x: hidden; padding-top: 60px; transition: 0.5s; } .sidepanel a { margin-left: 15px; margin-bottom: 15px; padding 10px 10px 10px 32px; text-decoration: none; font-size: 25px; display: block; transition: 0.3s; color: grey; } .sidepanel a:hover { color: #f1f1f1; } .sidepanel .closebtn { position: absolute; top: 0; right: 25px; font-size: 36px; margin-left: 50px; color: grey; } .openbtn { font-size: 30px; cursor: pointer; background-color: inherit; color: white; padding: 10px 15px; border: none; position: fixed; top: 0; right: 0; } .openbtn:hover { background-color: #444; } .form-content { transition: 0.5s; overflow: auto; z-index: 1; position: fixed; top: 60px; left: 0; background-color: #14141f; width: 100%; } .closebtn { border: none; background-color: inherit; color: grey; margin-left: 50px; text-decoration: none; } .form-content .closebtn { position: absolute; top: 0; right: 25px; font-size: 36px; margin-left: 50px; color: grey; } .btn-add { color: grey; font-size: 1.5em; text-decoration: none; } .btn-add:hover { background-color: #444; } .btn { text-decoration: none; } .btn:hover { background-color: #444; } .danger { color: red; } .vendor-branches { width: 350px; } .vendor-branches ul li a { position: relative; top: 2px; right: 0; margin-left: 10px; font-size: 1.5em; } .vendor-branches ul li { transition: 0.3s ease-out; } .branch-row { display: inline-block; width: 300px; height: 40px; background-color: #14141f; border-radius: 25px; padding-left: 15px; margin: 5px; } .branch-row .branch-name { display: inline-block; margin-top: 10px; } .branch-row a { float: right; margin-top: 5px; margin-right: 15px; font-size: 1.5em; } .btn-row button { border: none; text-decoration: none; color: grey; background-color: inherit; font-size: 1.3em; padding-bottom: 10px; cursor: pointer; } .btn-detail { border: none; text-decoration: none; color: grey; background-color: inherit; font-size: 1.3em; } .po-detail table { border-collapse: collapse; border: none; max-width: 300px; } .po-detail td { border: none; } .label { color: #00ffcc; } .float { z-index: 1; position: absolute; top: 60px; left: 0; width: 100%; background-color: #14141f; padding: 20px; } .float .closebtn { position: relative; float: right; top: 0; right: 5px; font-size: 36px; margin-left: 50px; color: grey; } .float .closebtn:hover { color: white; } .float.htmx-swapping { opacity: 0; transition: opacity 0.5s ease-out; } .float table { position: relative; top: 15px; } .btn-row { margin: 5px 40px; padding: 10px 0px; } .btn-row button { float: right; padding: 10px 20px; border-radius: 10px; margin-left: 20px; } button.danger { background-color: #ff4d4d; color: white; } button.edit { float: right; background-color: #9999ff; color: white; } .danger:hover, .edit:hover { opacity: 0.8; } .row { display: flex; margin: 10px 0; width: 100%; } .row .container { display: inline; } .input { display: inline; width: 100%; } .row .input { display: inline; border: none; } .row label { display: inline-block; width: 400px; margin-right: 20px; } .htmx-swapping { opacity: 0; transition: opacity 1s ease-in-out; } #employee-detail form input[type=text] { margin-right: 20px; margin-top: 5px; font-size: 1.5em; } .active-row { display: flex; float: right; } .active-row h3 { width: auto; margin-left: 20px; margin-right: 20px; } .active-row a { display: inline-block; } .htmx-indicator { display: none; } .htmx-request .htmx-indicator { display: inline; } .htmx-request.htmx-indicator { display: inline; }