A semantic search engine for source code https://bitshift.benkurtovic.com/
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 

267 рядки
6.2 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. form#search-bar
  54. input[type="text"], button
  55. @extend .t3
  56. @include vendor(box-sizing, border-box)
  57. border: 1px solid $baseColor2
  58. font-size: 110%
  59. margin-bottom: 0px
  60. padding: 6px
  61. input[type="text"]
  62. width: 85%
  63. &:hover
  64. border-color: $baseColor1
  65. button#advanced-search
  66. background-color: white
  67. border: 1px solid white
  68. width: 15%
  69. height: 10%
  70. padding: 0px
  71. float: right
  72. &.clicked, &:hover
  73. img
  74. @extend .t3
  75. background-color: black
  76. cursor: pointer
  77. &:focus
  78. outline: 0
  79. img
  80. background-color: $baseColor2
  81. margin-top: 5px
  82. width: 26px
  83. height: 26px
  84. div#advanced-search
  85. background-color: white
  86. border: 1px solid $baseColor3
  87. font-size: 96%
  88. min-width: 490px
  89. padding-top: 0px
  90. overflow-x: auto
  91. height: 400px
  92. >div
  93. @include vendor(box-sizing, border-box)
  94. display: inline-block
  95. float: left
  96. #sidebar
  97. padding-left: 1%
  98. width: 25%
  99. >div
  100. color: $baseColor2
  101. font-size: 120%
  102. padding-top: 5%
  103. >ul
  104. list-style: none
  105. padding-left: 0
  106. margin-bottom: 8%
  107. margin-top: 2%
  108. li
  109. margin-bottom: 2%
  110. label
  111. user-select: none
  112. div
  113. @extend .t3
  114. background-color: $lightGray
  115. border: none
  116. padding: 3%
  117. width: 85%
  118. &:hover, &.selectedInputField
  119. @extend .t3
  120. background-color: $baseColor2
  121. color: white
  122. cursor: pointer
  123. width: 90%
  124. input[type="checkbox"]
  125. display: none
  126. &:checked + label > div
  127. @extend .selectedInputField
  128. background-color: $baseColor1
  129. color: white
  130. width: 90%
  131. button#add-group
  132. background-color: $lightBlue
  133. border: none
  134. color: white
  135. height: 40px
  136. margin-bottom: 10%
  137. overflow: hidden
  138. white-space: nowrap
  139. width: 40px
  140. span
  141. font-size: 150%
  142. font-weight: bold
  143. margin-left: 6px
  144. margin-right: 10px
  145. &:hover
  146. @extend .t3
  147. background-color: $blue
  148. cursor: pointer
  149. width: 90%
  150. #search-groups
  151. margin-top: 2%
  152. max-height: 93%
  153. overflow-y: auto
  154. width: 75%
  155. .search-group
  156. background-color: $lightGray
  157. padding: 1%
  158. margin-bottom: 1%
  159. >div
  160. margin-bottom: 0.7%
  161. div
  162. display: inline-block
  163. width: 20%
  164. input[type=text]
  165. padding: 2px
  166. width: 60%
  167. input[type=checkbox]
  168. margin-left: 2%
  169. &:checked + span
  170. @extend .t2
  171. color: green
  172. font-weight: bold
  173. span
  174. font-size: 80%
  175. &.partly-visible
  176. margin-top: 0%
  177. padding-bottom: 3%
  178. position: absolute
  179. width: 100%
  180. #title
  181. position: absolute
  182. top: -1%
  183. left: 1%
  184. span
  185. font-size: 50%
  186. form#search-bar
  187. padding-top: 3%
  188. margin-left: auto
  189. margin-right: auto
  190. width: 60%
  191. div#results
  192. margin: 3% auto 0 auto
  193. margin-left: auto
  194. margin-right: auto
  195. width: 80%
  196. div.result
  197. background-color: #F8F8F8
  198. margin-bottom: 10%
  199. margin-top: 1%
  200. padding: 1%
  201. &.cascade
  202. @extend .t3
  203. margin-bottom: 0%