Denis Pupin (talk | contribs) |
Denis Pupin (talk | contribs) |
||
Line 77: | Line 77: | ||
<div class="examples"> | <div class="examples"> | ||
<div class="examples__item" title=" | <div class="examples__item" title="outkined"> | ||
<button class="tk-button__native ripple-effect outlined">Outlined</button> | <button class="tk-button__native ripple-effect outlined">Outlined</button> | ||
</div> | </div> | ||
<div class="examples__item" title=" | <div class="examples__item" title="outlined danger"> | ||
<button class="tk-button__native ripple-effect outlined danger">Outlined</button> | <button class="tk-button__native ripple-effect outlined danger">Outlined</button> | ||
</div> | </div> | ||
<div class="examples__item" title=" | <div class="examples__item" title="outlined warning"> | ||
<button class="tk-button__native ripple-effect outlined warning">Outlined</button> | <button class="tk-button__native ripple-effect outlined warning">Outlined</button> | ||
</div> | </div> | ||
<div class="examples__item" title=" | <div class="examples__item" title="outlined success"> | ||
<button class="tk-button__native ripple-effect success outlined">Outlined</button> | <button class="tk-button__native ripple-effect success outlined">Outlined</button> | ||
</div> | </div> | ||
<div class="examples__item" title=" | <div class="examples__item" title="outlined info"> | ||
<button class="tk-button__native ripple-effect info outlined">Outlined</button> | <button class="tk-button__native ripple-effect info outlined">Outlined</button> | ||
</div> | </div> | ||
<div class="examples__item" title=" | <div class="examples__item" title="outlined primary"> | ||
<button class="tk-button__native ripple-effect primary outlined">Outlined</button> | <button class="tk-button__native ripple-effect primary outlined">Outlined</button> | ||
</div> | </div> |
Revision as of 08:35, 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. To style your buttons add the modifier classes to style-reference in your viewmodel column. Find out all predefined modifier classes for the buttons, below.
Default buttons in MDriven Turnkey
Generic modifier classes for the buttons:
- danger
- warning
- success
- info
- primary (applies primary color of your application)
Oulined buttons in MDriven Turnkey
Flat buttons in MDriven Turnkey
Shaped buttons in MDriven Turnkey