search.less 928 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. .ace_search {
  2. background-color: @gray-lightest;
  3. border: 1px solid @toolbar-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, button {
  14. i {
  15. pointer-events: none;
  16. }
  17. }
  18. .ace_searchbtn_close {
  19. position: absolute;
  20. top: 6px;
  21. right: 12px;
  22. color: @gray;
  23. &:hover {
  24. color: @gray-dark;
  25. }
  26. }
  27. .ace_search_form, .ace_replace_form {
  28. margin-bottom: @line-height-computed / 4;
  29. input {
  30. width: 210px;
  31. display: inline-block;
  32. }
  33. .btn-group {
  34. display: inline-block;
  35. }
  36. }
  37. .ace_nomatch {
  38. input {
  39. border-color: @red;
  40. }
  41. }
  42. }
  43. .ace_search.left {
  44. border-left: 0 none;
  45. border-radius: 0px 0px @border-radius-base 0px;
  46. left: 0;
  47. }
  48. .ace_search.right {
  49. border-radius: 0px 0px 0px @border-radius-base;
  50. border-right: 0 none;
  51. right: 0;
  52. }