portal.css 24 KB

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