searchbox.css 3.7 KB

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