shortcut.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. }