portal.scss 25 KB

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