shortcut.theme.css

Same filename in this branch
  1. 8.9.x core/modules/shortcut/css/shortcut.theme.css
Same filename and directory in other branches
  1. 11.x core/themes/stable9/css/shortcut/shortcut.theme.css
  2. 11.x core/modules/shortcut/css/shortcut.theme.css
  3. 9 core/themes/stable9/css/shortcut/shortcut.theme.css
  4. 9 core/themes/stable/css/shortcut/shortcut.theme.css
  5. 9 core/modules/shortcut/css/shortcut.theme.css
  6. 10 core/themes/stable9/css/shortcut/shortcut.theme.css
  7. 10 core/modules/shortcut/css/shortcut.theme.css

Styling for the shortcut module.

File

core/themes/stable/css/shortcut/shortcut.theme.css

View source
  1. /**
  2. * @file
  3. * Styling for the shortcut module.
  4. */
  5. /**
  6. * Toolbar.
  7. */
  8. .toolbar .toolbar-tray-vertical .edit-shortcuts {
  9. padding: 1em;
  10. text-align: right; /* LTR */
  11. }
  12. [dir="rtl"] .toolbar .toolbar-tray-vertical .edit-shortcuts {
  13. text-align: left;
  14. }
  15. .toolbar .toolbar-tray-horizontal .edit-shortcuts {
  16. float: right; /* LTR */
  17. }
  18. [dir="rtl"] .toolbar .toolbar-tray-horizontal .edit-shortcuts {
  19. float: left;
  20. }
  21. /**
  22. * Add/remove links.
  23. */
  24. .shortcut-action {
  25. display: inline-block;
  26. margin-left: 0.3em; /* LTR */
  27. }
  28. [dir="rtl"] .shortcut-action {
  29. margin-right: 0.3em;
  30. margin-left: 0;
  31. }
  32. .shortcut-action__message {
  33. display: inline-block;
  34. margin-left: 0.3em; /* LTR */
  35. padding: 0 5px;
  36. -webkit-transition: all 200ms ease-out;
  37. transition: all 200ms ease-out;
  38. -ms-transform: translateY(-12px);
  39. -webkit-transform: translateY(-12px);
  40. transform: translateY(-12px);
  41. opacity: 0;
  42. color: #fff;
  43. border-radius: 5px;
  44. background: #000;
  45. background: rgba(0, 0, 0, 0.5);
  46. -ms-backface-visibility: hidden;
  47. -webkit-backface-visibility: hidden;
  48. backface-visibility: hidden;
  49. }
  50. [dir="rtl"] .shortcut-action__message {
  51. margin-right: 0.3em;
  52. margin-left: 0;
  53. }
  54. .shortcut-action:hover .shortcut-action__message,
  55. .shortcut-action:focus .shortcut-action__message {
  56. -ms-transform: translateY(-2px);
  57. -webkit-transform: translateY(-2px);
  58. transform: translateY(-2px);
  59. opacity: 1;
  60. }

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