portal.scss 24 KB

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