portal.css 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171
  1. /*!
  2. * Combodo portal template v1.0.0
  3. */
  4. /*******************/
  5. /* Global settings */
  6. /*******************/
  7. @media (max-width: 768px) {
  8. body {
  9. padding-top: 60px;
  10. }
  11. body.home {
  12. padding-top: 70px;
  13. }
  14. }
  15. footer {
  16. margin: 5em 1em;
  17. }
  18. /* Environment banner */
  19. #envbanner {
  20. position: relative;
  21. z-index: 10;
  22. padding: 5px 15px;
  23. text-align: center;
  24. }
  25. #envbanner > button {
  26. margin-left: 5px;
  27. color: #000;
  28. }
  29. /* Navigation menu */
  30. .navbar-nav .dropdown-menu a .glyphicon, .user_infos .dropdown-menu a .glyphicon {
  31. margin-right: 15px;
  32. }
  33. .nav > li > a > span.brick_icon, .dropdown-menu > li > a > span.brick_icon {
  34. margin-right: 20px;
  35. vertical-align: sub;
  36. }
  37. /* Topbar */
  38. #topbar .navbar-header {
  39. position: relative;
  40. z-index: 2;
  41. }
  42. #topbar .navbar-collapse {
  43. position: relative;
  44. z-index: 1;
  45. overflow-y: auto;
  46. }
  47. #topbar .navbar-collapse > .navbar-nav {
  48. padding-top: 30px;
  49. }
  50. #topbar .navbar-brand > img {
  51. max-height: 100%;
  52. }
  53. #topbar .user_infos {
  54. text-decoration: none;
  55. }
  56. #topbar .user_photo {
  57. position: absolute;
  58. display: block;
  59. top: 5px;
  60. left: 10px;
  61. width: 65px;
  62. height: 65px;
  63. background-size: 100%;
  64. background-position: center center;
  65. background-color: #585653;
  66. border: 2px solid #fff;
  67. border-radius: 100%;
  68. box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
  69. }
  70. #topbar .user_fullname {
  71. display: inline-block;
  72. position: absolute;
  73. padding-left: 85px;
  74. max-width: 55%;
  75. /*color: $white;*/
  76. white-space: nowrap;
  77. text-overflow: ellipsis;
  78. overflow-x: hidden;
  79. }
  80. /* Sidebar */
  81. @media (min-width: 768px) {
  82. #sidebar {
  83. position: fixed;
  84. top: 0px;
  85. left: 0px;
  86. padding: 0px;
  87. /* Overriding BS */
  88. height: 100%;
  89. }
  90. #sidebar .user_card {
  91. padding: 30px 0px;
  92. text-align: center;
  93. }
  94. #sidebar .user_card .user_photo {
  95. margin: 0px auto 10px auto;
  96. width: 80px;
  97. height: 80px;
  98. background-size: 100%;
  99. background-position: center center;
  100. background-color: #585653;
  101. background-repeat: no-repeat;
  102. border: 2px solid #fff;
  103. border-radius: 100%;
  104. }
  105. #sidebar .user_card .user_infos {
  106. font-size: 1em;
  107. color: #fff;
  108. }
  109. #sidebar .user_card .user_infos .dropdown-toggle {
  110. color: #fff;
  111. }
  112. #sidebar .user_card .user_options.dropdown-menu {
  113. width: 92%;
  114. left: 4%;
  115. }
  116. #sidebar .user_card .user_fullname {
  117. font-weight: 600;
  118. }
  119. #sidebar .menu {
  120. max-height: 59%;
  121. overflow-y: auto;
  122. overflow-x: hidden;
  123. }
  124. #sidebar .menu .navbar-nav > li {
  125. width: 100%;
  126. }
  127. #sidebar .menu .navbar-nav > li > a > .brick_icon {
  128. width: 1.2em;
  129. vertical-align: sub;
  130. text-align: center;
  131. margin-right: 10px;
  132. }
  133. #sidebar .logo {
  134. position: absolute;
  135. bottom: 15px;
  136. width: 100%;
  137. text-align: center;
  138. }
  139. #sidebar .logo img {
  140. width: 40%;
  141. max-width: 100%;
  142. }
  143. }
  144. /* Warning : Not a offical BS breakpoint */
  145. @media (min-width: 1600px) {
  146. #sidebar .user_card .user_photo {
  147. width: 120px;
  148. height: 120px;
  149. }
  150. #sidebar .menu .nav > li > a > .brick_icon {
  151. margin-right: 20px;
  152. }
  153. }
  154. /* Main content */
  155. @media (min-width: 768px) {
  156. #main-wrapper {
  157. margin-top: 20px;
  158. }
  159. }
  160. /* Overlays*/
  161. .global_overlay {
  162. z-index: 9999;
  163. display: none;
  164. position: fixed;
  165. top: 0px;
  166. left: 0px;
  167. width: 100%;
  168. height: 100%;
  169. background-color: black;
  170. opacity: 0.5;
  171. }
  172. #page_overlay .overlay_content {
  173. margin-top: 20em;
  174. width: 100%;
  175. color: white;
  176. }
  177. .overlay_content {
  178. text-align: center;
  179. }
  180. .content_loader .icon {
  181. margin-bottom: 0.3em;
  182. /*width: 52px;*/
  183. height: 38px;
  184. /* 50px; */
  185. /* Hack to make loader circle perfectly */
  186. font-size: 3em;
  187. /* 4em; */
  188. animation: spin 1.2s linear infinite;
  189. -webkit-animation: spin 1.2s linear infinite;
  190. -moz-animation: spin 1.2s linear infinite;
  191. -ms-animation: spin 1.2s linear infinite;
  192. }
  193. .content_loader .message {
  194. font-size: 1.5em;
  195. /* 2em; */
  196. }
  197. .datatables_overlay {
  198. padding: 5% 0px !important;
  199. background-color: white;
  200. }
  201. /******************/
  202. /* Global classes */
  203. /******************/
  204. .vertical-center {
  205. /* Make it a flex container */
  206. display: -webkit-box;
  207. display: -moz-box;
  208. display: -ms-flexbox;
  209. display: -webkit-flex;
  210. display: flex;
  211. /* Align the bootstrap's container vertically */
  212. -webkit-box-align: center;
  213. -webkit-align-items: center;
  214. -moz-box-align: center;
  215. -ms-flex-align: center;
  216. align-items: center;
  217. -webkit-box-pack: center;
  218. /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
  219. hence the bootstrap's container won't be aligned to the center anymore.
  220. Therefore, we should use the following declarations to get it centered again */
  221. -moz-box-pack: center;
  222. -ms-flex-pack: center;
  223. -webkit-justify-content: center;
  224. justify-content: center;
  225. }
  226. /*********************/
  227. /* Global animations */
  228. /*********************/
  229. /* Spin */
  230. @keyframes spin {
  231. 100% {
  232. transform: rotate(360deg);
  233. }
  234. }
  235. @-webkit-keyframes spin {
  236. 100% {
  237. -webkit-transform: rotate(360deg);
  238. }
  239. }
  240. @-moz-keyframes spin {
  241. 100% {
  242. -moz-transform: rotate(360deg);
  243. }
  244. }
  245. @-ms-keyframes spin {
  246. 100% {
  247. -ms-transform: rotate(360deg);
  248. }
  249. }
  250. /*********************/
  251. /* BS theme override */
  252. /*********************/
  253. .list-group.tree {
  254. margin-top: 11px;
  255. margin-bottom: -11px;
  256. }
  257. .list-group.tree .list-group-item {
  258. padding-right: 0px;
  259. /* To align all actions on the right without indent */
  260. }
  261. /* Custom "glyphicons" */
  262. .glyphicon-ext-hierarchy:before {
  263. content: url('../img/icons/hierarchy-white-13px.png');
  264. }
  265. /******************/
  266. /* Modal settings */
  267. /******************/
  268. .modal-content .content_loader {
  269. margin: 7em 0em;
  270. text-align: center;
  271. }
  272. /**************************/
  273. /* MagnificPopup settings */
  274. /**************************/
  275. .mfp-bg {
  276. z-index: 1200;
  277. }
  278. .mfp-wrap {
  279. z-index: 1210;
  280. }
  281. .mfp-img {
  282. cursor: pointer;
  283. cursor: zoom-out;
  284. }
  285. /********************/
  286. /* Typeahed setting */
  287. /********************/
  288. .twitter-typeahead .tt-menu {
  289. max-height: 200px;
  290. overflow-y: auto;
  291. }
  292. @media (min-width: 768px) {
  293. .twitter-typeahead .tt-menu {
  294. max-height: 300px;
  295. }
  296. }
  297. .twitter-typeahead .tt-dataset > .content_loader {
  298. margin: 10px 0px;
  299. text-align: center;
  300. font-size: 0.6em;
  301. }
  302. .twitter-typeahead .tt-dataset > .content_loader .icon {
  303. height: 25px;
  304. }
  305. .twitter-typeahead .tt-dataset .no_result {
  306. text-align: center;
  307. font-style: italic;
  308. }
  309. /*****************/
  310. /* Home settings */
  311. /*****************/
  312. .home #main-wrapper {
  313. padding-top: 15px;
  314. }
  315. .home .tile {
  316. display: block;
  317. margin-bottom: 8px;
  318. padding: 0em 1em;
  319. min-height: 4em;
  320. background-color: #fff;
  321. background-image: none;
  322. border: none;
  323. border-radius: 0px;
  324. text-align: center;
  325. text-decoration: none;
  326. white-space: normal;
  327. line-height: 4em;
  328. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  329. }
  330. .home .tile .tile_decoration {
  331. position: absolute;
  332. top: 0.3em;
  333. left: 2.5em;
  334. }
  335. .home .tile .tile_title {
  336. font-weight: bold;
  337. color: #333;
  338. }
  339. .home .tile .tile_description {
  340. display: none;
  341. color: #555;
  342. }
  343. @media (min-width: 768px) {
  344. .home .tile {
  345. display: block;
  346. margin-bottom: 25px;
  347. padding: 40px 40px 30px 40px;
  348. min-height: 10em;
  349. text-align: left;
  350. transition: all 0.2s linear;
  351. }
  352. .home .tile:hover {
  353. box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.10);
  354. }
  355. .home .tile .tile_decoration {
  356. display: block;
  357. position: relative;
  358. float: left;
  359. top: 1.5em;
  360. left: initial;
  361. margin: 0px 30px 15px 0px;
  362. }
  363. .home .tile .tile_body {
  364. display: block;
  365. padding-left: 4.3em;
  366. text-align: left;
  367. line-height: 1.5em;
  368. }
  369. .home .tile .tile_title {
  370. margin-bottom: 1em;
  371. font-size: 1em;
  372. }
  373. .home .tile .tile_description {
  374. display: block;
  375. text-align: left;
  376. }
  377. }
  378. @media (min-width: 992px) {
  379. .home .tile {
  380. min-height: 14em;
  381. padding: 30px 40px 30px 40px;
  382. }
  383. .home .tile .tile_decoration > span.icon {
  384. font-size: 4em;
  385. }
  386. .home .tile .tile_body {
  387. padding-left: 6.3em;
  388. }
  389. .home .tile .tile_title {
  390. font-size: 1.4em;
  391. }
  392. .home .tile .tile_description {
  393. font-size: 1.2em;
  394. }
  395. }
  396. @media (min-width: 1200px) {
  397. .home .tile {
  398. margin-bottom: 40px;
  399. min-height: 15em;
  400. padding: 40px 50px 30px 50px;
  401. }
  402. .home .tile .tile_decoration {
  403. margin: 0px 40px 15px 0px;
  404. top: 1.5em;
  405. }
  406. .home .tile .tile_decoration > span.icon {
  407. font-size: 6em;
  408. }
  409. .home .tile .tile_body {
  410. padding-left: 9.1em;
  411. }
  412. .home .tile .tile_title {
  413. font-size: 1.5em;
  414. }
  415. .home .tile .tile_description {
  416. font-size: 1.2em;
  417. }
  418. }
  419. /********************/
  420. /* Modules settings */
  421. /********************/
  422. #main-header {
  423. text-align: center;
  424. }
  425. #main-header-title {
  426. margin-bottom: 15px;
  427. }
  428. #main-header-actions {
  429. margin-bottom: 15px;
  430. }
  431. /* This is no longer necessary but we keep it just in case */
  432. /*#main-header-actions .btn-group .btn{
  433. padding: 0em 1.5em;
  434. line-height: 2.4em;
  435. font-size: 14px;
  436. background-image: none;
  437. }*/
  438. @media (min-width: 768px) {
  439. #main-header:after {
  440. clear: both;
  441. }
  442. #main-header-title {
  443. float: left;
  444. margin-bottom: 0px;
  445. min-height: 6em;
  446. text-align: left;
  447. }
  448. #main-header-actions {
  449. float: right;
  450. margin-bottom: 0px;
  451. }
  452. }
  453. .dataTables_wrapper {
  454. padding: 10px 10px;
  455. }
  456. .dataTable.table td img {
  457. max-width: 100%;
  458. height: initial !important;
  459. }
  460. #brick_content_toolbar {
  461. /* margin: 10px 0px 6px 0px; */
  462. padding: 10px;
  463. }
  464. #brick_content_toolbar > div label {
  465. font-weight: normal;
  466. white-space: nowrap;
  467. text-align: left;
  468. }
  469. #brick_content_toolbar > div label input {
  470. margin-left: 0.5em;
  471. display: inline-block;
  472. width: 130px;
  473. }
  474. /***********************/
  475. /* Brick communication */
  476. /***********************/
  477. /* Home tile */
  478. .home .tile.tile_communication {
  479. padding: 20px;
  480. background-color: #ededed;
  481. border: none;
  482. font-weight: initial;
  483. }
  484. .home .tile_communication .carousel {
  485. margin-bottom: 0px;
  486. width: 100%;
  487. height: 200px;
  488. }
  489. /**********************/
  490. /* Brick user profile */
  491. /**********************/
  492. #user-profile-wrapper .user_profile_picture .content_loader {
  493. position: absolute;
  494. z-index: 1;
  495. top: 0;
  496. left: 0;
  497. padding-top: 4em;
  498. width: 100%;
  499. height: 100%;
  500. text-align: center;
  501. color: white;
  502. background-color: black;
  503. opacity: 0.5;
  504. }
  505. #user-profile-wrapper .user_profile_picture .preview {
  506. display: inline-block;
  507. position: relative;
  508. max-width: 175px;
  509. max-height: 175px;
  510. overflow: hidden;
  511. }
  512. #user-profile-wrapper .user_profile_picture .preview img {
  513. max-width: 100%;
  514. max-height: 100%;
  515. }
  516. #user-profile-wrapper .user_profile_picture .actions {
  517. display: inline-block;
  518. vertical-align: top;
  519. /*middle;*/
  520. margin-left: 5px;
  521. }
  522. #user-profile-wrapper .user_profile_picture .actions .btn {
  523. display: block;
  524. position: relative;
  525. margin-bottom: 10px;
  526. }
  527. #user-profile-wrapper .user_profile_picture .actions .btn:last-child {
  528. margin-bottom: 0px;
  529. }
  530. #user-profile-wrapper .user_profile_picture .actions .btn.btn_edit {
  531. overflow: hidden;
  532. }
  533. #user-profile-wrapper .user_profile_picture .actions .btn.btn_edit input {
  534. position: absolute;
  535. top: 0px;
  536. left: 0px;
  537. width: 100%;
  538. height: 100%;
  539. opacity: 0;
  540. cursor: pointer;
  541. }
  542. /****************/
  543. /* Brick browse */
  544. /****************/
  545. /* - Tree mode */
  546. /****************/
  547. #brick_content_tree {
  548. position: relative;
  549. margin-top: 0px;
  550. }
  551. #brick_content_tree .list-group-item {
  552. padding-top: 0px;
  553. }
  554. #brick_content_tree .list-group-item > .tree-item-wrapper {
  555. display: block;
  556. padding-top: 10px;
  557. color: inherit;
  558. text-decoration: inherit;
  559. cursor: pointer;
  560. }
  561. .list-group-item > .list-group-item-actions {
  562. /*display: none; Displaying actions only when hovering was not unanimous in the team */
  563. position: absolute;
  564. top: 10px;
  565. right: 10px;
  566. }
  567. .list-group-item:hover > .list-group-item-actions, .grid-group-item:hover > .grid-group-item-actions {
  568. display: block;
  569. }
  570. .list-group-item .list-group-item-actions a:not(:first-child), .grid-group-item .grid-group-item-actions a:not(:first-child) {
  571. margin-left: 10px;
  572. }
  573. .list-group-item .keep-spinning {
  574. animation: spin 1s linear infinite;
  575. -webkit-animation: spin 1s linear infinite;
  576. -moz-animation: spin 1s linear infinite;
  577. -ms-animation: spin 1s linear infinite;
  578. }
  579. .list-group.tree .list-group-item .list-group-item-description {
  580. display: block;
  581. margin-top: 3px;
  582. font-size: 0.8em;
  583. }
  584. /* Secondary actions */
  585. table .group-actions {
  586. position: relative;
  587. }
  588. .list-group-item-actions a.glyphicon-menu-hamburger, .grid-group-item-actions a.glyphicon-menu-hamburger, table .group-actions a.glyphicon-menu-hamburger {
  589. cursor: pointer;
  590. text-decoration: none;
  591. }
  592. .list-group-item-actions .item-action-wrapper, .grid-group-item-actions .item-action-wrapper, table .group-actions .item-action-wrapper {
  593. display: none;
  594. position: absolute;
  595. z-index: 5;
  596. bottom: -7px;
  597. right: 15px;
  598. -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  599. -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  600. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  601. }
  602. .list-group-item-actions .item-action-wrapper .glyphicon, .grid-group-item-actions .item-action-wrapper .glyphicon, table .group-actions .item-action-wrapper .glyphicon {
  603. margin-right: 0.6em;
  604. }
  605. .list-group-item-actions .item-action-wrapper.collapse.in, .grid-group-item-actions .item-action-wrapper.collapse.in, table .group-actions .item-action-wrapper.collapse.in {
  606. display: block;
  607. }
  608. .list-group-item-actions .item-action-wrapper .panel-body > p, .grid-group-item-actions .item-action-wrapper .panel-body > p, table .group-actions .item-action-wrapper .panel-body > p {
  609. text-align: left;
  610. white-space: nowrap;
  611. }
  612. .list-group-item-actions .item-action-wrapper .panel-body > p:last-child, .grid-group-item-actions .item-action-wrapper .panel-body > p:last-child, table .group-actions .item-action-wrapper .panel-body > p:last-child {
  613. margin-bottom: 0px;
  614. }
  615. #brick_content_empty {
  616. display: none;
  617. padding: 40px;
  618. font-size: 1.3em;
  619. font-style: italic;
  620. }
  621. /* Loader */
  622. #brick_tree_overlay, #brick_grid_overlay {
  623. display: none;
  624. padding: 8% 0px;
  625. border-radius: 0px 0px 4px 4px;
  626. font-size: 1em;
  627. }
  628. /****************/
  629. /* - Grid mode */
  630. /* Note: Some of the CSS is factorised in the "Tree mode" part */
  631. /****************/
  632. #brick_content_grid {
  633. position: relative;
  634. padding: 10px 10px 1px 10px;
  635. }
  636. /* Breadcrumb */
  637. #grid-breadcrumb {
  638. margin-bottom: 5px;
  639. padding-left: 0px;
  640. font-size: 12px;
  641. white-space: nowrap;
  642. overflow-x: hidden;
  643. text-overflow: ellipsis;
  644. }
  645. .grid-group {
  646. display: none;
  647. }
  648. /* Only the first level is showed by default */
  649. .grid-group:first-of-type {
  650. display: block;
  651. }
  652. .grid-group-back, .grid-group-item {
  653. position: relative;
  654. height: 55px;
  655. margin-bottom: 10px;
  656. text-align: center;
  657. color: #fff;
  658. }
  659. .grid-group-back {
  660. font-size: 25px;
  661. }
  662. .grid-item {
  663. display: table;
  664. width: 100%;
  665. height: 100%;
  666. overflow: hidden;
  667. background-color: #585653;
  668. transition: all linear 0.3s;
  669. }
  670. .grid-item, .grid-item:hover, .grid-item:active, .grid-item:focus, .grid-item:visited {
  671. color: #fff;
  672. text-decoration: none;
  673. }
  674. .grid-item:active {
  675. background-color: #9e510f;
  676. }
  677. .grid-item-image, .grid-item-text {
  678. display: table-cell;
  679. text-align: center;
  680. vertical-align: middle;
  681. }
  682. .grid-item-image > img {
  683. max-width: 85%;
  684. }
  685. .grid-group-item > .grid-group-item-actions {
  686. position: absolute;
  687. top: 5px;
  688. right: 5px;
  689. }
  690. .grid-group-item-actions > a {
  691. color: #fff;
  692. text-decoration: none;
  693. }
  694. .grid-group-item-actions > a:hover, .grid-group-item-actions > a:focus {
  695. color: #eee;
  696. }
  697. @media (max-width: 768px) {
  698. /* All layout */
  699. /* Layout 2 */
  700. /* Layout 5/7 */
  701. .grid-group-item > .grid-group-item-actions {
  702. top: 12px;
  703. right: 6px;
  704. }
  705. .grid-group-item > .grid-group-item-actions > .glyphicon {
  706. margin-top: 5px;
  707. }
  708. .grid-group-item-actions > a {
  709. font-size: 20px;
  710. }
  711. .grid-item-image {
  712. width: 55px;
  713. padding: 10px;
  714. }
  715. .grid-item-image > img {
  716. max-height: 30px;
  717. }
  718. .grid-item-name {
  719. font-size: 14px;
  720. }
  721. .grid-item-description {
  722. display: none;
  723. }
  724. .grid-item-layout-2 .grid-item-description {
  725. display: block;
  726. }
  727. .grid-item-layout-5 .grid-item-name, .grid-item-layout-7 .grid-item-name {
  728. padding-right: 40px;
  729. }
  730. }
  731. @media (min-width: 768px) {
  732. /* All layout */
  733. /* Layout 1 */
  734. /* Layout 7 */
  735. .grid-group-item {
  736. display: inline-block;
  737. width: 32%;
  738. height: 120px;
  739. margin-right: 1.95%;
  740. /* We don't put 2% to keep a margin in case of a bad browser rendering */
  741. }
  742. .grid-item {
  743. padding: 10px;
  744. }
  745. .grid-item:hover, .grid-item:focus {
  746. background-color: #ea7d1e;
  747. box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.20);
  748. }
  749. .grid-item-name {
  750. font-weight: 600;
  751. font-size: 12px;
  752. }
  753. .grid-item-description {
  754. overflow: hidden;
  755. }
  756. .grid-item-layout-1 .grid-item-name {
  757. font-weight: inherit;
  758. font-size: 14px;
  759. }
  760. .grid-item-layout-7 .grid-item-image {
  761. display: none;
  762. }
  763. .grid-item-layout-3 .grid-item-description, .grid-item-layout-7 .grid-item-description {
  764. margin-top: 10px;
  765. max-height: 40px;
  766. font-size: 10px;
  767. }
  768. }
  769. @media (min-width: 992px) {
  770. /* Layout 7 */
  771. .grid-item {
  772. padding: 10px 15px;
  773. }
  774. .grid-group-back {
  775. font-size: 40px;
  776. }
  777. .grid-item-layout-7 .grid-item-image {
  778. display: table-cell;
  779. width: 105px;
  780. padding-left: 5px;
  781. padding-right: 18px;
  782. }
  783. .grid-item-layout-7 .grid-item-image > img {
  784. max-width: 100%;
  785. }
  786. .grid-item-layout-7 .grid-item-name {
  787. font-size: 12px;
  788. }
  789. }
  790. @media (min-width: 1200px) {
  791. .grid-group-item {
  792. width: 24%;
  793. height: 140px;
  794. margin-right: 1.3%;
  795. }
  796. }
  797. /* Helper classes to remove margin depending on the screen size */
  798. @media (min-width: 768px) and (max-width: 992px) {
  799. .grid-group-item:nth-child(3n) {
  800. margin-right: 0px;
  801. }
  802. }
  803. @media (min-width: 992px) and (max-width: 1200px) {
  804. .grid-group-item:nth-child(3n) {
  805. margin-right: 0px;
  806. }
  807. }
  808. @media (min-width: 1200px) {
  809. .grid-group-item:nth-child(4n) {
  810. margin-right: 0px;
  811. }
  812. }
  813. /****************/
  814. /* - List mode */
  815. /****************/
  816. /****************/
  817. /* Filter brick */
  818. /****************/
  819. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  820. width: 100%;
  821. }
  822. .tile.tile-filter-brick .tile_filterbox input[type="text"] {
  823. width: 100%;
  824. }
  825. @media (max-width: 768px) {
  826. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  827. margin-bottom: 5px;
  828. }
  829. }
  830. @media (min-width: 768px) {
  831. .tile.tile-filter-brick .tile_filterbox form {
  832. display: table;
  833. }
  834. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  835. display: table-cell;
  836. }
  837. .tile.tile-filter-brick .tile_filterbox button[type="submit"] {
  838. margin-left: 5px;
  839. }
  840. }
  841. @media (min-width: 992px) {
  842. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  843. display: table-cell;
  844. }
  845. }
  846. /*********/
  847. /* Forms */
  848. /*********/
  849. .form_field .form_mandatory .control-label:after {
  850. content: "\002a";
  851. position: relative;
  852. left: 3px;
  853. color: #ea7d1e;
  854. font-size: 0.9em;
  855. }
  856. /* InlineImage */
  857. .inline-image {
  858. cursor: pointer;
  859. cursor: zoom-in;
  860. }
  861. /* CaseLog field */
  862. .caselog_field_entry {
  863. border: 1px solid #ddd;
  864. border-top: none;
  865. }
  866. .caselog_field_entry_header {
  867. padding: 6px;
  868. font-size: 1em;
  869. border-bottom: 1px solid #fff;
  870. background-color: #f2f2f2;
  871. }
  872. .caselog_field_entry_button {
  873. display: block;
  874. width: 15px;
  875. height: 15px;
  876. text-align: center;
  877. line-height: 15px;
  878. font-size: 16px;
  879. border: 1px solid #a6a6a6;
  880. border-bottom-color: #979797;
  881. cursor: pointer;
  882. }
  883. .caselog_field_entry_button:hover {
  884. background-color: #ccc;
  885. }
  886. .caselog_field_entry_button:before {
  887. content: "▴";
  888. }
  889. .caselog_field_entry_button.collapsed:before {
  890. content: "▾";
  891. }
  892. .caselog_field_entry_content {
  893. margin: 10px;
  894. overflow-x: auto;
  895. }
  896. /* LinkedSet*/
  897. .form_linkedset_toggler, .form_linkedset_toggler:hover, .form_linkedset_toggler:focus {
  898. text-decoration: none;
  899. color: inherit;
  900. }
  901. .form_linkedset_toggler > .text {
  902. margin-left: 0.4em;
  903. }
  904. .form_linkedset_toggler > .text:before {
  905. content: "(";
  906. }
  907. .form_linkedset_toggler > .text:after {
  908. content: ")";
  909. }
  910. .form_linkedset_toggler > .glyphicon {
  911. margin-left: 0.5em;
  912. font-size: 0.85em;
  913. color: #ea7d1e;
  914. transition: transform 0.2s linear;
  915. }
  916. .form_linkedset_toggler > .glyphicon.collapsed {
  917. transform: rotateZ(-90deg);
  918. }
  919. /* - DataTables : Loader */
  920. .form_linkedset_wrapper .datatables_overlay {
  921. padding: 8px !important;
  922. }
  923. .form_linkedset_wrapper .overlay_content {
  924. font-size: 0.6em;
  925. }
  926. .form_linkedset_wrapper .content_loader {
  927. margin: 0px;
  928. }
  929. .form_linkedset_wrapper .content_loader .icon {
  930. height: 23px;
  931. }
  932. /* - DataTables : Fit the table in the form */
  933. .form_linkedset_wrapper .dataTables_wrapper {
  934. margin-bottom: 5px;
  935. padding: 0px;
  936. }
  937. /* FileUpload */
  938. .fileupload_field_content {
  939. padding: 8px 23px;
  940. border: 1px solid #ddd;
  941. background-color: #f9f9f9;
  942. }
  943. .fileupload_field_content > div {
  944. margin-bottom: 15px;
  945. }
  946. .attachments_container .attachment {
  947. height: 95px;
  948. overflow-x: hidden;
  949. text-align: center;
  950. }
  951. .attachments_container .attachment:hover {
  952. background-color: #e0e0e0;
  953. }
  954. .attachments_container .attachment .attachment_name {
  955. overflow-x: hidden;
  956. text-overflow: ellipsis;
  957. white-space: nowrap;
  958. }
  959. .attachments_container .attachment .btn {
  960. margin-top: 3px;
  961. }
  962. .upload_container input {
  963. display: inline;
  964. }
  965. .upload_container .loader {
  966. visibility: hidden;
  967. margin-left: 7px;
  968. font-size: 1.2em;
  969. animation: spin 1s linear infinite;
  970. -webkit-animation: spin 1s linear infinite;
  971. -moz-animation: spin 1s linear infinite;
  972. -ms-animation: spin 1s linear infinite;
  973. }
  974. #drag_overlay {
  975. display: block;
  976. top: inherit;
  977. bottom: 0px;
  978. height: 0px;
  979. }
  980. #drag_overlay .overlay_content {
  981. margin-top: 5em;
  982. width: 100%;
  983. color: white;
  984. }
  985. #drag_overlay .overlay_content .icon {
  986. font-size: 3em;
  987. }
  988. #drag_overlay .overlay_content .message {
  989. font-size: 1.5em;
  990. }
  991. /* Attachments drag & drop zone, only for none mobile devices */
  992. @media (min-width: 768px) {
  993. #drag_overlay.drag_in {
  994. animation: show-drop-zone 0.3s ease-out forwards;
  995. -webkit-animation: show-drop-zone 0.3s ease-out forwards;
  996. -moz-animation: show-drop-zone 0.3s ease-out forwards;
  997. -ms-animation: show-drop-zone 0.3s ease-out forwards;
  998. }
  999. #drag_overlay.drag_out {
  1000. animation: hide-drop-zone 0.3s ease-out forwards;
  1001. -webkit-animation: hide-drop-zone 0.3s ease-out forwards;
  1002. -moz-animation: hide-drop-zone 0.3s ease-out forwards;
  1003. -ms-animation: hide-drop-zone 0.3s ease-out forwards;
  1004. }
  1005. @keyframes show-drop-zone {
  1006. 100% {
  1007. height: 20%;
  1008. }
  1009. }
  1010. @-webkit-keyframes show-drop-zone {
  1011. 100% {
  1012. height: 20%;
  1013. }
  1014. }
  1015. @-moz-keyframes show-drop-zone {
  1016. 100% {
  1017. height: 20%;
  1018. }
  1019. }
  1020. @-ms-keyframes show-drop-zone {
  1021. 100% {
  1022. height: 20%;
  1023. }
  1024. }
  1025. @keyframes hide-drop-zone {
  1026. 0% {
  1027. height: 20%;
  1028. }
  1029. 100% {
  1030. height: 0%;
  1031. }
  1032. }
  1033. @-webkit-keyframes hide-drop-zone {
  1034. 0% {
  1035. height: 20%;
  1036. }
  1037. 100% {
  1038. height: 0%;
  1039. }
  1040. }
  1041. @-moz-keyframes hide-drop-zone {
  1042. 0% {
  1043. height: 20%;
  1044. }
  1045. 100% {
  1046. height: 0%;
  1047. }
  1048. }
  1049. @-ms-keyframes hide-drop-zone {
  1050. 0% {
  1051. height: 20%;
  1052. }
  1053. 100% {
  1054. height: 0%;
  1055. }
  1056. }
  1057. }
  1058. /* BlobField */
  1059. .form_fields .file_open_link {
  1060. margin-left: 10px;
  1061. }
  1062. .form_field .form-control-static img {
  1063. max-width: 100% !important;
  1064. height: initial !important;
  1065. }
  1066. .form_buttons {
  1067. padding-top: 20px;
  1068. text-align: center;
  1069. }
  1070. .form_buttons .form_btn_misc {
  1071. margin-bottom: 20px;
  1072. }
  1073. .form_buttons .form_btn_transitions {
  1074. margin-bottom: 20px;
  1075. }
  1076. .form_buttons .btn .glyphicon {
  1077. margin-right: 0.5em;
  1078. }
  1079. .form_btn_regular.sticky {
  1080. display: none;
  1081. }
  1082. @media (min-width: 768px) {
  1083. /* Making regular button sticky */
  1084. .form_buttons .form_btn_misc {
  1085. float: left !important;
  1086. }
  1087. .form_buttons .form_btn_transitions {
  1088. float: right !important;
  1089. margin-left: 3px;
  1090. }
  1091. .form_buttons .form_btn_regular {
  1092. text-align: right;
  1093. }
  1094. .form_buttons .form_btn_regular btn {
  1095. width: inherit;
  1096. }
  1097. .form_btn_regular.sticky {
  1098. display: block;
  1099. position: fixed;
  1100. bottom: 5em;
  1101. right: -2px;
  1102. /* TODO : SASS this to col-xs-12 padding */
  1103. padding: 15px;
  1104. background-color: #fff;
  1105. border: 1px solid #ddd;
  1106. border-radius: 0px;
  1107. transition: right 0.3s;
  1108. }
  1109. .form_btn_regular.sticky.closed {
  1110. right: -75px;
  1111. }
  1112. .form_btn_regular.sticky button {
  1113. display: block;
  1114. }
  1115. .form_btn_regular.sticky button:first-child {
  1116. margin-bottom: 4px;
  1117. }
  1118. }
  1119. /* CKEditor : Adding BS error feedback */
  1120. .form_field div.cke {
  1121. border: 1px solid #ddd;
  1122. }
  1123. .form_field.has-error div.cke {
  1124. border: 1px solid #b94a48;
  1125. border-radius: 0px;
  1126. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  1127. }
  1128. /* CKEditor : Styling notifications based on BS alerts */
  1129. .cke_notification {
  1130. position: relative;
  1131. padding: 15px;
  1132. margin-bottom: 18px;
  1133. border: 1px solid transparent;
  1134. border-radius: 4px;
  1135. background-color: #fff;
  1136. }
  1137. .cke_notification_close {
  1138. position: absolute;
  1139. top: 2px;
  1140. right: 5px;
  1141. }
  1142. .cke_notification_message {
  1143. margin-bottom: 0px;
  1144. line-height: 1em;
  1145. font-size: 1em;
  1146. }
  1147. .cke_notification_success {
  1148. display: none;
  1149. background-color: #dff0d8;
  1150. border-color: #d6e9c6;
  1151. color: #468847;
  1152. }
  1153. .cke_notification_warning {
  1154. background-color: #fcf8e3;
  1155. border-color: #fbeed5;
  1156. color: #c09853;
  1157. }
  1158. /* CKEditor : Misc */
  1159. .cke_toolbox_collapser, .cke_toolbox_collapser .cke_arrow {
  1160. cursor: pointer !important;
  1161. }
  1162. /* DataTables : Selection inputs */
  1163. .dataTable.table th span.row_input, .dataTable.table td span.row_input {
  1164. display: inline-block;
  1165. width: 100%;
  1166. text-align: center;
  1167. }
  1168. /* Wiki text (hyperlinks) */
  1169. .wiki_broken_link {
  1170. text-decoration: line-through;
  1171. }