sidebar.scss 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /* =============================================================================
  2. /* Wagtail CMS sidebar stylesheet entrypoint
  3. /* =============================================================================
  4. The sidebar is implemented in its own stylesheet so that it can be used
  5. by different frontend frameworks.
  6. This stylesheet follows the same conventions as the rest of Wagtail,
  7. see core.scss for details.
  8. ==============================================================================*/
  9. /* SETTINGS
  10. These are variables, maps, and fonts.
  11. * No CSS should be produced by these files
  12. */
  13. @import 'settings';
  14. /* TOOLS
  15. These are functions and mixins.
  16. * No CSS should be produced by these files.
  17. */
  18. @import 'tools';
  19. /* GENERIC
  20. This is for resets and other rules that affect large collections of bare elements.
  21. * Changes to them should be very rare.
  22. */
  23. @import 'generic/generic';
  24. /* ELEMENTS
  25. These are base styles for bare HTML elements.
  26. * Changes to them should be very rare.
  27. */
  28. @import 'elements/elements';
  29. @import 'elements/typography';
  30. @import 'elements/forms';
  31. @import 'elements/root';
  32. /* OBJECTS
  33. These are classes related to layout, known as 'objects' in ITCSS or OOCSS.
  34. * This is for grids, wrappers, and other non-consmetic layout utilities.
  35. * These classes are prefixed with `.o-`.
  36. */
  37. @import 'objects/objects';
  38. @import 'objects/avatar';
  39. /* COMPONENTS
  40. These are classes for components.
  41. * These classes (unless legacy) are prefixed with `.c-`.
  42. * React component styles live in the same folders as their React components,
  43. which is the preferred pattern over housing them in the scss folder.
  44. */
  45. @import '../src/components/Transition/Transition';
  46. @import '../src/components/LoadingSpinner/LoadingSpinner';
  47. @import '../src/components/PublicationStatus/PublicationStatus';
  48. @import '../src/components/PageExplorer/PageExplorer';
  49. @import '../src/components/Sidebar/Sidebar';
  50. // Legacy
  51. @import 'components/icons';