shortcut.css

Same filename in other branches
  1. 9 core/themes/claro/css/components/shortcut.css
  2. 9 core/themes/bartik/css/components/shortcut.css
  3. 8.9.x core/themes/claro/css/components/shortcut.css
  4. 8.9.x core/themes/bartik/css/components/shortcut.css
  5. 10 core/themes/claro/css/components/shortcut.css
  6. 11.x core/themes/claro/css/components/shortcut.css
div#toolbar a#edit-shortcuts {
  float: right;
  padding: 5px 10px 5px 5px;
  line-height: 24px;
  color: #fefefe;
}
div#toolbar a#edit-shortcuts:focus,
div#toolbar a#edit-shortcuts:hover,
div#toolbar a#edit-shortcuts.active {
  color: #fff;
  text-decoration: underline;
}

div#toolbar div.toolbar-shortcuts ul {
  padding: 5px 0 2px 0;
  height: 28px;
  line-height: 24px;
  float: left; /* LTR */
  margin-left:5px; /* LTR */
}

div#toolbar div.toolbar-shortcuts ul li a {
  padding: 0 5px 0 5px;
  margin-right: 5px; /* LTR */
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

div#toolbar div.toolbar-shortcuts ul li a:focus,
div#toolbar div.toolbar-shortcuts ul li a:hover,
div#toolbar div.toolbar-shortcuts ul li a.active:focus {
  background: #555;
}

div#toolbar div.toolbar-shortcuts ul li a.active:hover,
div#toolbar div.toolbar-shortcuts ul li a.active {
  background: #000;
}

div#toolbar div.toolbar-shortcuts span.icon {
  float: left; /* LTR */
  background: #444;
  width: 30px;
  height: 30px;
  margin-right: 5px; /* LTR */
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

div.add-or-remove-shortcuts {
  padding-top: 5px;
}

div.add-or-remove-shortcuts a span.icon {
  display: block;
  width: 12px;
  background: transparent url(shortcut.png) no-repeat scroll 0 0;
  height: 12px;
  float: left;
  margin-left:8px;
}

div.add-shortcut a:focus span.icon,
div.add-shortcut a:hover span.icon {
  background-position: 0 -12px;
}
div.remove-shortcut a span.icon {
  background-position: -12px 0;
}
div.remove-shortcut a:focus span.icon,
div.remove-shortcut a:hover span.icon {
  background-position: -12px -12px;
}

div.add-or-remove-shortcuts a span.text {
  float: left;
  padding-left:10px;
  display: none;
}

div.add-or-remove-shortcuts a:focus span.text,
div.add-or-remove-shortcuts a:hover span.text {
  font-size: 10px;
  line-height: 12px;
  color: #fff;
  background-color: #5f605b;
  display: block;
  padding-right: 6px; /* LTR */
  cursor: pointer;
  -moz-border-radius: 0 5px 5px 0; /* LTR */
  -webkit-border-top-right-radius: 5px; /* LTR */
  -webkit-border-bottom-right-radius: 5px; /* LTR */
  border-radius: 0 5px 5px 0; /* LTR */
}

#shortcut-set-switch .form-type-radios {
  padding-bottom: 0;
  margin-bottom: 0;
}

#shortcut-set-switch .form-item-new {
  padding-top: 0;
  padding-left: 17px; /* LTR */
}

File

modules/shortcut/shortcut.css

View source
  1. div#toolbar a#edit-shortcuts {
  2. float: right;
  3. padding: 5px 10px 5px 5px;
  4. line-height: 24px;
  5. color: #fefefe;
  6. }
  7. div#toolbar a#edit-shortcuts:focus,
  8. div#toolbar a#edit-shortcuts:hover,
  9. div#toolbar a#edit-shortcuts.active {
  10. color: #fff;
  11. text-decoration: underline;
  12. }
  13. div#toolbar div.toolbar-shortcuts ul {
  14. padding: 5px 0 2px 0;
  15. height: 28px;
  16. line-height: 24px;
  17. float: left; /* LTR */
  18. margin-left:5px; /* LTR */
  19. }
  20. div#toolbar div.toolbar-shortcuts ul li a {
  21. padding: 0 5px 0 5px;
  22. margin-right: 5px; /* LTR */
  23. -moz-border-radius: 5px;
  24. -webkit-border-radius: 5px;
  25. border-radius: 5px;
  26. }
  27. div#toolbar div.toolbar-shortcuts ul li a:focus,
  28. div#toolbar div.toolbar-shortcuts ul li a:hover,
  29. div#toolbar div.toolbar-shortcuts ul li a.active:focus {
  30. background: #555;
  31. }
  32. div#toolbar div.toolbar-shortcuts ul li a.active:hover,
  33. div#toolbar div.toolbar-shortcuts ul li a.active {
  34. background: #000;
  35. }
  36. div#toolbar div.toolbar-shortcuts span.icon {
  37. float: left; /* LTR */
  38. background: #444;
  39. width: 30px;
  40. height: 30px;
  41. margin-right: 5px; /* LTR */
  42. -moz-border-radius: 5px;
  43. -webkit-border-radius: 5px;
  44. border-radius: 5px;
  45. }
  46. div.add-or-remove-shortcuts {
  47. padding-top: 5px;
  48. }
  49. div.add-or-remove-shortcuts a span.icon {
  50. display: block;
  51. width: 12px;
  52. background: transparent url(shortcut.png) no-repeat scroll 0 0;
  53. height: 12px;
  54. float: left;
  55. margin-left:8px;
  56. }
  57. div.add-shortcut a:focus span.icon,
  58. div.add-shortcut a:hover span.icon {
  59. background-position: 0 -12px;
  60. }
  61. div.remove-shortcut a span.icon {
  62. background-position: -12px 0;
  63. }
  64. div.remove-shortcut a:focus span.icon,
  65. div.remove-shortcut a:hover span.icon {
  66. background-position: -12px -12px;
  67. }
  68. div.add-or-remove-shortcuts a span.text {
  69. float: left;
  70. padding-left:10px;
  71. display: none;
  72. }
  73. div.add-or-remove-shortcuts a:focus span.text,
  74. div.add-or-remove-shortcuts a:hover span.text {
  75. font-size: 10px;
  76. line-height: 12px;
  77. color: #fff;
  78. background-color: #5f605b;
  79. display: block;
  80. padding-right: 6px; /* LTR */
  81. cursor: pointer;
  82. -moz-border-radius: 0 5px 5px 0; /* LTR */
  83. -webkit-border-top-right-radius: 5px; /* LTR */
  84. -webkit-border-bottom-right-radius: 5px; /* LTR */
  85. border-radius: 0 5px 5px 0; /* LTR */
  86. }
  87. #shortcut-set-switch .form-type-radios {
  88. padding-bottom: 0;
  89. margin-bottom: 0;
  90. }
  91. #shortcut-set-switch .form-item-new {
  92. padding-top: 0;
  93. padding-left: 17px; /* LTR */
  94. }

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