Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9a3d4c
commit 6fdfbae
Showing
118 changed files
with
330 additions
and
185 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,34 @@ | ||
# Material4Dart - Basic Components | ||
> Basic components like MaterialButton, MaterialCheckbox and so on | ||
## Examples | ||
> [GitHub](https://github.com/MikeMitterer/m4d_components) | ||
## Reminder | ||
[m4d_accordion.example.mikemitterer.at](http://m4d_accordion.example.mikemitterer.at) | ||
[m4d_animation.example.mikemitterer.at](http://m4d_animation.example.mikemitterer.at) | ||
[m4d_badge.example.mikemitterer.at](http://m4d_badge.example.mikemitterer.at) | ||
[m4d_button.example.mikemitterer.at](http://m4d_button.example.mikemitterer.at) | ||
[m4d_checkbox.example.mikemitterer.at](http://m4d_checkbox.example.mikemitterer.at) | ||
[m4d_datatable.example.mikemitterer.at](http://m4d_datatable.example.mikemitterer.at) | ||
[m4d_footer.example.mikemitterer.at](http://m4d_footer.example.mikemitterer.at) | ||
[m4d_grid.example.mikemitterer.at](http://m4d_grid.example.mikemitterer.at) | ||
[m4d_icontoggle.example.mikemitterer.at](http://m4d_icontoggle.example.mikemitterer.at) | ||
[m4d_lablefield.example.mikemitterer.at](http://m4d_lablefield.example.mikemitterer.at) | ||
[m4d_layout.example.mikemitterer.at](http://m4d_layout.example.mikemitterer.at) | ||
[m4d_list.example.mikemitterer.at](http://m4d_list.example.mikemitterer.at) | ||
[m4d_menu.example.mikemitterer.at](http://m4d_menu.example.mikemitterer.at) | ||
[m4d_navpills.example.mikemitterer.at](http://m4d_navpills.example.mikemitterer.at) | ||
[m4d_palette.example.mikemitterer.at](http://m4d_palette.example.mikemitterer.at) | ||
[m4d_progress.example.mikemitterer.at](http://m4d_progress.example.mikemitterer.at) | ||
[m4d_radio.example.mikemitterer.at](http://m4d_radio.example.mikemitterer.at) | ||
[m4d_shadow.example.mikemitterer.at](http://m4d_shadow.example.mikemitterer.at) | ||
[m4d_slider.example.mikemitterer.at](http://m4d_slider.example.mikemitterer.at) | ||
[m4d_spinner.example.mikemitterer.at](http://m4d_spinner.example.mikemitterer.at) | ||
[m4d_switch.example.mikemitterer.at](http://m4d_switch.example.mikemitterer.at) | ||
[m4d_tabs.example.mikemitterer.at](http://m4d_tabs.example.mikemitterer.at) | ||
[m4d_textfield.example.mikemitterer.at](http://m4d_textfield.example.mikemitterer.at) | ||
[m4d_tooltip.example.mikemitterer.at](http://m4d_tooltip.example.mikemitterer.at) | ||
[m4d_typography.example.mikemitterer.at](http://m4d_typography.example.mikemitterer.at) | ||
|
||
# 1 - Erstellen der index.html und von pubspec.yaml | ||
/deploy-samples.sh -x m4d_navpills --force && ./deploy-samples.sh -g m4d_navpills --force | ||
|
||
# 2 - In demo.scss _app.scss einfügen | ||
|
||
# 3 - main.dart updaten | ||
|
||
git s |
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 @@ | ||
## Reminder for scripts used for this package | ||
|
||
# 1 - Erstellen der index.html und von pubspec.yaml | ||
/deploy-samples.sh -x m4d_navpills --force && ./deploy-samples.sh -g m4d_navpills --force | ||
|
||
# 2 - In demo.scss _app.scss einfügen | ||
|
||
# 3 - main.dart updaten | ||
|
||
### Batch-processing .rsync | ||
|
||
# Holt die jeweilige Zeile aus dem .rsync für das Sample | ||
find samples/ -name ".rsync" | xargs awk 'FNR==4' | cut -d ' ' -f 5- | ||
find samples/ -name ".rsync" | xargs awk 'FNR==5' | cut -d ' ' -f 5- | ||
find samples/ -name ".rsync" | xargs awk 'FNR==9' | cut -d ' ' -f 5- | ||
... | ||
|
||
### Show all URL for all the .rsyncs | ||
|
||
# List URLs | ||
find samples/ -name ".rsync" | xargs awk 'FNR==14' | cut -d ' ' -f 5- | sed -e "s/.*http:\/\/\([^/]*\)\/.*/http:\/\/\1/" | ||
|
||
# Gen Links for README | ||
find samples/ -name ".rsync" | xargs awk 'FNR==14' | cut -d ' ' -f 5- | sed -e "s/.*http:\/\/\([^/]*\)\/.*/\[\1\]\(http:\/\/\1\)/" |
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,95 @@ | ||
html, body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
h1, h2 { | ||
font-family: 'Roboto','Helvetica','Arial',sans-serif; | ||
font-weight: 400; | ||
} | ||
|
||
h2 { | ||
font-size: 24px; | ||
line-height: 1.35; | ||
|
||
margin-top: 0.66em; | ||
margin-bottom: 0.66em; | ||
} | ||
|
||
|
||
.ribbon { | ||
width: 100%; | ||
height: 30vh; | ||
} | ||
|
||
.demo-page > .mdl-layout__container > .mdl-layout > * { | ||
flex-shrink: 0; | ||
} | ||
|
||
.demo-page > .mdl-layout__container > .mdl-layout > main.mdl-layout__content.mdl-layout__content { | ||
margin-top: -25vh; | ||
} | ||
|
||
/*header.mdl-layout__header {*/ | ||
/*display: flex !important;*/ | ||
/*}*/ | ||
|
||
.container { | ||
max-width: 1600px; | ||
width: 100%; | ||
margin: 0 auto; | ||
} | ||
|
||
.content { | ||
border-radius: 2px; | ||
padding: 24px; | ||
} | ||
|
||
.mdl-layout__content .demo-section { min-height: 500px; } | ||
|
||
.mdl-mini-footer { | ||
padding-top: 12px; | ||
padding-bottom: 12px; | ||
font-size: 12px; | ||
} | ||
|
||
#view-source { | ||
position: fixed; | ||
display: block; | ||
right: 0; | ||
bottom: 37px; | ||
margin-right: 40px; | ||
z-index: 900; | ||
} | ||
|
||
.sitegen-link, .mm-link { margin-bottom: 0; } | ||
.is-small-screen .sitegen-link .additional-info { display: none; } | ||
.mm-link { font-size: 12px; } | ||
|
||
/* | ||
Solves bug in grid... | ||
*/ | ||
|
||
@media (max-width: 479px) { | ||
.mdl-grid { | ||
padding: 0; | ||
} | ||
} | ||
|
||
@media (max-width: 640px) { | ||
.mm-link { | ||
display: none; | ||
} | ||
} | ||
|
||
@media (max-width: 839px) and (min-width: 480px) { | ||
.mdl-grid { | ||
padding: 0; | ||
} | ||
} | ||
|
||
@media (max-width: 850px) { | ||
#view-source { | ||
bottom: 29px; | ||
} | ||
} |
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 |
---|---|---|
|
@@ -50,6 +50,7 @@ h2 { | |
.mdl-mini-footer { | ||
padding-top: 12px; | ||
padding-bottom: 12px; | ||
font-size: 12px; | ||
} | ||
|
||
#view-source { | ||
|
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
Oops, something went wrong.