A semantic search engine for source code https://bitshift.benkurtovic.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

204 lines
4.1 KiB

  1. /*
  2. Stylesheet for index.html.
  3. */
  4. @import mixins
  5. @import variables
  6. .ui-datepicker
  7. font-size: 70%
  8. .twitter-typeahead
  9. width: 100%
  10. .tt-hint
  11. color: $baseColor2
  12. .tt-dropdown-menu
  13. width: 100%
  14. padding: 4px 0
  15. background-color: white
  16. border: 1px solid $baseColor2
  17. .tt-suggestion
  18. padding: 4px
  19. p
  20. margin: 0
  21. strong
  22. color: $baseColor1
  23. &.tt-cursor
  24. @extend .t1
  25. background-color: $baseColor1
  26. *
  27. color: white
  28. div#search-field
  29. @extend .t2
  30. bottom: 0
  31. height: 50%
  32. left: 0
  33. margin: auto
  34. margin-top: 15%
  35. max-height: 100px
  36. right: 0
  37. position: absolute
  38. top: 0
  39. width: 40%
  40. #title
  41. font-size: 400%
  42. padding-bottom: 0.2em
  43. text-align: center
  44. #title-bit
  45. color: $baseColor1
  46. #title-angle
  47. color: $baseColor3
  48. #title-shift
  49. color: $baseColor2
  50. font-style: italic
  51. form#search-bar
  52. input[type="text"], button
  53. @extend .t3
  54. @include vendor(box-sizing, border-box)
  55. border: 1px solid $baseColor2
  56. font-size: 110%
  57. margin-bottom: 0px
  58. padding: 6px
  59. input[type="text"]
  60. width: 85%
  61. &:hover
  62. border-color: $baseColor1
  63. button
  64. background-color: white
  65. border: 1px solid white
  66. width: 15%
  67. height: 10%
  68. padding: 0px
  69. float: right
  70. &.clicked, &:hover
  71. img
  72. @extend .t3
  73. background-color: black
  74. cursor: pointer
  75. &:focus
  76. outline: 0
  77. img
  78. background-color: $baseColor2
  79. margin-top: 5px
  80. width: 26px
  81. height: 26px
  82. div#advanced-search
  83. background-color: white
  84. border: 1px solid $baseColor2
  85. margin: 0px
  86. overflow: auto
  87. padding: 0px
  88. display: none
  89. >div
  90. @include vendor(box-sizing, border-box)
  91. float: left
  92. height: 100%
  93. >#col1
  94. width: 10%
  95. >#col2
  96. width: 84%
  97. ul
  98. list-style: none
  99. li
  100. margin-bottom: 0.5em
  101. &:hover, &:focus
  102. input[type="text"]
  103. border-color: $baseColor1
  104. label
  105. @extend .t3
  106. color: black
  107. label
  108. display: block
  109. font-size: 110%
  110. color: #747575
  111. input[type="text"]
  112. @extend .t3
  113. border-color: $baseColor3
  114. font-size: 100%
  115. padding: 4px
  116. width: 100%
  117. #upper-half
  118. >div
  119. float: left
  120. width: 50%
  121. #col2
  122. input[type="text"]
  123. width: 50%
  124. #lower-half
  125. padding-bottom: 20px
  126. &.partly-visible
  127. margin-top: 0%
  128. padding-bottom: 3%
  129. position: absolute
  130. width: 100%
  131. #title
  132. position: absolute
  133. top: -1%
  134. left: 1%
  135. span
  136. font-size: 50%
  137. form#search-bar
  138. padding-top: 3%
  139. margin-left: auto
  140. margin-right: auto
  141. width: 60%
  142. div#results
  143. margin: 3% auto 0 auto
  144. margin-left: auto
  145. margin-right: auto
  146. width: 80%
  147. div.result
  148. background-color: #F8F8F8
  149. margin-bottom: 10%
  150. margin-top: 1%
  151. padding: 1%
  152. &.cascade
  153. @extend .t3
  154. margin-bottom: 0%