diff --git a/src/main.cpp b/src/main.cpp index 08dea56..eed84dd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -117,7 +117,7 @@ public: ServerResources(const ServerResources&) = delete; - ServerResources(const std::string& staticFilesPath): sf(std::make_unique()), api(std::make_unique()) { + explicit ServerResources(const std::string& staticFilesPath): sf(std::make_unique()), api(std::make_unique()) { api->startDaemon(); auth.users.emplace_back(std::make_shared("admin", "", http::auth::User::SUPERUSER)); diff --git a/static/style.css b/static/style.css index 3121517..9a72143 100644 --- a/static/style.css +++ b/static/style.css @@ -29,7 +29,8 @@ body { --bg-color: #2d2c33; --bg-selected: #424248; --bg-element: #626268; - --bg-action: #4a70d5; + --bg-action: #3a58af; + --bg-danger: #ac1e1e; } }