- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optional material design #255
Open
holema
wants to merge
18
commits into
lovasoa:master
Choose a base branch
from
H2-invent:feature/materialDesign
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.
+34
−17
Open
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
573dd0a
add material design theme option
h2Entwicklung e763568
add material design theme option
h2Entwicklung 610d5ee
Merge remote-tracking branch 'origin/feature/materialDesign' into fea…
h2Entwicklung 5c64ea3
remove logs
h2Entwicklung a173020
add material design theme option
h2Entwicklung 7577e56
remove logs
h2Entwicklung 94a642b
Merge remote-tracking branch 'origin/feature/materialDesign' into fea…
h2Entwicklung 2232a43
add material design theme option
h2Entwicklung e8984ad
remove logs
h2Entwicklung 35eabde
add roboto fonts
h2Entwicklung 7cc88c7
Merge remote-tracking branch 'origin/feature/materialDesign' into fea…
h2Entwicklung 116489a
change the design to material design.
h2Entwicklung a4c1627
Update README.md
holema 55b00c0
remove roboto fonts and use Arial and sans-serif
h2Entwicklung 6f92096
Merge remote-tracking branch 'origin/feature/materialDesign' into fea…
h2Entwicklung 5c328f3
Update server.js
holema 432b4b5
remove roboto
h2Entwicklung 838a8d9
Merge remote-tracking branch 'origin/feature/materialDesign' into fea…
h2Entwicklung 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
change the design to material design.
commit 116489a9ae90067bac2d306e9644168601de9671
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: url('fonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('fonts/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */ | ||
url('fonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('fonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */ | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to remove that too don't we ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ✔️ |
||
html { | ||
min-height: 100%; | ||
margin: 0; | ||
font-family: sans-serif; | ||
font-family:Roboto, Arial, sans-serif; | ||
font-weight: 300; | ||
font-size: 15px; | ||
} | ||
|
@@ -74,23 +86,23 @@ header:hover h2 { | |
.wbo-button { | ||
white-space: nowrap; | ||
text-decoration: none; | ||
background: linear-gradient(#ccdfdf, #abc6c6); | ||
margin-top: 15px; | ||
line-height: 60px; | ||
border-radius: 5px; | ||
box-shadow: 1px 1px 2.5px #555; | ||
display: block; | ||
text-align: center; | ||
color: black; | ||
transition: 0.1s; | ||
border-radius: 0.5rem; | ||
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 7%), 0 4px 6px -2px rgb(0 0 0 / 5%); | ||
margin-top: 16px; | ||
background: linear-gradient(#ccdfdf, #abc6c6); | ||
} | ||
|
||
a { | ||
color: black; | ||
} | ||
|
||
.wbo-button:hover { | ||
box-shadow: 0 0 5px #0074d9; | ||
box-shadow: 0 4px 10px 0 rgb(0 0 0 / 20%), 0 4px 20px 0 rgb(0 0 0 / 10%); | ||
} | ||
|
||
.wbo-button:focus, | ||
|
This file was deleted.
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
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.
I'd like to avoid embedding large blobs in this repo.
Can we use system fonts ?
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.
Unfortunentally Roboto is only possible as extra font.
But Arial almost looks like the same. We could also use Roboto directly from google, but this I want to avoid because then we are not independent.
But I think deliver a font is like the images we have in the repo. It`s not unusal to deliver the correct font in a software project.
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.
I just took a look. the size is only ~90kb
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.
Can we just use the system's default ? On the frontend wejust use
which I think looks decent and well-integrated everywhere.