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
<!-- style --> | |
<style> | |
.mdl-stepper > .mdl-step > .mdl-step__content { | |
background-color: rgba(0,0,0,0.2); | |
} | |
</style> | |
<!-- markup --> | |
<ul class="mdl-stepper mdl-stepper--linear" id="demo-stepper-linear"> | |
<li class="mdl-step"> |
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
<!-- style --> | |
<style> | |
.mdl-stepper > .mdl-step > .mdl-step__content { | |
background-color: rgba(0,0,0,0.2); | |
} | |
</style> | |
<!-- markup --> | |
<ul class="mdl-stepper" id="demo-stepper-non-linear"> | |
<li class="mdl-step"> |
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
<!-- style --> | |
<style> | |
.mdl-stepper > .mdl-step > .mdl-step__content { | |
background-color: rgba(0,0,0,0.2); | |
} | |
</style> | |
<!-- markup --> | |
<ul class="mdl-stepper mdl-stepper--feedback mdl-stepper--linear" id="demo-stepper-feedback"> | |
<li class="mdl-step"> |
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
<!-- style --> | |
<style> | |
.mdl-stepper > .mdl-step > .mdl-step__content { | |
background-color: rgba(0,0,0,0.2); | |
} | |
</style> | |
<!-- markup --> | |
<ul class="mdl-stepper mdl-stepper--linear" id="demo-editable-steps"> | |
<li class="mdl-step mdl-step--editable"> |
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
<!-- style --> | |
<style> | |
.mdl-stepper > .mdl-step > .mdl-step__content { | |
background-color: rgba(0,0,0,0.2); | |
} | |
</style> | |
<!-- markup --> | |
<ul class="mdl-stepper mdl-stepper--linear" id="demo-optional-steps"> | |
<li class="mdl-step"> |
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
<!-- style --> | |
<style> | |
.mdl-stepper > .mdl-step > .mdl-step__content:not(#demo-error-state-content) { | |
background-color: rgba(0,0,0,0.2); | |
} | |
</style> | |
<!-- markup --> | |
<ul class="mdl-stepper mdl-stepper--linear" id="demo-error-state"> | |
<li class="mdl-step"> |
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
# Clone the Stepper source code. | |
git clone [email protected]:axdemelas/mdl-stepper.git | |
# Go to created folder. | |
cd mdl-stepper |
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
# Inside mdl-stepper/ folder. | |
# Install dev dependencies. | |
npm install | |
# Build a development version of javascript changes. | |
npm run dev | |
# Build a production version of javascript changes. | |
npm run prod | |
# Build a production version of javascript changes on WINDOWS. | |
# npm run prod-windows |
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
# First, make sure that you have SASS installed (http://sass-lang.com/install). | |
sass --version | |
# $ Sass x.x.x | |
# Inside mdl-stepper/ folder. | |
cd src | |
# ~/mdl-stepper/src | |
# Build a development version of css changes. | |
sass mdl-stepper.scss:../stepper.css | |
# Build a production version of css changes. | |
sass mdl-stepper.scss:../stepper.min.css --style compressed |
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
npm install --save mdl-stepper |