-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Open source branding/theme * Ensure tick icon is the correct color across themes * Change tentative state color to grey rather than the theme's primary color
- Loading branch information
1 parent
aa18702
commit c0f951e
Showing
15 changed files
with
291 additions
and
4 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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 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,16 @@ | ||
{ | ||
"name": "os-branding", | ||
"description": "", | ||
"license": "Apache-2.0", | ||
"moduleType": [], | ||
"homepage": "", | ||
"main": [ | ||
"src/brand.scss" | ||
], | ||
"ignore": [ | ||
".*" | ||
], | ||
"dependencies": { | ||
} | ||
|
||
} |
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,14 @@ | ||
{ | ||
"login": { | ||
"company-logo": "", | ||
"title": "STRATOS UI", | ||
"footer": { | ||
"title": "", | ||
"copyright": "", | ||
"company.logo": "images/OpenSUSE_Logo.png", | ||
"product.logo": "", | ||
"company.www-link": "www.suse.com", | ||
"product.www-link": "" | ||
} | ||
} | ||
} |
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,37 @@ | ||
{ | ||
"product": { | ||
"name": "Cloud Foundry Console", | ||
"console": "Cloud Foundry Console", | ||
"cf": "Cloud Foundry" | ||
}, | ||
"company": { | ||
"name": "SUSE", | ||
"terms": "Legal", | ||
"terms.href": "https://www.suse.com/company/legal/", | ||
"PRIVACY_HREF": "", | ||
"PRODUCT_FAMILY_HREF": "", | ||
"www-link": "http://www.suse.com" | ||
}, | ||
"about": { | ||
"footer": { | ||
"company.logo": "images/OpenSUSE_Logo.png", | ||
"company.terms-href": "", | ||
"company.privacy-href": "" | ||
} | ||
}, | ||
"navbar": { | ||
"title": "Stratos UI", | ||
"logo": "svg:SUSE_Geeko.svg" | ||
}, | ||
"login": { | ||
"title":"Sign in", | ||
"console": "Cloud Foundry Console" | ||
}, | ||
"landing": { | ||
"footer": { | ||
"company.logo": "images/OpenSUSE_Logo.png", | ||
"company.terms-href": "", | ||
"company.privacy-href": "" | ||
} | ||
} | ||
} |
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,9 @@ | ||
{ | ||
"frontend": { | ||
"dependencies": { | ||
"app-theme": { | ||
"os-branding": "*" | ||
} | ||
} | ||
} | ||
} |
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,36 @@ | ||
$about-top-margin: 48px; | ||
|
||
.brand { | ||
|
||
page-footer.about-branding { | ||
background: none; | ||
margin-top: $about-top-margin; | ||
|
||
img.product-logo { | ||
width: 320px; | ||
display: block; | ||
} | ||
|
||
img.company-logo { | ||
width: 128px; | ||
position: relative; | ||
top: auto; | ||
right: auto; | ||
} | ||
|
||
.copyright { | ||
font-size: 18px; | ||
line-height: 1.25em; | ||
left: auto; | ||
|
||
.product-name, .secondary { | ||
color: #333; | ||
} | ||
|
||
} | ||
|
||
} | ||
|
||
|
||
|
||
} |
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,39 @@ | ||
// SUSE Brand primary colour | ||
$suse-primary: #02D35F; | ||
$suse-dark-blue: #06253A; | ||
$suse-blue: #073155; | ||
$suse-primary-light: #16696A; | ||
|
||
// Secondary blue colour | ||
$suse-secondary: #00243e; | ||
$suse-text: #fff; | ||
|
||
$login-form-border-color: lighten($suse-secondary, 10%); | ||
|
||
// Colours for the header bar | ||
$page-header-fg: #fff !default; | ||
$page-header-bg: #3171B8 !default; | ||
$page-header-active-fg: #000 !default; | ||
|
||
$page-header-active-fg: #75c7ff; | ||
|
||
// Set the primary brand colour | ||
$brand-primary: #2D85C6; | ||
|
||
$console-primary: $brand-primary; | ||
|
||
// Hide welcome text panel on the login page | ||
$login-page-text-panel-display: none; | ||
|
||
// The normal status-okay green is close to suse primary, so just use it instead | ||
$status-okay: $suse-primary; | ||
|
||
.sort-asc-desc-btn svg { | ||
.st0 { | ||
fill: $brand-primary; | ||
} | ||
} | ||
|
||
@import "dark-form"; | ||
@import "login"; | ||
@import "about"; |
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,31 @@ | ||
@mixin dark-form() { | ||
.form-group { | ||
background-color: $suse-secondary; | ||
// We override the border color in all cases, so we also need to ensure the focus z-index overrides the | ||
// error z-index (see focus below) | ||
border-color: $login-form-border-color; | ||
color: $suse-text; | ||
|
||
&.focus { | ||
border-color: $suse-primary; | ||
} | ||
|
||
.control-label, .checkbox-input, .checkbox-input.checked .checkbox-input-label { | ||
color: darken($suse-text, 10%); | ||
} | ||
|
||
input { | ||
color: $suse-text; | ||
text-shadow: 0 0 0 $suse-text; | ||
-webkit-text-fill-color: $suse-text; | ||
} | ||
|
||
search-box { | ||
.dropdown-menu { | ||
border-color: $login-form-border-color; | ||
background: $suse-secondary; | ||
} | ||
} | ||
} | ||
} | ||
|
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,70 @@ | ||
$login-padding: 24px; | ||
$login-logo-size: 128px; | ||
$login-panel-width: 380px; | ||
$login-bg-color: #eee; | ||
|
||
.brand { | ||
|
||
.landing-container { | ||
.landing-content>.landing-spacer-content { | ||
display: flex; | ||
justify-content: center; | ||
align-self: center; | ||
} | ||
|
||
login-form { | ||
.login-form-spinner { | ||
color: #333; | ||
|
||
bounce-spinner > .bounce-spinner-sm > div { | ||
background-color: #333; | ||
} | ||
} | ||
} | ||
|
||
.login-page { | ||
|
||
justify-content: center; | ||
margin-top: 0; | ||
|
||
.login-left { | ||
display: none | ||
} | ||
|
||
.login-right { | ||
background-color: #f8f8f8; | ||
padding: 24px 0; | ||
border: 2px solid #ddd; | ||
box-shadow: #ddd 0 0 20px 4px; | ||
|
||
.login-form { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
.login-form-logo-image { | ||
width: 280px; | ||
align-self: center; | ||
margin-top: 12px; | ||
margin-bottom: 24px; | ||
} | ||
|
||
h1.login-form-title { | ||
//display: none; | ||
text-align: center; | ||
font-weight: 500; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.landing-footer { | ||
> .page-footer-items { | ||
display: none; | ||
} | ||
|
||
.product-name .secondary { | ||
color: $suse-blue; | ||
} | ||
} | ||
} |