portal.css 25 KB

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