diff --git a/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.css b/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.css index b4bd4a9..77e85d9 100755 --- a/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.css +++ b/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.css @@ -476,3 +476,127 @@ button.ready-to-print { background-color: #f8d7da !important; color: #721c24; } +/* ๐ฆ FIELD Modal Overlay */ +.field-modal { + display: none; + position: fixed; + z-index: 9999; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0,0,0,0.5); +} + +/* ๐ฆ Modal Content */ +.field-modal-content { + background-color: #ffffff; + margin: 6% auto; + padding: 20px; + width: 800px; + max-width: 90%; + border-radius: 10px; + border: 3px solid #007bff; + box-shadow: 0 6px 20px rgba(0,0,0,0.3); + text-align: center; +} + +/* ๐งท Modal Header */ +.field-modal-header { + display: flex; + justify-content: space-between; + align-items: center; + margin-right: 47%; +} + +.field-modal-header h5 { + margin: 0; + font-weight: bold; + color: #007bff; +} + +/* โ Close Button */ +.close-btn { + /* font-size: 1.5rem; */ + font-weight: bold; + color: #444; + cursor: pointer; +} + +/* ๐ข Field Input Display */ +.field-display { + width: 100%; + font-size: 1.1rem; + padding: 10px; + border: 2px solid #ccc; + border-radius: 6px; + margin: 10px 0; + text-align: right; +} + +/* ๐ Field Keypad Buttons */ +.field-buttons { + display: grid; + grid-template-columns: repeat(4, 1fr); + gap: 10px; + margin-top: 15px; +} + +.field-buttons button { + padding: 12px; + font-size: 1rem; + border-radius: 8px; + border: none; + background-color: #e0e0e0; + font-weight: 600; + cursor: pointer; + transition: background-color 0.2s ease; +} + +.field-buttons button:hover:not(:disabled) { + background-color: #ccc; +} + +.field-buttons button:disabled { + opacity: 0.6; + cursor: not-allowed; +} + +/* ๐ฉ ENTER Button Wide */ +.field-buttons .span-two { + grid-column: span 2; + background-color: #28a745; + color: white; + font-weight: bold; +} + +/* โ CANCEL Button */ +.field-cancel-btn { + background-color: #dc3545; + color: black; + font-weight: bold; +} + + +/* ๐ฆ Custom FIELD Button */ +.btn-field { + background-color: #2772af; /* Bootstrap secondary base */ + color: white; + font-weight: bold; + padding: 6px 18px; + border-radius: 6px; + border: 2px solid #6c757d; + transition: all 0.2s ease-in-out; +} + +.btn-field:hover:not(:disabled) { + background-color: #165c91; + /* border-color: #5a6268; */ +} + +.btn-field:disabled { + opacity: 0.6; + cursor: not-allowed; + background-color: #757373; + /* border-color: #b1b1b1; */ +} diff --git a/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.html b/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.html index 6a796de..3a6aa6b 100755 --- a/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.html +++ b/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.html @@ -1,27 +1,28 @@