duplicati/Duplicati/Server
Kenneth Skovhede 0d55faf962 Bump ngclient
2025-11-20 13:51:00 +01:00
..
Duplicati.Server.Serialization Updated to .NET10 2025-11-14 15:05:39 +01:00
Properties Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
webroot Bump ngclient 2025-11-20 13:51:00 +01:00
app.manifest Target Windows 8.1 and 10 in order to display correct version in UI 2018-10-17 10:37:44 -03:00
Duplicati.Server.csproj Bumped some package versions 2025-11-14 16:46:16 +01:00
Program.cs Updated some xmldoc string 2025-11-06 13:34:09 +01:00
README.md Iterate 2024-08-31 12:53:56 -04:00
SingleInstance.cs Feature/update license 2025 (#5851) 2025-01-07 09:40:39 +01:00
WebServerLoader.cs Updated to .NET10 2025-11-14 15:05:39 +01:00
WindowsEventLogSource.cs Feature/update license 2025 (#5851) 2025-01-07 09:40:39 +01:00

Update style sheets

We use Less CSS as a CSS preprocessor and its minify plugin along with it. We also use Stylelint with a plugin for Less (stylelint-config-standard-less).

Before proceeding, please make sure that npm is installed on your computer and available on your PATH. For install instruction, check the official documentation.

Then, run npm install --prefix ../../ on the current directory to install the packages.

To use Stylelint and compile the Less files, run the commands below:

npx stylelint "**/less/*.less"
npx lessc webroot/ngax/less/dark.less webroot/ngax/styles/dark.css --clean-css -m=always
npx lessc webroot/ngax/less/default.less webroot/ngax/styles/default.css --clean-css -m=always

Add --fix option to have Stylelint fix the errors which the linter can fix by itself.

Alternatively, it is possible to run those commands with npm run-script. See package.json on the root directory for available scripts.

Note: there are warnings about math=always on running lessc, but to fix those all divisions in .less need to be wrapped in parentheses.