daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest Mar 25th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Now we have
  2. -----------------
  3.  
  4. - base
  5. - form
  6. - danger
  7. - prev, next
  8. - icon, image
  9. - iconButton, imageButton
  10.  
  11. Where:
  12.  
  13. - base, form, danger define color
  14. - the rest define functionality
  15.  
  16. 6.3 Goal
  17. -----------------------
  18.  
  19. Separate css (color) and type (functionality) so that we can have any "typed" buttons with different colors:
  20.  
  21. ~~~
  22. type:"iconButton", css:"webix_primary"
  23. type:"image", css:"webix_danger webix_primary"
  24. ~~~
  25.  
  26. Css:
  27.  
  28. - webix_base (default, alias to webixtype_base)
  29. - webix_danger (alias to webixtype_danger)
  30. - webix_success (green button)
  31. - webix_warning (yellow button)
  32. - webix_primary (makes any prev variation raised)
  33.  
  34. Backward compatibility:
  35.  
  36. - type:"form" is "webix_base webix_primary"
  37. - type:"danger" is "webix_danger webix_primary"
  38.  
  39. Next, prev
  40.  
  41. - Not relevant, we may omit giving extra css for them (styling arrows is sad)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top