A semantic search engine for source code https://bitshift.benkurtovic.com/
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

174 righe
3.4 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. position: absolute
  37. right: 0
  38. top: 0
  39. width: 34%
  40. #title
  41. font-size: 400%
  42. padding-bottom: 0.5em
  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. width: 80%
  60. &:hover
  61. border-color: $baseColor1
  62. button
  63. background-color: $lightBlue
  64. border: 1px solid $baseColor2
  65. color: white
  66. display: inline
  67. white-space: nowrap
  68. overflow: hidden
  69. width: 20%
  70. &.clicked, &:hover
  71. @extend .t3
  72. background-color: $blue
  73. div#advanced-search
  74. background-color: white
  75. border: 1px solid $baseColor2
  76. margin: 0px
  77. overflow: auto
  78. padding: 0px
  79. display: none
  80. >div
  81. @include vendor(box-sizing, border-box)
  82. float: left
  83. height: 100%
  84. >#col1
  85. width: 10%
  86. >#col2
  87. width: 84%
  88. ul
  89. list-style: none
  90. li
  91. margin-bottom: 0.5em
  92. label
  93. display: block
  94. font-size: 110%
  95. input[type="text"]
  96. @extend .t2
  97. border-color: $baseColor3
  98. font-size: 100%
  99. padding: 4px
  100. width: 100%
  101. &:hover
  102. border-color: $baseColor2
  103. &:focus
  104. border-color: $baseColor1
  105. #upper-half
  106. >div
  107. float: left
  108. width: 50%
  109. #col2
  110. input[type="text"]
  111. width: 50%
  112. &.partly-visible
  113. height: 1%
  114. margin-top: 3%
  115. width: 60%
  116. #title
  117. display: none
  118. div#results
  119. margin-left: auto
  120. margin-right: auto
  121. width: 80%
  122. div.result
  123. background-color: #F8F8F8
  124. margin-bottom: 10%
  125. margin-top: 1%
  126. padding: 1%
  127. &.cascade
  128. @extend .t3
  129. margin-bottom: 0%