portal.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  1. /*******************/
  2. /* Global settings */
  3. /*******************/
  4. @media (max-width: 768px){
  5. body{
  6. padding-top: 60px;
  7. }
  8. }
  9. footer{
  10. margin: 5em 1em;
  11. }
  12. /* Navigation menu */
  13. .navbar-nav .dropdown-menu a .glyphicon,
  14. .user_infos .dropdown-menu a .glyphicon{
  15. margin-right: 15px;
  16. }
  17. /* Topbar */
  18. #topbar #navbar{
  19. overflow-y: auto;
  20. }
  21. #topbar .user_infos{
  22. text-decoration: none;
  23. }
  24. #topbar .user_photo{
  25. margin-right: 10px;
  26. }
  27. #topbar .user_photo img{
  28. margin-top: -4px;
  29. max-width: 100%;
  30. max-height: 100%;
  31. height: 25px;
  32. border-radius: 100%;
  33. }
  34. /* Sidebar */
  35. #sidebar{
  36. position: fixed;
  37. top: 0px;
  38. left: 0px;
  39. padding: 0px; /* Overriding BS */
  40. height: 100%;
  41. }
  42. #sidebar .user_card{
  43. padding: 30px 0px;
  44. background-color: #F2F2F2; /* TODO : Change this */
  45. text-align: center;
  46. }
  47. #sidebar .user_card .user_photo{
  48. margin-bottom: 10px;
  49. }
  50. #sidebar .user_card .user_photo img{
  51. border-radius: 100%;
  52. width: 70px;
  53. }
  54. #sidebar .user_card .user_infos{
  55. font-size: 1em;
  56. }
  57. #sidebar .user_card .user_options.dropdown-menu{
  58. width: 92%;
  59. left: 4%;
  60. }
  61. #sidebar .user_card .user_fullname{
  62. font-weight: 600;
  63. }
  64. #sidebar .menu{
  65. max-height: 59%;
  66. overflow-y: auto;
  67. }
  68. #sidebar .logo{
  69. position: absolute;
  70. bottom: 15px;
  71. width: 100%;
  72. text-align: center;
  73. }
  74. /* Overlays*/
  75. .global_overlay{
  76. z-index: 9999;
  77. display: none;
  78. position: fixed;
  79. top: 0px;
  80. left: 0px;
  81. width: 100%;
  82. height: 100%;
  83. background-color: black;
  84. opacity: 0.5;
  85. }
  86. #page_overlay .overlay_content{
  87. margin-top: 20em;
  88. width: 100%;
  89. color: white;
  90. }
  91. .overlay_content{
  92. text-align: center;
  93. }
  94. .content_loader .icon{
  95. margin-bottom: 0.3em;
  96. /*width: 52px;*/
  97. height: 38px; /* 50px; *//* Hack to make loader circle perfectly */
  98. font-size: 3em; /* 4em; */
  99. animation: spin 1.2s linear infinite;
  100. -webkit-animation: spin 1.2s linear infinite;
  101. -moz-animation: spin 1.2s linear infinite;
  102. -ms-animation: spin 1.2s linear infinite;
  103. }
  104. .content_loader .message{
  105. font-size: 1.5em; /* 2em; */
  106. }
  107. .datatables_overlay{
  108. padding: 5% 0px !important;
  109. background-color: white;
  110. }
  111. /******************/
  112. /* Global classes */
  113. /******************/
  114. @media (min-width: 768px) {
  115. .row-eq-height-sm {
  116. display: -webkit-box;
  117. display: -webkit-flex;
  118. display: -ms-flexbox;
  119. display: flex;
  120. }
  121. }
  122. @media (min-width: 992px) {
  123. .row-eq-height-md {
  124. display: -webkit-box;
  125. display: -webkit-flex;
  126. display: -ms-flexbox;
  127. display: flex;
  128. }
  129. }
  130. @media (min-width: 1200px) {
  131. .row-eq-height-lg {
  132. display: -webkit-box;
  133. display: -webkit-flex;
  134. display: -ms-flexbox;
  135. display: flex;
  136. }
  137. }
  138. .vertical-center {
  139. /* Make it a flex container */
  140. display: -webkit-box;
  141. display: -moz-box;
  142. display: -ms-flexbox;
  143. display: -webkit-flex;
  144. display: flex;
  145. /* Align the bootstrap's container vertically */
  146. -webkit-box-align : center;
  147. -webkit-align-items : center;
  148. -moz-box-align : center;
  149. -ms-flex-align : center;
  150. align-items : center;
  151. /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
  152. hence the bootstrap's container won't be aligned to the center anymore.
  153. Therefore, we should use the following declarations to get it centered again */
  154. -webkit-box-pack : center;
  155. -moz-box-pack : center;
  156. -ms-flex-pack : center;
  157. -webkit-justify-content : center;
  158. justify-content : center;
  159. }
  160. /*********************/
  161. /* Global animations */
  162. /*********************/
  163. /* Spin */
  164. @keyframes spin{
  165. 100% {
  166. transform: rotate(360deg);
  167. }
  168. }
  169. @-webkit-keyframes spin{
  170. 100% {
  171. -webkit-transform: rotate(360deg);
  172. }
  173. }
  174. @-moz-keyframes spin{
  175. 100% {
  176. -moz-transform: rotate(360deg);
  177. }
  178. }
  179. @-ms-keyframes spin{
  180. 100% {
  181. -ms-transform: rotate(360deg);
  182. }
  183. }
  184. /***************/
  185. /* BS override */
  186. /***************/
  187. @font-face {
  188. font-family: 'Glyphicons Halflings';
  189. src: url('../lib/bootstrap/fonts/glyphicons-halflings-regular.eot');
  190. src: url('../lib/bootstrap/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../lib/bootstrap/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../lib/bootstrap/fonts/glyphicons-halflings-regular.woff') format('woff'), url('../lib/bootstrap/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../lib/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
  191. }
  192. label{
  193. font-weight: bold;
  194. }
  195. /*********************/
  196. /* BS theme override */
  197. /*********************/
  198. .pagination{
  199. margin: 14px 0px;
  200. }
  201. .list-group.tree{
  202. margin-top: 11px;
  203. margin-bottom: -11px;
  204. }
  205. .list-group-item{
  206. padding-right: 0px; /* To align all actions on the right without indent */
  207. }
  208. .tooltip-inner{
  209. max-width: 400px;
  210. padding: 15px;
  211. }
  212. .nav > li.active > a{
  213. font-weight: 600;
  214. }
  215. /* Custom "glyphicons" */
  216. .glyphicon-ext-hierarchy:before {
  217. content: url('../img/icons/hierarchy-white-13px.png');
  218. }
  219. /**********************/
  220. /* BS plugin override */
  221. /**********************/
  222. /* Datatables */
  223. .table-striped > tbody > tr:hover {
  224. background-color: #fdf5d0;
  225. }
  226. /******************/
  227. /* Modal settings */
  228. /******************/
  229. .modal-content .content_loader{
  230. margin: 7em 0em;
  231. text-align: center;
  232. }
  233. @media (min-width: 992px){
  234. .modal-lg {
  235. width: 80%;
  236. max-width: 1200px;
  237. }
  238. }
  239. /**************************/
  240. /* MagnificPopup settings */
  241. /**************************/
  242. .mfp-bg{
  243. z-index: 1200;
  244. }
  245. .mfp-wrap{
  246. z-index: 1210;
  247. }
  248. /********************/
  249. /* Typeahed setting */
  250. /********************/
  251. .twitter-typeahead .tt-menu{
  252. max-height: 200px;
  253. overflow-y: auto;
  254. }
  255. @media (min-width: 768px){
  256. .twitter-typeahead .tt-menu{
  257. max-height: 300px;
  258. }
  259. }
  260. .twitter-typeahead .tt-dataset > .content_loader{
  261. margin: 10px 0px;
  262. text-align: center;
  263. font-size: 0.6em;
  264. }
  265. .twitter-typeahead .tt-dataset > .content_loader .icon{
  266. height: 25px;
  267. }
  268. .twitter-typeahead .tt-dataset .no_result{
  269. text-align: center;
  270. font-style: italic;
  271. }
  272. /*****************/
  273. /* Home settings */
  274. /*****************/
  275. .home #main-wrapper{
  276. padding-top: 15px;
  277. }
  278. @media (min-width: 768px) {
  279. .home .tiles_wrapper{
  280. /*margin-bottom: 18px;*/
  281. margin-bottom: 35px;
  282. }
  283. }
  284. .home .tile{
  285. margin-bottom: 8px;
  286. min-height: 4em;
  287. background-color: #FFFFFF;
  288. background-image: none;
  289. border: 1px solid #8A8A8A;
  290. border-radius: 0px;
  291. text-align: center;
  292. text-decoration: none;
  293. white-space: normal;
  294. }
  295. .home .tile .tile_decoration{
  296. position: absolute;
  297. top: 3px;
  298. left: 21px;
  299. }
  300. .home .tile .tile_decoration > img{
  301. width: 45px;
  302. max-height: 45px;
  303. }
  304. .home .tile .tile_title{
  305. font-weight: bold;
  306. color: #333;
  307. }
  308. .home .tile .tile_description{
  309. display: none;
  310. color: #555555;
  311. }
  312. @media (min-width: 768px) {
  313. .home .tile{
  314. margin-bottom: 0px;
  315. min-height: 10em;
  316. }
  317. .home .tile .tile_decoration{
  318. position: absolute;
  319. top: -30px;
  320. left: 0px;
  321. width: 100%;
  322. }
  323. .home .tile .tile_decoration > img{
  324. width: 55px;
  325. max-height: 55px;
  326. }
  327. .home .tile .tile_title{
  328. font-size: 1.0em;
  329. }
  330. .home .tile .tile_description{
  331. display: block;
  332. margin: 15px 20px 0px 20px;
  333. text-align: justify;
  334. }
  335. }
  336. @media (min-width: 992px) {
  337. .home .tile{
  338. min-height: 15em;
  339. }
  340. .home .tile .tile_decoration{
  341. top: -35px;
  342. }
  343. .home .tile .tile_decoration > img{
  344. width: 85px;
  345. max-height: 85px;
  346. }
  347. .home .tile .tile_title{
  348. font-size: 1.4em;
  349. }
  350. }
  351. /********************/
  352. /* Modules settings */
  353. /********************/
  354. #main-header-title{
  355. text-align: center;
  356. }
  357. @media (min-width: 768px) {
  358. #main-header-title{
  359. min-height: 6em;
  360. text-align: left;
  361. }
  362. }
  363. #main-header-actions > .row{
  364. margin-top: 20px;
  365. }
  366. @media(max-width: 768px){
  367. #main-header-actions{
  368. margin-bottom: 20px;
  369. }
  370. }
  371. .dataTables_wrapper{
  372. padding: 10px 10px;
  373. }
  374. #brick_content_toolbar{
  375. margin: 10px 0px 6px 0px;
  376. }
  377. #brick_content_toolbar > div label{
  378. font-weight: normal;
  379. white-space: nowrap;
  380. text-align: left;
  381. }
  382. #brick_content_toolbar > div label input{
  383. margin-left: 0.5em;
  384. display: inline-block;
  385. width: 130px;
  386. }
  387. /***********************/
  388. /* Brick communication */
  389. /***********************/
  390. /* Home tile */
  391. .home .tile.tile_communication{
  392. padding: 20px;
  393. background-color: #EDEDED;
  394. border: none;
  395. font-weight: initial;
  396. }
  397. .home .tile_communication .carousel{
  398. margin-bottom: 0px;
  399. width: 100%;
  400. height: 200px;
  401. }
  402. /**********************/
  403. /* Brick user profile */
  404. /**********************/
  405. .home .userprofile-brick{
  406. background-color: #E8E7E7;
  407. }
  408. /****************/
  409. /* Brick browse */
  410. /****************/
  411. /* - Tree mode */
  412. /****************/
  413. #brick_content_tree{
  414. position: relative;
  415. }
  416. .panel > .list-group:last-child .list-group-item:last-child,
  417. .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child{
  418. margin-bottom: 1px;
  419. }
  420. .list-group-item > .list-group-item-actions{
  421. /*display: none; Displaying actions only when hovering was not unanimous in the team */
  422. position: absolute;
  423. top: 10px;
  424. right: 10px;
  425. }
  426. .list-group-item:hover > .list-group-item-actions{
  427. display: block;
  428. }
  429. .list-group-item .list-group-item-actions a:not(:first-child){
  430. margin-left: 10px;
  431. }
  432. .list-group-item .list-group-item-text{
  433. margin-left: 5px;
  434. font-size: 1em;
  435. line-height: 1em;
  436. }
  437. .list-group-item .keep-spinning{
  438. -webkit-animation: spin 1s linear infinite;
  439. }
  440. /* Secondary actions */
  441. table .group-actions{
  442. position: relative;
  443. }
  444. .list-group-item-actions a.glyphicon-menu-hamburger,
  445. table .group-actions a.glyphicon-menu-hamburger{
  446. cursor: pointer;
  447. text-decoration: none;
  448. }
  449. .list-group-item-actions .item-action-wrapper,
  450. table .group-actions .item-action-wrapper
  451. {
  452. display: none;
  453. position: absolute;
  454. z-index: 5;
  455. bottom: 5px;
  456. right: 0px;
  457. -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
  458. -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
  459. box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
  460. }
  461. .list-group-item-actions .item-action-wrapper.collapse.in,
  462. table .group-actions .item-action-wrapper.collapse.in{
  463. display: block;
  464. }
  465. .list-group-item-actions .item-action-wrapper .panel-body > p,
  466. table .group-actions .item-action-wrapper .panel-body > p{
  467. white-space: nowrap;
  468. }
  469. .list-group-item-actions .item-action-wrapper .panel-body > p:last-child,
  470. table .group-actions .item-action-wrapper .panel-body > p:last-child{
  471. margin-bottom: 0px;
  472. }
  473. #brick_content_empty{
  474. display: none;
  475. padding: 40px;
  476. font-size: 1.3em;
  477. font-style: italic;
  478. }
  479. /* Loader */
  480. #brick_tree_overlay{
  481. /*z-index: 10;*/
  482. display: none;
  483. padding: 8% 0px;
  484. /*position: absolute;
  485. top: 0px;
  486. left: 0px;
  487. width: 100%;
  488. height: 100%;
  489. min-height: 130px;*/
  490. /*background-color: black;*/
  491. border-radius: 0px 0px 4px 4px;
  492. /*opacity: 0.5;
  493. color: white;*/
  494. font-size: 1em;
  495. }
  496. /****************/
  497. /* - List mode */
  498. /****************/
  499. /*********/
  500. /* Forms */
  501. /*********/
  502. .form_fields textarea{
  503. height: 160px;
  504. }
  505. .form_field .form_mandatory .control-label:after{
  506. content: "\002a";
  507. position: relative;
  508. left: 3px;
  509. color: red; /* TODO : SASS this */
  510. font-size: 0.9em;
  511. }
  512. /* Subform field */
  513. .subform_field > fieldset{
  514. margin: inherit;
  515. margin-bottom: 15px; /* TODO : SASS this from .form-group */
  516. padding: 10px 15px;
  517. border: 1px solid #dddddd; /* TODO : SASS this */
  518. border-radius: 4px; /* TODO : SASS this */
  519. }
  520. .subform_field > fieldset > legend{
  521. margin: 0px 0px;
  522. padding: 0px 7px;
  523. width: inherit;
  524. border: none;
  525. font-size: 1em;
  526. font-weight: bold;
  527. color: #777777; /* TODO : SASS this */
  528. }
  529. /* CaseLog field */
  530. .caselog_field_entry{
  531. border: 1px solid #dddddd;
  532. border-top: none;
  533. }
  534. .caselog_field_entry_header{
  535. padding: 6px;
  536. font-size: 1em;
  537. border-bottom: 1px solid #FFFFFF;
  538. background-color: #F2F2F2;
  539. }
  540. .caselog_field_entry_button{
  541. display: block;
  542. width: 15px;
  543. height: 15px;
  544. text-align: center;
  545. line-height: 15px;
  546. font-size: 16px;
  547. border: 1px solid #a6a6a6;
  548. border-bottom-color: #979797;
  549. }
  550. .caselog_field_entry_button:hover{
  551. background-color: #cccccc;
  552. }
  553. .caselog_field_entry_button:before{
  554. content: "▴";
  555. }
  556. .caselog_field_entry_button.collapsed:before{
  557. content: "▾";
  558. }
  559. .caselog_field_entry_content{
  560. margin: 10px;
  561. overflow-x: auto;
  562. }
  563. /* FileUpload */
  564. .fileupload_field_content{
  565. padding: 8px 23px;
  566. border: 1px solid #DDDDDD; /* TODO : SASS this */
  567. background-color: #F9F9F9; /* TODO : SASS this*/
  568. }
  569. .fileupload_field_content > div{
  570. margin-bottom: 15px;
  571. }
  572. .attachments_container .attachment {
  573. height: 95px;
  574. overflow-x: hidden;
  575. text-align: center;
  576. }
  577. .attachments_container .attachment:hover {
  578. background-color: #e0e0e0;
  579. }
  580. .attachments_container .attachment .attachment_name{
  581. overflow-x: hidden;
  582. text-overflow: ellipsis;
  583. white-space: nowrap;
  584. }
  585. .attachments_container .attachment .btn{
  586. margin-top: 3px;
  587. }
  588. .upload_container input{
  589. display: inline;
  590. }
  591. .upload_container .loader{
  592. visibility: hidden;
  593. margin-left: 7px;
  594. font-size: 1.2em;
  595. animation: spin 1.0s linear infinite;
  596. -webkit-animation: spin 1.0s linear infinite;
  597. -moz-animation: spin 1.0s linear infinite;
  598. -ms-animation: spin 1.0s linear infinite;
  599. }
  600. #drag_overlay{
  601. display: block;
  602. top: inherit;
  603. bottom: 0px;
  604. height: 0px;
  605. }
  606. #drag_overlay.drag_in{
  607. animation: show-drop-zone 0.3s ease-out forwards;
  608. }
  609. #drag_overlay.drag_out{
  610. animation: hide-drop-zone 0.3s ease-out forwards;
  611. }
  612. #drag_overlay .overlay_content{
  613. margin-top: 5em;
  614. width: 100%;
  615. color: white;
  616. }
  617. #drag_overlay .overlay_content .icon{
  618. font-size: 3em;
  619. }
  620. #drag_overlay .overlay_content .message{
  621. font-size: 1.5em;
  622. }
  623. @keyframes show-drop-zone{
  624. 100% {
  625. height: 20%;
  626. }
  627. }
  628. @-webkit-keyframes show-drop-zone{
  629. 100% {
  630. height: 20%;
  631. }
  632. }
  633. @-moz-keyframes show-drop-zone{
  634. 100% {
  635. height: 20%;
  636. }
  637. }
  638. @-ms-keyframes show-drop-zone{
  639. 100% {
  640. height: 20%;
  641. }
  642. }
  643. @keyframes hide-drop-zone{
  644. 0% {
  645. height: 20%;
  646. }
  647. 100% {
  648. height: 0%;
  649. }
  650. }
  651. @-webkit-keyframes hide-drop-zone{
  652. 0% {
  653. height: 20%;
  654. }
  655. 100% {
  656. height: 0%;
  657. }
  658. }
  659. @-moz-keyframes hide-drop-zone{
  660. 0% {
  661. height: 20%;
  662. }
  663. 100% {
  664. height: 0%;
  665. }
  666. }
  667. @-ms-keyframes hide-drop-zone{
  668. 0% {
  669. height: 20%;
  670. }
  671. 100% {
  672. height: 0%;
  673. }
  674. }
  675. .form_field .form-control-static img{
  676. max-width: 100% !important;
  677. height: initial !important;
  678. }
  679. .form_buttons{
  680. padding-top: 20px;
  681. text-align: center;
  682. }
  683. .form_buttons .form_btn_transitions{
  684. margin-bottom: 20px;
  685. }
  686. @media (min-width: 768px){
  687. .form_buttons .form_btn_transitions{
  688. float: left !important;
  689. }
  690. .form_buttons .form_btn_regular{
  691. text-align: right;
  692. }
  693. .form_buttons .form_btn_regular btn{
  694. width: inherit;
  695. }
  696. }
  697. /* CKEditor : Adding BS error feedback */
  698. .form_field div.cke{
  699. border: 1px solid #dddddd; /* TODO : SASS this */
  700. }
  701. .form_field.has-error div.cke{
  702. border: 1px solid #D9230F; /* TODO : SASS this */
  703. border-radius: 3px; /* TODO : SASS this */
  704. box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  705. }
  706. /* CKEditor : Styling notifications based on BS alerts */
  707. .cke_notification{
  708. position: relative;
  709. padding: 15px;
  710. margin-bottom: 18px;
  711. border: 1px solid transparent;
  712. border-radius: 4px;
  713. background-color: #FFFFFF
  714. }
  715. .cke_notification_close{
  716. position: absolute;
  717. top: 2px;
  718. right: 5px;
  719. }
  720. .cke_notification_message{
  721. margin-bottom: 0px;
  722. line-height: 1em;
  723. font-size: 1em;
  724. }
  725. .cke_notification_success{ /* TODO : SASS this */
  726. display: none;
  727. background-color: #dff0d8;
  728. border-color: #d6e9c6;
  729. color: #468847;
  730. }
  731. .cke_notification_warning{ /* TODO : SASS this */
  732. background-color: #fcf8e3;
  733. border-color: #fbeed5;
  734. color: #c09853;
  735. }
  736. /* DataTables : Fit the table in the form */
  737. .form_linkedset_wrapper .dataTables_wrapper{
  738. margin-bottom: 5px;
  739. padding: 0px;
  740. }
  741. /* DataTables : Selection inputs */
  742. .dataTable.table td span.row_input{
  743. display: inline-block;
  744. margin-right: 5px;
  745. vertical-align: middle;
  746. }