menubar.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. .menubar {
  2. height: 19px;
  3. font-size: 12px;
  4. font-family: 'Charcoal';
  5. background-color: #dedede;
  6. box-shadow: inset -1px -1px #9c9c9c, inset 1px 1px #fff;
  7. border-bottom: 1px solid #000;
  8. image-rendering: pixelated;
  9. }
  10. .menubar .corner {
  11. margin: -5px 0 0 0;
  12. }
  13. .menubar .active-application, .menubar .clock {
  14. margin: 2px 7px 0 8px;
  15. }
  16. .menubar .active-application img {
  17. vertical-align: middle;
  18. margin-bottom: 2px;
  19. margin-right: 5px;
  20. }
  21. .menu > .title {
  22. padding: 1px 7px 0 8px;
  23. /* Need a border so items don't move when they are active */
  24. border-top: 1px solid #fff;
  25. }
  26. .menu > .title.icon {
  27. background-position: center;
  28. background-repeat: no-repeat;
  29. }
  30. .menu-items > .icon {
  31. background-origin: content-box;
  32. background-repeat: no-repeat;
  33. text-indent: 20px;
  34. }
  35. .menu > .title.active {
  36. background-color: #31319c;
  37. color: #fff;
  38. border-top: 1px solid #6262cd;
  39. border-bottom: 1px solid #00008b;
  40. }
  41. .menu .menu-items {
  42. z-index: 100;
  43. position: absolute;
  44. white-space: nowrap;
  45. background-color: #dedede;
  46. border: 1px #000 solid;
  47. box-shadow: 1px 1px #111, inset 1px 1px #fff, inset -1px -1px #999;
  48. }
  49. .submenu .title {
  50. display: flex;
  51. justify-content: space-between;
  52. flex-grow: 1;
  53. }
  54. .submenu .arrow {
  55. margin-right: -5px;
  56. }
  57. .menu-items > div {
  58. display: flex;
  59. justify-content: space-between;
  60. padding: 0 8px 0 20px;
  61. color: #000;
  62. /* Need a border so items don't move when they are active */
  63. border-left: 1px solid #fff;
  64. border-right: 1px solid #9c9c9c;
  65. }
  66. .menu-items .checked {
  67. position: absolute;
  68. left: 5px;
  69. background-image: url("../img/ui/widgets/checkmark.png");
  70. background-repeat: no-repeat;
  71. background-position: center;
  72. }
  73. .menu-items img {
  74. vertical-align: middle;
  75. margin: 0 5px 0 0;
  76. }
  77. .menu-items > .active {
  78. background-color: #31319c;
  79. color: #fff;
  80. border-left: 1px solid #6262cd;
  81. border-right: 1px solid #00008b;
  82. }
  83. .menu-items .disabled {
  84. color: #737373;
  85. }
  86. .menu-items .shortcut {
  87. display: flex;
  88. padding-left: 15px;
  89. }
  90. .menu-items .shortcut .symbol {
  91. /* positions the Command character properly */
  92. margin-top: 1px;
  93. padding-right: 1px;
  94. font-size: 10px;
  95. }
  96. .menu-items .shortcut .char {
  97. width: 1em;
  98. height: 1em;
  99. }
  100. .menu-items .separator {
  101. height: 2px;
  102. margin: 2px 0 1px 0;
  103. box-shadow: inset 0 1px #999, inset 0 -1px #fff;
  104. }