project-list.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  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. .userNotifications {
  27. ul {
  28. margin-bottom:0px;
  29. }
  30. .alert {
  31. .box-shadow(2px 4px 6px rgba(0, 0, 0, 0.25));
  32. }
  33. }
  34. ul.folders-menu {
  35. margin: 0;
  36. .subdued {
  37. color: @gray-light;
  38. }
  39. > li {
  40. cursor: pointer;
  41. line-height: 1.8;
  42. position: relative;
  43. > a {
  44. font-size: 0.9rem;
  45. color: #333;
  46. padding: (@line-height-computed / 4);
  47. display: inline-block;
  48. line-height: 1.2;
  49. }
  50. }
  51. > li.active {
  52. //border-right: 4px solid @red;
  53. background-color: @link-color;
  54. border-radius: @border-radius-small;
  55. > a {
  56. font-weight: 700;
  57. color: white;
  58. .subdued {
  59. color: white;
  60. }
  61. }
  62. }
  63. > li > a.small {
  64. color: @gray;
  65. }
  66. h2 {
  67. margin-top: @line-height-computed / 2;
  68. margin-bottom: @line-height-computed / 4;
  69. font-size: @font-size-base;
  70. font-weight: 500;
  71. font-family: @font-family-sans-serif;
  72. }
  73. > li.tag {
  74. &.active {
  75. .tag-menu > a {
  76. color: white;
  77. border-color: white;
  78. &:hover {
  79. background-color: darken(@brand-primary, 10%);
  80. }
  81. }
  82. }
  83. &:hover {
  84. &:not(.active) {
  85. background-color: darken(@gray-lightest, 2%);
  86. }
  87. .tag-menu {
  88. display: block
  89. }
  90. }
  91. &:not(.active) {
  92. .tag-menu > a:hover {
  93. background-color: @gray-light;
  94. }
  95. }
  96. a.tag-name {
  97. padding: 2px (@line-height-computed / 4);
  98. margin-right: 18px;
  99. display: inline-block;
  100. position: relative;
  101. i {
  102. position: absolute;
  103. top: 5px;
  104. left: 6px;
  105. }
  106. span.name {
  107. display: inline-block;
  108. padding-left: 22px;
  109. line-height: 1.4;
  110. }
  111. }
  112. .tag-menu {
  113. > a {
  114. border: 1px solid @gray;
  115. border-radius: @border-radius-small;
  116. color: @text-color;
  117. display: block;
  118. width: 16px;
  119. height: 16px;
  120. position: relative;
  121. .caret {
  122. position: absolute;
  123. top: 6px;
  124. left: 1px;
  125. }
  126. }
  127. display: none;
  128. position: absolute;
  129. top: 6px;
  130. right: 4px;
  131. &.open {
  132. display: block;
  133. }
  134. }
  135. }
  136. }
  137. form.project-search {
  138. .form-group {
  139. margin-bottom: 0;
  140. }
  141. }
  142. ul.structured-list {
  143. list-style-type: none;
  144. margin: 0;
  145. overflow: hidden;
  146. overflow-y: auto;
  147. li {
  148. border-bottom: 1px solid @gray-lightest;
  149. padding: (@line-height-computed / 4) 0;
  150. &:first-child {
  151. .header {
  152. font-size: 1rem;
  153. }
  154. }
  155. &:last-child {
  156. border-bottom: 0 none;
  157. }
  158. &:hover {
  159. background-color: @gray-lightest;
  160. }
  161. &:first-child:hover {
  162. background-color: white;
  163. }
  164. a {
  165. color: darken(@blue, 10%);
  166. }
  167. .header {
  168. text-transform: uppercase;
  169. }
  170. .select-item, .select-all {
  171. display: inline-block;
  172. }
  173. .select-item, .select-all {
  174. position: absolute;
  175. left: @line-height-computed;
  176. }
  177. .select-item + span, .select-all + span {
  178. display: inline-block;
  179. padding-left: @line-height-computed * 1.5;
  180. }
  181. }
  182. }
  183. ul.project-list {
  184. li {
  185. .last-modified, .owner {
  186. font-size: .8rem;
  187. }
  188. .owner {
  189. margin-right: 0;
  190. }
  191. .projectName {
  192. margin-right: @line-height-computed / 4;
  193. }
  194. .tag-label {
  195. margin-left: @line-height-computed / 4;
  196. position: relative;
  197. top: -2px;
  198. padding-top: 0.25em;
  199. display: inline-block;
  200. color: white;
  201. }
  202. }
  203. i.tablesort {
  204. padding-left: 8px;
  205. }
  206. }
  207. .user_details_auto_complete {
  208. ul>li{
  209. list-style:none;
  210. }
  211. .autocomplete {
  212. width: 100%;
  213. position: relative;
  214. }
  215. .autocomplete ul {
  216. position: absolute;
  217. top: 100%;
  218. left: 0;
  219. z-index: @zindex-dropdown;
  220. float: left;
  221. min-width: 160px;
  222. padding: 5px 0;
  223. margin: 2px 0 0; // override default ul
  224. list-style: none;
  225. font-size: @font-size-base;
  226. background-color: @dropdown-bg;
  227. border: 1px solid @dropdown-fallback-border; // IE8 fallback
  228. border: 1px solid @dropdown-border;
  229. border-radius: @border-radius-base;
  230. .box-shadow(0 6px 12px rgba(0,0,0,.175));
  231. background-clip: padding-box;
  232. // Links within the dropdown menu
  233. > li {
  234. display: block;
  235. padding: 3px 20px;
  236. clear: both;
  237. font-weight: normal;
  238. line-height: @line-height-base;
  239. color: @dropdown-link-color;
  240. white-space: nowrap; // prevent links from randomly breaking onto new lines
  241. }
  242. > li.active {
  243. text-decoration: none;
  244. color: @dropdown-link-hover-color;
  245. background-color: @dropdown-link-hover-bg;
  246. }
  247. }
  248. .autocomplete .highlight {
  249. font-weight: 700;
  250. }
  251. }