portal.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778
  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. .home .tile{
  279. margin-bottom: 8px;
  280. min-height: 4em;
  281. background-color: #FFFFFF;
  282. background-image: none;
  283. border: 1px solid #8A8A8A;
  284. border-radius: 0px;
  285. text-align: center;
  286. text-decoration: none;
  287. white-space: normal;
  288. }
  289. .home .tile .tile_decoration{
  290. position: absolute;
  291. top: 3px;
  292. left: 21px;
  293. }
  294. .home .tile .tile_decoration > img{
  295. width: 45px;
  296. max-height: 45px;
  297. }
  298. .home .tile .tile_title{
  299. font-weight: bold;
  300. color: #333;
  301. }
  302. .home .tile .tile_description{
  303. display: none;
  304. color: #555555;
  305. }
  306. @media (min-width: 768px) {
  307. .home .tile{
  308. margin-bottom: 30px;
  309. min-height: 10em;
  310. }
  311. .home .tile .tile_decoration{
  312. position: absolute;
  313. top: -30px;
  314. left: 0px;
  315. width: 100%;
  316. }
  317. .home .tile .tile_decoration > img{
  318. width: 55px;
  319. max-height: 55px;
  320. }
  321. .home .tile .tile_title{
  322. font-size: 1.0em;
  323. }
  324. .home .tile .tile_description{
  325. display: block;
  326. margin: 15px 20px 0px 20px;
  327. text-align: justify;
  328. }
  329. }
  330. @media (min-width: 992px) {
  331. .home .tile{
  332. min-height: 15em;
  333. }
  334. .home .tile .tile_decoration{
  335. top: -35px;
  336. }
  337. .home .tile .tile_decoration > img{
  338. width: 85px;
  339. max-height: 85px;
  340. }
  341. .home .tile .tile_title{
  342. font-size: 1.4em;
  343. }
  344. }
  345. /********************/
  346. /* Modules settings */
  347. /********************/
  348. #main-header-title{
  349. text-align: center;
  350. }
  351. @media (min-width: 768px) {
  352. #main-header-title{
  353. min-height: 6em;
  354. text-align: left;
  355. }
  356. }
  357. #main-header-actions > .row{
  358. margin-top: 20px;
  359. }
  360. @media(max-width: 768px){
  361. #main-header-actions{
  362. margin-bottom: 20px;
  363. }
  364. }
  365. .dataTables_wrapper{
  366. padding: 10px 10px;
  367. }
  368. #brick_content_toolbar{
  369. margin: 10px 0px 6px 0px;
  370. }
  371. #brick_content_toolbar > div label{
  372. font-weight: normal;
  373. white-space: nowrap;
  374. text-align: left;
  375. }
  376. #brick_content_toolbar > div label input{
  377. margin-left: 0.5em;
  378. display: inline-block;
  379. width: 130px;
  380. }
  381. /***********************/
  382. /* Brick communication */
  383. /***********************/
  384. /* Home tile */
  385. .home .tile.tile_communication{
  386. padding: 20px;
  387. background-color: #EDEDED;
  388. border: none;
  389. font-weight: initial;
  390. }
  391. .home .tile_communication .carousel{
  392. margin-bottom: 0px;
  393. width: 100%;
  394. height: 200px;
  395. }
  396. /**********************/
  397. /* Brick user profile */
  398. /**********************/
  399. .home .userprofile-brick{
  400. background-color: #E8E7E7;
  401. }
  402. /****************/
  403. /* Brick browse */
  404. /****************/
  405. /* - Tree mode */
  406. /****************/
  407. #brick_content_tree{
  408. position: relative;
  409. }
  410. .panel > .list-group:last-child .list-group-item:last-child,
  411. .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child{
  412. margin-bottom: 1px;
  413. }
  414. .list-group-item > .list-group-item-actions{
  415. /*display: none; Displaying actions only when hovering was not unanimous in the team */
  416. position: absolute;
  417. top: 10px;
  418. right: 10px;
  419. }
  420. .list-group-item:hover > .list-group-item-actions{
  421. display: block;
  422. }
  423. .list-group-item .list-group-item-actions a:not(:first-child){
  424. margin-left: 10px;
  425. }
  426. .list-group-item .list-group-item-text{
  427. margin-left: 5px;
  428. font-size: 1em;
  429. line-height: 1em;
  430. }
  431. .list-group-item .keep-spinning{
  432. -webkit-animation: spin 1s linear infinite;
  433. }
  434. /* Secondary actions */
  435. table .group-actions{
  436. position: relative;
  437. }
  438. .list-group-item-actions a.glyphicon-menu-hamburger,
  439. table .group-actions a.glyphicon-menu-hamburger{
  440. cursor: pointer;
  441. text-decoration: none;
  442. }
  443. .list-group-item-actions .item-action-wrapper,
  444. table .group-actions .item-action-wrapper
  445. {
  446. display: none;
  447. position: absolute;
  448. z-index: 5;
  449. bottom: 5px;
  450. right: 0px;
  451. -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
  452. -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
  453. box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
  454. }
  455. .list-group-item-actions .item-action-wrapper.collapse.in,
  456. table .group-actions .item-action-wrapper.collapse.in{
  457. display: block;
  458. }
  459. .list-group-item-actions .item-action-wrapper .panel-body > p,
  460. table .group-actions .item-action-wrapper .panel-body > p{
  461. white-space: nowrap;
  462. }
  463. .list-group-item-actions .item-action-wrapper .panel-body > p:last-child,
  464. table .group-actions .item-action-wrapper .panel-body > p:last-child{
  465. margin-bottom: 0px;
  466. }
  467. #brick_content_empty{
  468. display: none;
  469. padding: 40px;
  470. font-size: 1.3em;
  471. font-style: italic;
  472. }
  473. /* Loader */
  474. #brick_tree_overlay{
  475. /*z-index: 10;*/
  476. display: none;
  477. padding: 8% 0px;
  478. /*position: absolute;
  479. top: 0px;
  480. left: 0px;
  481. width: 100%;
  482. height: 100%;
  483. min-height: 130px;*/
  484. /*background-color: black;*/
  485. border-radius: 0px 0px 4px 4px;
  486. /*opacity: 0.5;
  487. color: white;*/
  488. font-size: 1em;
  489. }
  490. /****************/
  491. /* - List mode */
  492. /****************/
  493. /*********/
  494. /* Forms */
  495. /*********/
  496. .form_fields textarea{
  497. height: 160px;
  498. }
  499. .form_field .form_mandatory .control-label:after{
  500. content: "\002a";
  501. position: relative;
  502. left: 3px;
  503. color: red; /* TODO : SASS this */
  504. font-size: 0.9em;
  505. }
  506. /* Subform field */
  507. .subform_field > fieldset{
  508. margin: inherit;
  509. margin-bottom: 15px; /* TODO : SASS this from .form-group */
  510. padding: 10px 15px;
  511. border: 1px solid #dddddd; /* TODO : SASS this */
  512. border-radius: 4px; /* TODO : SASS this */
  513. }
  514. .subform_field > fieldset > legend{
  515. margin: 0px 0px;
  516. padding: 0px 7px;
  517. width: inherit;
  518. border: none;
  519. font-size: 1em;
  520. font-weight: bold;
  521. color: #777777; /* TODO : SASS this */
  522. }
  523. /* CaseLog field */
  524. .caselog_field_entry{
  525. border: 1px solid #dddddd;
  526. border-top: none;
  527. }
  528. .caselog_field_entry_header{
  529. padding: 6px;
  530. font-size: 1em;
  531. border-bottom: 1px solid #FFFFFF;
  532. background-color: #F2F2F2;
  533. }
  534. .caselog_field_entry_button{
  535. display: block;
  536. width: 15px;
  537. height: 15px;
  538. text-align: center;
  539. line-height: 15px;
  540. font-size: 16px;
  541. border: 1px solid #a6a6a6;
  542. border-bottom-color: #979797;
  543. }
  544. .caselog_field_entry_button:hover{
  545. background-color: #cccccc;
  546. }
  547. .caselog_field_entry_button:before{
  548. content: "▴";
  549. }
  550. .caselog_field_entry_button.collapsed:before{
  551. content: "▾";
  552. }
  553. .caselog_field_entry_content{
  554. margin: 10px;
  555. overflow-x: auto;
  556. }
  557. /* FileUpload */
  558. .fileupload_field_content{
  559. padding: 8px 23px;
  560. border: 1px solid #DDDDDD; /* TODO : SASS this */
  561. background-color: #F9F9F9; /* TODO : SASS this*/
  562. }
  563. .fileupload_field_content > div{
  564. margin-bottom: 15px;
  565. }
  566. .attachments_container .attachment {
  567. height: 95px;
  568. overflow-x: hidden;
  569. text-align: center;
  570. }
  571. .attachments_container .attachment:hover {
  572. background-color: #e0e0e0;
  573. }
  574. .attachments_container .attachment .attachment_name{
  575. overflow-x: hidden;
  576. text-overflow: ellipsis;
  577. white-space: nowrap;
  578. }
  579. .attachments_container .attachment .btn{
  580. margin-top: 3px;
  581. }
  582. .upload_container input{
  583. display: inline;
  584. }
  585. .upload_container .loader{
  586. visibility: hidden;
  587. margin-left: 7px;
  588. font-size: 1.2em;
  589. animation: spin 1.0s linear infinite;
  590. -webkit-animation: spin 1.0s linear infinite;
  591. -moz-animation: spin 1.0s linear infinite;
  592. -ms-animation: spin 1.0s linear infinite;
  593. }
  594. #drag_overlay{
  595. display: block;
  596. top: inherit;
  597. bottom: 0px;
  598. height: 0px;
  599. }
  600. #drag_overlay.drag_in{
  601. animation: show-drop-zone 0.3s ease-out forwards;
  602. }
  603. #drag_overlay.drag_out{
  604. animation: hide-drop-zone 0.3s ease-out forwards;
  605. }
  606. #drag_overlay .overlay_content{
  607. margin-top: 5em;
  608. width: 100%;
  609. color: white;
  610. }
  611. #drag_overlay .overlay_content .icon{
  612. font-size: 3em;
  613. }
  614. #drag_overlay .overlay_content .message{
  615. font-size: 1.5em;
  616. }
  617. @keyframes show-drop-zone{
  618. 100% {
  619. height: 20%;
  620. }
  621. }
  622. @-webkit-keyframes show-drop-zone{
  623. 100% {
  624. height: 20%;
  625. }
  626. }
  627. @-moz-keyframes show-drop-zone{
  628. 100% {
  629. height: 20%;
  630. }
  631. }
  632. @-ms-keyframes show-drop-zone{
  633. 100% {
  634. height: 20%;
  635. }
  636. }
  637. @keyframes hide-drop-zone{
  638. 0% {
  639. height: 20%;
  640. }
  641. 100% {
  642. height: 0%;
  643. }
  644. }
  645. @-webkit-keyframes hide-drop-zone{
  646. 0% {
  647. height: 20%;
  648. }
  649. 100% {
  650. height: 0%;
  651. }
  652. }
  653. @-moz-keyframes hide-drop-zone{
  654. 0% {
  655. height: 20%;
  656. }
  657. 100% {
  658. height: 0%;
  659. }
  660. }
  661. @-ms-keyframes hide-drop-zone{
  662. 0% {
  663. height: 20%;
  664. }
  665. 100% {
  666. height: 0%;
  667. }
  668. }
  669. .form_field .form-control-static img{
  670. max-width: 100% !important;
  671. height: initial !important;
  672. }
  673. .form_buttons{
  674. padding-top: 20px;
  675. text-align: center;
  676. }
  677. .form_buttons .form_btn_transitions{
  678. margin-bottom: 20px;
  679. }
  680. @media (min-width: 768px){
  681. .form_buttons .form_btn_transitions{
  682. float: left !important;
  683. }
  684. .form_buttons .form_btn_regular{
  685. text-align: right;
  686. }
  687. .form_buttons .form_btn_regular btn{
  688. width: inherit;
  689. }
  690. }
  691. /* CKEditor : Adding BS error feedback */
  692. .form_field div.cke{
  693. border: 1px solid #dddddd; /* TODO : SASS this */
  694. }
  695. .form_field.has-error div.cke{
  696. border: 1px solid #D9230F; /* TODO : SASS this */
  697. border-radius: 3px; /* TODO : SASS this */
  698. box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  699. }
  700. /* CKEditor : Styling notifications based on BS alerts */
  701. .cke_notification{
  702. position: relative;
  703. padding: 15px;
  704. margin-bottom: 18px;
  705. border: 1px solid transparent;
  706. border-radius: 4px;
  707. background-color: #FFFFFF
  708. }
  709. .cke_notification_close{
  710. position: absolute;
  711. top: 2px;
  712. right: 5px;
  713. }
  714. .cke_notification_message{
  715. margin-bottom: 0px;
  716. line-height: 1em;
  717. font-size: 1em;
  718. }
  719. .cke_notification_success{ /* TODO : SASS this */
  720. display: none;
  721. background-color: #dff0d8;
  722. border-color: #d6e9c6;
  723. color: #468847;
  724. }
  725. .cke_notification_warning{ /* TODO : SASS this */
  726. background-color: #fcf8e3;
  727. border-color: #fbeed5;
  728. color: #c09853;
  729. }
  730. /* DataTables : Fit the table in the form */
  731. .form_linkedset_wrapper .dataTables_wrapper{
  732. margin-bottom: 5px;
  733. padding: 0px;
  734. }
  735. /* DataTables : Selection inputs */
  736. .dataTable.table td span.row_input{
  737. display: inline-block;
  738. margin-right: 5px;
  739. vertical-align: middle;
  740. }