-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Live css update, cache fix, design updates and various stuff
+ AppName fixes and compile bump + Bump dark theme and added highcontrast + various fixes Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
- Loading branch information
Showing
14 changed files
with
138 additions
and
51 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,14 +1,23 @@ | ||
// Revert lighten/darken | ||
@function nc-darken($color, $value) { | ||
@return lighten($color, $value); | ||
} | ||
|
||
@function nc-lighten($color, $value) { | ||
@return darken($color, $value); | ||
} | ||
|
||
// SCSS variables | ||
$color-main-text: #d8d8d8; | ||
$color-main-background: #181818; | ||
|
||
$color-background-dark: lighten($color-main-background, 4%); | ||
$color-background-darker: lighten($color-main-background, 8%); | ||
|
||
$color-text-maxcontrast: darken($color-main-text, 30%); | ||
$color-text-light: darken($color-main-text, 10%); | ||
$color-text-lighter: darken($color-main-text, 20%); | ||
|
||
$color-loading-light: #777; | ||
$color-loading-dark: #ccc; | ||
|
||
$color-box-shadow: rgba(darken($color-main-background, 70%), .5); | ||
|
||
$color-border: lighten($color-main-background, 7%); | ||
$color-border-dark: lighten($color-main-background, 14%); | ||
|
||
#app-navigation > ul > li > a:first-child img, | ||
#app-navigation > ul > li > ul > li > a:first-child img { | ||
filter: invert(100%); | ||
} |
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,22 @@ | ||
// SCSS variables | ||
$color-main-text: #000; | ||
$color-main-background: #fff; | ||
|
||
$color-background-dark: darken($color-main-background, 30%); | ||
$color-background-darker: darken($color-main-background, 30%); | ||
|
||
$color-text-maxcontrast: $color-main-text; | ||
$color-text-light: $color-main-text; | ||
$color-text-lighter: $color-main-text; | ||
|
||
$color-loading-light: #ddd; | ||
$color-loading-dark: #000; | ||
|
||
$color-box-shadow: $color-main-text; | ||
|
||
$color-border: darken($color-main-background, 50%); | ||
$color-border-dark: darken($color-main-background, 50%); | ||
|
||
* { | ||
opacity: 1 !important; | ||
} |
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,39 +1,53 @@ | ||
.preview-list { | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
.preview { | ||
display: flex; | ||
flex-direction: column; | ||
width: 300px; | ||
min-width: 250px; | ||
max-width: 400px; | ||
flex: 1 1 300px; | ||
border: 1px solid var(--color-border); | ||
padding: 10px; | ||
border-radius: var(--border-radius); | ||
transition: all 200ms ease-in-out; | ||
filter: drop-shadow(0 1px 2px var(--color-box-shadow)); | ||
background-color: var(--color-main-background); | ||
opacity: 0.9; | ||
&:not(:last-child) { | ||
margin-right: 20px; | ||
} | ||
margin: 10px; | ||
position: relative; | ||
&, | ||
* { | ||
cursor: pointer; | ||
user-select: none; | ||
} | ||
&:hover, | ||
&.selected { | ||
background-color: var(--color-background-dark); | ||
filter: drop-shadow(0 1px 4px var(--color-box-shadow)); | ||
opacity: 1; | ||
} | ||
.preview-image { | ||
width: 100%; | ||
height: 150px; | ||
background-position: center; | ||
height: 200px; | ||
background-position: top left; | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
} | ||
p { | ||
text-align: justify; | ||
} | ||
.icon-checkmark { | ||
position: absolute; | ||
width: 50px; | ||
height: 50px; | ||
background-size: contain; | ||
right: -10px; | ||
top: -15px; | ||
opacity: 0; | ||
transition: all 100ms ease-in-out; | ||
} | ||
&.selected .icon-checkmark { | ||
opacity: 1; | ||
filter: drop-shadow(0 1px 1px var(--color-box-shadow)); | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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