search.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .ace_search {
  2. background-color: @gray-lightest;
  3. border: 1px solid @editor-border-color;
  4. border-top: 0 none;
  5. width: 350px;
  6. overflow: hidden;
  7. position: absolute;
  8. top: 0px;
  9. z-index: 99;
  10. white-space: normal;
  11. padding: @line-height-computed / 4;
  12. font-family: @font-family-sans-serif;
  13. a,
  14. button {
  15. i {
  16. pointer-events: none;
  17. }
  18. }
  19. .ace_searchbtn_close {
  20. position: absolute;
  21. top: 6px;
  22. right: 12px;
  23. color: @gray;
  24. &:hover {
  25. color: @gray-dark;
  26. }
  27. }
  28. .ace_search_form,
  29. .ace_replace_form {
  30. margin-bottom: @line-height-computed / 4;
  31. input {
  32. width: 210px;
  33. display: inline-block;
  34. vertical-align: middle;
  35. }
  36. .btn-group {
  37. display: inline-block;
  38. }
  39. }
  40. .ace_nomatch {
  41. input {
  42. border-color: @red;
  43. }
  44. }
  45. .ace_search_options {
  46. display: flex;
  47. justify-content: space-between;
  48. }
  49. .ace_search_counter {
  50. color: @editor-search-count-color;
  51. margin: auto 0;
  52. }
  53. }
  54. .ace_search.left {
  55. border-left: 0 none;
  56. border-radius: 0px 0px @border-radius-base 0px;
  57. left: 0;
  58. }
  59. .ace_search.right {
  60. border-radius: 0px 0px 0px @border-radius-base;
  61. border-right: 0 none;
  62. right: 0;
  63. }