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.
 
 
 
 
 
 

304 lines
7.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. a#title
  41. text-decoration: none
  42. div#title
  43. font-size: 400%
  44. padding-bottom: 0.2em
  45. text-align: center
  46. #title-bit
  47. color: $baseColor1
  48. #title-angle
  49. color: $baseColor3
  50. #title-shift
  51. color: $baseColor2
  52. font-style: italic
  53. $minSearchFieldsWidth: 490px
  54. form#search-bar
  55. min-width: $minSearchFieldsWidth
  56. input[type="text"], button
  57. @extend .t3
  58. @include vendor(box-sizing, border-box)
  59. border: 1px solid $baseColor2
  60. font-size: 110%
  61. margin-bottom: 0px
  62. padding: 6px
  63. input[type="text"]
  64. width: 85%
  65. &:hover
  66. border-color: $baseColor1
  67. button#advanced-search
  68. background-color: white
  69. border: 1px solid white
  70. width: 15%
  71. height: 10%
  72. padding: 0px
  73. float: right
  74. &.clicked, &:hover
  75. img
  76. @extend .t3
  77. background-color: black
  78. cursor: pointer
  79. &:focus
  80. outline: 0
  81. img
  82. background-color: $baseColor2
  83. margin-top: 5px
  84. width: 26px
  85. height: 26px
  86. div#advanced-search
  87. background-color: white
  88. border: 1px solid $baseColor3
  89. font-size: 96%
  90. min-width: $minSearchFieldsWidth
  91. padding-top: 0px
  92. overflow-x: auto
  93. height: 400px
  94. #heading
  95. color: $baseColor2
  96. display: block
  97. font-size: 120%
  98. padding-left: 1%
  99. padding-top: 1%
  100. width: 100%
  101. div
  102. display: inline-block
  103. font-size: 110%
  104. &#col1
  105. width: 25%
  106. &#col2
  107. width: 75%
  108. >div
  109. @include vendor(box-sizing, border-box)
  110. display: inline-block
  111. float: left
  112. #sidebar
  113. padding-left: 1%
  114. width: 25%
  115. >ul
  116. list-style: none
  117. padding-left: 0
  118. margin-bottom: 8%
  119. margin-top: 2%
  120. li
  121. margin-bottom: 2%
  122. label
  123. user-select: none
  124. div
  125. @extend .t3
  126. background-color: $lightGray
  127. border: none
  128. padding: 3%
  129. width: 85%
  130. &:hover, &.selectedInputField
  131. @extend .t3
  132. background-color: $baseColor2
  133. color: white
  134. cursor: pointer
  135. width: 90%
  136. input[type="checkbox"]
  137. display: none
  138. &:checked + label > div
  139. @extend .selectedInputField
  140. background-color: $baseColor1
  141. color: white
  142. width: 90%
  143. button#add-group
  144. background-color: $lightBlue
  145. border: none
  146. color: white
  147. display: block
  148. height: 40px
  149. margin-bottom: 2%
  150. overflow: hidden
  151. white-space: nowrap
  152. width: 40px
  153. span
  154. font-size: 150%
  155. font-weight: bold
  156. margin-left: 6px
  157. margin-right: 14px
  158. &:hover
  159. @extend .t3
  160. background-color: $blue
  161. cursor: pointer
  162. width: 90%
  163. button#remove-group
  164. @extend button#add-group
  165. background-color: #D82D48
  166. span
  167. padding-left: 3px
  168. &:hover
  169. @extend .t3
  170. background-color: #F11437
  171. #search-groups
  172. margin-top: 1%
  173. max-height: 93%
  174. overflow-y: auto
  175. width: 75%
  176. .search-group
  177. @include vendor(transition, all 0.6s ease-out)
  178. background-color: $lightGray
  179. padding: 1%
  180. margin-bottom: 2%
  181. width: 97%
  182. >div
  183. margin-bottom: 0.7%
  184. div
  185. display: inline-block
  186. width: 18%
  187. input[type=text]
  188. padding: 2px
  189. width: 60%
  190. input[type=checkbox]
  191. margin-left: 2%
  192. &:checked + span
  193. @extend .t2
  194. color: green
  195. font-weight: bold
  196. span
  197. font-size: 80%
  198. &#selected
  199. background-color: #CACACA
  200. &.partly-visible
  201. margin-top: 0%
  202. padding-bottom: 3%
  203. position: absolute
  204. width: 100%
  205. #title
  206. position: absolute
  207. top: -1%
  208. left: 1%
  209. span
  210. font-size: 50%
  211. form#search-bar
  212. padding-top: 3%
  213. margin-left: auto
  214. margin-right: auto
  215. width: 60%
  216. div#results
  217. margin: 3% auto 0 auto
  218. margin-left: auto
  219. margin-right: auto
  220. width: 80%
  221. div.result
  222. background-color: #F8F8F8
  223. margin-bottom: 10%
  224. margin-top: 1%
  225. padding: 1%
  226. &.cascade
  227. @extend .t3
  228. margin-bottom: 0%