portal.scss 24 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244
  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 notifications based on BS alerts */
  1154. .cke_notification{
  1155. position: relative;
  1156. padding: 15px;
  1157. margin-bottom: 18px;
  1158. border: 1px solid transparent;
  1159. border-radius: 4px;
  1160. background-color: $white
  1161. }
  1162. .cke_notification_close{
  1163. position: absolute;
  1164. top: 2px;
  1165. right: 5px;
  1166. }
  1167. .cke_notification_message{
  1168. margin-bottom: 0px;
  1169. line-height: 1em;
  1170. font-size: 1em;
  1171. }
  1172. .cke_notification_success{
  1173. display: none;
  1174. background-color: $alert-success-bg;
  1175. border-color: $alert-success-border;
  1176. color: $alert-success-text;
  1177. }
  1178. .cke_notification_warning{
  1179. background-color: $alert-warning-bg;
  1180. border-color: $alert-warning-border;
  1181. color: $alert-warning-text;
  1182. }
  1183. /* CKEditor : Misc */
  1184. .cke_toolbox_collapser,
  1185. .cke_toolbox_collapser .cke_arrow{
  1186. cursor: pointer !important;
  1187. }
  1188. /* DataTables : Selection inputs */
  1189. .dataTable.table th span.row_input,
  1190. .dataTable.table td span.row_input{
  1191. display: inline-block;
  1192. width: 100%;
  1193. text-align: center;
  1194. }
  1195. /* Wiki text (hyperlinks) */
  1196. .wiki_broken_link {
  1197. text-decoration: line-through;
  1198. }