portal.css 21 KB

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