Turnkey Styling
Denis Pupin (talk | contribs) |
Denis Pupin (talk | contribs) |
||
Line 59: | Line 59: | ||
<div class="examples__item" title="Primary"> | <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>Outlined | ||
<div class="examples__item" title="Disabled"> | <div class="examples__item" title="Disabled"> | ||
Line 70: | Line 70: | ||
<div class="examples"> | <div class="examples"> | ||
<div class="examples__item" title="Default"> | <div class="examples__item" title="Default"> | ||
<button class="tk-button__native ripple-effect outlined"> | <button class="tk-button__native ripple-effect outlined">Outlined</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Danger"> | <div class="examples__item" title="Danger"> | ||
<button class="tk-button__native ripple-effect outlined danger"> | <button class="tk-button__native ripple-effect outlined danger">Outlined</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Warning"> | <div class="examples__item" title="Warning"> | ||
<button class="tk-button__native ripple-effect outlined warning"> | <button class="tk-button__native ripple-effect outlined warning">Outlined</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Success"> | <div class="examples__item" title="Success"> | ||
<button class="tk-button__native ripple-effect success outlined"> | <button class="tk-button__native ripple-effect success outlined">Outlined</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Info"> | <div class="examples__item" title="Info"> | ||
<button class="tk-button__native ripple-effect info outlined"> | <button class="tk-button__native ripple-effect info outlined">Outlined</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Primary"> | <div class="examples__item" title="Primary"> | ||
<button class="tk-button__native ripple-effect primary outlined"> | <button class="tk-button__native ripple-effect primary outlined">Outlined</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Disabled"> | <div class="examples__item" title="Disabled"> | ||
<button class="tk-button__native ripple-effect outlined" disabled="disabled"> | <button class="tk-button__native ripple-effect outlined" disabled="disabled">Outlined</button> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 102: | Line 102: | ||
<div class="examples"> | <div class="examples"> | ||
<div class="examples__item" title="Default"> | <div class="examples__item" title="Default"> | ||
<button class="tk-button__native ripple-effect flat"> | <button class="tk-button__native ripple-effect flat">Flat</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Danger"> | <div class="examples__item" title="Danger"> | ||
<button class="tk-button__native ripple-effect flat danger"> | <button class="tk-button__native ripple-effect flat danger">Flat</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Warning"> | <div class="examples__item" title="Warning"> | ||
<button class="tk-button__native ripple-effect flat warning"> | <button class="tk-button__native ripple-effect flat warning">Flat</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Success"> | <div class="examples__item" title="Success"> | ||
<button class="tk-button__native ripple-effect flat success"> | <button class="tk-button__native ripple-effect flat success">Flat</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Info"> | <div class="examples__item" title="Info"> | ||
<button class="tk-button__native ripple-effect flat info"> | <button class="tk-button__native ripple-effect flat info">Flat</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Primary"> | <div class="examples__item" title="Primary"> | ||
<button class="tk-button__native ripple-effect flat primary"> | <button class="tk-button__native ripple-effect flat primary">Flat</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Disabled"> | <div class="examples__item" title="Disabled"> | ||
<button class="tk-button__native ripple-effect flat" disabled="disabled"> | <button class="tk-button__native ripple-effect flat" disabled="disabled">Flat</button> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 134: | Line 134: | ||
<div class="examples"> | <div class="examples"> | ||
<div class="examples__item" title="Default"> | <div class="examples__item" title="Default"> | ||
<button class="tk-button__native ripple-effect shaped"> | <button class="tk-button__native ripple-effect shaped">Shaped</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Danger"> | <div class="examples__item" title="Danger"> | ||
<button class="tk-button__native ripple-effect shaped danger"> | <button class="tk-button__native ripple-effect shaped danger">Shaped</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Warning"> | <div class="examples__item" title="Warning"> | ||
<button class="tk-button__native ripple-effect shaped warning"> | <button class="tk-button__native ripple-effect shaped warning">Shaped</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Success"> | <div class="examples__item" title="Success"> | ||
<button class="tk-button__native ripple-effect shaped success"> | <button class="tk-button__native ripple-effect shaped success">Shaped</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Info"> | <div class="examples__item" title="Info"> | ||
<button class="tk-button__native ripple-effect shaped info"> | <button class="tk-button__native ripple-effect shaped info">Shaped</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Primary"> | <div class="examples__item" title="Primary"> | ||
<button class="tk-button__native ripple-effect shaped primary"> | <button class="tk-button__native ripple-effect shaped primary">Shaped</button> | ||
</div> | </div> | ||
<div class="examples__item" title="Disabled"> | <div class="examples__item" title="Disabled"> | ||
<button class="tk-button__native ripple-effect shaped" disabled="disabled"> | <button class="tk-button__native ripple-effect shaped" disabled="disabled">Shaped</button> | ||
</div> | </div> | ||
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 20:54, 30 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
Buttons
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