This repository was archived by the owner on Feb 16, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
[FIX] Prettier login page for odoobouncer (#2314) #2
Open
KKamaa
wants to merge
2
commits into
master
Choose a base branch
from
odoobouncer-2314
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,262 @@ | ||
|
|
||
| /* BASIC */ | ||
|
|
||
| html { | ||
| background-color: #56baed; | ||
| } | ||
|
|
||
| body { | ||
| font-family: "Poppins", sans-serif; | ||
| height: 100vh; | ||
| } | ||
|
|
||
| a { | ||
| color: #92badd; | ||
| display:inline-block; | ||
| text-decoration: none; | ||
| font-weight: 400; | ||
| } | ||
|
|
||
| h2 { | ||
| text-align: center; | ||
| font-size: 16px; | ||
| font-weight: 600; | ||
| text-transform: uppercase; | ||
| display:inline-block; | ||
| margin: 40px 8px 10px 8px; | ||
| color: #cccccc; | ||
| } | ||
|
|
||
|
|
||
|
|
||
| /* STRUCTURE */ | ||
|
|
||
| .wrapper { | ||
| display: flex; | ||
| align-items: center; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| width: 100%; | ||
| min-height: 100%; | ||
| padding: 20px; | ||
| } | ||
|
|
||
| #formContent { | ||
| -webkit-border-radius: 10px 10px 10px 10px; | ||
| border-radius: 10px 10px 10px 10px; | ||
| background: #fff; | ||
| padding: 30px; | ||
| width: 90%; | ||
| max-width: 450px; | ||
| position: relative; | ||
| padding: 0px; | ||
| -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3); | ||
| box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3); | ||
| text-align: center; | ||
| } | ||
|
|
||
| #formFooter { | ||
| background-color: #f6f6f6; | ||
| border-top: 1px solid #dce8f1; | ||
| padding: 25px; | ||
| text-align: center; | ||
| -webkit-border-radius: 0 0 10px 10px; | ||
| border-radius: 0 0 10px 10px; | ||
| } | ||
|
|
||
|
|
||
|
|
||
| /* TABS */ | ||
|
|
||
| h2.inactive { | ||
| color: #cccccc; | ||
| } | ||
|
|
||
| h2.active { | ||
| color: #0d0d0d; | ||
| border-bottom: 2px solid #5fbae9; | ||
| } | ||
|
|
||
|
|
||
|
|
||
| /* FORM TYPOGRAPHY*/ | ||
|
|
||
| input[type=button], input[type=submit], input[type=reset] { | ||
| background-color: #56baed; | ||
| border: none; | ||
| color: white; | ||
| padding: 15px 80px; | ||
| text-align: center; | ||
| text-decoration: none; | ||
| display: inline-block; | ||
| text-transform: uppercase; | ||
| font-size: 13px; | ||
| -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4); | ||
| box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4); | ||
| -webkit-border-radius: 5px 5px 5px 5px; | ||
| border-radius: 5px 5px 5px 5px; | ||
| margin: 5px 20px 40px 20px; | ||
| -webkit-transition: all 0.3s ease-in-out; | ||
| -moz-transition: all 0.3s ease-in-out; | ||
| -ms-transition: all 0.3s ease-in-out; | ||
| -o-transition: all 0.3s ease-in-out; | ||
| transition: all 0.3s ease-in-out; | ||
| } | ||
|
|
||
| input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover { | ||
| background-color: #39ace7; | ||
| } | ||
|
|
||
| input[type=button]:active, input[type=submit]:active, input[type=reset]:active { | ||
| -moz-transform: scale(0.95); | ||
| -webkit-transform: scale(0.95); | ||
| -o-transform: scale(0.95); | ||
| -ms-transform: scale(0.95); | ||
| transform: scale(0.95); | ||
| } | ||
|
|
||
| input[type=text], input[type=password] { | ||
| background-color: #f6f6f6; | ||
| border: none; | ||
| color: #0d0d0d; | ||
| padding: 15px 32px; | ||
| text-align: center; | ||
| text-decoration: none; | ||
| display: inline-block; | ||
| font-size: 16px; | ||
| margin: 5px; | ||
| width: 85%; | ||
| border: 2px solid #f6f6f6; | ||
| -webkit-transition: all 0.5s ease-in-out; | ||
| -moz-transition: all 0.5s ease-in-out; | ||
| -ms-transition: all 0.5s ease-in-out; | ||
| -o-transition: all 0.5s ease-in-out; | ||
| transition: all 0.5s ease-in-out; | ||
| -webkit-border-radius: 5px 5px 5px 5px; | ||
| border-radius: 5px 5px 5px 5px; | ||
| } | ||
|
|
||
| input[type=text]:focus, input[type=password]:focus { | ||
| background-color: #fff; | ||
| border-bottom: 2px solid #5fbae9; | ||
| } | ||
|
|
||
| input[type=text]:placeholder, input[type=password]:placeholder { | ||
| color: #cccccc; | ||
| } | ||
|
|
||
|
|
||
|
|
||
| /* ANIMATIONS */ | ||
|
|
||
| /* Simple CSS3 Fade-in-down Animation */ | ||
| .fadeInDown { | ||
| -webkit-animation-name: fadeInDown; | ||
| animation-name: fadeInDown; | ||
| -webkit-animation-duration: 1s; | ||
| animation-duration: 1s; | ||
| -webkit-animation-fill-mode: both; | ||
| animation-fill-mode: both; | ||
| } | ||
|
|
||
| @-webkit-keyframes fadeInDown { | ||
| 0% { | ||
| opacity: 0; | ||
| -webkit-transform: translate3d(0, -100%, 0); | ||
| transform: translate3d(0, -100%, 0); | ||
| } | ||
| 100% { | ||
| opacity: 1; | ||
| -webkit-transform: none; | ||
| transform: none; | ||
| } | ||
| } | ||
|
|
||
| @keyframes fadeInDown { | ||
| 0% { | ||
| opacity: 0; | ||
| -webkit-transform: translate3d(0, -100%, 0); | ||
| transform: translate3d(0, -100%, 0); | ||
| } | ||
| 100% { | ||
| opacity: 1; | ||
| -webkit-transform: none; | ||
| transform: none; | ||
| } | ||
| } | ||
|
|
||
| /* Simple CSS3 Fade-in Animation */ | ||
| @-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } } | ||
| @-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } } | ||
| @keyframes fadeIn { from { opacity:0; } to { opacity:1; } } | ||
|
|
||
| .fadeIn { | ||
| opacity:0; | ||
| -webkit-animation:fadeIn ease-in 1; | ||
| -moz-animation:fadeIn ease-in 1; | ||
| animation:fadeIn ease-in 1; | ||
|
|
||
| -webkit-animation-fill-mode:forwards; | ||
| -moz-animation-fill-mode:forwards; | ||
| animation-fill-mode:forwards; | ||
|
|
||
| -webkit-animation-duration:1s; | ||
| -moz-animation-duration:1s; | ||
| animation-duration:1s; | ||
| } | ||
|
|
||
| .fadeIn.first { | ||
| -webkit-animation-delay: 0.4s; | ||
| -moz-animation-delay: 0.4s; | ||
| animation-delay: 0.4s; | ||
| } | ||
|
|
||
| .fadeIn.second { | ||
| -webkit-animation-delay: 0.6s; | ||
| -moz-animation-delay: 0.6s; | ||
| animation-delay: 0.6s; | ||
| } | ||
|
|
||
| .fadeIn.third { | ||
| -webkit-animation-delay: 0.8s; | ||
| -moz-animation-delay: 0.8s; | ||
| animation-delay: 0.8s; | ||
| } | ||
|
|
||
| .fadeIn.fourth { | ||
| -webkit-animation-delay: 1s; | ||
| -moz-animation-delay: 1s; | ||
| animation-delay: 1s; | ||
| } | ||
|
|
||
| /* Simple CSS3 Fade-in Animation */ | ||
| .underlineHover:after { | ||
| display: block; | ||
| left: 0; | ||
| bottom: -10px; | ||
| width: 0; | ||
| height: 2px; | ||
| background-color: #56baed; | ||
| content: ""; | ||
| transition: width 0.2s; | ||
| } | ||
|
|
||
| .underlineHover:hover { | ||
| color: #0d0d0d; | ||
| } | ||
|
|
||
| .underlineHover:hover:after{ | ||
| width: 100%; | ||
| } | ||
|
|
||
|
|
||
|
|
||
| /* OTHERS */ | ||
|
|
||
| *:focus { | ||
| outline: none; | ||
| } | ||
|
|
||
| #icon { | ||
| width: 20%; | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| .form-signin | ||
| { | ||
| max-width: 330px; | ||
| padding: 15px; | ||
| margin: 0 auto; | ||
| } | ||
| .form-signin .form-signin-heading, .form-signin .checkbox | ||
| { | ||
| margin-bottom: 10px; | ||
| } | ||
| .form-signin .checkbox | ||
| { | ||
| font-weight: normal; | ||
| } | ||
| .form-signin .form-control | ||
| { | ||
| position: relative; | ||
| font-size: 16px; | ||
| height: auto; | ||
| padding: 10px; | ||
| -webkit-box-sizing: border-box; | ||
| -moz-box-sizing: border-box; | ||
| box-sizing: border-box; | ||
| } | ||
| .form-signin .form-control:focus | ||
| { | ||
| z-index: 2; | ||
| } | ||
| .form-signin input[type="text"] | ||
| { | ||
| margin-bottom: -1px; | ||
| border-bottom-left-radius: 0; | ||
| border-bottom-right-radius: 0; | ||
| } | ||
| .form-signin input[type="password"] | ||
| { | ||
| margin-bottom: 10px; | ||
| border-top-left-radius: 0; | ||
| border-top-right-radius: 0; | ||
| } | ||
| .account-wall | ||
| { | ||
| margin-top: 20px; | ||
| padding: 40px 0px 20px 0px; | ||
| background-color: #f7f7f7; | ||
| -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); | ||
| -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); | ||
| box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); | ||
| } | ||
| .login-title | ||
| { | ||
| color: #555; | ||
| font-size: 18px; | ||
| font-weight: 400; | ||
| display: block; | ||
| } | ||
| .profile-img | ||
| { | ||
| width: 96px; | ||
| height: 96px; | ||
| margin: 0 auto 10px; | ||
| display: block; | ||
| -moz-border-radius: 50%; | ||
| -webkit-border-radius: 50%; | ||
| border-radius: 50%; | ||
| } | ||
| .need-help | ||
| { | ||
| margin-top: 10px; | ||
| } | ||
| .new-account | ||
| { | ||
| display: block; | ||
| margin-top: 10px; | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KKamaa We currently have an environment variable for the backgoundcolor; could you create another environment variable called
NGINX_ODOO_THEMEor something, which defaults tologin, but with which you can configure to use another theme?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thomaspaulb added the env variable