searchbox.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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: 325px;
  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. float: left;
  47. height: 22px;
  48. outline: 0;
  49. padding: 0 7px;
  50. width: 214px;
  51. margin: 0;
  52. }
  53. .ace_searchbtn,
  54. .ace_replacebtn {
  55. background: #fff;
  56. border: 0 none;
  57. border-left: 1px solid #dcdcdc;
  58. cursor: pointer;
  59. float: left;
  60. height: 22px;
  61. margin: 0;
  62. padding: 0;
  63. position: relative;
  64. }
  65. .ace_searchbtn:last-child,
  66. .ace_replacebtn:last-child {
  67. border-top-right-radius: 3px;
  68. border-bottom-right-radius: 3px;
  69. }
  70. .ace_searchbtn:disabled {
  71. background: none;
  72. cursor: default;
  73. }
  74. .ace_searchbtn {
  75. background-position: 50% 50%;
  76. background-repeat: no-repeat;
  77. width: 27px;
  78. }
  79. .ace_searchbtn.prev {
  80. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpiSU1NZUAC/6E0I0yACYskCpsJiySKIiY0SUZk40FyTEgCjGgKwTRAgAEAQJUIPCE+qfkAAAAASUVORK5CYII=);
  81. }
  82. .ace_searchbtn.next {
  83. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNpiTE1NZQCC/0DMyIAKwGJMUAYDEo3M/s+EpvM/mkKwCQxYjIeLMaELoLMBAgwAU7UJObTKsvAAAAAASUVORK5CYII=);
  84. }
  85. .ace_searchbtn_close {
  86. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;
  87. border-radius: 50%;
  88. border: 0 none;
  89. color: #656565;
  90. cursor: pointer;
  91. float: right;
  92. font: 16px/16px Arial;
  93. height: 14px;
  94. margin: 5px 1px 9px 5px;
  95. padding: 0;
  96. text-align: center;
  97. width: 14px;
  98. }
  99. .ace_searchbtn_close:hover {
  100. background-color: #656565;
  101. background-position: 50% 100%;
  102. color: white;
  103. }
  104. .ace_replacebtn.prev {
  105. width: 54px
  106. }
  107. .ace_replacebtn.next {
  108. width: 27px
  109. }
  110. .ace_button {
  111. margin-left: 2px;
  112. cursor: pointer;
  113. -webkit-user-select: none;
  114. -moz-user-select: none;
  115. -o-user-select: none;
  116. -ms-user-select: none;
  117. user-select: none;
  118. overflow: hidden;
  119. opacity: 0.7;
  120. border: 1px solid rgba(100,100,100,0.23);
  121. padding: 1px;
  122. -moz-box-sizing: border-box;
  123. box-sizing: border-box;
  124. color: black;
  125. }
  126. .ace_button:hover {
  127. background-color: #eee;
  128. opacity:1;
  129. }
  130. .ace_button:active {
  131. background-color: #ddd;
  132. }
  133. .ace_button.checked {
  134. border-color: #3399ff;
  135. opacity:1;
  136. }
  137. .ace_search_options{
  138. margin-bottom: 3px;
  139. text-align: right;
  140. -webkit-user-select: none;
  141. -moz-user-select: none;
  142. -o-user-select: none;
  143. -ms-user-select: none;
  144. user-select: none;
  145. }