portal.scss 26 KB

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