portal.css 26 KB

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