portal.scss 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243
  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. /* Breadcrumb */
  640. #grid-breadcrumb{
  641. padding-left: 0px;
  642. font-size: 12px;
  643. }
  644. #grid-breadcrumb > li{
  645. display: inline;
  646. cursor: pointer;
  647. color: $brand-primary;
  648. }
  649. #grid-breadcrumb > li:hover{
  650. color: $brand-primary-dark;
  651. }
  652. #grid-breadcrumb > li:last-of-type{
  653. color: inherit;
  654. cursor: inherit;
  655. }
  656. #grid-breadcrumb > li:after{
  657. content: '/';
  658. margin-left: 0.4em;
  659. margin-right: 0.2em;
  660. color: initial;
  661. }
  662. #grid-breadcrumb > li:last-of-type:after{
  663. content: none;
  664. }
  665. .grid-group{
  666. display: none;
  667. }
  668. /* Only the first level is showed by default */
  669. .grid-group:first-of-type{
  670. display: block;
  671. }
  672. .grid-group-back,
  673. .grid-group-item{
  674. position: relative;
  675. height: 55px;
  676. margin-bottom: 10px;
  677. text-align: center;
  678. color: $white;
  679. }
  680. .grid-group-back{
  681. font-size: 25px;
  682. }
  683. .grid-item{
  684. display: table;
  685. width: 100%;
  686. height: 100%;
  687. overflow: hidden;
  688. background-color: $combodo-dark-gray;
  689. transition: background-color linear 0.3s;
  690. }
  691. .grid-item,
  692. .grid-item:hover,
  693. .grid-item:active,
  694. .grid-item:focus,
  695. .grid-item:visited{
  696. color: $white;
  697. text-decoration: none;
  698. }
  699. .grid-item:active{
  700. background-color: $combodo-orange-darker;
  701. }
  702. .grid-item-image,
  703. .grid-item-text{
  704. display: table-cell;
  705. text-align: center;
  706. vertical-align: middle;
  707. }
  708. .grid-item-image > img{
  709. max-width: 100%;
  710. }
  711. .grid-group-item > .grid-group-item-actions{
  712. position: absolute;
  713. top: 5px;
  714. right: 5px;
  715. }
  716. .grid-group-item-actions > a{
  717. color: $white;
  718. text-decoration: none;
  719. }
  720. .grid-group-item-actions > a:hover,
  721. .grid-group-item-actions > a:focus{
  722. color: #EEEEEE;
  723. }
  724. @media (max-width: 768px) {
  725. .grid-group-item > .grid-group-item-actions{
  726. top: 12px;
  727. right: 6px;
  728. }
  729. .grid-group-item > .grid-group-item-actions > .glyphicon{
  730. margin-top: 5px;
  731. }
  732. .grid-group-item-actions > a{
  733. font-size: 20px;
  734. }
  735. /* All layout */
  736. .grid-item-image{
  737. width: 55px;
  738. padding: 10px;
  739. }
  740. .grid-item-image > img{
  741. max-height: 30px;
  742. }
  743. .grid-item-name{
  744. font-size: 14px;
  745. }
  746. .grid-item-description{
  747. display: none;
  748. }
  749. /* Layout 2 */
  750. .grid-item-layout-2 .grid-item-description{
  751. display: block;
  752. }
  753. /* Layout 5/7 */
  754. .grid-item-layout-5 .grid-item-name,
  755. .grid-item-layout-7 .grid-item-name{
  756. padding-right: 40px;
  757. }
  758. }
  759. @media (min-width: 768px) {
  760. .grid-group-item{
  761. display: inline-block;
  762. width: 32%;
  763. height: 120px;
  764. margin-right: 1.95%; /* We don't put 2% to keep a margin in case of a bad browser rendering */
  765. }
  766. .grid-item{
  767. padding: 10px;
  768. }
  769. .grid-item:hover,
  770. .grid-item:focus{
  771. background-color: $combodo-orange;
  772. }
  773. /* All layout */
  774. .grid-item-name{
  775. font-weight: 600;
  776. font-size: 12px;
  777. }
  778. .grid-item-description{
  779. overflow: hidden;
  780. }
  781. /* Layout 1 */
  782. .grid-item-layout-1 .grid-item-name{
  783. font-weight: inherit;
  784. font-size: 14px;
  785. }
  786. /* Layout 7 */
  787. .grid-item-layout-7 .grid-item-image{
  788. display: none;
  789. }
  790. .grid-item-layout-3 .grid-item-description,
  791. .grid-item-layout-7 .grid-item-description{
  792. margin-top: 10px;
  793. max-height: 40px;
  794. font-size: 10px;
  795. }
  796. }
  797. @media (min-width: 992px) {
  798. .grid-item{
  799. padding: 10px 15px;
  800. }
  801. .grid-group-back{
  802. font-size: 40px;
  803. }
  804. /* Layout 7 */
  805. .grid-item-layout-7 .grid-item-image{
  806. display: table-cell;
  807. width: 105px;
  808. padding-left: 5px;
  809. padding-right: 18px;
  810. }
  811. .grid-item-layout-7 .grid-item-image > img{
  812. max-width: 100%;
  813. }
  814. .grid-item-layout-7 .grid-item-name{
  815. font-size: 12px;
  816. }
  817. }
  818. @media (min-width: 1200px) {
  819. .grid-group-item{
  820. width: 24%;
  821. height: 140px;
  822. margin-right: 1.3%;
  823. }
  824. }
  825. /* Helper classes to remove margin depending on the screen size */
  826. @media (min-width: 768px) and (max-width: 992px) {
  827. .grid-group-item:nth-child(3n){
  828. margin-right: 0px;
  829. }
  830. }
  831. @media (min-width: 992px) and (max-width: 1200px) {
  832. .grid-group-item:nth-child(3n){
  833. margin-right: 0px;
  834. }
  835. }
  836. @media (min-width: 1200px) {
  837. .grid-group-item:nth-child(4n){
  838. margin-right: 0px;
  839. }
  840. }
  841. /****************/
  842. /* - List mode */
  843. /****************/
  844. /****************/
  845. /* Filter brick */
  846. /****************/
  847. .tile.tile-filter-brick .tile_filterbox .form-group:first-child{
  848. width: 100%;
  849. }
  850. .tile.tile-filter-brick .tile_filterbox input[type="text"]{
  851. width: 100%;
  852. }
  853. @media (max-width: 768px){
  854. .tile.tile-filter-brick .tile_filterbox .form-group:first-child{
  855. margin-bottom: 5px;
  856. }
  857. }
  858. @media (min-width: 768px){
  859. .tile.tile-filter-brick .tile_filterbox form{
  860. display: table;
  861. }
  862. .tile.tile-filter-brick .tile_filterbox .form-group:first-child{
  863. display: table-cell;
  864. }
  865. .tile.tile-filter-brick .tile_filterbox button[type="submit"]{
  866. margin-left: 5px;
  867. }
  868. }
  869. @media (min-width: 992px)
  870. {
  871. .tile.tile-filter-brick .tile_filterbox .form-group:first-child{
  872. display: table-cell;
  873. }
  874. }
  875. /*********/
  876. /* Forms */
  877. /*********/
  878. .form_field .form_mandatory .control-label:after{
  879. content: "\002a";
  880. position: relative;
  881. left: 3px;
  882. color: $brand-primary;
  883. font-size: 0.9em;
  884. }
  885. /* InlineImage */
  886. .inline-image{
  887. cursor: pointer;
  888. cursor: zoom-in;
  889. }
  890. /* CaseLog field */
  891. .caselog_field_entry{
  892. border: 1px solid $gray-lighter;
  893. border-top: none;
  894. }
  895. .caselog_field_entry_header{
  896. padding: 6px;
  897. font-size: 1em;
  898. border-bottom: 1px solid $white;
  899. background-color: #F2F2F2;
  900. }
  901. .caselog_field_entry_button{
  902. display: block;
  903. width: 15px;
  904. height: 15px;
  905. text-align: center;
  906. line-height: 15px;
  907. font-size: 16px;
  908. border: 1px solid #a6a6a6;
  909. border-bottom-color: #979797;
  910. cursor: pointer;
  911. }
  912. .caselog_field_entry_button:hover{
  913. background-color: #cccccc;
  914. }
  915. .caselog_field_entry_button:before{
  916. content: "▴";
  917. }
  918. .caselog_field_entry_button.collapsed:before{
  919. content: "▾";
  920. }
  921. .caselog_field_entry_content{
  922. margin: 10px;
  923. overflow-x: auto;
  924. }
  925. /* LinkedSet*/
  926. .form_linkedset_toggler,
  927. .form_linkedset_toggler:hover,
  928. .form_linkedset_toggler:focus{
  929. text-decoration: none;
  930. color: inherit;
  931. }
  932. .form_linkedset_toggler > .text{
  933. margin-left: 0.4em;
  934. }
  935. .form_linkedset_toggler > .text:before{
  936. content: "(";
  937. }
  938. .form_linkedset_toggler > .text:after{
  939. content: ")";
  940. }
  941. .form_linkedset_toggler > .glyphicon{
  942. margin-left: 0.5em;
  943. font-size: 0.85em;
  944. color: $combodo-orange;
  945. transition: transform 0.2s linear;
  946. }
  947. .form_linkedset_toggler > .glyphicon.collapsed{
  948. transform: rotateZ(-90deg);
  949. }
  950. /* - DataTables : Loader */
  951. .form_linkedset_wrapper .datatables_overlay{
  952. padding: 8px !important;
  953. }
  954. .form_linkedset_wrapper .overlay_content{
  955. font-size: 0.6em;
  956. }
  957. .form_linkedset_wrapper .content_loader{
  958. margin: 0px;
  959. }
  960. .form_linkedset_wrapper .content_loader .icon{
  961. height: 23px;
  962. }
  963. /* - DataTables : Fit the table in the form */
  964. .form_linkedset_wrapper .dataTables_wrapper{
  965. margin-bottom: 5px;
  966. padding: 0px;
  967. }
  968. /* FileUpload */
  969. .fileupload_field_content{
  970. padding: 8px 23px;
  971. border: 1px solid $gray-lighter;
  972. background-color: #F9F9F9;
  973. }
  974. .fileupload_field_content > div{
  975. margin-bottom: 15px;
  976. }
  977. .attachments_container .attachment {
  978. height: 95px;
  979. overflow-x: hidden;
  980. text-align: center;
  981. }
  982. .attachments_container .attachment:hover {
  983. background-color: #e0e0e0;
  984. }
  985. .attachments_container .attachment .attachment_name{
  986. overflow-x: hidden;
  987. text-overflow: ellipsis;
  988. white-space: nowrap;
  989. }
  990. .attachments_container .attachment .btn{
  991. margin-top: 3px;
  992. }
  993. .upload_container input{
  994. display: inline;
  995. }
  996. .upload_container .loader{
  997. visibility: hidden;
  998. margin-left: 7px;
  999. font-size: 1.2em;
  1000. animation: spin 1.0s linear infinite;
  1001. -webkit-animation: spin 1.0s linear infinite;
  1002. -moz-animation: spin 1.0s linear infinite;
  1003. -ms-animation: spin 1.0s linear infinite;
  1004. }
  1005. #drag_overlay{
  1006. display: block;
  1007. top: inherit;
  1008. bottom: 0px;
  1009. height: 0px;
  1010. }
  1011. #drag_overlay .overlay_content{
  1012. margin-top: 5em;
  1013. width: 100%;
  1014. color: white;
  1015. }
  1016. #drag_overlay .overlay_content .icon{
  1017. font-size: 3em;
  1018. }
  1019. #drag_overlay .overlay_content .message{
  1020. font-size: 1.5em;
  1021. }
  1022. /* Attachments drag & drop zone, only for none mobile devices */
  1023. @media (min-width: 768px){
  1024. #drag_overlay.drag_in{
  1025. animation: show-drop-zone 0.3s ease-out forwards;
  1026. -webkit-animation: show-drop-zone 0.3s ease-out forwards;
  1027. -moz-animation: show-drop-zone 0.3s ease-out forwards;
  1028. -ms-animation: show-drop-zone 0.3s ease-out forwards;
  1029. }
  1030. #drag_overlay.drag_out{
  1031. animation: hide-drop-zone 0.3s ease-out forwards;
  1032. -webkit-animation: hide-drop-zone 0.3s ease-out forwards;
  1033. -moz-animation: hide-drop-zone 0.3s ease-out forwards;
  1034. -ms-animation: hide-drop-zone 0.3s ease-out forwards;
  1035. }
  1036. @keyframes show-drop-zone{
  1037. 100% {
  1038. height: 20%;
  1039. }
  1040. }
  1041. @-webkit-keyframes show-drop-zone{
  1042. 100% {
  1043. height: 20%;
  1044. }
  1045. }
  1046. @-moz-keyframes show-drop-zone{
  1047. 100% {
  1048. height: 20%;
  1049. }
  1050. }
  1051. @-ms-keyframes show-drop-zone{
  1052. 100% {
  1053. height: 20%;
  1054. }
  1055. }
  1056. @keyframes hide-drop-zone{
  1057. 0% {
  1058. height: 20%;
  1059. }
  1060. 100% {
  1061. height: 0%;
  1062. }
  1063. }
  1064. @-webkit-keyframes hide-drop-zone{
  1065. 0% {
  1066. height: 20%;
  1067. }
  1068. 100% {
  1069. height: 0%;
  1070. }
  1071. }
  1072. @-moz-keyframes hide-drop-zone{
  1073. 0% {
  1074. height: 20%;
  1075. }
  1076. 100% {
  1077. height: 0%;
  1078. }
  1079. }
  1080. @-ms-keyframes hide-drop-zone{
  1081. 0% {
  1082. height: 20%;
  1083. }
  1084. 100% {
  1085. height: 0%;
  1086. }
  1087. }
  1088. }
  1089. /* BlobField */
  1090. .form_fields .file_open_link{
  1091. margin-left: 10px;
  1092. }
  1093. .form_field .form-control-static img{
  1094. max-width: 100% !important;
  1095. height: initial !important;
  1096. }
  1097. .form_buttons{
  1098. padding-top: 20px;
  1099. text-align: center;
  1100. }
  1101. .form_buttons .form_btn_transitions{
  1102. margin-bottom: 20px;
  1103. }
  1104. .form_buttons .btn .glyphicon{
  1105. margin-right: 0.5em;
  1106. }
  1107. .form_btn_regular.sticky{
  1108. display: none;
  1109. }
  1110. @media (min-width: 768px){
  1111. .form_buttons .form_btn_transitions{
  1112. float: right !important;
  1113. margin-left: 3px;
  1114. }
  1115. .form_buttons .form_btn_regular{
  1116. text-align: right;
  1117. }
  1118. .form_buttons .form_btn_regular btn{
  1119. width: inherit;
  1120. }
  1121. /* Making regular button sticky */
  1122. .form_btn_regular.sticky{
  1123. display: block;
  1124. position: fixed;
  1125. bottom: 5em;
  1126. right: -2px; /* TODO : SASS this to col-xs-12 padding */
  1127. padding: 15px;
  1128. background-color: $white;
  1129. border: 1px solid $gray-lighter;
  1130. border-radius: $border-radius-base;
  1131. transition: right 0.3s;
  1132. }
  1133. .form_btn_regular.sticky.closed{
  1134. right: -75px;
  1135. }
  1136. .form_btn_regular.sticky button{
  1137. display: block;
  1138. }
  1139. .form_btn_regular.sticky button:first-child{
  1140. margin-bottom: 4px;
  1141. }
  1142. }
  1143. /* CKEditor : Adding BS error feedback */
  1144. .form_field div.cke{
  1145. border: 1px solid $gray-lighter;
  1146. }
  1147. .form_field.has-error div.cke{
  1148. border: 1px solid $state-danger-text;
  1149. border-radius: $border-radius-base;
  1150. box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  1151. }
  1152. /* CKEditor : Styling notifications based on BS alerts */
  1153. .cke_notification{
  1154. position: relative;
  1155. padding: 15px;
  1156. margin-bottom: 18px;
  1157. border: 1px solid transparent;
  1158. border-radius: 4px;
  1159. background-color: $white
  1160. }
  1161. .cke_notification_close{
  1162. position: absolute;
  1163. top: 2px;
  1164. right: 5px;
  1165. }
  1166. .cke_notification_message{
  1167. margin-bottom: 0px;
  1168. line-height: 1em;
  1169. font-size: 1em;
  1170. }
  1171. .cke_notification_success{
  1172. display: none;
  1173. background-color: $alert-success-bg;
  1174. border-color: $alert-success-border;
  1175. color: $alert-success-text;
  1176. }
  1177. .cke_notification_warning{
  1178. background-color: $alert-warning-bg;
  1179. border-color: $alert-warning-border;
  1180. color: $alert-warning-text;
  1181. }
  1182. /* CKEditor : Misc */
  1183. .cke_toolbox_collapser,
  1184. .cke_toolbox_collapser .cke_arrow{
  1185. cursor: pointer !important;
  1186. }
  1187. /* DataTables : Selection inputs */
  1188. .dataTable.table th span.row_input,
  1189. .dataTable.table td span.row_input{
  1190. display: inline-block;
  1191. width: 100%;
  1192. text-align: center;
  1193. }
  1194. /* Wiki text (hyperlinks) */
  1195. .wiki_broken_link {
  1196. text-decoration: line-through;
  1197. }