Turnkey Styling
Denis Pupin (talk | contribs) |
Denis Pupin (talk | contribs) |
||
Line 36: | Line 36: | ||
<div class="examples"> | <div class="examples"> | ||
<div class="examples__item" title=" | <div class="examples__item" title=""> | ||
<button class="tk-button__native ripple-effect">Button</button> | <button class="tk-button__native ripple-effect">Button</button> | ||
</div> | </div> | ||
<div class="examples__item" title=" | <div class="examples__item" title="danger"> | ||
<button class="tk-button__native ripple-effect danger">Button</button> | <button class="tk-button__native ripple-effect danger">Button</button> | ||
</div> | </div> | ||
<div class="examples__item" title=" | <div class="examples__item" title="warning"> | ||
<button class="tk-button__native ripple-effect warning">Button</button> | <button class="tk-button__native ripple-effect warning">Button</button> | ||
</div> | </div> | ||
<div class="examples__item" title=" | <div class="examples__item" title="success"> | ||
<button class="tk-button__native ripple-effect success">Button</button> | <button class="tk-button__native ripple-effect success">Button</button> | ||
</div> | </div> | ||
<div class="examples__item" title=" | <div class="examples__item" title="info"> | ||
<button class="tk-button__native ripple-effect info">Button</button> | <button class="tk-button__native ripple-effect info">Button</button> | ||
</div> | </div> | ||
<div class="examples__item" title=" | <div class="examples__item" title="primary"> | ||
<button class="tk-button__native ripple-effect primary">Button</button> | <button class="tk-button__native ripple-effect primary">Button</button> | ||
</div> | </div> | ||
<div class="examples__item" title=" | <div class="examples__item" title="disabled"> | ||
<button class="tk-button__native ripple-effect" disabled="disabled">Button</button> | <button class="tk-button__native ripple-effect" disabled="disabled">Button</button> | ||
</div> | </div> |
Revision as of 08:21, 31 July 2019
Getting started
MDriven Turnkey Style system based on the BEM methodology. BEM stands for Block, Element, Modifier and it is a convention on how to structure CSS rules. Read more here.
Out of the box you will receive the following UI elements:
- Static text
- Image
- Text field
- Checkbox
- Select (Combobox)
- Date picker
- Data-table
- Button
- File upload
- Link
- Textarea
- Number field
- Float field
Layout
MDriven Turnkey uses CSS Grid to create the application layout.
Components
Buttons
Out of the box in MDriven Turnkey you have the default button styles, but you can modify it with the predefined Modifier-classes. Find out all predefined modifier classes for the buttons, below.
Default buttons in MDriven Turnkey
Oulined buttons in MDriven Turnkey
Flat buttons in MDriven Turnkey
Shaped buttons in MDriven Turnkey
This page was edited more than 9 months ago on 03/26/2024. What links here