portal.scss 24 KB

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