panel.css

Panel styling. Panels are used to visually group items together.

File

core/themes/bartik/css/components/panel.css

View source
  1. /**
  2. * @file
  3. * Panel styling. Panels are used to visually group items together.
  4. */
  5. .panel {
  6. margin: 10px 0;
  7. padding: 0 5px 5px;
  8. border: 1px solid #ccc;
  9. background: #fbfbfb;
  10. }
  11. .panel__title {
  12. margin: 16px 7px;
  13. }
  14. .panel__content {
  15. padding: 0 4px 2px 8px; /* LTR */
  16. }
  17. [dir="rtl"] .panel__content {
  18. padding-right: 8px;
  19. padding-left: 4px;
  20. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.