searchbox.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. /* ------------------------------------------------------------------------------------------
  2. * Editor Search Form
  3. * --------------------------------------------------------------------------------------- */
  4. .ace_search {
  5. background-color: #ddd;
  6. border: 1px solid #cbcbcb;
  7. border-top: 0 none;
  8. max-width: 297px;
  9. overflow: hidden;
  10. margin: 0;
  11. padding: 4px;
  12. padding-right: 6px;
  13. padding-bottom: 0;
  14. position: absolute;
  15. top: 0px;
  16. z-index: 99;
  17. white-space: normal;
  18. }
  19. .ace_search.left {
  20. border-left: 0 none;
  21. border-radius: 0px 0px 5px 0px;
  22. left: 0;
  23. }
  24. .ace_search.right {
  25. border-radius: 0px 0px 0px 5px;
  26. border-right: 0 none;
  27. right: 0;
  28. }
  29. .ace_search_form, .ace_replace_form {
  30. border-radius: 3px;
  31. border: 1px solid #cbcbcb;
  32. float: left;
  33. margin-bottom: 4px;
  34. overflow: hidden;
  35. }
  36. .ace_search_form.ace_nomatch {
  37. outline: 1px solid red;
  38. }
  39. .ace_search_field {
  40. background-color: white;
  41. border-right: 1px solid #cbcbcb;
  42. border: 0 none;
  43. -webkit-box-sizing: border-box;
  44. -moz-box-sizing: border-box;
  45. box-sizing: border-box;
  46. display: block;
  47. float: left;
  48. height: 22px;
  49. outline: 0;
  50. padding: 0 7px;
  51. width: 214px;
  52. margin: 0;
  53. }
  54. .ace_searchbtn,
  55. .ace_replacebtn {
  56. background: #fff;
  57. border: 0 none;
  58. border-left: 1px solid #dcdcdc;
  59. cursor: pointer;
  60. display: block;
  61. float: left;
  62. height: 22px;
  63. margin: 0;
  64. padding: 0;
  65. position: relative;
  66. }
  67. .ace_searchbtn:last-child,
  68. .ace_replacebtn:last-child {
  69. border-top-right-radius: 3px;
  70. border-bottom-right-radius: 3px;
  71. }
  72. .ace_searchbtn:disabled {
  73. background: none;
  74. cursor: default;
  75. }
  76. .ace_searchbtn {
  77. background-position: 50% 50%;
  78. background-repeat: no-repeat;
  79. width: 27px;
  80. }
  81. .ace_searchbtn.prev {
  82. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpiSU1NZUAC/6E0I0yACYskCpsJiySKIiY0SUZk40FyTEgCjGgKwTRAgAEAQJUIPCE+qfkAAAAASUVORK5CYII=);
  83. }
  84. .ace_searchbtn.next {
  85. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNpiTE1NZQCC/0DMyIAKwGJMUAYDEo3M/s+EpvM/mkKwCQxYjIeLMaELoLMBAgwAU7UJObTKsvAAAAAASUVORK5CYII=);
  86. }
  87. .ace_searchbtn_close {
  88. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;
  89. border-radius: 50%;
  90. border: 0 none;
  91. color: #656565;
  92. cursor: pointer;
  93. display: block;
  94. float: right;
  95. font-family: Arial;
  96. font-size: 16px;
  97. height: 14px;
  98. line-height: 16px;
  99. margin: 5px 1px 9px 5px;
  100. padding: 0;
  101. text-align: center;
  102. width: 14px;
  103. }
  104. .ace_searchbtn_close:hover {
  105. background-color: #656565;
  106. background-position: 50% 100%;
  107. color: white;
  108. }
  109. .ace_replacebtn.prev {
  110. width: 54px
  111. }
  112. .ace_replacebtn.next {
  113. width: 27px
  114. }
  115. .ace_button {
  116. margin-left: 2px;
  117. cursor: pointer;
  118. -webkit-user-select: none;
  119. -moz-user-select: none;
  120. -o-user-select: none;
  121. -ms-user-select: none;
  122. user-select: none;
  123. overflow: hidden;
  124. opacity: 0.7;
  125. border: 1px solid rgba(100,100,100,0.23);
  126. padding: 1px;
  127. -moz-box-sizing: border-box;
  128. box-sizing: border-box;
  129. color: black;
  130. }
  131. .ace_button:hover {
  132. background-color: #eee;
  133. opacity:1;
  134. }
  135. .ace_button:active {
  136. background-color: #ddd;
  137. }
  138. .ace_button.checked {
  139. border-color: #3399ff;
  140. opacity:1;
  141. }
  142. .ace_search_options{
  143. margin-bottom: 3px;
  144. text-align: right;
  145. -webkit-user-select: none;
  146. -moz-user-select: none;
  147. -o-user-select: none;
  148. -ms-user-select: none;
  149. user-select: none;
  150. }