project-list.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. .project-header {
  2. .btn-group > .btn {
  3. padding-left: @line-height-base / 2;
  4. padding-right: @line-height-base / 2;
  5. }
  6. }
  7. .project-search {
  8. margin: @line-height-base 0;
  9. }
  10. .project-tools {
  11. display: inline;
  12. }
  13. .first-project {
  14. width: 127px;
  15. text-align: center;
  16. }
  17. .user-profile {
  18. .progress {
  19. height: @line-height-computed / 2;
  20. margin-bottom: @line-height-computed / 4;
  21. }
  22. p {
  23. margin-bottom: @line-height-computed / 4;
  24. }
  25. }
  26. ul.folders-menu {
  27. margin: 0;
  28. .subdued {
  29. color: @gray-light;
  30. }
  31. li {
  32. line-height: 1.8;
  33. a {
  34. font-size: 0.9rem;
  35. color: #333;
  36. padding: (@line-height-computed / 4);
  37. display: inline-block;
  38. line-height: 1.2;
  39. }
  40. }
  41. li.active {
  42. //border-right: 4px solid @red;
  43. a {
  44. font-weight: 700;
  45. color: white;
  46. background-color: @link-color;
  47. border-radius: @border-radius-small;
  48. .subdued {
  49. color: white;
  50. }
  51. }
  52. }
  53. li > a.small {
  54. color: @gray;
  55. }
  56. h2 {
  57. margin-top: @line-height-computed / 2;
  58. margin-bottom: @line-height-computed / 4;
  59. font-size: @font-size-base;
  60. font-weight: 500;
  61. font-family: @font-family-sans-serif;
  62. }
  63. a.tag {
  64. padding: 2px (@line-height-computed / 4);
  65. display: inline-block;
  66. position: relative;
  67. i {
  68. position: absolute;
  69. top: 5px;
  70. left: 6px;
  71. }
  72. span.name {
  73. display: inline-block;
  74. padding-left: 22px;
  75. line-height: 1.4;
  76. }
  77. }
  78. }
  79. form.project-search {
  80. .form-group {
  81. margin-bottom: 0;
  82. }
  83. }
  84. ul.structured-list {
  85. list-style-type: none;
  86. margin: 0;
  87. overflow: hidden;
  88. overflow-y: auto;
  89. li {
  90. border-bottom: 1px solid @gray-lightest;
  91. padding: (@line-height-computed / 4) 0;
  92. &:first-child {
  93. .header {
  94. font-size: 1rem;
  95. }
  96. }
  97. &:last-child {
  98. border-bottom: 0 none;
  99. }
  100. &:hover {
  101. background-color: @gray-lightest;
  102. }
  103. &:first-child:hover {
  104. background-color: white;
  105. }
  106. a {
  107. color: darken(@blue, 10%);
  108. }
  109. .header {
  110. text-transform: uppercase;
  111. }
  112. .select-item, .select-all {
  113. display: inline-block;
  114. }
  115. .select-item, .select-all {
  116. position: absolute;
  117. left: @line-height-computed;
  118. }
  119. .select-item + span, .select-all + span {
  120. display: inline-block;
  121. padding-left: @line-height-computed * 1.5;
  122. }
  123. }
  124. }
  125. ul.project-list {
  126. li {
  127. .last-modified, .owner {
  128. font-size: .8rem;
  129. }
  130. .owner {
  131. margin-right: 0;
  132. }
  133. .projectName {
  134. margin-right: @line-height-computed / 4;
  135. }
  136. .tag-label {
  137. margin-left: @line-height-computed / 4;
  138. position: relative;
  139. top: -2px;
  140. padding-top: 0.25em;
  141. display: inline-block;
  142. color: white;
  143. }
  144. }
  145. i.tablesort {
  146. padding-left: 8px;
  147. }
  148. }
  149. .user_details_auto_complete {
  150. ul>li{
  151. list-style:none;
  152. }
  153. .autocomplete {
  154. width: 100%;
  155. position: relative;
  156. }
  157. .autocomplete ul {
  158. position: absolute;
  159. top: 100%;
  160. left: 0;
  161. z-index: @zindex-dropdown;
  162. float: left;
  163. min-width: 160px;
  164. padding: 5px 0;
  165. margin: 2px 0 0; // override default ul
  166. list-style: none;
  167. font-size: @font-size-base;
  168. background-color: @dropdown-bg;
  169. border: 1px solid @dropdown-fallback-border; // IE8 fallback
  170. border: 1px solid @dropdown-border;
  171. border-radius: @border-radius-base;
  172. .box-shadow(0 6px 12px rgba(0,0,0,.175));
  173. background-clip: padding-box;
  174. // Links within the dropdown menu
  175. > li {
  176. display: block;
  177. padding: 3px 20px;
  178. clear: both;
  179. font-weight: normal;
  180. line-height: @line-height-base;
  181. color: @dropdown-link-color;
  182. white-space: nowrap; // prevent links from randomly breaking onto new lines
  183. }
  184. > li.active {
  185. text-decoration: none;
  186. color: @dropdown-link-hover-color;
  187. background-color: @dropdown-link-hover-bg;
  188. }
  189. }
  190. .autocomplete .highlight {
  191. font-weight: 700;
  192. }
  193. }