search.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. // Search forum
  2. // ------------------------
  3. .search-suggestion {
  4. overflow: auto;
  5. p, form {
  6. float: left;
  7. }
  8. .lead {
  9. color: lighten(@gray, 15%);
  10. }
  11. form {
  12. .btn-link {
  13. margin-top: 1px;
  14. color: @bluePale;
  15. font-size: @baseFontSize * 1.5;
  16. font-style: italic;
  17. font-weight: 200;
  18. text-decoration: underline;
  19. &:hover, &:active {
  20. color: @bluePale;
  21. text-decoration: underline !important;
  22. }
  23. }
  24. }
  25. }
  26. .search-resume {
  27. a:link, a:visited {
  28. color: @grayLight;
  29. strong {
  30. color: @gray;
  31. }
  32. }
  33. a:hover, a:active {
  34. color: @gray;
  35. strong {
  36. color: @textColor;
  37. }
  38. }
  39. }
  40. .search-results {
  41. h2 {
  42. margin-bottom: @baseLineHeight * 1.5;
  43. color: @grayLight;
  44. font-weight: normal;
  45. strong {
  46. color: @textColor;
  47. }
  48. .btn {
  49. position: relative;
  50. top: 6px;
  51. }
  52. }
  53. .results-list {
  54. .result {
  55. border-bottom: 1px solid darken(@bodyBackground, 5%);
  56. margin-bottom: (@baseLineHeight / 2);
  57. padding-bottom: (@baseLineHeight / 2);
  58. .result-avatar {
  59. float: left;
  60. img {
  61. .border-radius(@baseBorderRadius);
  62. width: 70px;
  63. height: 70px;
  64. }
  65. }
  66. .result-content {
  67. margin-left: 70px + @baseFontSize;
  68. h3 {
  69. margin: 0px;
  70. line-height: @baseLineHeight;
  71. a:link, a:visited {
  72. color: @gray;
  73. font-weight: normal;
  74. font-size: @baseFontSize * 1.3;
  75. text-decoration: underline;
  76. }
  77. a:hover, a:active {
  78. color: @textColor;
  79. }
  80. a:link, a:active, a:visited, a:hover {
  81. strong {
  82. color: @red;
  83. }
  84. }
  85. }
  86. .post-preview {
  87. margin: 0px;
  88. margin-top: 6px;
  89. color: @textColor;
  90. font-size: @baseFontSize * 1.1;
  91. line-height: @baseLineHeight;
  92. strong {
  93. color: @red;
  94. }
  95. }
  96. .post-extra {
  97. margin: 0px;
  98. color: @grayLight;
  99. font-size: @baseFontSize * 0.8;
  100. line-height: @baseLineHeight;
  101. a {
  102. color: @textColor;
  103. }
  104. }
  105. }
  106. }
  107. }
  108. }