portal.scss 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269
  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. text-align: center;
  19. }
  20. /* Environment banner */
  21. #envbanner{
  22. position: relative;
  23. z-index: 10;
  24. padding: 5px 15px;
  25. text-align: center;
  26. }
  27. #envbanner > button{
  28. margin-left: 5px;
  29. color: #000;
  30. }
  31. /* Navigation menu */
  32. .navbar-nav .dropdown-menu a .glyphicon,
  33. .user_infos .dropdown-menu a .glyphicon{
  34. margin-right: 15px;
  35. }
  36. .nav > li > a > span.brick_icon,
  37. .dropdown-menu > li > a > span.brick_icon{
  38. margin-right: 20px;
  39. vertical-align: sub;
  40. }
  41. /* Topbar */
  42. #topbar .navbar-header{
  43. position: relative;
  44. z-index: 2;
  45. }
  46. #topbar .navbar-collapse{
  47. position: relative;
  48. z-index: 1;
  49. overflow-y: auto;
  50. }
  51. #topbar .navbar-collapse > .navbar-nav{
  52. padding-top: 30px;
  53. }
  54. #topbar .navbar-brand > img{
  55. max-height: 100%;
  56. }
  57. #topbar .user_infos{
  58. text-decoration: none;
  59. }
  60. #topbar .user_photo{
  61. position: absolute;
  62. display: block;
  63. top: 5px;
  64. left: 10px;
  65. width: 65px;
  66. height: 65px;
  67. background-size: 100%;
  68. background-position: center center;
  69. background-color: #585653;
  70. border: 2px solid $white;
  71. border-radius: 100%;
  72. box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
  73. }
  74. #topbar .user_fullname{
  75. display: inline-block;
  76. position: absolute;
  77. padding-left: 85px;
  78. max-width: 55%;
  79. /*color: $white;*/
  80. white-space: nowrap;
  81. text-overflow: ellipsis;
  82. overflow-x: hidden;
  83. }
  84. /* Sidebar */
  85. @media (min-width: 768px){
  86. #sidebar{
  87. position: fixed;
  88. top: 0px;
  89. left: 0px;
  90. padding: 0px; /* Overriding BS */
  91. height: 100%;
  92. }
  93. #sidebar .user_card{
  94. padding: 30px 0px;
  95. text-align: center;
  96. }
  97. #sidebar .user_card .user_photo{
  98. margin: 0px auto 10px auto;
  99. width: 80px;
  100. height: 80px;
  101. background-size: 100%;
  102. background-position: center center;
  103. background-color: #585653;
  104. background-repeat: no-repeat;
  105. border: 2px solid $white;
  106. border-radius: 100%;
  107. }
  108. #sidebar .user_card .user_infos{
  109. font-size: 1em;
  110. color: $white;
  111. }
  112. #sidebar .user_card .user_infos .dropdown-toggle{
  113. color: $white;
  114. }
  115. #sidebar .user_card .user_options.dropdown-menu{
  116. width: 92%;
  117. left: 4%;
  118. }
  119. #sidebar .user_card .user_fullname{
  120. font-weight: 600;
  121. }
  122. #sidebar .menu{
  123. max-height: 59%;
  124. overflow-y: auto;
  125. overflow-x: hidden;
  126. }
  127. #sidebar .menu .navbar-nav > li{
  128. width: 100%;
  129. }
  130. #sidebar .menu .navbar-nav > li > a > .brick_icon{
  131. width: 1.2em;
  132. vertical-align: sub;
  133. text-align: center;
  134. margin-right: 10px;
  135. }
  136. #sidebar .logo{
  137. position: absolute;
  138. bottom: 15px;
  139. width: 100%;
  140. text-align: center;
  141. }
  142. #sidebar .logo img{
  143. width: 40%;
  144. max-width: 100%;
  145. }
  146. }
  147. @media (min-width: 992px){
  148. }
  149. /* Warning : Not a offical BS breakpoint */
  150. @media (min-width: 1600px){
  151. #sidebar .user_card .user_photo{
  152. width: 120px;
  153. height: 120px;
  154. }
  155. #sidebar .menu .nav > li > a > .brick_icon{
  156. margin-right: 20px;
  157. }
  158. }
  159. /* Main content */
  160. @media (min-width: 768px) {
  161. #main-wrapper{
  162. margin-top: 20px;
  163. }
  164. }
  165. /* Overlays*/
  166. .global_overlay{
  167. z-index: 9999;
  168. display: none;
  169. position: fixed;
  170. top: 0px;
  171. left: 0px;
  172. width: 100%;
  173. height: 100%;
  174. background-color: black;
  175. opacity: 0.5;
  176. }
  177. #page_overlay .overlay_content{
  178. margin-top: 20em;
  179. width: 100%;
  180. color: white;
  181. }
  182. .overlay_content{
  183. text-align: center;
  184. }
  185. .content_loader{
  186. text-align: center;
  187. }
  188. .content_loader .icon{
  189. margin-bottom: 0.3em;
  190. /*width: 52px;*/
  191. height: 38px; /* 50px; *//* Hack to make loader circle perfectly */
  192. font-size: 3em; /* 4em; */
  193. animation: spin 1.2s linear infinite;
  194. -webkit-animation: spin 1.2s linear infinite;
  195. -moz-animation: spin 1.2s linear infinite;
  196. -ms-animation: spin 1.2s linear infinite;
  197. }
  198. .content_loader .message{
  199. font-size: 1.5em; /* 2em; */
  200. }
  201. .datatables_overlay{
  202. padding: 5% 0px !important;
  203. background-color: white;
  204. }
  205. /******************/
  206. /* Global classes */
  207. /******************/
  208. .vertical-center {
  209. /* Make it a flex container */
  210. display: -webkit-box;
  211. display: -moz-box;
  212. display: -ms-flexbox;
  213. display: -webkit-flex;
  214. display: flex;
  215. /* Align the bootstrap's container vertically */
  216. -webkit-box-align : center;
  217. -webkit-align-items : center;
  218. -moz-box-align : center;
  219. -ms-flex-align : center;
  220. align-items : center;
  221. /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
  222. hence the bootstrap's container won't be aligned to the center anymore.
  223. Therefore, we should use the following declarations to get it centered again */
  224. -webkit-box-pack : center;
  225. -moz-box-pack : center;
  226. -ms-flex-pack : center;
  227. -webkit-justify-content : center;
  228. justify-content : center;
  229. }
  230. /*********************/
  231. /* Global animations */
  232. /*********************/
  233. /* Spin */
  234. @keyframes spin{
  235. 100% {
  236. transform: rotate(360deg);
  237. }
  238. }
  239. @-webkit-keyframes spin{
  240. 100% {
  241. -webkit-transform: rotate(360deg);
  242. }
  243. }
  244. @-moz-keyframes spin{
  245. 100% {
  246. -moz-transform: rotate(360deg);
  247. }
  248. }
  249. @-ms-keyframes spin{
  250. 100% {
  251. -ms-transform: rotate(360deg);
  252. }
  253. }
  254. /*********************/
  255. /* BS theme override */
  256. /*********************/
  257. .list-group.tree{
  258. margin-top: 11px;
  259. margin-bottom: -11px;
  260. }
  261. .list-group.tree .list-group-item{
  262. padding-right: 0px; /* To align all actions on the right without indent */
  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. #brick_content_tree .list-group-item{
  550. padding-top: 0px;
  551. }
  552. #brick_content_tree .list-group-item > .tree-item-wrapper{
  553. display: block;
  554. padding-top: 10px;
  555. color: inherit;
  556. text-decoration: inherit;
  557. cursor: pointer;
  558. }
  559. .list-group-item > .list-group-item-actions{
  560. /*display: none; Displaying actions only when hovering was not unanimous in the team */
  561. position: absolute;
  562. top: 10px;
  563. right: 10px;
  564. }
  565. .list-group-item:hover > .list-group-item-actions,
  566. .mosaic-group-item:hover > .mosaic-group-item-actions{
  567. display: block;
  568. }
  569. .list-group-item .list-group-item-actions a:not(:first-child),
  570. .mosaic-group-item .mosaic-group-item-actions a:not(:first-child){
  571. margin-left: 10px;
  572. }
  573. .list-group-item .keep-spinning{
  574. animation: spin 1s linear infinite;
  575. -webkit-animation: spin 1s linear infinite;
  576. -moz-animation: spin 1s linear infinite;
  577. -ms-animation: spin 1s linear infinite;
  578. }
  579. .list-group.tree .list-group-item .list-group-item-description{
  580. display: block;
  581. margin-top: 3px;
  582. font-size: 0.8em;
  583. }
  584. /* Secondary actions */
  585. .list-group-item-actions .group-actions-wrapper,
  586. .mosaic-group-item-actions .group-actions-wrapper,
  587. table .group-actions-wrapper{
  588. text-align: center;
  589. }
  590. table .group-actions{
  591. position: relative;
  592. }
  593. .list-group-item-actions a.glyphicon-menu-hamburger,
  594. .mosaic-group-item-actions a.glyphicon-menu-hamburger,
  595. table .group-actions a.glyphicon-menu-hamburger{
  596. cursor: pointer;
  597. text-decoration: none;
  598. }
  599. .list-group-item-actions .item-action-wrapper,
  600. .mosaic-group-item-actions .item-action-wrapper,
  601. table .group-actions .item-action-wrapper
  602. {
  603. display: none;
  604. position: absolute;
  605. z-index: 5;
  606. bottom: -7px;
  607. right: 15px;
  608. -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
  609. -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
  610. box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
  611. }
  612. .list-group-item-actions .item-action-wrapper .glyphicon,
  613. .mosaic-group-item-actions .item-action-wrapper .glyphicon,
  614. table .group-actions .item-action-wrapper .glyphicon{
  615. margin-right: 0.6em;
  616. }
  617. .list-group-item-actions .item-action-wrapper.collapse.in,
  618. .mosaic-group-item-actions .item-action-wrapper.collapse.in,
  619. table .group-actions .item-action-wrapper.collapse.in{
  620. display: block;
  621. }
  622. .list-group-item-actions .item-action-wrapper .panel-body > p,
  623. .mosaic-group-item-actions .item-action-wrapper .panel-body > p,
  624. table .group-actions .item-action-wrapper .panel-body > p{
  625. text-align: left;
  626. white-space: nowrap;
  627. }
  628. .list-group-item-actions .item-action-wrapper .panel-body > p:last-child,
  629. .mosaic-group-item-actions .item-action-wrapper .panel-body > p:last-child,
  630. table .group-actions .item-action-wrapper .panel-body > p:last-child{
  631. margin-bottom: 0px;
  632. }
  633. #brick_content_empty{
  634. display: none;
  635. padding: 40px;
  636. font-size: 1.3em;
  637. font-style: italic;
  638. }
  639. /* Loader */
  640. #brick_tree_overlay,
  641. #brick_mosaic_overlay{
  642. display: none;
  643. padding: 8% 0px;
  644. border-radius: 0px 0px 4px 4px;
  645. font-size: 1em;
  646. }
  647. /****************************************************************/
  648. /* - Mosaic mode */
  649. /* */
  650. /* Note: Some of the CSS is factorised in the "Tree mode" part */
  651. /* */
  652. /* Note: .mosaic-item-layout-x classes are for different */
  653. /* presentation modes. Like in binary, add the values to know */
  654. /* which class to use. */
  655. /* - 1 is for name */
  656. /* - 2 is for description */
  657. /* - 4 is for image */
  658. /* eg. .mosaic-item-layout-5 when just name and image */
  659. /****************************************************************/
  660. #brick_content_mosaic{
  661. position: relative;
  662. padding: 10px 10px 1px 10px;
  663. }
  664. /* Breadcrumb */
  665. #mosaic-breadcrumb{
  666. margin-bottom: 5px;
  667. padding-left: 0px;
  668. font-size: 12px;
  669. white-space: nowrap;
  670. overflow-x: hidden;
  671. text-overflow: ellipsis;
  672. }
  673. .mosaic-group{
  674. display: none;
  675. }
  676. /* Only the first level is showed by default */
  677. .mosaic-group:first-of-type{
  678. display: block;
  679. }
  680. .mosaic-group-back,
  681. .mosaic-group-item{
  682. position: relative;
  683. height: 55px;
  684. margin-bottom: 10px;
  685. text-align: center;
  686. color: $white;
  687. }
  688. .mosaic-group-back{
  689. font-size: 25px;
  690. }
  691. .mosaic-item{
  692. display: table;
  693. width: 100%;
  694. height: 100%;
  695. overflow: hidden;
  696. background-color: $combodo-dark-gray;
  697. transition: all linear 0.3s;
  698. }
  699. .mosaic-item,
  700. .mosaic-item:hover,
  701. .mosaic-item:active,
  702. .mosaic-item:focus,
  703. .mosaic-item:visited{
  704. color: $white;
  705. text-decoration: none;
  706. }
  707. .mosaic-item:active{
  708. background-color: $combodo-orange-darker;
  709. }
  710. .mosaic-item-image,
  711. .mosaic-item-text{
  712. display: table-cell;
  713. text-align: center;
  714. vertical-align: middle;
  715. }
  716. .mosaic-item-image > img{
  717. max-width: 85%;
  718. }
  719. .mosaic-item-text{
  720. max-width: 1px; /* This is an arbitrary value. It is just here to make .mosaic-item-name wrap when there is a very long word in it. */
  721. overflow: hidden;
  722. }
  723. .mosaic-group-item > .mosaic-group-item-actions{
  724. position: absolute;
  725. top: 5px;
  726. right: 5px;
  727. }
  728. .mosaic-group-item-actions > a{
  729. color: $white;
  730. text-decoration: none;
  731. }
  732. .mosaic-group-item-actions > a:hover,
  733. .mosaic-group-item-actions > a:focus{
  734. color: #EEEEEE;
  735. }
  736. @media (max-width: 768px) {
  737. .mosaic-group-item > .mosaic-group-item-actions{
  738. top: 12px;
  739. right: 6px;
  740. }
  741. .mosaic-group-item > .mosaic-group-item-actions > .glyphicon{
  742. margin-top: 5px;
  743. }
  744. .mosaic-group-item-actions > a{
  745. font-size: 20px;
  746. }
  747. /* All layout */
  748. .mosaic-item-image{
  749. width: 55px;
  750. padding: 10px;
  751. }
  752. .mosaic-item-image > img{
  753. max-height: 30px;
  754. }
  755. .mosaic-item-name{
  756. font-size: 14px;
  757. }
  758. .mosaic-item-description{
  759. display: none;
  760. }
  761. /* Layout 2 */
  762. .mosaic-item-layout-2 .mosaic-item-description{
  763. display: block;
  764. }
  765. /* Layout 5/7 */
  766. .mosaic-item-layout-5 .mosaic-item-name,
  767. .mosaic-item-layout-7 .mosaic-item-name{
  768. padding-right: 40px;
  769. }
  770. }
  771. @media (min-width: 768px) {
  772. .mosaic-group-item{
  773. display: inline-block;
  774. width: 32%;
  775. height: 120px;
  776. margin-right: 1.95%; /* We don't put 2% to keep a margin in case of a bad browser rendering */
  777. }
  778. .mosaic-item{
  779. padding: 10px;
  780. }
  781. .mosaic-item:hover,
  782. .mosaic-item:focus{
  783. background-color: $combodo-orange;
  784. box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.20);
  785. }
  786. /* All layout */
  787. .mosaic-item-name{
  788. font-weight: 600;
  789. font-size: 12px;
  790. }
  791. .mosaic-item-description{
  792. overflow: hidden;
  793. }
  794. /* Layout 1 */
  795. .mosaic-item-layout-1 .mosaic-item-name{
  796. font-weight: inherit;
  797. font-size: 14px;
  798. }
  799. /* Layout 7 */
  800. .mosaic-item-layout-7 .mosaic-item-image{
  801. display: none;
  802. }
  803. .mosaic-item-layout-3 .mosaic-item-description,
  804. .mosaic-item-layout-7 .mosaic-item-description{
  805. margin-top: 10px;
  806. max-height: 40px;
  807. font-size: 10px;
  808. }
  809. }
  810. @media (min-width: 992px) {
  811. .mosaic-item{
  812. padding: 10px 15px;
  813. }
  814. .mosaic-group-back{
  815. font-size: 40px;
  816. }
  817. /* Layout 5 & 7 */
  818. .mosaic-item-layout-5 .mosaic-item-image,
  819. .mosaic-item-layout-7 .mosaic-item-image{
  820. display: table-cell;
  821. width: 105px;
  822. padding-left: 5px;
  823. padding-right: 18px;
  824. }
  825. .mosaic-item-layout-5 .mosaic-item-image > img,
  826. .mosaic-item-layout-7 .mosaic-item-image > img{
  827. max-width: 105px; /* Equals parent element width */
  828. }
  829. .mosaic-item-layout-5 .mosaic-item-name,
  830. .mosaic-item-layout-7 .mosaic-item-name{
  831. font-size: 12px;
  832. }
  833. }
  834. @media (min-width: 1200px) {
  835. .mosaic-group-item{
  836. width: 24%;
  837. height: 140px;
  838. margin-right: 1.3%;
  839. }
  840. }
  841. /* Helper classes to remove margin depending on the screen size */
  842. @media (min-width: 768px) and (max-width: 992px) {
  843. .mosaic-group-item:nth-child(3n){
  844. margin-right: 0px;
  845. }
  846. }
  847. @media (min-width: 992px) and (max-width: 1200px) {
  848. .mosaic-group-item:nth-child(3n){
  849. margin-right: 0px;
  850. }
  851. }
  852. @media (min-width: 1200px) {
  853. .mosaic-group-item:nth-child(4n){
  854. margin-right: 0px;
  855. }
  856. }
  857. /****************/
  858. /* - List mode */
  859. /****************/
  860. /****************/
  861. /* Filter brick */
  862. /****************/
  863. .tile.tile-filter-brick .tile_filterbox .form-group:first-child{
  864. width: 100%;
  865. }
  866. .tile.tile-filter-brick .tile_filterbox input[type="text"]{
  867. width: 100%;
  868. }
  869. @media (max-width: 768px){
  870. .tile.tile-filter-brick .tile_filterbox .form-group:first-child{
  871. margin-bottom: 5px;
  872. }
  873. }
  874. @media (min-width: 768px){
  875. .tile.tile-filter-brick .tile_filterbox form{
  876. display: table;
  877. }
  878. .tile.tile-filter-brick .tile_filterbox .form-group:first-child{
  879. display: table-cell;
  880. }
  881. .tile.tile-filter-brick .tile_filterbox button[type="submit"]{
  882. margin-left: 5px;
  883. }
  884. }
  885. @media (min-width: 992px)
  886. {
  887. .tile.tile-filter-brick .tile_filterbox .form-group:first-child{
  888. display: table-cell;
  889. }
  890. }
  891. /*********/
  892. /* Forms */
  893. /*********/
  894. .form_field .form_mandatory .control-label:after{
  895. content: "\002a";
  896. position: relative;
  897. left: 3px;
  898. color: $brand-primary;
  899. font-size: 0.9em;
  900. }
  901. /* ExternalKey */
  902. .selectobject .input-group-addon{
  903. cursor: pointer;
  904. }
  905. /* InlineImage */
  906. .inline-image{
  907. cursor: pointer;
  908. cursor: zoom-in;
  909. }
  910. /* CaseLog field */
  911. .caselog_field_entry{
  912. border: 1px solid $gray-lighter;
  913. border-top: none;
  914. }
  915. .caselog_field_entry_header{
  916. padding: 6px;
  917. font-size: 1em;
  918. border-bottom: 1px solid $white;
  919. background-color: #F2F2F2;
  920. }
  921. .caselog_field_entry_button{
  922. display: block;
  923. width: 15px;
  924. height: 15px;
  925. text-align: center;
  926. line-height: 15px;
  927. font-size: 16px;
  928. border: 1px solid #a6a6a6;
  929. border-bottom-color: #979797;
  930. cursor: pointer;
  931. }
  932. .caselog_field_entry_button:hover{
  933. background-color: #cccccc;
  934. }
  935. .caselog_field_entry_button:before{
  936. content: "▴";
  937. }
  938. .caselog_field_entry_button.collapsed:before{
  939. content: "▾";
  940. }
  941. .caselog_field_entry_content{
  942. margin: 10px;
  943. overflow-x: auto;
  944. }
  945. /* LinkedSet*/
  946. .form_linkedset_toggler,
  947. .form_linkedset_toggler:hover,
  948. .form_linkedset_toggler:focus{
  949. text-decoration: none;
  950. color: inherit;
  951. }
  952. .form_linkedset_toggler > .text{
  953. margin-left: 0.4em;
  954. }
  955. .form_linkedset_toggler > .text:before{
  956. content: "(";
  957. }
  958. .form_linkedset_toggler > .text:after{
  959. content: ")";
  960. }
  961. .form_linkedset_toggler > .glyphicon{
  962. margin-left: 0.5em;
  963. font-size: 0.85em;
  964. color: $combodo-orange;
  965. transition: transform 0.2s linear;
  966. }
  967. .form_linkedset_toggler > .glyphicon.collapsed{
  968. transform: rotateZ(-90deg);
  969. }
  970. /* - DataTables : Loader */
  971. .form_linkedset_wrapper .datatables_overlay{
  972. padding: 8px !important;
  973. }
  974. .form_linkedset_wrapper .overlay_content{
  975. font-size: 0.6em;
  976. }
  977. .form_linkedset_wrapper .content_loader{
  978. margin: 0px;
  979. }
  980. .form_linkedset_wrapper .content_loader .icon{
  981. height: 23px;
  982. }
  983. /* - DataTables : Fit the table in the form */
  984. .form_linkedset_wrapper .dataTables_wrapper{
  985. margin-bottom: 5px;
  986. padding: 0px;
  987. }
  988. /* FileUpload */
  989. .fileupload_field_content{
  990. padding: 8px 23px;
  991. border: 1px solid $gray-lighter;
  992. background-color: #F9F9F9;
  993. }
  994. .fileupload_field_content > div{
  995. margin-bottom: 15px;
  996. }
  997. .attachments_container .attachment {
  998. height: 95px;
  999. overflow-x: hidden;
  1000. text-align: center;
  1001. }
  1002. .attachments_container .attachment:hover {
  1003. background-color: #e0e0e0;
  1004. }
  1005. .attachments_container .attachment .attachment_name{
  1006. overflow-x: hidden;
  1007. text-overflow: ellipsis;
  1008. white-space: nowrap;
  1009. }
  1010. .attachments_container .attachment .btn{
  1011. margin-top: 3px;
  1012. }
  1013. .upload_container input{
  1014. display: inline;
  1015. }
  1016. .upload_container .loader{
  1017. visibility: hidden;
  1018. margin-left: 7px;
  1019. font-size: 1.2em;
  1020. animation: spin 1.0s linear infinite;
  1021. -webkit-animation: spin 1.0s linear infinite;
  1022. -moz-animation: spin 1.0s linear infinite;
  1023. -ms-animation: spin 1.0s linear infinite;
  1024. }
  1025. #drag_overlay{
  1026. display: block;
  1027. top: inherit;
  1028. bottom: 0px;
  1029. height: 0px;
  1030. }
  1031. #drag_overlay .overlay_content{
  1032. margin-top: 5em;
  1033. width: 100%;
  1034. color: white;
  1035. }
  1036. #drag_overlay .overlay_content .icon{
  1037. font-size: 3em;
  1038. }
  1039. #drag_overlay .overlay_content .message{
  1040. font-size: 1.5em;
  1041. }
  1042. /* Attachments drag & drop zone, only for none mobile devices */
  1043. @media (min-width: 768px){
  1044. #drag_overlay.drag_in{
  1045. animation: show-drop-zone 0.3s ease-out forwards;
  1046. -webkit-animation: show-drop-zone 0.3s ease-out forwards;
  1047. -moz-animation: show-drop-zone 0.3s ease-out forwards;
  1048. -ms-animation: show-drop-zone 0.3s ease-out forwards;
  1049. }
  1050. #drag_overlay.drag_out{
  1051. animation: hide-drop-zone 0.3s ease-out forwards;
  1052. -webkit-animation: hide-drop-zone 0.3s ease-out forwards;
  1053. -moz-animation: hide-drop-zone 0.3s ease-out forwards;
  1054. -ms-animation: hide-drop-zone 0.3s ease-out forwards;
  1055. }
  1056. @keyframes show-drop-zone{
  1057. 100% {
  1058. height: 20%;
  1059. }
  1060. }
  1061. @-webkit-keyframes show-drop-zone{
  1062. 100% {
  1063. height: 20%;
  1064. }
  1065. }
  1066. @-moz-keyframes show-drop-zone{
  1067. 100% {
  1068. height: 20%;
  1069. }
  1070. }
  1071. @-ms-keyframes show-drop-zone{
  1072. 100% {
  1073. height: 20%;
  1074. }
  1075. }
  1076. @keyframes hide-drop-zone{
  1077. 0% {
  1078. height: 20%;
  1079. }
  1080. 100% {
  1081. height: 0%;
  1082. }
  1083. }
  1084. @-webkit-keyframes hide-drop-zone{
  1085. 0% {
  1086. height: 20%;
  1087. }
  1088. 100% {
  1089. height: 0%;
  1090. }
  1091. }
  1092. @-moz-keyframes hide-drop-zone{
  1093. 0% {
  1094. height: 20%;
  1095. }
  1096. 100% {
  1097. height: 0%;
  1098. }
  1099. }
  1100. @-ms-keyframes hide-drop-zone{
  1101. 0% {
  1102. height: 20%;
  1103. }
  1104. 100% {
  1105. height: 0%;
  1106. }
  1107. }
  1108. }
  1109. /* BlobField */
  1110. .form_fields .file_open_link{
  1111. margin-left: 10px;
  1112. }
  1113. .form_field .form-control-static img{
  1114. max-width: 100% !important;
  1115. height: initial !important;
  1116. }
  1117. .form_buttons{
  1118. padding-top: 20px;
  1119. text-align: center;
  1120. }
  1121. .form_buttons .form_btn_misc {
  1122. margin-bottom: 20px;
  1123. }
  1124. .form_buttons .form_btn_transitions{
  1125. margin-bottom: 20px;
  1126. }
  1127. .form_buttons .btn .glyphicon{
  1128. margin-right: 0.5em;
  1129. }
  1130. .form_btn_regular.sticky{
  1131. display: none;
  1132. }
  1133. @media (min-width: 768px){
  1134. .form_buttons .form_btn_misc{
  1135. float: left !important;
  1136. }
  1137. .form_buttons .form_btn_transitions{
  1138. float: right !important;
  1139. margin-left: 3px;
  1140. }
  1141. .form_buttons .form_btn_regular{
  1142. text-align: right;
  1143. }
  1144. .form_buttons .form_btn_regular btn{
  1145. width: inherit;
  1146. }
  1147. /* Making regular button sticky */
  1148. .form_btn_regular.sticky{
  1149. display: block;
  1150. position: fixed;
  1151. bottom: 5em;
  1152. right: -2px; /* TODO : SASS this to col-xs-12 padding */
  1153. padding: 15px;
  1154. background-color: $white;
  1155. border: 1px solid $gray-lighter;
  1156. border-radius: $border-radius-base;
  1157. transition: right 0.3s;
  1158. }
  1159. .form_btn_regular.sticky.closed{
  1160. right: -75px;
  1161. }
  1162. .form_btn_regular.sticky button{
  1163. display: block;
  1164. }
  1165. .form_btn_regular.sticky button:first-child{
  1166. margin-bottom: 4px;
  1167. }
  1168. }
  1169. /* CKEditor : Adding BS error feedback */
  1170. .form_field div.cke{
  1171. border: 1px solid $gray-lighter;
  1172. }
  1173. .form_field.has-error div.cke{
  1174. border: 1px solid $state-danger-text;
  1175. border-radius: $border-radius-base;
  1176. box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  1177. }
  1178. /* CKEditor : Styling notifications based on BS alerts */
  1179. .cke_notification{
  1180. position: relative;
  1181. padding: 15px;
  1182. margin-bottom: 18px;
  1183. border: 1px solid transparent;
  1184. border-radius: 4px;
  1185. background-color: $white
  1186. }
  1187. .cke_notification_close{
  1188. position: absolute;
  1189. top: 2px;
  1190. right: 5px;
  1191. }
  1192. .cke_notification_message{
  1193. margin-bottom: 0px;
  1194. line-height: 1em;
  1195. font-size: 1em;
  1196. }
  1197. .cke_notification_success{
  1198. display: none;
  1199. background-color: $alert-success-bg;
  1200. border-color: $alert-success-border;
  1201. color: $alert-success-text;
  1202. }
  1203. .cke_notification_warning{
  1204. background-color: $alert-warning-bg;
  1205. border-color: $alert-warning-border;
  1206. color: $alert-warning-text;
  1207. }
  1208. /* CKEditor : Misc */
  1209. .cke_toolbox_collapser,
  1210. .cke_toolbox_collapser .cke_arrow{
  1211. cursor: pointer !important;
  1212. }
  1213. /* DataTables : Selection inputs */
  1214. .dataTable.table th span.row_input,
  1215. .dataTable.table td span.row_input{
  1216. display: inline-block;
  1217. width: 100%;
  1218. text-align: center;
  1219. }
  1220. /* Wiki text (hyperlinks) */
  1221. .wiki_broken_link {
  1222. text-decoration: line-through;
  1223. }