diff --git a/src/main/java/org/mobidgim/mobidigimproject/model/register/sebDTO/OdoSpeedField.java b/src/main/java/org/mobidgim/mobidigimproject/model/register/sebDTO/OdoSpeedField.java index b1e38f2..b1b84fa 100644 --- a/src/main/java/org/mobidgim/mobidigimproject/model/register/sebDTO/OdoSpeedField.java +++ b/src/main/java/org/mobidgim/mobidigimproject/model/register/sebDTO/OdoSpeedField.java @@ -12,7 +12,7 @@ public class OdoSpeedField { private String id; - private int shift; + private Integer shift; private String mask; diff --git a/src/main/java/org/mobidgim/mobidigimproject/model/register/sebDTO/OdsDirField.java b/src/main/java/org/mobidgim/mobidigimproject/model/register/sebDTO/OdsDirField.java index 177a6f0..b0e6439 100644 --- a/src/main/java/org/mobidgim/mobidigimproject/model/register/sebDTO/OdsDirField.java +++ b/src/main/java/org/mobidgim/mobidigimproject/model/register/sebDTO/OdsDirField.java @@ -13,7 +13,7 @@ public class OdsDirField { private String id; - private int shift; + private Integer shift; private String mask; diff --git a/src/main/resources/static/css/style.css b/src/main/resources/static/css/style.css index 2dff5fc..3972cb8 100644 --- a/src/main/resources/static/css/style.css +++ b/src/main/resources/static/css/style.css @@ -54,12 +54,97 @@ details.nav { background: #d9d9d9; display: flex; align-items: center; + justify-content: space-between; padding: 0 32px; font-size: 28px; font-weight: 500; box-shadow: 0 2px 4px rgba(0, 0, 0, .15) inset } +.topbar-actions { + display: flex; + align-items: center; + gap: 12px; +} + +.topbar-file-actions { + display: flex; + align-items: center; + gap: 12px; +} + +.topbar-actions .file-upload-wrapper-device { + display: flex; + align-items: center; +} + +.topbar-actions .file-upload-wrapper-protocol { + display: flex; + align-items: center; +} + +.topbar-actions button { + min-width: 140px; + height: 40px; + padding: 10px 18px; + line-height: 1; + font-size: 16px; + border: 1px solid #bbb; + border-radius: 4px; + cursor: pointer; +} + +.topbar-actions .select-file-btn-device, +.topbar-actions .download-device-file { + background: #2f6fdf; + border-color: #245cc0; + color: #fff; +} + +.topbar-actions .select-file-btn-device:hover, +.topbar-actions .download-device-file:hover { + background-color: #245cc0; +} + +.topbar-actions .select-file-btn-device:active, +.topbar-actions .download-device-file:active { + background-color: #1d4da3; + transform: scale(0.97); +} + +.topbar-actions .select-file-btn-protocol, +.topbar-actions .download-protocol-file { + background: #d97706; + border-color: #b85f00; + color: #fff; +} + +.topbar-actions .select-file-btn-protocol:hover, +.topbar-actions .download-protocol-file:hover { + background-color: #b85f00; +} + +.topbar-actions .select-file-btn-protocol:active, +.topbar-actions .download-protocol-file:active { + background-color: #924b00; + transform: scale(0.97); +} + +.topbar-actions .save-file { + background-color: #4caf50; + border-color: #3f9a43; + color: #fff; +} + +.topbar-actions .save-file:hover { + background-color: #45a049; +} + +.topbar-actions .save-file:active { + background-color: #3e8e41; + transform: scale(0.97); +} + /* ───── Main Board ───── */ .content { flex: 1; diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index 31ac8cc..2f17783 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -26,7 +26,7 @@ - + @@ -35,7 +35,31 @@