dashboard.css 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. /*
  2. * Base structure
  3. */
  4. /* Move down content because we have a fixed navbar that is 50px tall */
  5. body {
  6. padding-top: 50px;
  7. }
  8. /*
  9. * Global add-ons
  10. */
  11. .sub-header {
  12. padding-bottom: 10px;
  13. border-bottom: 1px solid #eee;
  14. }
  15. /*
  16. * Top navigation
  17. * Hide default border to remove 1px line.
  18. */
  19. .navbar-fixed-top {
  20. border: 0;
  21. /* background-color: #f5f5f5;*/
  22. border-bottom: 0px solid #CCF;
  23. background-color: #555;
  24. color: #DDD;
  25. }
  26. .navbar-fixed-top-transparent {
  27. border: 0;
  28. background-color: #f5f5f5;
  29. background-color: #555;
  30. background-color: transparent;
  31. }
  32. .navbar-fixed-top-transparent .navbar-brand img {
  33. border: 0;
  34. }
  35. .navbar-fixed-top a, #sidebar #toggle-left-sidebar-width {
  36. color: #DDD;
  37. }
  38. /*
  39. * Sidebar
  40. */
  41. /* Hide for mobile, show later */
  42. .sidebar {
  43. display: none;
  44. }
  45. @media (min-width: 768px) {
  46. .sidebar {
  47. position: fixed;
  48. top: 51px;
  49. bottom: 0;
  50. left: 0;
  51. z-index: 1000;
  52. display: block;
  53. padding: 20px;
  54. overflow-x: hidden;
  55. overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  56. /* background-color: #333;
  57. color: #FFF;*/
  58. background-color: #555;
  59. color: #DDD;
  60. border-right: 1px solid #CCC;
  61. }
  62. }
  63. #sidebar-right {
  64. overflow-x: visible;
  65. overflow-y: auto;
  66. background-color: #F5F5F5;
  67. border-left: 1px solid #CCC;
  68. }
  69. /* Sidebar navigation */
  70. .nav-sidebar {
  71. margin-right: -21px; /* 20px padding + 1px border */
  72. margin-bottom: 20px;
  73. margin-left: -20px;
  74. }
  75. .nav-sidebar > li > a {
  76. padding-right: 20px;
  77. padding-left: 20px;
  78. }
  79. .nav-sidebar > .active > a,
  80. .nav-sidebar > .active > a:hover,
  81. .nav-sidebar > .active > a:focus {
  82. color: #fff;
  83. background-color: #428bca;
  84. }
  85. /*
  86. * Main content
  87. */
  88. .main {
  89. padding: 20px;
  90. }
  91. .main .page-header {
  92. margin-top: 0;
  93. }
  94. /*
  95. * Placeholder dashboard ideas
  96. */
  97. .placeholders {
  98. margin-bottom: 30px;
  99. text-align: center;
  100. }
  101. .placeholders h4 {
  102. margin-bottom: 0;
  103. }
  104. .placeholder {
  105. margin-bottom: 20px;
  106. }
  107. .placeholder img {
  108. display: inline-block;
  109. border-radius: 50%;
  110. }
  111. h1.page-header {
  112. font-size: 30px;
  113. }
  114. /*************************************
  115. ** POD/TRACIM RELATED STUFF
  116. *************************************/
  117. iframe { border: 5px solid #b3e7ff; }
  118. .tracim-title { font-weight: bold; color: #999; }
  119. .pod-selected-item {background-color: #EEE;}
  120. .pod-empty {color: #999;}
  121. .pod-inline-form {
  122. margin-left: 12px;
  123. border: 6px solid #428BCA;
  124. padding: 0.5em;
  125. }
  126. .pod-borderless tbody tr td, .borderless thead tr th {
  127. border: none;
  128. }
  129. /*************************************
  130. ** JSTree related stuff
  131. *************************************/
  132. .pod-tree-item-is-a-workspace > a { font-weight: bold; }
  133. .pod-tree-item-is-a-folder > a { }
  134. .tracim-less-visible { color: #999; }
  135. .tracim-status-open { font-weight: bold; color: #759ac5; }
  136. .tracim-status-closed-validated { font-weight: bold; color: #1fdb11;}
  137. .tracim-status-closed-unvalidated { font-weight: bold; color: #F00;}
  138. .tracim-status-closed-deprecated { font-weight: bold; color: #ea983d;}
  139. .tracim-status-selected { background-color: #EEE; }
  140. .tracim-panel-separator { border-width: 12px 0 0 0; }
  141. .t-status-open-color { color: #759ac5; }
  142. .t-status-closed-validated-color { color: #1fdb11;}
  143. .t-status-closed-unvalidated-color { color: #F00;}
  144. .t-status-closed-deprecated-color { color: #ea983d;}
  145. .t-status-selected-color { background-color: #EEE; }
  146. #tracim-footer-separator { margin-bottom: 30px; }
  147. .pod-footer {
  148. position: fixed;
  149. bottom: 0;
  150. width: 100%;
  151. background-color: #F5F5F5;
  152. border-top: 1px solid #CCC;
  153. z-index: 1001;
  154. }
  155. .pod-footer p { margin: auto; }
  156. table.user_content, table.user_content td {
  157. border: 1px solid #CCC;
  158. padding: 0.5em;
  159. border-collapse: collapse;
  160. }
  161. table.first_row_headers tr:first-child td {
  162. font-weight: bold;
  163. background-color: #EEE;
  164. align: center;
  165. }
  166. table.first_column_headers tr td:first-child {
  167. font-weight: bold;
  168. background-color: #EEE;
  169. align: center;
  170. }
  171. .search-result-item-breadcrumb {
  172. margin-top: -1em;
  173. }
  174. .search-result-item-breadcrumb a {
  175. color: #090;
  176. }
  177. #search-result-dynamic-resume {
  178. color: #090;
  179. margin-top: -1em;
  180. margin-bottom: 0;
  181. }
  182. #sidebar-right, a.btn { font-size: 1.2em; text-align: left;}
  183. #sidebar-right .btn-group-vertical { width: 100%; }
  184. th { text-align: center; }
  185. .t-green { color: green; }
  186. .t-orange { color: orange; }
  187. .t-red { color: red; }
  188. .tracim-less-visible { color: #999; } /* TODO REMOVE THIS CSS */
  189. .t-less-visible { color: #999; }
  190. .t-less-visible-border, .page-header.t-less-visible-border { border-color: #999; }
  191. .t-folder-color { color: #CCCC00; }
  192. .t-folder-color-border, .page-header.t-folder-color-border { border-color: #CCCC00; }
  193. .t-thread-color { color: #428BCA; }
  194. .t-thread-color-border, .page-header.t-thread-color-border { border-color: #428BCA; }
  195. .t-file-color { color: orange;}
  196. .t-file-color-border, .page-header.t-file-color-border { border-color: orange; }
  197. .t-page-color { color: #00CC00; }
  198. .t-page-color-border, .page-header.t-page-color-border { border-color: #00CC00; }
  199. .t-search-color { color: #AAA; }
  200. .t-search-color-border, .page-header.t-search-color-border { border-color: #AAA; }
  201. .t-user-color { color: #428BCA; }
  202. .t-enabled-color { color: #0C0; }
  203. .t-disabled-color { color: #CCC; }
  204. .t-bg-grey {background-color: #F5F5F5; }
  205. .t-spacer-left { margin-left: 1em; }
  206. .t-spacer-right { margin-right: 1em; }
  207. .t-spacer-above { margin-top: 2em; }
  208. .t-half-spacer-above { margin-top: 1em; }
  209. .t-half-spacer-below { margin-bottom: 1em; }
  210. .t-spacer-below { margin-bottom: 2em; }
  211. a.btn.disabled { color: #CCC; }
  212. a.btn.disabled i.fa { color: #DDD; }
  213. .t-active-color { color: #428BCA; }
  214. .t-inactive-color { color: #CCC; }
  215. .t-bold { font-weight: bold; }
  216. .t-red-on-hover:Hover {
  217. color: red;
  218. }
  219. div.t-page-header-row {
  220. background-color: #F5F5F5;
  221. border-bottom: 1px solid #CCC;
  222. }
  223. div.t-page-metadata-row, div.t-metadata-row {
  224. background-color: #F5F5F5;
  225. border-top: 1px solid #CCC;
  226. }
  227. .t-modal-form-submit-button { margin-top: 0.5em;}
  228. .modal-header h4 { font-size: 1.5em; }
  229. .modal-header { background-color: #F5F5F5; border-radius: 5px 5px 0 0; }
  230. .modal-footer { background-color: #F5F5F5; border-radius: 0 0 5px 5px; }
  231. /* left bar is almost black, so links must be almost white */
  232. #sidebar-left .btn.btn-link,
  233. #sidebar-left .list-unstyled a {
  234. color: #DDD;
  235. margin-bottom: 20px; /* avoid left menu to be overwritten by footer */
  236. }
  237. #sidebar-left-menu {
  238. margin-bottom: 20px; /* add a margin between menu bottom and footer top */
  239. }
  240. h1.page-header {
  241. border-bottom-style: solid;
  242. border-bottom-width: 4px;
  243. }
  244. /* FIXME - 2015-09-01 - D.A. - CAN WE REMOVE THIS ? h3 { background-color: #f5f5f5;}*/
  245. .sidebar .list-group-item { background-color: transparent; }
  246. /* show button disabled even when it has been selected - and has the focus) */
  247. .btn.t-inactive-color:focus { color: #CCC; background-color: #fff;}
  248. /* INFO - D.A - 2015-07-20 - Allow real fullscreen edition for page content */
  249. .mce-fullscreen .modal-dialog {
  250. margin: 0 0 0 0;
  251. width: 100%;
  252. height: 100%;
  253. min-height: 100%;
  254. padding: 0;
  255. }
  256. .t-odd-or-even:nth-child(odd) {
  257. background-color:#FFF;
  258. }
  259. .t-odd-or-even:nth-child(even) {
  260. background-color:#F5F5F5;
  261. }
  262. .t-hacky-thread-comment-border-top {
  263. border-top: 1px solid #CCC;
  264. }
  265. .t-timeline-item-icon {
  266. margin-left: -1.5em;
  267. float:left;
  268. }
  269. .t-timeline-item h5 {
  270. margin-bottom: 1em;
  271. font-size: 1.2em;
  272. }
  273. .t-timeline-item { padding: 1em; padding-left: 5em;}
  274. .t-timeline-item-content { margin-top: 0.5em; padding: 0 0.5em 0.5em 0; }
  275. .t-timeline-item-moment { font-size: 1em; color: #999; }
  276. .t-timeline-comment-delete-button { font-size: 0.8em; }
  277. #sidebar-right h3 { color: #555; margin: 0.5em 0 1em 0; }
  278. #sidebar-right h4 { color: #555; margin: 1.5em 0 1em 0; }
  279. #t-full-app-alert-message-id {
  280. z-index: 10001;
  281. padding: 0;
  282. position: absolute;
  283. top: 0;
  284. }
  285. #t-full-app-alert-message-id > div.alert {
  286. box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.3);
  287. }
  288. tr.t-is-new-content td, div.row.t-is-new-content {
  289. background-color: #DFF0D8;
  290. }
  291. .panel-heading > h3 { font-size: 1.5em;}
  292. hr.t-toolbar-btn-group-separator { border-color: #CCC; border-style: dotted; }
  293. span.info.readonly {
  294. font-size: 0.8em;
  295. opacity: 0.7;
  296. }
  297. @media(min-width: 768px) and (max-width: 992px) {
  298. .download-file-button i.fa {
  299. font-size: 12px;
  300. }
  301. }
  302. .no-padding {
  303. padding: 0px;
  304. }
  305. .threads-history-reverse {
  306. float: right;
  307. padding: 10px 15px 0 0;
  308. font-size: 16px;
  309. }
  310. .threads-history-reverse > i {
  311. font-size: 12px;
  312. }
  313. .user-edit-form__calendar__url {
  314. padding: 8px 15px;
  315. border: 1px solid #ccc;
  316. border-radius: 4px;
  317. background-color: #eee;
  318. color: #555;
  319. }
  320. .folder__filter {
  321. font-size: 14px;
  322. }
  323. .folder__filter a.btn {
  324. font-size: 14px;
  325. }
  326. .folder__content__list {
  327. cursor: pointer;
  328. }
  329. .folder__content__list__item__title {
  330. color: #428BCA;
  331. }
  332. .folder__content__list__item.archived,
  333. .folder__content__list__item.archived .t-less-visible,
  334. .folder__content__list__item.archived .folder__content__list__item__title,
  335. .folder__content__list__item.archived .folder__content__list__item__title > i {
  336. color: #999;
  337. }
  338. .folder__content__list__item.deleted,
  339. .folder__content__list__item.deleted .t-less-visible,
  340. .folder__content__list__item.deleted .folder__content__list__item__title,
  341. .folder__content__list__item.deleted .folder__content__list__item__title > i {
  342. color: #ccc;
  343. }
  344. .folder__content__list__item__status {
  345. float: right;
  346. font-size: 13px;
  347. }
  348. .folder__content__list__item__status.deleted i {
  349. font-size: 14px;
  350. }