diff --git a/Backend/Controllers/DeviceImportController.cs b/Backend/Controllers/DeviceImportController.cs index 66cd110..39cab47 100644 --- a/Backend/Controllers/DeviceImportController.cs +++ b/Backend/Controllers/DeviceImportController.cs @@ -810,6 +810,7 @@ namespace Backend.Controllers } //更新device資料表 room_dbid 欄位 string sql = @" + SET SQL_SAFE_UPDATES = 0; UPDATE device AS de, ( diff --git a/Frontend/css/site.css b/Frontend/css/site.css index 7c0e702..dc8c17b 100644 --- a/Frontend/css/site.css +++ b/Frontend/css/site.css @@ -85,9 +85,14 @@ input:-webkit-autofill { background-color: rgba(0, 0, 0, 0.15) !important; } .yt-navbar-content ul { padding: 1rem 0rem; list-style-type: none; } .yt-navbar-content ul li { position: relative; display: flex; flex-wrap: wrap; } .yt-navbar-content ul li a { font-size: 0.9rem; padding: 0.75rem 2rem; position: relative; width: 100%; } -.yt-navbar-content ul li a:hover { background-color: var(--theme-fusion-600); } -.yt-navbar-content ul li a:active, .yt-navbar-content ul li a.active { background-color: var(--theme-fusion-500); } - + .yt-navbar-content ul li a:hover { + background-color: var(--theme-fusion-600); + color: var(--theme-primary-50) !important; + } + .yt-navbar-content ul li a:active, .yt-navbar-content ul li a.active { + background-color: var(--theme-fusion-500); + color: var(--theme-primary-500) !important; + } .card-header.p-3.ui-draggable-handle:hover { cursor: move; } .device-wrap .card-body #info, .device-wrap .card-body #errRec, .device-wrap .card-body #opeRec { min-width: 500px; } diff --git a/Frontend/index.html b/Frontend/index.html index a311627..5db7e0a 100644 --- a/Frontend/index.html +++ b/Frontend/index.html @@ -1555,7 +1555,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li } else { let strHtml = `