-
Notifications
You must be signed in to change notification settings - Fork 1
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 #15 from codez-one/feature/style
Add styling
- Loading branch information
Showing
49 changed files
with
891 additions
and
1,334 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 |
---|---|---|
|
@@ -455,4 +455,5 @@ $RECYCLE.BIN/ | |
|
||
## | ||
## CZ.Azure.FileExchange | ||
temp/* | ||
temp/* | ||
**/wwwroot/client/ |
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.
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,5 @@ | ||
{ | ||
"sdk": { | ||
"version": "6.0.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
10 changes: 10 additions & 0 deletions
10
src/CZ.Azure.FileExchange/Client/styles/abstracts/_mixins.scss
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,10 @@ | ||
@use "variables"; | ||
|
||
@mixin glass-pane($color: variables.$backgroundcolor) { | ||
background: rgba($color, 0.2); | ||
border-radius: 0px; | ||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); | ||
backdrop-filter: blur(5px); | ||
-webkit-backdrop-filter: blur(5px); | ||
border: 1px solid rgba($color, 0.5); | ||
} |
35 changes: 35 additions & 0 deletions
35
src/CZ.Azure.FileExchange/Client/styles/abstracts/_variables.scss
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,35 @@ | ||
$background: linear-gradient(320deg,#ffffff,#d7d7df,#999fb3); | ||
$backgroundcolor: #ffffff; | ||
|
||
$foregroundcolor: #fff; | ||
$foregroundcolor-dark: rgb(41, 41, 41); | ||
|
||
|
||
$accentcolor: #fff; | ||
$accentcolor-light: #1eff00; | ||
$accentcolor-lightest: #bbcde5; | ||
|
||
$gradient-color-start: #dbdbdb; | ||
$gradient-color-end: #a3a3a3; | ||
|
||
$gradient-liniar: linear-gradient(var(--gradient-color-start), var(--gradient-color-end)); | ||
|
||
$text-shadow: 0 4px 10px rgb(0 0 0 / 20%); | ||
$box-shadow: 5px 5px 5px rgba(0,0,0,0.1), | ||
15px 15px 15px rgba(0,0,0,0.1), | ||
20px 20px 15px rgba(0,0,0,0.1), | ||
30px 30px 15px rgba(0,0,0,0.1), | ||
inset 1px 1px 2px #fff; | ||
|
||
$filter-glow: drop-shadow(0 0 5px var(--accentcolor)) drop-shadow(0 0 15px var(--accentcolor)); | ||
|
||
:root { | ||
--backgroundcolor: #{$backgroundcolor}; | ||
--foregroundcolor: #{$foregroundcolor}; | ||
--foregroundcolor-dark: #{$foregroundcolor-dark}; | ||
--accentcolor: #{$accentcolor}; | ||
--accentcolor-light: #{$accentcolor-light}; | ||
--accentcolor-lightest: #{$accentcolor-lightest}; | ||
--gradient-color-start: #{$gradient-color-start}; | ||
--gradient-color-end: #{$gradient-color-end}; | ||
} |
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 @@ | ||
@use '../abstracts/variables'; | ||
@use 'typography'; | ||
|
||
body, | ||
html { | ||
scroll-behavior: smooth; | ||
min-height: 100vh; | ||
} | ||
|
||
body { | ||
font-family: typography.$font; | ||
font-weight: 100; | ||
font-size: 1.1em; | ||
color: var(--foregroundcolor-dark); | ||
background: variables.$background; | ||
} |
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 @@ | ||
*, | ||
:after, | ||
:before { | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} |
2 changes: 2 additions & 0 deletions
2
src/CZ.Azure.FileExchange/Client/styles/base/_typography.scss
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,2 @@ | ||
// more on that: https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/ | ||
$font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; |
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
18 changes: 18 additions & 0 deletions
18
src/CZ.Azure.FileExchange/Client/styles/components/_blazor-splash.scss
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,18 @@ | ||
@use '../abstracts/variables'; | ||
|
||
/* splash */ | ||
|
||
#app { | ||
|
||
header nav span{ | ||
color: var(--foregroundcolor); | ||
text-decoration: none; | ||
text-shadow: variables.$text-shadow; | ||
font-weight: 400; | ||
font-size: 1.5em; | ||
margin: auto 1em; | ||
filter: variables.$filter-glow; | ||
} | ||
} | ||
|
||
/* End splash */ |
33 changes: 33 additions & 0 deletions
33
src/CZ.Azure.FileExchange/Client/styles/components/_button.scss
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,33 @@ | ||
@use '../abstracts/variables'; | ||
@use '../abstracts/mixins'; | ||
|
||
button{ | ||
border: none; | ||
background: none; | ||
outline: none; | ||
cursor: pointer; | ||
} | ||
|
||
button.glass { | ||
width: 100%; | ||
margin-top: 1em; | ||
@include mixins.glass-pane(variables.$accentcolor-light); | ||
color: var(--foregroundcolor-dark); | ||
font-size: 1.1em; | ||
font-weight: 400; | ||
text-shadow: variables.$text-shadow; | ||
line-height: 2em; | ||
outline: none; | ||
cursor: pointer; | ||
|
||
transition: background 250ms, opacity 250ms ; | ||
|
||
&:hover{ | ||
background: rgba(variables.$accentcolor-light, 0.4); | ||
} | ||
|
||
&:disabled{ | ||
opacity: 0.3; | ||
cursor: no-drop; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/CZ.Azure.FileExchange/Client/styles/components/_input-text.scss
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,21 @@ | ||
@use '../abstracts/variables'; | ||
@use '../abstracts/mixins'; | ||
|
||
label[for^=txt]{ | ||
position: absolute; | ||
font-size: 0.8em; | ||
transform: translateX(1em) translateY(-1.5em); | ||
} | ||
|
||
input[type=text]{ | ||
@include mixins.glass-pane(variables.$foregroundcolor); | ||
font-size: 1em; | ||
padding: 0.5em; | ||
outline: none; | ||
width: 100%; | ||
|
||
&:active, &:focus{ | ||
border: 1px solid rgba(variables.$accentcolor-light, 0.5); | ||
background-color: variables.$foregroundcolor; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/CZ.Azure.FileExchange/Client/styles/layout/_header.scss
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,15 @@ | ||
@use '../abstracts/variables'; | ||
|
||
header { | ||
width: 100%; | ||
|
||
h1 { | ||
color: var(--foregroundcolor); | ||
text-shadow: variables.$text-shadow; | ||
font-size: 3.5em; | ||
line-height: 2em; | ||
text-align: center; | ||
font-weight: 400; | ||
outline:none; | ||
} | ||
} |
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,11 @@ | ||
main{ | ||
width: 80vw; | ||
margin: 0 auto; | ||
padding-top: 1em; | ||
margin-bottom: 1em; | ||
|
||
section{ | ||
text-align: center; | ||
margin-top: 1em; | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src/CZ.Azure.FileExchange/Client/styles/layout/_navigation.scss
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,20 @@ | ||
@use '../abstracts/variables'; | ||
|
||
nav{ | ||
display: flex; | ||
justify-content: center; | ||
margin-top: 1em; | ||
|
||
a{ | ||
color: var(--foregroundcolor); | ||
text-decoration: none; | ||
text-shadow: variables.$text-shadow; | ||
font-weight: 400; | ||
font-size: 1.5em; | ||
margin: auto 1em; | ||
|
||
&.active{ | ||
filter: variables.$filter-glow; | ||
} | ||
} | ||
} |
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,24 @@ | ||
@charset "UTF-8"; | ||
// Structuring your Sass Projects | ||
// https://itnext.io/structuring-your-sass-projects-c8d41fa55ed4 | ||
|
||
@use './vendors/cssgg'; | ||
|
||
@use './abstracts/variables'; | ||
@use './abstracts/mixins'; | ||
|
||
@use "./base/reset"; | ||
@use "./base/typography"; | ||
@use "./base/base"; | ||
|
||
@use "./layout/header"; | ||
@use "./layout/navigation"; | ||
@use "./layout/main"; | ||
|
||
@use "./components/blazor-error"; | ||
@use "./components/blazor-splash"; | ||
@use "./components/button"; | ||
@use "./components/input-text"; | ||
|
||
@use "./pages/index"; | ||
@use "./pages/download"; |
Oops, something went wrong.