logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

mobile_drawer.style.js (709B)


  1. export default {
  2. name: 'MobileDrawer',
  3. selector: '.mobile-drawer',
  4. validInnerComponents: [
  5. 'Text',
  6. 'Link',
  7. 'Icon',
  8. 'Border',
  9. 'Button',
  10. 'ButtonUnstyled',
  11. 'Input',
  12. 'PanelHeader',
  13. 'MenuItem',
  14. 'Notification',
  15. 'Alert',
  16. 'UserCard'
  17. ],
  18. defaultRules: [
  19. {
  20. directives: {
  21. background: '--bg',
  22. backgroundNoCssColor: 'yes'
  23. }
  24. },
  25. {
  26. component: 'PanelHeader',
  27. parent: { component: 'MobileDrawer' },
  28. directives: {
  29. background: '--fg',
  30. shadow: [{
  31. x: 0,
  32. y: 0,
  33. blur: 4,
  34. spread: 0,
  35. color: '#000000',
  36. alpha: 0.6
  37. }]
  38. }
  39. }
  40. ]
  41. }