-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update[CausesPage]: Update CausesPage to have search bare fixed at th…
…e top ensuring user friendly UX
- Loading branch information
Fredrik Marjoni
committed
Apr 9, 2026
1 parent
fbc4ed1
commit fe43461
Showing
3 changed files
with
59 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,35 @@ | ||
| #image-section { | ||
| -fx-background-image: url("/loginpage/login-image.jpg"); | ||
| -fx-background-size: 200%; | ||
| -fx-background-position: left center; | ||
| -fx-background-repeat: no-repeat; | ||
| -fx-pref-width: 50%; | ||
| -fx-background-image: url("/loginpage/login-image.jpg"); | ||
| -fx-background-size: 200%; | ||
| -fx-background-position: left center; | ||
| -fx-background-repeat: no-repeat; | ||
| -fx-pref-width: 50%; | ||
| } | ||
|
|
||
| #login-btn { | ||
| -fx-background-color: #000000; | ||
| -fx-text-fill: white; | ||
| -fx-pref-height: 35px; | ||
| -fx-background-color: #000000; | ||
| -fx-text-fill: white; | ||
| -fx-pref-height: 35px; | ||
| } | ||
|
|
||
| #register-btn { | ||
| -fx-background-color: #000000; | ||
| -fx-text-fill: white; | ||
| -fx-pref-height: 35px; | ||
| -fx-background-color: #000000; | ||
| -fx-text-fill: white; | ||
| -fx-pref-height: 35px; | ||
| } | ||
|
|
||
| #login-box { | ||
| -fx-border-color: #ccc; | ||
| -fx-border-radius: 8px; | ||
| -fx-border-width: 1px; | ||
| -fx-padding: 24px; | ||
| -fx-max-width: 340px; | ||
| -fx-border-color: #ccc; | ||
| -fx-border-radius: 8px; | ||
| -fx-border-width: 1px; | ||
| -fx-padding: 24px; | ||
| -fx-max-width: 340px; | ||
| } | ||
|
|
||
| #login-btn:hover { | ||
| -fx-cursor: hand; | ||
| } | ||
|
|
||
| #register-btn:hover { | ||
| -fx-cursor: hand; | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,35 @@ | ||
| #image-section { | ||
| -fx-background-image: url("/loginpage/signin-image.png"); | ||
| -fx-background-size: auto; | ||
| -fx-background-position: right center; | ||
| -fx-background-repeat: no-repeat; | ||
| -fx-pref-width: 50%; | ||
| -fx-background-image: url("/loginpage/signin-image.png"); | ||
| -fx-background-size: auto; | ||
| -fx-background-position: right center; | ||
| -fx-background-repeat: no-repeat; | ||
| -fx-pref-width: 50%; | ||
| } | ||
|
|
||
| #login-btn { | ||
| -fx-background-color: #000000; | ||
| -fx-text-fill: white; | ||
| -fx-pref-height: 35px; | ||
| -fx-background-color: #000000; | ||
| -fx-text-fill: white; | ||
| -fx-pref-height: 35px; | ||
| } | ||
|
|
||
| #register-btn { | ||
| -fx-background-color: #000000; | ||
| -fx-text-fill: white; | ||
| -fx-pref-height: 35px; | ||
| -fx-background-color: #000000; | ||
| -fx-text-fill: white; | ||
| -fx-pref-height: 35px; | ||
| } | ||
|
|
||
| #login-box { | ||
| -fx-border-color: #ccc; | ||
| -fx-border-radius: 8px; | ||
| -fx-border-width: 1px; | ||
| -fx-padding: 24px; | ||
| -fx-max-width: 340px; | ||
| -fx-border-color: #ccc; | ||
| -fx-border-radius: 8px; | ||
| -fx-border-width: 1px; | ||
| -fx-padding: 24px; | ||
| -fx-max-width: 340px; | ||
| } | ||
|
|
||
| #login-btn:hover { | ||
| -fx-cursor: hand; | ||
| } | ||
|
|
||
| #register-btn:hover { | ||
| -fx-cursor: hand; | ||
| } |