icon-link.css

Same filename in other branches
  1. 10 core/themes/claro/css/components/icon-link.css
  2. 11.x core/themes/claro/css/components/icon-link.css

Icon link component.

File

core/themes/claro/css/components/icon-link.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. * Icon link component.
  10. */
  11. :root {
  12. /* default */
  13. /* active */
  14. /* hover */
  15. }
  16. .icon-link {
  17. display: flex;
  18. padding: 0;
  19. border: 1px solid #d3d4d9;
  20. border-radius: 50%;
  21. background-color: #fff;
  22. }
  23. .icon-link:hover {
  24. border-color: rgba(212, 212, 218, 0.8);
  25. background-color: #f5f8ff;
  26. }
  27. .icon-link:focus {
  28. box-shadow: 0 0 0 1.5px #fff, 0 0 0 3.5px #26a769;
  29. }
  30. .icon-link:active,
  31. .open > .icon-link {
  32. border-color: #003ecc;
  33. background-color: #003ecc;
  34. }
  35. .icon-link--small:focus {
  36. box-shadow: 0 0 0 1px #fff, 0 0 0 3px #26a769;
  37. }

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