portal.css 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160
  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. /* Custom "glyphicons" */
  262. .glyphicon-ext-hierarchy:before {
  263. content: url('../img/icons/hierarchy-white-13px.png');
  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. .list-group-item > .list-group-item-actions {
  552. /*display: none; Displaying actions only when hovering was not unanimous in the team */
  553. position: absolute;
  554. top: 10px;
  555. right: 15px;
  556. }
  557. .list-group-item:hover > .list-group-item-actions, .grid-group-item:hover > .grid-group-item-actions {
  558. display: block;
  559. }
  560. .list-group-item .list-group-item-actions a:not(:first-child), .grid-group-item .grid-group-item-actions a:not(:first-child) {
  561. margin-left: 10px;
  562. }
  563. .list-group-item .keep-spinning {
  564. animation: spin 1s linear infinite;
  565. -webkit-animation: spin 1s linear infinite;
  566. -moz-animation: spin 1s linear infinite;
  567. -ms-animation: spin 1s linear infinite;
  568. }
  569. .list-group.tree .list-group-item .list-group-item-description {
  570. display: block;
  571. margin-top: 3px;
  572. font-size: 0.8em;
  573. }
  574. /* Secondary actions */
  575. table .group-actions {
  576. position: relative;
  577. }
  578. .list-group-item-actions a.glyphicon-menu-hamburger, .grid-group-item-actions a.glyphicon-menu-hamburger, table .group-actions a.glyphicon-menu-hamburger {
  579. cursor: pointer;
  580. text-decoration: none;
  581. }
  582. .list-group-item-actions .item-action-wrapper, .grid-group-item-actions .item-action-wrapper, table .group-actions .item-action-wrapper {
  583. display: none;
  584. position: absolute;
  585. z-index: 5;
  586. bottom: 5px;
  587. right: 0px;
  588. -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  589. -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  590. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  591. }
  592. .list-group-item-actions .item-action-wrapper .glyphicon, .grid-group-item-actions .item-action-wrapper .glyphicon, table .group-actions .item-action-wrapper .glyphicon {
  593. margin-right: 0.6em;
  594. }
  595. .list-group-item-actions .item-action-wrapper.collapse.in, .grid-group-item-actions .item-action-wrapper.collapse.in, table .group-actions .item-action-wrapper.collapse.in {
  596. display: block;
  597. }
  598. .list-group-item-actions .item-action-wrapper .panel-body > p, .grid-group-item-actions .item-action-wrapper .panel-body > p, table .group-actions .item-action-wrapper .panel-body > p {
  599. white-space: nowrap;
  600. }
  601. .list-group-item-actions .item-action-wrapper .panel-body > p:last-child, .grid-group-item-actions .item-action-wrapper .panel-body > p:last-child, table .group-actions .item-action-wrapper .panel-body > p:last-child {
  602. margin-bottom: 0px;
  603. }
  604. #brick_content_empty {
  605. display: none;
  606. padding: 40px;
  607. font-size: 1.3em;
  608. font-style: italic;
  609. }
  610. /* Loader */
  611. #brick_tree_overlay, #brick_grid_overlay {
  612. display: none;
  613. padding: 8% 0px;
  614. border-radius: 0px 0px 4px 4px;
  615. font-size: 1em;
  616. }
  617. /****************/
  618. /* - Grid mode */
  619. /* Note: Some of the CSS is factorised in the "Tree mode" part */
  620. /****************/
  621. #brick_content_grid {
  622. position: relative;
  623. padding: 10px 10px 1px 10px;
  624. }
  625. /* Breadcrumb */
  626. #grid-breadcrumb {
  627. margin-bottom: 5px;
  628. padding-left: 0px;
  629. font-size: 12px;
  630. white-space: nowrap;
  631. overflow-x: hidden;
  632. text-overflow: ellipsis;
  633. }
  634. .grid-group {
  635. display: none;
  636. }
  637. /* Only the first level is showed by default */
  638. .grid-group:first-of-type {
  639. display: block;
  640. }
  641. .grid-group-back, .grid-group-item {
  642. position: relative;
  643. height: 55px;
  644. margin-bottom: 10px;
  645. text-align: center;
  646. color: #fff;
  647. }
  648. .grid-group-back {
  649. font-size: 25px;
  650. }
  651. .grid-item {
  652. display: table;
  653. width: 100%;
  654. height: 100%;
  655. overflow: hidden;
  656. background-color: #585653;
  657. transition: all linear 0.3s;
  658. }
  659. .grid-item, .grid-item:hover, .grid-item:active, .grid-item:focus, .grid-item:visited {
  660. color: #fff;
  661. text-decoration: none;
  662. }
  663. .grid-item:active {
  664. background-color: #9e510f;
  665. }
  666. .grid-item-image, .grid-item-text {
  667. display: table-cell;
  668. text-align: center;
  669. vertical-align: middle;
  670. }
  671. .grid-item-image > img {
  672. max-width: 100%;
  673. }
  674. .grid-group-item > .grid-group-item-actions {
  675. position: absolute;
  676. top: 5px;
  677. right: 5px;
  678. }
  679. .grid-group-item-actions > a {
  680. color: #fff;
  681. text-decoration: none;
  682. }
  683. .grid-group-item-actions > a:hover, .grid-group-item-actions > a:focus {
  684. color: #eee;
  685. }
  686. @media (max-width: 768px) {
  687. /* All layout */
  688. /* Layout 2 */
  689. /* Layout 5/7 */
  690. .grid-group-item > .grid-group-item-actions {
  691. top: 12px;
  692. right: 6px;
  693. }
  694. .grid-group-item > .grid-group-item-actions > .glyphicon {
  695. margin-top: 5px;
  696. }
  697. .grid-group-item-actions > a {
  698. font-size: 20px;
  699. }
  700. .grid-item-image {
  701. width: 55px;
  702. padding: 10px;
  703. }
  704. .grid-item-image > img {
  705. max-height: 30px;
  706. }
  707. .grid-item-name {
  708. font-size: 14px;
  709. }
  710. .grid-item-description {
  711. display: none;
  712. }
  713. .grid-item-layout-2 .grid-item-description {
  714. display: block;
  715. }
  716. .grid-item-layout-5 .grid-item-name, .grid-item-layout-7 .grid-item-name {
  717. padding-right: 40px;
  718. }
  719. }
  720. @media (min-width: 768px) {
  721. /* All layout */
  722. /* Layout 1 */
  723. /* Layout 7 */
  724. .grid-group-item {
  725. display: inline-block;
  726. width: 32%;
  727. height: 120px;
  728. margin-right: 1.95%;
  729. /* We don't put 2% to keep a margin in case of a bad browser rendering */
  730. }
  731. .grid-item {
  732. padding: 10px;
  733. }
  734. .grid-item:hover, .grid-item:focus {
  735. background-color: #ea7d1e;
  736. box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.20);
  737. }
  738. .grid-item-name {
  739. font-weight: 600;
  740. font-size: 12px;
  741. }
  742. .grid-item-description {
  743. overflow: hidden;
  744. }
  745. .grid-item-layout-1 .grid-item-name {
  746. font-weight: inherit;
  747. font-size: 14px;
  748. }
  749. .grid-item-layout-7 .grid-item-image {
  750. display: none;
  751. }
  752. .grid-item-layout-3 .grid-item-description, .grid-item-layout-7 .grid-item-description {
  753. margin-top: 10px;
  754. max-height: 40px;
  755. font-size: 10px;
  756. }
  757. }
  758. @media (min-width: 992px) {
  759. /* Layout 7 */
  760. .grid-item {
  761. padding: 10px 15px;
  762. }
  763. .grid-group-back {
  764. font-size: 40px;
  765. }
  766. .grid-item-layout-7 .grid-item-image {
  767. display: table-cell;
  768. width: 105px;
  769. padding-left: 5px;
  770. padding-right: 18px;
  771. }
  772. .grid-item-layout-7 .grid-item-image > img {
  773. max-width: 100%;
  774. }
  775. .grid-item-layout-7 .grid-item-name {
  776. font-size: 12px;
  777. }
  778. }
  779. @media (min-width: 1200px) {
  780. .grid-group-item {
  781. width: 24%;
  782. height: 140px;
  783. margin-right: 1.3%;
  784. }
  785. }
  786. /* Helper classes to remove margin depending on the screen size */
  787. @media (min-width: 768px) and (max-width: 992px) {
  788. .grid-group-item:nth-child(3n) {
  789. margin-right: 0px;
  790. }
  791. }
  792. @media (min-width: 992px) and (max-width: 1200px) {
  793. .grid-group-item:nth-child(3n) {
  794. margin-right: 0px;
  795. }
  796. }
  797. @media (min-width: 1200px) {
  798. .grid-group-item:nth-child(4n) {
  799. margin-right: 0px;
  800. }
  801. }
  802. /****************/
  803. /* - List mode */
  804. /****************/
  805. /****************/
  806. /* Filter brick */
  807. /****************/
  808. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  809. width: 100%;
  810. }
  811. .tile.tile-filter-brick .tile_filterbox input[type="text"] {
  812. width: 100%;
  813. }
  814. @media (max-width: 768px) {
  815. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  816. margin-bottom: 5px;
  817. }
  818. }
  819. @media (min-width: 768px) {
  820. .tile.tile-filter-brick .tile_filterbox form {
  821. display: table;
  822. }
  823. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  824. display: table-cell;
  825. }
  826. .tile.tile-filter-brick .tile_filterbox button[type="submit"] {
  827. margin-left: 5px;
  828. }
  829. }
  830. @media (min-width: 992px) {
  831. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  832. display: table-cell;
  833. }
  834. }
  835. /*********/
  836. /* Forms */
  837. /*********/
  838. .form_field .form_mandatory .control-label:after {
  839. content: "\002a";
  840. position: relative;
  841. left: 3px;
  842. color: #ea7d1e;
  843. font-size: 0.9em;
  844. }
  845. /* InlineImage */
  846. .inline-image {
  847. cursor: pointer;
  848. cursor: zoom-in;
  849. }
  850. /* CaseLog field */
  851. .caselog_field_entry {
  852. border: 1px solid #ddd;
  853. border-top: none;
  854. }
  855. .caselog_field_entry_header {
  856. padding: 6px;
  857. font-size: 1em;
  858. border-bottom: 1px solid #fff;
  859. background-color: #f2f2f2;
  860. }
  861. .caselog_field_entry_button {
  862. display: block;
  863. width: 15px;
  864. height: 15px;
  865. text-align: center;
  866. line-height: 15px;
  867. font-size: 16px;
  868. border: 1px solid #a6a6a6;
  869. border-bottom-color: #979797;
  870. cursor: pointer;
  871. }
  872. .caselog_field_entry_button:hover {
  873. background-color: #ccc;
  874. }
  875. .caselog_field_entry_button:before {
  876. content: "▴";
  877. }
  878. .caselog_field_entry_button.collapsed:before {
  879. content: "▾";
  880. }
  881. .caselog_field_entry_content {
  882. margin: 10px;
  883. overflow-x: auto;
  884. }
  885. /* LinkedSet*/
  886. .form_linkedset_toggler, .form_linkedset_toggler:hover, .form_linkedset_toggler:focus {
  887. text-decoration: none;
  888. color: inherit;
  889. }
  890. .form_linkedset_toggler > .text {
  891. margin-left: 0.4em;
  892. }
  893. .form_linkedset_toggler > .text:before {
  894. content: "(";
  895. }
  896. .form_linkedset_toggler > .text:after {
  897. content: ")";
  898. }
  899. .form_linkedset_toggler > .glyphicon {
  900. margin-left: 0.5em;
  901. font-size: 0.85em;
  902. color: #ea7d1e;
  903. transition: transform 0.2s linear;
  904. }
  905. .form_linkedset_toggler > .glyphicon.collapsed {
  906. transform: rotateZ(-90deg);
  907. }
  908. /* - DataTables : Loader */
  909. .form_linkedset_wrapper .datatables_overlay {
  910. padding: 8px !important;
  911. }
  912. .form_linkedset_wrapper .overlay_content {
  913. font-size: 0.6em;
  914. }
  915. .form_linkedset_wrapper .content_loader {
  916. margin: 0px;
  917. }
  918. .form_linkedset_wrapper .content_loader .icon {
  919. height: 23px;
  920. }
  921. /* - DataTables : Fit the table in the form */
  922. .form_linkedset_wrapper .dataTables_wrapper {
  923. margin-bottom: 5px;
  924. padding: 0px;
  925. }
  926. /* FileUpload */
  927. .fileupload_field_content {
  928. padding: 8px 23px;
  929. border: 1px solid #ddd;
  930. background-color: #f9f9f9;
  931. }
  932. .fileupload_field_content > div {
  933. margin-bottom: 15px;
  934. }
  935. .attachments_container .attachment {
  936. height: 95px;
  937. overflow-x: hidden;
  938. text-align: center;
  939. }
  940. .attachments_container .attachment:hover {
  941. background-color: #e0e0e0;
  942. }
  943. .attachments_container .attachment .attachment_name {
  944. overflow-x: hidden;
  945. text-overflow: ellipsis;
  946. white-space: nowrap;
  947. }
  948. .attachments_container .attachment .btn {
  949. margin-top: 3px;
  950. }
  951. .upload_container input {
  952. display: inline;
  953. }
  954. .upload_container .loader {
  955. visibility: hidden;
  956. margin-left: 7px;
  957. font-size: 1.2em;
  958. animation: spin 1s linear infinite;
  959. -webkit-animation: spin 1s linear infinite;
  960. -moz-animation: spin 1s linear infinite;
  961. -ms-animation: spin 1s linear infinite;
  962. }
  963. #drag_overlay {
  964. display: block;
  965. top: inherit;
  966. bottom: 0px;
  967. height: 0px;
  968. }
  969. #drag_overlay .overlay_content {
  970. margin-top: 5em;
  971. width: 100%;
  972. color: white;
  973. }
  974. #drag_overlay .overlay_content .icon {
  975. font-size: 3em;
  976. }
  977. #drag_overlay .overlay_content .message {
  978. font-size: 1.5em;
  979. }
  980. /* Attachments drag & drop zone, only for none mobile devices */
  981. @media (min-width: 768px) {
  982. #drag_overlay.drag_in {
  983. animation: show-drop-zone 0.3s ease-out forwards;
  984. -webkit-animation: show-drop-zone 0.3s ease-out forwards;
  985. -moz-animation: show-drop-zone 0.3s ease-out forwards;
  986. -ms-animation: show-drop-zone 0.3s ease-out forwards;
  987. }
  988. #drag_overlay.drag_out {
  989. animation: hide-drop-zone 0.3s ease-out forwards;
  990. -webkit-animation: hide-drop-zone 0.3s ease-out forwards;
  991. -moz-animation: hide-drop-zone 0.3s ease-out forwards;
  992. -ms-animation: hide-drop-zone 0.3s ease-out forwards;
  993. }
  994. @keyframes show-drop-zone {
  995. 100% {
  996. height: 20%;
  997. }
  998. }
  999. @-webkit-keyframes show-drop-zone {
  1000. 100% {
  1001. height: 20%;
  1002. }
  1003. }
  1004. @-moz-keyframes show-drop-zone {
  1005. 100% {
  1006. height: 20%;
  1007. }
  1008. }
  1009. @-ms-keyframes show-drop-zone {
  1010. 100% {
  1011. height: 20%;
  1012. }
  1013. }
  1014. @keyframes hide-drop-zone {
  1015. 0% {
  1016. height: 20%;
  1017. }
  1018. 100% {
  1019. height: 0%;
  1020. }
  1021. }
  1022. @-webkit-keyframes hide-drop-zone {
  1023. 0% {
  1024. height: 20%;
  1025. }
  1026. 100% {
  1027. height: 0%;
  1028. }
  1029. }
  1030. @-moz-keyframes hide-drop-zone {
  1031. 0% {
  1032. height: 20%;
  1033. }
  1034. 100% {
  1035. height: 0%;
  1036. }
  1037. }
  1038. @-ms-keyframes hide-drop-zone {
  1039. 0% {
  1040. height: 20%;
  1041. }
  1042. 100% {
  1043. height: 0%;
  1044. }
  1045. }
  1046. }
  1047. /* BlobField */
  1048. .form_fields .file_open_link {
  1049. margin-left: 10px;
  1050. }
  1051. .form_field .form-control-static img {
  1052. max-width: 100% !important;
  1053. height: initial !important;
  1054. }
  1055. .form_buttons {
  1056. padding-top: 20px;
  1057. text-align: center;
  1058. }
  1059. .form_buttons .form_btn_misc {
  1060. margin-bottom: 20px;
  1061. }
  1062. .form_buttons .form_btn_transitions {
  1063. margin-bottom: 20px;
  1064. }
  1065. .form_buttons .btn .glyphicon {
  1066. margin-right: 0.5em;
  1067. }
  1068. .form_btn_regular.sticky {
  1069. display: none;
  1070. }
  1071. @media (min-width: 768px) {
  1072. /* Making regular button sticky */
  1073. .form_buttons .form_btn_misc {
  1074. float: left !important;
  1075. }
  1076. .form_buttons .form_btn_transitions {
  1077. float: right !important;
  1078. margin-left: 3px;
  1079. }
  1080. .form_buttons .form_btn_regular {
  1081. text-align: right;
  1082. }
  1083. .form_buttons .form_btn_regular btn {
  1084. width: inherit;
  1085. }
  1086. .form_btn_regular.sticky {
  1087. display: block;
  1088. position: fixed;
  1089. bottom: 5em;
  1090. right: -2px;
  1091. /* TODO : SASS this to col-xs-12 padding */
  1092. padding: 15px;
  1093. background-color: #fff;
  1094. border: 1px solid #ddd;
  1095. border-radius: 0px;
  1096. transition: right 0.3s;
  1097. }
  1098. .form_btn_regular.sticky.closed {
  1099. right: -75px;
  1100. }
  1101. .form_btn_regular.sticky button {
  1102. display: block;
  1103. }
  1104. .form_btn_regular.sticky button:first-child {
  1105. margin-bottom: 4px;
  1106. }
  1107. }
  1108. /* CKEditor : Adding BS error feedback */
  1109. .form_field div.cke {
  1110. border: 1px solid #ddd;
  1111. }
  1112. .form_field.has-error div.cke {
  1113. border: 1px solid #b94a48;
  1114. border-radius: 0px;
  1115. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  1116. }
  1117. /* CKEditor : Styling notifications based on BS alerts */
  1118. .cke_notification {
  1119. position: relative;
  1120. padding: 15px;
  1121. margin-bottom: 18px;
  1122. border: 1px solid transparent;
  1123. border-radius: 4px;
  1124. background-color: #fff;
  1125. }
  1126. .cke_notification_close {
  1127. position: absolute;
  1128. top: 2px;
  1129. right: 5px;
  1130. }
  1131. .cke_notification_message {
  1132. margin-bottom: 0px;
  1133. line-height: 1em;
  1134. font-size: 1em;
  1135. }
  1136. .cke_notification_success {
  1137. display: none;
  1138. background-color: #dff0d8;
  1139. border-color: #d6e9c6;
  1140. color: #468847;
  1141. }
  1142. .cke_notification_warning {
  1143. background-color: #fcf8e3;
  1144. border-color: #fbeed5;
  1145. color: #c09853;
  1146. }
  1147. /* CKEditor : Misc */
  1148. .cke_toolbox_collapser, .cke_toolbox_collapser .cke_arrow {
  1149. cursor: pointer !important;
  1150. }
  1151. /* DataTables : Selection inputs */
  1152. .dataTable.table th span.row_input, .dataTable.table td span.row_input {
  1153. display: inline-block;
  1154. width: 100%;
  1155. text-align: center;
  1156. }
  1157. /* Wiki text (hyperlinks) */
  1158. .wiki_broken_link {
  1159. text-decoration: line-through;
  1160. }