shortcut.theme.css

Styling for the shortcut module.

File

drupal/core/modules/shortcut/shortcut.theme.css
View source
  1. /**
  2. * @file
  3. * Styling for the shortcut module.
  4. */
  5. /**
  6. * Toolbar.
  7. */
  8. .icon-shortcut:before {
  9. background-image: url("images/shortcut.png");
  10. }
  11. .icon-shortcut:active:before,
  12. .icon-shortcut.active:before {
  13. background-image: url("images/shortcut-active.png");
  14. }
  15. .toolbar .tray.horizontal.shortcuts .menu {
  16. float: left;
  17. }
  18. .edit-shortcuts {
  19. display: block;
  20. }
  21. .toolbar .vertical .edit-shortcuts {
  22. text-align: right;
  23. padding: 1em;
  24. }
  25. .toolbar .horizontal .edit-shortcuts {
  26. float: left; /* LTR */
  27. }
  28. /**
  29. * Add/remove links.
  30. */
  31. .add-or-remove-shortcuts .icon {
  32. background: transparent url(shortcut.png) no-repeat;
  33. height: 12px;
  34. margin-left: 8px; /* LTR */
  35. overflow: hidden;
  36. text-indent: 12px;
  37. width: 12px;
  38. }
  39. .add-shortcut a:focus .icon,
  40. .add-shortcut a:hover .icon {
  41. background-position: 0 -12px; /* LTR */
  42. }
  43. .remove-shortcut .icon {
  44. background-position: -12px 0;
  45. }
  46. .remove-shortcut a:focus .icon,
  47. .remove-shortcut a:hover .icon {
  48. background-position: -12px -12px; /* LTR */
  49. }