-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #448 from zesu22/feature/theme_config
[ES-385] theme based configuration from demo-ES-278 branch
- Loading branch information
Showing
21 changed files
with
278 additions
and
12,548 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
document.getElementById("root").classList.add(window._env_.DEFAULT_THEME); | ||
document.getElementById("icon").href=window._env_.DEFAULT_FEVICON; | ||
document.getElementById("title").innerHTML=window._env_.DEFAULT_TITLE; |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
:root { | ||
--login-card-box-color: #BCC0C7; | ||
--login-card-box-hover-color: #1263CA; | ||
--login-card-box-focus-color: #1263CA; | ||
--login-background: #FCFCFF; | ||
--language-icon-color: #FFFFFF; | ||
--language-icon-bg-color: #1262C9; | ||
--brand-only-logo-url: url("logo.png"); | ||
--brand-logo-url: url(""); | ||
--background-logo-url: url("images/illustration_one.png"); | ||
--primary-button-color: #FFFFFF; | ||
--primary-button-bg-color: #0953FA; | ||
--primary-button-border-color: #0953FA; | ||
--primary-button-hover-color: #FFFFFF; | ||
--primary-button-hover-bg-color: #0549b6; | ||
--primary-button-hover-border-color: #0549b6; | ||
--primary-button-disable-color: #94A3B8; | ||
--primary-button-disable-bg-color: #FFFFFF; | ||
--primary-button-disable-border-color: #94A3B8; | ||
--secondary-button-color: #111827; | ||
--secondary-button-bg-color: #FFFFFF; | ||
--secondary-button-border-color: #0953FA; | ||
--secondary-button-hover-color: #111827; | ||
--secondary-button-hover-bg-color: #F3F4F6; | ||
--secondary-button-hover-border-color: #0953FA; | ||
--secondary-button-disable-color: #94A3B8; | ||
--secondary-button-disable-bg-color: #FFFFFF; | ||
--secondary-button-disable-border-color: #94A3B8; | ||
--loading-indicator-ring-color: #3182CE; | ||
--loading-indicator-bg-color: transparent; | ||
--loading-indicator-font-color: #000000; | ||
--qrcode-border-color: #1263CA; | ||
--info-icon-color: #0686F0; | ||
--toggle-button-inactive-bg-color: #FFFFFF; | ||
--toggle-button-inactive-border-color: #D8D8D8; | ||
--toggle-button-active-bg-color: #FFFFFF; | ||
--toggle-button-active-border-color: #1262C9; | ||
--toggle-button-inactive-ball-color: #A7A8A9; | ||
--toggle-button-inactive-ball-border-color: #A7A8A9; | ||
--toggle-button-active-ball-color: #1262C9; | ||
--toggle-button-active-ball-border-color: #1262C9; | ||
--toggle-button-ring-color: #1262C9; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,119 @@ | ||
.section-background { | ||
background-color: var(--login-background); | ||
} | ||
|
||
.language-icon-color { | ||
fill: var(--language-icon-color); | ||
} | ||
|
||
.language-icon-bg-color { | ||
fill: var(--language-icon-bg-color); | ||
} | ||
|
||
.login-list-box-style { | ||
background: #ffffff 0% 0% no-repeat padding-box; | ||
border: 1px solid var(--login-card-box-color); | ||
border-radius: 6px; | ||
opacity: 1; | ||
} | ||
|
||
.login-list-box-style:hover { | ||
border-color: var(--login-card-box-hover-color); | ||
} | ||
|
||
.login-list-box-style:focus { | ||
border-color: var(--login-card-box-focus-color); | ||
} | ||
|
||
.brand-logo { | ||
content: var(--brand-logo-url); | ||
} | ||
|
||
.brand-only-logo { | ||
content: var(--brand-only-logo-url); | ||
} | ||
|
||
.background-logo { | ||
content: var(--background-logo-url); | ||
} | ||
|
||
.loading-indicator { | ||
background-color: var(--loading-indicator-bg-color); | ||
color: var(--loading-indicator-font-color); | ||
} | ||
|
||
.loading-indicator > svg { | ||
fill: var(--loading-indicator-ring-color); | ||
} | ||
|
||
.info-icon-button { | ||
color: var(--info-icon-color); | ||
} | ||
|
||
.primary-button { | ||
color: var(--primary-button-color); | ||
background-color: var(--primary-button-bg-color); | ||
border: 1px solid var(--primary-button-border-color); | ||
border-radius: 5px; | ||
} | ||
|
||
.primary-button:disabled { | ||
color: var(--primary-button-disable-color); | ||
background-color: var(--primary-button-disable-bg-color); | ||
border-color: var(--primary-button-disable-border-color); | ||
} | ||
|
||
.primary-button:hover { | ||
color: var(--primary-button-hover-color); | ||
background-color: var(--primary-button-hover-bg-color); | ||
border-color: var(--primary-button-hover-border-color); | ||
} | ||
|
||
.secondary-button { | ||
color: var(--secondary-button-color); | ||
background-color: var(--secondary-button-bg-color); | ||
border: 1px solid var(--secondary-button-border-color); | ||
border-radius: 5px; | ||
} | ||
|
||
.secondary-button:disabled { | ||
color: var(--secondary-button-disable-color); | ||
background-color: var(--secondary-button-disable-bg-color); | ||
border-color: var(--secondary-button-disable-border-color); | ||
} | ||
|
||
.secondary-button:hover { | ||
color: var(--secondary-button-hover-color); | ||
background-color: var(--secondary-button-hover-bg-color); | ||
border-color: var(--secondary-button-hover-border-color); | ||
} | ||
|
||
.qrcode-border { | ||
border-color: var(--qrcode-border-color); | ||
} | ||
|
||
.slide-toggle-button { | ||
border-color: var(--toggle-button-inactive-border-color); | ||
background-color: var(--toggle-button-inactive-bg-color); | ||
} | ||
|
||
.slide-toggle-button::after { | ||
border-color: var(--toggle-button-inactive-ball-border-color); | ||
background-color: var(--toggle-button-inactive-ball-color); | ||
} | ||
|
||
.peer:focus ~ .slide-toggle-button { | ||
outline: 2px solid transparent; | ||
outline-offset: 2px; | ||
box-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--toggle-button-ring-color); | ||
} | ||
|
||
.peer:checked ~ .slide-toggle-button { | ||
border-color: var(--toggle-button-active-border-color); | ||
background-color: var(--toggle-button-active-background-color); | ||
} | ||
|
||
.peer:checked ~ .slide-toggle-button::after { | ||
border-color: var(--toggle-button-active-ball-border-color); | ||
background-color: var(--toggle-button-active-ball-color); | ||
} |
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
Oops, something went wrong.