portal.css 24 KB

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