diff --git a/css/styles.css b/css/styles.css index 3f59fb42c..e9f1293e7 100644 --- a/css/styles.css +++ b/css/styles.css @@ -464,6 +464,8 @@ body { display: inline-block; width: 30px; height: 15px; + margin-top: auto; + margin-bottom: auto; } /* Hide default HTML checkbox */ @@ -648,6 +650,17 @@ input:disabled + .slider { left: 25px; } +#preferences-window #hours-per-day { + text-align: right; +} + +#preferences-window i { + margin-inline-start: 0em; + margin-inline-end: 0.3em; + width: 1.5ch; + text-align: center; +} + /* Waiver page styles */ #workday-waiver-window .section-title { diff --git a/package-lock.json b/package-lock.json index 770fda7fd..a747b9a7a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1267,6 +1267,11 @@ } } }, + "@fortawesome/fontawesome-free": { + "version": "5.15.1", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.1.tgz", + "integrity": "sha512-OEdH7SyC1suTdhBGW91/zBfR6qaIhThbcN8PUXtXilY4GYnSBbVqOntdHbC1vXwsDnX0Qix2m2+DSU1J51ybOQ==" + }, "@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", diff --git a/package.json b/package.json index 403bec14e..506a63470 100644 --- a/package.json +++ b/package.json @@ -64,15 +64,16 @@ "tape": "^5.0.1" }, "dependencies": { + "@fortawesome/fontawesome-free": "^5.15.1", "bootstrap": "^4.5.3", "date-holidays": "^1.8.1", "electron-store": "^6.0.1", - "i18next-node-fs-backend": "^2.1.3", "i18next": "^19.8.2", + "i18next-node-fs-backend": "^2.1.3", "is-online": "^8.5.1", + "jquery": "^3.5.1", "jquery-i18next": "^1.2.1", "jquery-mousewheel": "^3.1.13", - "jquery": "^3.5.1", "node-notifier": "^8.0.0", "popper.js": "^1.16.1" }, diff --git a/src/preferences.html b/src/preferences.html index 5e5031a51..2b1a0a125 100644 --- a/src/preferences.html +++ b/src/preferences.html @@ -4,6 +4,7 @@ Time to Leave - Preferences + @@ -46,68 +47,78 @@

Hours per day

+
-
App Behavior
+
Notification
-

Notification

+

Notification

-

Allow recurring notifications

+

Allow recurring notifications

-

Minutes between notifications

+

Minutes between notifications

+ +
+ +
+
App Behavior
-

Start on Login

- +

Language

+
-

Count Today in Totals

- -
-
-

Overall Balance Start Date

- +

Start on Login

+
-

Minimize button should minimize to tray

+

Minimize button should minimize to tray

-

Close button should minimize to tray

+

Close button should minimize to tray

+
+ +
+
View
-

Themes

- +

Count Today in Totals

+
-

View

- +

Overall Balance Start Date

+
-

Number of Entries

+

Number of Entries

-

Language

- + + + +
+
+

Themes

+