charpicker.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. /*
  2. * Copyright 2009 The Closure Library Authors. All Rights Reserved.
  3. *
  4. * Use of this source code is governed by the Apache License, Version 2.0.
  5. * See the COPYING file for details.
  6. */
  7. /* Author: pupius@google.com (Daniel Pupius) */
  8. /* Author: cibu@google.com (Cibu Johny) */
  9. .goog-char-picker {
  10. background-color: #ddd;
  11. padding: 16px;
  12. border: 1px solid #777;
  13. }
  14. /* goog.ui.HoverCard */
  15. .goog-char-picker-hovercard {
  16. border: solid 5px #ffcc33;
  17. min-width: 64px;
  18. max-width: 160px;
  19. padding: 16px;
  20. background-color: white;
  21. text-align: center;
  22. position: absolute;
  23. visibility: hidden;
  24. }
  25. .goog-char-picker-name {
  26. font-size: x-small;
  27. }
  28. .goog-char-picker-unicode {
  29. font-size: x-small;
  30. color: GrayText;
  31. }
  32. .goog-char-picker-char-zoom {
  33. font-size: xx-large;
  34. }
  35. /*
  36. * grid
  37. */
  38. .goog-char-picker-grid-container {
  39. border: 1px solid #777;
  40. background-color: #fff;
  41. width: 272px;
  42. }
  43. .goog-char-picker-grid {
  44. overflow: hidden;
  45. height: 250px;
  46. width: 250px;
  47. position: relative;
  48. }
  49. .goog-stick {
  50. width: 1px;
  51. overflow: hidden;
  52. }
  53. .goog-stickwrap {
  54. width: 17px;
  55. height: 250px;
  56. float: right;
  57. overflow: auto;
  58. }
  59. .goog-char-picker-recents {
  60. border: 1px solid #777;
  61. background-color: #fff;
  62. height: 25px;
  63. width: 275px;
  64. margin: 0 0 16px 0;
  65. position: relative;
  66. }
  67. .goog-char-picker-notice {
  68. font-size: x-small;
  69. height: 16px;
  70. color: GrayText;
  71. margin: 0 0 16px 0;
  72. }
  73. /*
  74. * Hex entry
  75. */
  76. .goog-char-picker-uplus {
  77. }
  78. .goog-char-picker-input-box {
  79. width: 96px;
  80. }
  81. .label-input-label {
  82. color: GrayText;
  83. }
  84. .goog-char-picker-okbutton {
  85. }
  86. /*
  87. * Grid buttons
  88. */
  89. .goog-char-picker-grid .goog-flat-button {
  90. position: relative;
  91. width: 24px;
  92. height: 24px;
  93. line-height: 24px;
  94. border-bottom: 1px solid #ddd;
  95. border-right: 1px solid #ddd;
  96. text-align: center;
  97. cursor: pointer;
  98. outline: none;
  99. }
  100. .goog-char-picker-grid .goog-flat-button-hover,
  101. .goog-char-picker-grid .goog-flat-button-focus {
  102. background-color: #ffcc33;
  103. }
  104. /*
  105. * goog.ui.Menu
  106. */
  107. /* State: resting. */
  108. .goog-char-picker-button {
  109. border-width: 0px;
  110. margin: 0;
  111. padding: 0;
  112. position: absolute;
  113. background-position: center left;
  114. }
  115. /* State: resting. */
  116. .goog-char-picker-menu {
  117. background-color: #fff;
  118. border-color: #ccc #666 #666 #ccc;
  119. border-style: solid;
  120. border-width: 1px;
  121. cursor: default;
  122. margin: 0;
  123. outline: none;
  124. padding: 0;
  125. position: absolute;
  126. max-height: 400px;
  127. overflow-y: auto;
  128. overflow-x: hide;
  129. }
  130. /*
  131. * goog.ui.MenuItem
  132. */
  133. /* State: resting. */
  134. .goog-char-picker-menu .goog-menuitem {
  135. color: #000;
  136. list-style: none;
  137. margin: 0;
  138. /* 28px on the left for icon or checkbox; 10ex on the right for shortcut. */
  139. padding: 1px 32px 1px 8px;
  140. white-space: nowrap;
  141. }
  142. .goog-char-picker-menu2 .goog-menuitem {
  143. color: #000;
  144. list-style: none;
  145. margin: 0;
  146. /* 28px on the left for icon or checkbox; 10ex on the right for shortcut. */
  147. padding: 1px 32px 1px 8px;
  148. white-space: nowrap;
  149. }
  150. .goog-char-picker-menu .goog-subtitle {
  151. color: #fff !important;
  152. background-color: #666;
  153. font-weight: bold;
  154. list-style: none;
  155. margin: 0;
  156. /* 28px on the left for icon or checkbox; 10ex on the right for shortcut. */
  157. padding: 3px 32px 3px 8px;
  158. white-space: nowrap;
  159. }
  160. /* BiDi override for the resting state. */
  161. .goog-char-picker-menu .goog-menuitem-rtl {
  162. /* Flip left/right padding for BiDi. */
  163. padding: 2px 16px 2px 32px !important;
  164. }
  165. /* State: hover. */
  166. .goog-char-picker-menu .goog-menuitem-highlight {
  167. background-color: #d6e9f8;
  168. }
  169. /*
  170. * goog.ui.MenuSeparator
  171. */
  172. /* State: resting. */
  173. .goog-char-picker-menu .goog-menuseparator {
  174. border-top: 1px solid #ccc;
  175. margin: 2px 0;
  176. padding: 0;
  177. }