/static/june_2007_style/autocomplete_tagging.css.tmpl

https://bitbucket.org/cistrome/cistrome-harvard/ · Go Template · 148 lines · 126 code · 22 blank · 0 comment · 0 complexity · da933246a505a93d4eadfb612c17bc21 MD5 · raw file

  1. /****************************************************************************/
  2. /* JQuery autocomplete code */
  3. /****************************************************************************/
  4. .ac_results {
  5. padding: 0px;
  6. border: 1px solid black;
  7. background-color: white;
  8. overflow: hidden;
  9. z-index: 99999;
  10. }
  11. .ac_results ul {
  12. width: 100%;
  13. list-style-position: outside;
  14. list-style: none;
  15. padding: 0;
  16. margin: 0;
  17. }
  18. .ac_results li {
  19. padding: 2px 5px;
  20. cursor: default;
  21. display: block;
  22. /*
  23. if width will be 100% horizontal scrollbar will apear
  24. when scroll mode will be used
  25. */
  26. /*width: 100%;*/
  27. /* font: menu; */
  28. font-size: 12px;
  29. /*
  30. it is very important, if line-height not setted or setted
  31. in relative units scroll will be broken in firefox
  32. */
  33. line-height: 16px;
  34. overflow: hidden;
  35. }
  36. .ac_loading {
  37. background: white url('indicator.gif') right center no-repeat;
  38. }
  39. .ac_odd {
  40. background-color: #fff; /* #eee */
  41. margin-left: 0.3em;
  42. }
  43. .ac_even {
  44. margin-left: 0.3em;
  45. }
  46. .ac_over {
  47. background-color: #0A246A;
  48. color: white;
  49. }
  50. .ac_header {
  51. font-style: normal;
  52. color: gray;
  53. border-bottom: 0.1em solid gray;
  54. }
  55. /****************************************************************************/
  56. /* Custom code for supporting tags */
  57. /****************************************************************************/
  58. .tag-area {
  59. width: 100%;
  60. }
  61. .individual-tag-area
  62. {
  63. cursor: pointer;
  64. border: 1px dotted transparent;
  65. }
  66. .individual-tag-area:hover
  67. {
  68. border: 1px dotted #999999;
  69. }
  70. .active-tag-area {
  71. background-color: white;
  72. }
  73. .toggle-link
  74. {
  75. font-weight: normal;
  76. padding: 0.3em;
  77. margin-bottom: 1em;
  78. width: 100%;
  79. padding: 0.2em 0em 0.2em 0em;
  80. }
  81. .tag-button {
  82. width: auto;
  83. color: #444;
  84. text-decoration: none;
  85. display: inline-block;
  86. cursor: pointer;
  87. margin: 0.2em;
  88. border: solid #bbb 1px;
  89. padding: 0.1em 0.5em 0.1em 0.5em;
  90. -moz-border-radius: .5em;
  91. -webkit-border-radius: .5em;
  92. border-radius: .5em;
  93. background:#eee;
  94. }
  95. .tag-button img
  96. {
  97. padding-left: 0.4em;
  98. }
  99. .tag-button .tag-name:hover
  100. {
  101. color: black;
  102. }
  103. .add-tag-button
  104. {
  105. margin-bottom: 0.3em;
  106. vertical-align: middle;
  107. padding: 0.3em;
  108. }
  109. .add-tag-button:hover
  110. {
  111. cursor: pointer;
  112. }
  113. .tag-input {
  114. vertical-align: bottom;
  115. border: none;
  116. outline: none;
  117. resize: none;
  118. }
  119. .delete-tag-img
  120. {
  121. margin-left: 0.3em;
  122. }
  123. .active-tag-name
  124. {
  125. font-weight: bold;
  126. }