shortcut.css 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /**
  2. * @file
  3. * Styles for the core Shortcut module elements.
  4. */
  5. /*******************************************************************************
  6. * General shortcuts styling
  7. ******************************************************************************/
  8. .add-or-remove-shortcuts a {
  9. float: left;
  10. display: block;
  11. margin: 0 5px 0 0;
  12. padding: 0;
  13. background: #999 url(../images/buttons.png) -800px 50% no-repeat;
  14. color: #fff;
  15. text-shadow: #666 0 1px 0;
  16. -webkit-border-radius: 5px;
  17. -moz-border-radius: 5px;
  18. border-radius: 5px;
  19. }
  20. .remove-shortcut a {
  21. background-position: -1600px 50%;
  22. }
  23. .add-or-remove-shortcuts a:active {
  24. color: #222;
  25. background-color: #666;
  26. background-position: -1200px 50%;
  27. text-shadow: #999 0 1px 0;
  28. }
  29. .remove-shortcut a:active {
  30. background-position: -2000px 50%;
  31. }
  32. .add-or-remove-shortcuts a span.icon {
  33. width: 20px;
  34. height: 20px;
  35. float: left;
  36. }
  37. .add-or-remove-shortcuts a span.text {
  38. float: left;
  39. display: none;
  40. padding: 0 5px;
  41. }
  42. .add-or-remove-shortcuts a:focus span.text,
  43. .add-or-remove-shortcuts a:hover span.text {
  44. display: block;
  45. }
  46. /* General shortcuts styling end */
  47. /*******************************************************************************
  48. * Toolbar styles
  49. * Unchanged from core shortcut.css styles.
  50. ******************************************************************************/
  51. div#toolbar a#edit-shortcuts {
  52. float: right;
  53. padding: 5px 10px 5px 5px;
  54. line-height: 24px;
  55. color: #bbb;
  56. }
  57. div#toolbar a#edit-shortcuts:focus,
  58. div#toolbar a#edit-shortcuts:hover,
  59. div#toolbar a#edit-shortcuts.active {
  60. color: #fff;
  61. }
  62. div#toolbar div.toolbar-shortcuts ul {
  63. padding: 5px 0 2px 0;
  64. height: 28px;
  65. line-height: 24px;
  66. float: left;
  67. margin-left: 5px;
  68. }
  69. div#toolbar div.toolbar-shortcuts ul li a {
  70. padding: 0 5px;
  71. margin-right: 5px;
  72. border-radius: 5px;
  73. -moz-border-radius: 5px;
  74. -webkit-border-radius: 5px;
  75. }
  76. div#toolbar div.toolbar-shortcuts ul li a:focus,
  77. div#toolbar div.toolbar-shortcuts ul li a:hover,
  78. div#toolbar div.toolbar-shortcuts ul li a.active:focus {
  79. background: #555;
  80. }
  81. div#toolbar div.toolbar-shortcuts ul li a.active:hover,
  82. div#toolbar div.toolbar-shortcuts ul li a.active {
  83. background: #000;
  84. }
  85. div#toolbar div.toolbar-shortcuts span.icon {
  86. float: left;
  87. background: #444;
  88. width: 30px;
  89. height: 30px;
  90. margin-right: 5px;
  91. -webkit-border-radius: 5px;
  92. -moz-border-radius: 5px;
  93. border-radius: 5px;
  94. }
  95. /* Toolbar styles end */