portal.css 24 KB

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