off-canvas.details.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /**
  2. * @file
  3. * Visual styling for summary and details in the off-canvas dialog.
  4. */
  5. #drupal-off-canvas details,
  6. #drupal-off-canvas summary {
  7. display: block;
  8. font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
  9. }
  10. #drupal-off-canvas details,
  11. #drupal-off-canvas summary,
  12. #drupal-off-canvas .ui-dialog-content {
  13. background: #474747;
  14. color: #ddd;
  15. }
  16. #drupal-off-canvas summary a {
  17. color: #ddd;
  18. padding-top: 0;
  19. padding-bottom: 0;
  20. }
  21. #drupal-off-canvas summary a:hover,
  22. #drupal-off-canvas summary a:focus {
  23. color: #fff;
  24. }
  25. #drupal-off-canvas details,
  26. #drupal-off-canvas summary,
  27. #drupal-off-canvas .details-wrapper {
  28. border-width: 0;
  29. /* Cancel out the padding of the parent. */
  30. margin: 0 -20px;
  31. padding: 0 20px;
  32. }
  33. #drupal-off-canvas summary {
  34. text-shadow: none;
  35. padding: 10px 20px;
  36. font-size: 14px;
  37. transition: all 0.5s ease;
  38. }
  39. #drupal-off-canvas summary:hover,
  40. #drupal-off-canvas summary:focus {
  41. background-color: #222;
  42. }
  43. #drupal-off-canvas details[open] {
  44. padding-bottom: 10px;
  45. }
  46. #drupal-off-canvas details[open] > summary {
  47. background-color: #333;
  48. color: #eee;
  49. }
  50. #drupal-off-canvas details[open] > summary:hover {
  51. background-color: #222;
  52. color: #fff;
  53. }
  54. #drupal-off-canvas details .placeholder {
  55. font: inherit;
  56. color: inherit;
  57. font-style: italic;
  58. background: transparent;
  59. }