portal.css 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144
  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. .list-group-item > .list-group-item-actions {
  552. /*display: none; Displaying actions only when hovering was not unanimous in the team */
  553. position: absolute;
  554. top: 10px;
  555. right: 15px;
  556. }
  557. .list-group-item:hover > .list-group-item-actions, .grid-group-item:hover > .grid-group-item-actions {
  558. display: block;
  559. }
  560. .list-group-item .list-group-item-actions a:not(:first-child), .grid-group-item .grid-group-item-actions a:not(:first-child) {
  561. margin-left: 10px;
  562. }
  563. .list-group-item .keep-spinning {
  564. animation: spin 1s linear infinite;
  565. -webkit-animation: spin 1s linear infinite;
  566. -moz-animation: spin 1s linear infinite;
  567. -ms-animation: spin 1s linear infinite;
  568. }
  569. .list-group.tree .list-group-item .list-group-item-description {
  570. display: block;
  571. margin-top: 3px;
  572. font-size: 0.8em;
  573. }
  574. /* Secondary actions */
  575. table .group-actions {
  576. position: relative;
  577. }
  578. .list-group-item-actions a.glyphicon-menu-hamburger, .grid-group-item-actions a.glyphicon-menu-hamburger, table .group-actions a.glyphicon-menu-hamburger {
  579. cursor: pointer;
  580. text-decoration: none;
  581. }
  582. .list-group-item-actions .item-action-wrapper, .grid-group-item-actions .item-action-wrapper, table .group-actions .item-action-wrapper {
  583. display: none;
  584. position: absolute;
  585. z-index: 5;
  586. bottom: 5px;
  587. right: 0px;
  588. -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  589. -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  590. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  591. }
  592. .list-group-item-actions .item-action-wrapper .glyphicon, .grid-group-item-actions .item-action-wrapper .glyphicon, table .group-actions .item-action-wrapper .glyphicon {
  593. margin-right: 0.6em;
  594. }
  595. .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 {
  596. display: block;
  597. }
  598. .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 {
  599. white-space: nowrap;
  600. }
  601. .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 {
  602. margin-bottom: 0px;
  603. }
  604. #brick_content_empty {
  605. display: none;
  606. padding: 40px;
  607. font-size: 1.3em;
  608. font-style: italic;
  609. }
  610. /* Loader */
  611. #brick_tree_overlay, #brick_grid_overlay {
  612. display: none;
  613. padding: 8% 0px;
  614. border-radius: 0px 0px 4px 4px;
  615. font-size: 1em;
  616. }
  617. /****************/
  618. /* - Grid mode */
  619. /* Note: Some of the CSS is factorised in the "Tree mode" part */
  620. /****************/
  621. #brick_content_grid {
  622. position: relative;
  623. padding: 10px 10px 1px 10px;
  624. }
  625. .grid-group {
  626. display: none;
  627. }
  628. /* Only the first level is showed by default */
  629. .grid-group:first-child {
  630. display: block;
  631. }
  632. .grid-group-back, .grid-group-item {
  633. position: relative;
  634. height: 55px;
  635. margin-bottom: 10px;
  636. text-align: center;
  637. color: #fff;
  638. }
  639. .grid-group-back {
  640. font-size: 25px;
  641. }
  642. .grid-item {
  643. display: table;
  644. width: 100%;
  645. height: 100%;
  646. overflow: hidden;
  647. background-color: #585653;
  648. transition: background-color linear 0.3s;
  649. }
  650. .grid-item, .grid-item:hover, .grid-item:active, .grid-item:focus, .grid-item:visited {
  651. color: #fff;
  652. text-decoration: none;
  653. }
  654. .grid-item:active {
  655. background-color: #9e510f;
  656. }
  657. .grid-item-image, .grid-item-text {
  658. display: table-cell;
  659. text-align: center;
  660. vertical-align: middle;
  661. }
  662. .grid-item-image > img {
  663. max-width: 100%;
  664. }
  665. .grid-group-item > .grid-group-item-actions {
  666. position: absolute;
  667. top: 5px;
  668. right: 5px;
  669. }
  670. .grid-group-item-actions > a {
  671. color: #fff;
  672. text-decoration: none;
  673. }
  674. .grid-group-item-actions > a:hover, .grid-group-item-actions > a:focus {
  675. color: #eee;
  676. }
  677. @media (max-width: 768px) {
  678. /* All layout */
  679. /* Layout 2 */
  680. /* Layout 5/7 */
  681. .grid-group-item > .grid-group-item-actions {
  682. top: 12px;
  683. right: 6px;
  684. }
  685. .grid-group-item > .grid-group-item-actions > .glyphicon {
  686. margin-top: 5px;
  687. }
  688. .grid-group-item-actions > a {
  689. font-size: 20px;
  690. }
  691. .grid-item-image {
  692. width: 55px;
  693. padding: 10px;
  694. }
  695. .grid-item-image > img {
  696. max-height: 30px;
  697. }
  698. .grid-item-name {
  699. font-size: 14px;
  700. }
  701. .grid-item-description {
  702. display: none;
  703. }
  704. .grid-item-layout-2 .grid-item-description {
  705. display: block;
  706. }
  707. .grid-item-layout-5 .grid-item-name, .grid-item-layout-7 .grid-item-name {
  708. padding-right: 40px;
  709. }
  710. }
  711. @media (min-width: 768px) {
  712. /* All layout */
  713. /* Layout 1 */
  714. /* Layout 7 */
  715. .grid-group-item {
  716. display: inline-block;
  717. width: 32%;
  718. height: 120px;
  719. margin-right: 1.95%;
  720. /* We don't put 2% to keep a margin in case of a bad browser rendering */
  721. }
  722. .grid-item {
  723. padding: 10px;
  724. }
  725. .grid-item:hover, .grid-item:focus {
  726. background-color: #ea7d1e;
  727. }
  728. .grid-item-name {
  729. font-weight: 600;
  730. font-size: 12px;
  731. }
  732. .grid-item-description {
  733. overflow: hidden;
  734. }
  735. .grid-item-layout-1 .grid-item-name {
  736. font-weight: inherit;
  737. font-size: 14px;
  738. }
  739. .grid-item-layout-7 .grid-item-image {
  740. display: none;
  741. }
  742. .grid-item-layout-3 .grid-item-description, .grid-item-layout-7 .grid-item-description {
  743. margin-top: 10px;
  744. max-height: 40px;
  745. font-size: 10px;
  746. }
  747. }
  748. @media (min-width: 992px) {
  749. /* Layout 7 */
  750. .grid-item {
  751. padding: 10px 15px;
  752. }
  753. .grid-group-back {
  754. font-size: 40px;
  755. }
  756. .grid-item-layout-7 .grid-item-image {
  757. display: table-cell;
  758. width: 105px;
  759. padding-left: 5px;
  760. padding-right: 18px;
  761. }
  762. .grid-item-layout-7 .grid-item-image > img {
  763. max-width: 100%;
  764. }
  765. .grid-item-layout-7 .grid-item-name {
  766. font-size: 12px;
  767. }
  768. }
  769. @media (min-width: 1200px) {
  770. .grid-group-item {
  771. width: 24%;
  772. height: 140px;
  773. margin-right: 1.3%;
  774. }
  775. }
  776. /* Helper classes to remove margin depending on the screen size */
  777. @media (min-width: 768px) and (max-width: 992px) {
  778. .grid-group-item:nth-child(3n) {
  779. margin-right: 0px;
  780. }
  781. }
  782. @media (min-width: 992px) and (max-width: 1200px) {
  783. .grid-group-item:nth-child(3n) {
  784. margin-right: 0px;
  785. }
  786. }
  787. @media (min-width: 1200px) {
  788. .grid-group-item:nth-child(4n) {
  789. margin-right: 0px;
  790. }
  791. }
  792. /****************/
  793. /* - List mode */
  794. /****************/
  795. /****************/
  796. /* Filter brick */
  797. /****************/
  798. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  799. width: 100%;
  800. }
  801. .tile.tile-filter-brick .tile_filterbox input[type="text"] {
  802. width: 100%;
  803. }
  804. @media (max-width: 768px) {
  805. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  806. margin-bottom: 5px;
  807. }
  808. }
  809. @media (min-width: 768px) {
  810. .tile.tile-filter-brick .tile_filterbox form {
  811. display: table;
  812. }
  813. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  814. display: table-cell;
  815. }
  816. .tile.tile-filter-brick .tile_filterbox button[type="submit"] {
  817. margin-left: 5px;
  818. }
  819. }
  820. @media (min-width: 992px) {
  821. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  822. display: table-cell;
  823. }
  824. }
  825. /*********/
  826. /* Forms */
  827. /*********/
  828. .form_field .form_mandatory .control-label:after {
  829. content: "\002a";
  830. position: relative;
  831. left: 3px;
  832. color: #ea7d1e;
  833. font-size: 0.9em;
  834. }
  835. /* InlineImage */
  836. .inline-image {
  837. cursor: pointer;
  838. cursor: zoom-in;
  839. }
  840. /* CaseLog field */
  841. .caselog_field_entry {
  842. border: 1px solid #ddd;
  843. border-top: none;
  844. }
  845. .caselog_field_entry_header {
  846. padding: 6px;
  847. font-size: 1em;
  848. border-bottom: 1px solid #fff;
  849. background-color: #f2f2f2;
  850. }
  851. .caselog_field_entry_button {
  852. display: block;
  853. width: 15px;
  854. height: 15px;
  855. text-align: center;
  856. line-height: 15px;
  857. font-size: 16px;
  858. border: 1px solid #a6a6a6;
  859. border-bottom-color: #979797;
  860. cursor: pointer;
  861. }
  862. .caselog_field_entry_button:hover {
  863. background-color: #ccc;
  864. }
  865. .caselog_field_entry_button:before {
  866. content: "▴";
  867. }
  868. .caselog_field_entry_button.collapsed:before {
  869. content: "▾";
  870. }
  871. .caselog_field_entry_content {
  872. margin: 10px;
  873. overflow-x: auto;
  874. }
  875. /* LinkedSet*/
  876. .form_linkedset_toggler, .form_linkedset_toggler:hover, .form_linkedset_toggler:focus {
  877. text-decoration: none;
  878. color: inherit;
  879. }
  880. .form_linkedset_toggler > .text {
  881. margin-left: 0.4em;
  882. }
  883. .form_linkedset_toggler > .text:before {
  884. content: "(";
  885. }
  886. .form_linkedset_toggler > .text:after {
  887. content: ")";
  888. }
  889. .form_linkedset_toggler > .glyphicon {
  890. margin-left: 0.5em;
  891. font-size: 0.85em;
  892. color: #ea7d1e;
  893. transition: transform 0.2s linear;
  894. }
  895. .form_linkedset_toggler > .glyphicon.collapsed {
  896. transform: rotateZ(-90deg);
  897. }
  898. /* - DataTables : Loader */
  899. .form_linkedset_wrapper .datatables_overlay {
  900. padding: 8px !important;
  901. }
  902. .form_linkedset_wrapper .overlay_content {
  903. font-size: 0.6em;
  904. }
  905. .form_linkedset_wrapper .content_loader {
  906. margin: 0px;
  907. }
  908. .form_linkedset_wrapper .content_loader .icon {
  909. height: 23px;
  910. }
  911. /* - DataTables : Fit the table in the form */
  912. .form_linkedset_wrapper .dataTables_wrapper {
  913. margin-bottom: 5px;
  914. padding: 0px;
  915. }
  916. /* FileUpload */
  917. .fileupload_field_content {
  918. padding: 8px 23px;
  919. border: 1px solid #ddd;
  920. background-color: #f9f9f9;
  921. }
  922. .fileupload_field_content > div {
  923. margin-bottom: 15px;
  924. }
  925. .attachments_container .attachment {
  926. height: 95px;
  927. overflow-x: hidden;
  928. text-align: center;
  929. }
  930. .attachments_container .attachment:hover {
  931. background-color: #e0e0e0;
  932. }
  933. .attachments_container .attachment .attachment_name {
  934. overflow-x: hidden;
  935. text-overflow: ellipsis;
  936. white-space: nowrap;
  937. }
  938. .attachments_container .attachment .btn {
  939. margin-top: 3px;
  940. }
  941. .upload_container input {
  942. display: inline;
  943. }
  944. .upload_container .loader {
  945. visibility: hidden;
  946. margin-left: 7px;
  947. font-size: 1.2em;
  948. animation: spin 1s linear infinite;
  949. -webkit-animation: spin 1s linear infinite;
  950. -moz-animation: spin 1s linear infinite;
  951. -ms-animation: spin 1s linear infinite;
  952. }
  953. #drag_overlay {
  954. display: block;
  955. top: inherit;
  956. bottom: 0px;
  957. height: 0px;
  958. }
  959. #drag_overlay .overlay_content {
  960. margin-top: 5em;
  961. width: 100%;
  962. color: white;
  963. }
  964. #drag_overlay .overlay_content .icon {
  965. font-size: 3em;
  966. }
  967. #drag_overlay .overlay_content .message {
  968. font-size: 1.5em;
  969. }
  970. /* Attachments drag & drop zone, only for none mobile devices */
  971. @media (min-width: 768px) {
  972. #drag_overlay.drag_in {
  973. animation: show-drop-zone 0.3s ease-out forwards;
  974. -webkit-animation: show-drop-zone 0.3s ease-out forwards;
  975. -moz-animation: show-drop-zone 0.3s ease-out forwards;
  976. -ms-animation: show-drop-zone 0.3s ease-out forwards;
  977. }
  978. #drag_overlay.drag_out {
  979. animation: hide-drop-zone 0.3s ease-out forwards;
  980. -webkit-animation: hide-drop-zone 0.3s ease-out forwards;
  981. -moz-animation: hide-drop-zone 0.3s ease-out forwards;
  982. -ms-animation: hide-drop-zone 0.3s ease-out forwards;
  983. }
  984. @keyframes show-drop-zone {
  985. 100% {
  986. height: 20%;
  987. }
  988. }
  989. @-webkit-keyframes show-drop-zone {
  990. 100% {
  991. height: 20%;
  992. }
  993. }
  994. @-moz-keyframes show-drop-zone {
  995. 100% {
  996. height: 20%;
  997. }
  998. }
  999. @-ms-keyframes show-drop-zone {
  1000. 100% {
  1001. height: 20%;
  1002. }
  1003. }
  1004. @keyframes hide-drop-zone {
  1005. 0% {
  1006. height: 20%;
  1007. }
  1008. 100% {
  1009. height: 0%;
  1010. }
  1011. }
  1012. @-webkit-keyframes hide-drop-zone {
  1013. 0% {
  1014. height: 20%;
  1015. }
  1016. 100% {
  1017. height: 0%;
  1018. }
  1019. }
  1020. @-moz-keyframes hide-drop-zone {
  1021. 0% {
  1022. height: 20%;
  1023. }
  1024. 100% {
  1025. height: 0%;
  1026. }
  1027. }
  1028. @-ms-keyframes hide-drop-zone {
  1029. 0% {
  1030. height: 20%;
  1031. }
  1032. 100% {
  1033. height: 0%;
  1034. }
  1035. }
  1036. }
  1037. /* BlobField */
  1038. .form_fields .file_open_link {
  1039. margin-left: 10px;
  1040. }
  1041. .form_field .form-control-static img {
  1042. max-width: 100% !important;
  1043. height: initial !important;
  1044. }
  1045. .form_buttons {
  1046. padding-top: 20px;
  1047. text-align: center;
  1048. }
  1049. .form_buttons .form_btn_transitions {
  1050. margin-bottom: 20px;
  1051. }
  1052. .form_buttons .btn .glyphicon {
  1053. margin-right: 0.5em;
  1054. }
  1055. .form_btn_regular.sticky {
  1056. display: none;
  1057. }
  1058. @media (min-width: 768px) {
  1059. /* Making regular button sticky */
  1060. .form_buttons .form_btn_transitions {
  1061. float: right !important;
  1062. margin-left: 3px;
  1063. }
  1064. .form_buttons .form_btn_regular {
  1065. text-align: right;
  1066. }
  1067. .form_buttons .form_btn_regular btn {
  1068. width: inherit;
  1069. }
  1070. .form_btn_regular.sticky {
  1071. display: block;
  1072. position: fixed;
  1073. bottom: 5em;
  1074. right: -2px;
  1075. /* TODO : SASS this to col-xs-12 padding */
  1076. padding: 15px;
  1077. background-color: #fff;
  1078. border: 1px solid #ddd;
  1079. border-radius: 0px;
  1080. transition: right 0.3s;
  1081. }
  1082. .form_btn_regular.sticky.closed {
  1083. right: -75px;
  1084. }
  1085. .form_btn_regular.sticky button {
  1086. display: block;
  1087. }
  1088. .form_btn_regular.sticky button:first-child {
  1089. margin-bottom: 4px;
  1090. }
  1091. }
  1092. /* CKEditor : Adding BS error feedback */
  1093. .form_field div.cke {
  1094. border: 1px solid #ddd;
  1095. }
  1096. .form_field.has-error div.cke {
  1097. border: 1px solid #b94a48;
  1098. border-radius: 0px;
  1099. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  1100. }
  1101. /* CKEditor : Styling notifications based on BS alerts */
  1102. .cke_notification {
  1103. position: relative;
  1104. padding: 15px;
  1105. margin-bottom: 18px;
  1106. border: 1px solid transparent;
  1107. border-radius: 4px;
  1108. background-color: #fff;
  1109. }
  1110. .cke_notification_close {
  1111. position: absolute;
  1112. top: 2px;
  1113. right: 5px;
  1114. }
  1115. .cke_notification_message {
  1116. margin-bottom: 0px;
  1117. line-height: 1em;
  1118. font-size: 1em;
  1119. }
  1120. .cke_notification_success {
  1121. display: none;
  1122. background-color: #dff0d8;
  1123. border-color: #d6e9c6;
  1124. color: #468847;
  1125. }
  1126. .cke_notification_warning {
  1127. background-color: #fcf8e3;
  1128. border-color: #fbeed5;
  1129. color: #c09853;
  1130. }
  1131. /* CKEditor : Misc */
  1132. .cke_toolbox_collapser, .cke_toolbox_collapser .cke_arrow {
  1133. cursor: pointer !important;
  1134. }
  1135. /* DataTables : Selection inputs */
  1136. .dataTable.table th span.row_input, .dataTable.table td span.row_input {
  1137. display: inline-block;
  1138. width: 100%;
  1139. text-align: center;
  1140. }
  1141. /* Wiki text (hyperlinks) */
  1142. .wiki_broken_link {
  1143. text-decoration: line-through;
  1144. }