project-list.less 5.0 KB

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