announcements_feed.dialog.css

Same filename in this branch
  1. 10 core/themes/stable9/css/announcements_feed/announcements_feed.dialog.css
Same filename in other branches
  1. 11.x core/themes/stable9/css/announcements_feed/announcements_feed.dialog.css
  2. 11.x core/modules/announcements_feed/css/announcements_feed.dialog.css

Styles for the announcements feed within the off-canvas dialog.

File

core/modules/announcements_feed/css/announcements_feed.dialog.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. *
  10. * Styles for the announcements feed within the off-canvas dialog.
  11. */
  12. #drupal-off-canvas-wrapper .ui-dialog-titlebar.announce-titlebar::before {
  13. mask-image: url("data:image/svg+xml,%3csvg width='20' height='19' viewBox='0 0 20 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.73047 16.7648C6.00143 17.4831 6.6872 18 7.50009 18C8.31299 18 8.99876 17.4865 9.26972 16.7682C8.71107 16.8118 8.12231 16.8387 7.50009 16.8387C6.87788 16.8353 6.28912 16.8085 5.73047 16.7648Z' fill='white'/%3e%3cpath d='M14.331 13.4118H14.0801L12.4074 11.3979L11.5143 6.69897H11.5042C11.2333 5.05433 9.97881 3.74869 8.36976 3.39627C8.3731 3.38955 8.37979 3.38284 8.37979 3.37613L8.624 2.63772C8.74108 2.28529 8.53702 2 8.16905 2H6.83095C6.46298 2 6.25892 2.28529 6.37266 2.63772L6.61686 3.37613C6.62021 3.38284 6.62355 3.38955 6.6269 3.39627C5.01784 3.74869 3.76673 5.05433 3.49242 6.69897H3.48238L2.59255 11.3979L0.919938 13.4118H0.669046C0.30107 13.4118 0 13.7139 0 14.0831C0 14.4523 0.280999 14.8618 0.625558 14.996C0.625558 14.996 3.48573 16.0969 7.5 16.0969C11.5143 16.0969 14.3744 14.996 14.3744 14.996C14.719 14.8618 15 14.4523 15 14.0831C15 13.7139 14.6989 13.4118 14.331 13.4118ZM4.58296 6.95742L3.70317 11.8611L1.75624 14.0831H1.23439L3.21811 11.6933L4.15477 6.82652C4.28189 6.0579 4.68332 5.3799 5.24532 4.8798L5.49955 5.19866C5.03122 5.60478 4.68666 6.32305 4.58296 6.95742Z' fill='white'/%3e%3c/svg%3e");
  14. }
  15. #drupal-off-canvas-wrapper .announcements {
  16. padding-block-start: var(--off-canvas-padding);
  17. }
  18. #drupal-off-canvas-wrapper .announcements ul {
  19. margin: 0;
  20. padding-inline-start: 0;
  21. list-style: none;
  22. }
  23. #drupal-off-canvas-wrapper .announcement {
  24. font-size: 0.875rem;
  25. }
  26. #drupal-off-canvas-wrapper .announcement--featured {
  27. position: relative;
  28. margin-inline: calc(-1 * var(--off-canvas-padding));
  29. padding: 0 var(--off-canvas-padding) var(--off-canvas-padding);
  30. }
  31. #drupal-off-canvas-wrapper .announcement.announcement--featured + .announcement.announcement--standard {
  32. border-block-start: 1px solid var(--off-canvas-border-color);
  33. }
  34. #drupal-off-canvas-wrapper .announcement--standard {
  35. padding-block-start: var(--off-canvas-padding);
  36. }
  37. #drupal-off-canvas-wrapper .announcement__title {
  38. font-size: 1rem;
  39. }
  40. #drupal-off-canvas-wrapper .announcements--view-all {
  41. margin-block-start: 3rem;
  42. }

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