main.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  1. /** CLIENT **/
  2. .table-clients.table thead > tr {
  3. background: #fff;
  4. }
  5. .table-clients.table th,
  6. .table-clients.table td {
  7. padding: .25rem .75rem;
  8. }
  9. .table-clients td:nth-child(2) {
  10. width: 100px;
  11. }
  12. /* Conteneur principal du plugin client */
  13. .page-sheet-client .client-container {
  14. display: flex;
  15. flex: 1;
  16. min-height: 100%;
  17. overflow-x: hidden;
  18. }
  19. .module-client.embedded #mainMenu,
  20. .module-client.embedded .footer{
  21. display: none;
  22. }
  23. .module-client.embedded .container-fluid{
  24. padding-top: 0px;
  25. }
  26. .module-client.embedded .search-container{
  27. max-width: 100%;
  28. flex: 0 0 100%;
  29. }
  30. .client-dynamic-fields .data-type-checkbox-list .dropdown-toggle{
  31. white-space: break-spaces;
  32. }
  33. .module-client.embedded body {
  34. margin-bottom: 0px;
  35. }
  36. .page-sheet-client .client-container[data-id=""] .client-menu-bar li,
  37. .page-sheet-client .client-container[data-id=""] .btn-delete-client{
  38. display: none;
  39. }
  40. .page-sheet-client .container-fluid{
  41. padding: 50px 0px 0 0px;
  42. min-height: 100%;
  43. height:100%;
  44. }
  45. .page-sheet-client body,html.page-sheet-client{
  46. height:100%;
  47. margin-bottom: 0px!important;
  48. min-height: 100%;
  49. }
  50. .page-sheet-client .footer{
  51. display: none;
  52. }
  53. .client-summary-panel{
  54. order:1;
  55. width: 20%;
  56. max-width: 305px;
  57. min-height: 100%;
  58. }
  59. .client-content-panel{
  60. flex: 1;
  61. order: 2;
  62. background: #f7f7f7;
  63. min-height: 100%;
  64. }
  65. .#client-merge-modal .merge-logs{
  66. max-width: 300px;
  67. font-size: 10px;
  68. overflow: auto;
  69. }
  70. .client-dynamic-fields > .row{
  71. margin: 5px 0 5px 0;
  72. }
  73. .client-info .condition-block label:nth-child(1){
  74. display: block;
  75. }
  76. .client-info .field-block{
  77. display: block;
  78. }
  79. .client-contact-panel{
  80. min-height: 100%;
  81. background-color: #ffffff;
  82. right: 0px;
  83. width: 20%;
  84. overflow-y: auto;
  85. order: 3;
  86. padding: 0px;
  87. }
  88. .client-contact-panel .dropdown-menu.show {
  89. font-size: 0.9em;
  90. }
  91. .client-contact-panel .client-contact-toggle{
  92. position: absolute;
  93. left: 5px;
  94. top: 28px;
  95. color: #cecece;
  96. }
  97. .contact-type-block #civility{
  98. max-width: 70px;
  99. cursor: pointer;
  100. text-align: center;
  101. color: #979797;
  102. background: #eaeaea;
  103. padding: 0 0 0 6px;
  104. }
  105. .page-sheet-client .client-container[data-id=""] .client-edition{
  106. display: none;
  107. }
  108. .client-content-panel .client-menu-bar{
  109. background-color: #ffffff;
  110. position: relative;
  111. }
  112. .client-content-panel .contact-btn{
  113. cursor: pointer;
  114. position: absolute;
  115. right: 20px;
  116. top: 17px;
  117. }
  118. .client-content-panel .client-menu-bar > ul{
  119. list-style-type: none;
  120. padding: 0;
  121. margin: 0;
  122. box-shadow: inset 0 0px 0px 4px #f0f1f6;
  123. }
  124. .client-history{
  125. padding:20px;
  126. }
  127. .client-history > ul{
  128. margin:0;
  129. list-style-type: none;
  130. padding:0;
  131. }
  132. .client-history > ul > li{
  133. background-color: #ffffff;
  134. padding:10px;
  135. margin-bottom: 5px;
  136. }
  137. .client-form-advanced{
  138. display: none;
  139. }
  140. .client-history .client-history-date{
  141. text-align: center;
  142. width:40px;
  143. }
  144. .client-history .client-history-content{
  145. width: calc( 100% - 70px);
  146. vertical-align: top;
  147. text-align: center;
  148. }
  149. .client-history .client-history-author{
  150. color:#cecece;
  151. }
  152. .client-history .client-history-date i{
  153. position: relative;
  154. font-size: 30px;
  155. display: block;
  156. }
  157. .client-history-options li{
  158. display: inline-block;
  159. margin-left: 10px;
  160. }
  161. .client-history-options li i{
  162. font-size: 11px;
  163. cursor: pointer;
  164. }
  165. .client-history-options{
  166. position: absolute;
  167. bottom: 10px;
  168. list-style-type: none;
  169. padding: 0;
  170. margin: 0;
  171. right: 10px;
  172. color: #cecece;
  173. }
  174. .client-history #historys li{
  175. position: relative;
  176. }
  177. .client-history .client-history-date i span{
  178. font-size: 10px;
  179. top: 13px;
  180. position: absolute;
  181. left: 0px;
  182. text-align: center;
  183. width: 100%;
  184. display: block;
  185. font-weight: bold;
  186. font-family: Lato;
  187. }
  188. .client-content-panel .client-form{
  189. margin:50px 40px 40px 40px;
  190. background-color: #ffffff;
  191. position: relative;
  192. }
  193. .client-content-panel .client-form.client-form-map{
  194. margin:40px;
  195. background-color: #ffffff;
  196. position: relative;
  197. }
  198. .client-content-panel .client-form .client-map{
  199. float: left;
  200. width:50%;
  201. background-color: #333333;
  202. background-image:url('../img/default-map.jpg');
  203. background-size:cover;
  204. filter: grayscale(1);
  205. min-height: 425px;
  206. box-sizing: border-box;
  207. position:relative;
  208. text-align:right;
  209. display: none;
  210. transition:all 0.2s ease-in-out;
  211. }
  212. .client-content-panel .client-form.client-form-map .client-map{
  213. display: block;
  214. }
  215. .client-content-panel .client-form .client-map:hover{
  216. filter: grayscale(0);
  217. }
  218. .client-content-panel .client-form .client-map .gmap_canvas {
  219. overflow:hidden;
  220. background:none!important;
  221. height:100%;
  222. width:100%;
  223. }
  224. .page-sheet-client .client-container[data-client-type="individual"] .type-firm{
  225. display: none;
  226. }
  227. .page-sheet-client .client-container[data-client-type="firm"] .type-individual{
  228. display: none;
  229. }
  230. .client-content-panel .client-form .client-thumbnail{
  231. position: absolute;
  232. top: -45px;
  233. left: calc(50% - 59px);
  234. width: 110px;
  235. background-size: cover;
  236. background-position: center;
  237. background-color: #333;
  238. height: 110px;
  239. z-index: 100;
  240. color: #ffffff;
  241. border: 8px solid #ffffff;
  242. border-radius: 100%;
  243. cursor: pointer;
  244. }
  245. .client-content-panel .client-form.client-form-map .client-thumbnail{
  246. top:calc(50% - 59px);
  247. left:-60px;
  248. }
  249. .client-api .dropdown-item{
  250. font-size: 10px;
  251. }
  252. .client-image-edit{
  253. cursor: pointer;
  254. background-size: cover;
  255. background-repeat: no-repeat;
  256. background-position: center;
  257. position: relative;
  258. }
  259. .client-image-edit:hover .client-image-edit-button{
  260. background-color: rgba(0,0,0,0.9);
  261. transform: scale(1.1);
  262. opacity: 1;
  263. }
  264. .client-image-edit-button{
  265. color: #fff;
  266. left: calc(50% - 25px);
  267. top: calc(50% - 25px);
  268. background-color: rgba(0,0,0,0.5);
  269. padding: 15px 0;
  270. text-align: center;
  271. transform: scale(0.2);
  272. border-radius: 100%;
  273. opacity: 0;
  274. width: 50px;
  275. height: 50px;
  276. transition: all 0.2s ease-in-out;
  277. position: absolute;
  278. }
  279. .client-content-panel .client-form .client-info .btn,.client-contact-panel .btn{
  280. border-radius: 0;
  281. border:0;
  282. padding:10px;
  283. }
  284. .client-content-panel .client-form .client-info .btn-dark,.client-contact-panel .btn-dark {
  285. background-color: #5f5f6d;
  286. transition: background 0.2s ease-in-out;
  287. }
  288. .client-content-panel .client-form .client-info .btn-dark:hover,.client-contact-panel .btn-dark:hover {
  289. background-color: #414143;
  290. }
  291. .client-content-panel .client-form .client-info .btn-info,.client-contact-panel .btn-info {
  292. background-color: #67bff1;
  293. transition: background 0.2s ease-in-out;
  294. }
  295. .client-content-panel .client-form .client-info .btn-info:hover,.client-contact-panel .btn-info:hover {
  296. background-color: #1fa2ec;
  297. }
  298. .client-content-panel .client-form .client-info{
  299. float: left;
  300. padding: 25px;
  301. width:100%;
  302. box-sizing: border-box;
  303. }
  304. .client-content-panel .client-form.client-form-map .client-info{
  305. width: 50%;
  306. padding: 15px 15px 15px 50px;
  307. min-height: 425px;
  308. }
  309. .client-content-panel .client-form .client-info label{
  310. text-transform: uppercase;
  311. color:#b3b4ca;
  312. font-size: 12px;
  313. margin-bottom: 0;
  314. }
  315. .client-content-panel .client-form .client-info .form-control{
  316. font-weight: bold;
  317. border:0;
  318. border-radius: 0;
  319. border-bottom: 3px solid #dadada;
  320. color:#565a7c;
  321. font-size:12px;
  322. }
  323. .client-content-panel .client-form .client-info textarea.form-control{
  324. background-color: #f3f3f3;
  325. }
  326. .client-content-panel .client-form .client-info .btn-more-fields:hover {
  327. animation: vshake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  328. }
  329. .client-content-panel .client-form .field-block {
  330. margin-bottom: 0.5rem;
  331. }
  332. .client-content-panel .client-form .client-info{
  333. position: relative;
  334. }
  335. .client-content-panel .client-form .client-info .btn-options{
  336. position: absolute;
  337. right:5px;
  338. top:5px;
  339. color:#cecece;
  340. }
  341. .client-contact-panel .contact-template{
  342. position: relative;
  343. }
  344. .client-contact-panel .contact-template .btn-options,
  345. .client-contact-panel .address .btn-options
  346. {
  347. position: absolute;
  348. right:5px;
  349. top:5px;
  350. color:#cecece;
  351. transition: opacity 0.2s ease-in-out;
  352. opacity:0;
  353. }
  354. .client-contact-panel .contact-template:hover .btn-options,
  355. .client-contact-panel .address:hover .btn-options
  356. {
  357. opacity:1;
  358. }
  359. .client-content-panel .client-menu-bar > ul >li{
  360. border-bottom: 4px solid #f0f1f6;
  361. color: #565b78;
  362. font-weight: bold;
  363. float: left;
  364. max-width: 200px;
  365. cursor: pointer;
  366. text-align: center;
  367. text-transform: uppercase;
  368. transition: all 0.2s ease-in-out;
  369. }
  370. .client-content-panel .client-menu-bar > ul >li a{
  371. color: inherit;
  372. padding:15px;
  373. display: block;
  374. }
  375. .client-content-panel .client-menu-bar > ul >li a:hover{
  376. color: inherit;
  377. text-decoration: none;
  378. }
  379. .client-content-panel .client-menu-bar > ul:after{
  380. content :'';
  381. display: block;
  382. clear: both;
  383. }
  384. .client-content-panel .client-menu-bar > ul >li:hover{
  385. border-bottom: 4px solid #64bcfa;
  386. color:#6cb9ec;
  387. }
  388. .client-content-panel .client-menu-bar > ul >li.active{
  389. border-bottom: 4px solid #64bcfa;
  390. color:#6cb9ec;
  391. }
  392. .client-contact-panel h4{
  393. font-size: 11px;
  394. font-weight: bold;
  395. color:#545b7f;
  396. margin: 15px;
  397. }
  398. .client-contact-panel .btn.btn-info{
  399. box-sizing: border-box;
  400. margin: 0 15px;
  401. margin-bottom: 0;
  402. width: calc(100% - 30px);
  403. }
  404. .client-contact-panel .internals-list,
  405. .client-contact-panel .contacts-list,
  406. .client-contact-panel .addresses-list {
  407. list-style-type: none;
  408. margin:0;
  409. padding:0;
  410. }
  411. .client-contact-panel .internals-list > li,
  412. .client-contact-panel .contacts-list > li,
  413. .client-contact-panel .addresses-list > li {
  414. padding: 5px 20px;
  415. cursor: pointer;
  416. }
  417. .client-contact-panel .internals-list > li:hover,
  418. .client-contact-panel .contacts-list > li:hover,
  419. .client-contact-panel .addresses-list > li:hover {
  420. background-color: #f8f8f8;
  421. }
  422. .client-contact-panel .internals-list > li .contact-avatar,
  423. .client-contact-panel .contacts-list > li .contact-avatar,
  424. .client-contact-panel .addresses-list > li .address-avatar {
  425. border: 2px solid #a5ca59;
  426. border-radius: 100%;
  427. width:60px;
  428. height:60px;
  429. display: inline-block;
  430. vertical-align: top;
  431. text-align: center;
  432. }
  433. .client-contact-panel .internals-list > li .contact-avatar img,
  434. .client-contact-panel .contacts-list > li .contact-avatar img {
  435. width:50px;
  436. height:50px;
  437. margin-top: 3px;
  438. }
  439. .client-contact-panel .addresses-list > li .address-avatar i {
  440. width:50px;
  441. line-height: 50px;
  442. font-size: 30px;
  443. height:50px;
  444. margin-top: 3px;
  445. }
  446. .client-contact-panel .addresses-list > li .adress-content {
  447. max-width: 75%;
  448. }
  449. .client-contact-panel .internals-list > li h2,
  450. .client-contact-panel .contacts-list > li h2,
  451. .client-contact-panel .addresses-list > li h2{
  452. color:#2e3841;
  453. font-size: 16px;
  454. margin:0;
  455. padding-bottom:0;
  456. font-weight: bold;
  457. }
  458. .client-contact-panel .internals-list > li span,
  459. .client-contact-panel .contacts-list > li span,
  460. .client-contact-panel .addresses-list > li p {
  461. color:#c5c5c7;
  462. font-size: 12px;
  463. }
  464. .client-summary-sheet{
  465. border-bottom: 1px solid #e2e2e2;
  466. padding-bottom:10px;
  467. margin-bottom:10px;
  468. }
  469. .client-summary-panel .client-label{
  470. color:#42454e;
  471. font-weight: bold;
  472. font-size: 18px;
  473. }
  474. .client-summary-panel .client-job{
  475. color:#66b0dc;
  476. font-size: 14px;
  477. font-weight: bold;
  478. }
  479. .client-summary-panel .client-city{
  480. color:#d7d6dc;
  481. font-size: 14px;
  482. }
  483. .client-summary-panel .client-contact{
  484. margin:0px 0 10px 0;
  485. padding:0;
  486. }
  487. .client-summary-panel .client-contact li{
  488. color:#898fa7;
  489. list-style-type: none;
  490. padding:5px 0;
  491. margin:0;
  492. font-weight: bold;
  493. font-size: 12px;
  494. }
  495. .client-summary-panel .client-contact span{
  496. color:#4c4d59;
  497. }
  498. .client-summary-panel .client-contact i{
  499. color:#9fa1ad;
  500. }
  501. .client-summary-panel .client-created{
  502. color:#9fa1ad;
  503. padding: 5px 0;
  504. font-size: 12px;
  505. }
  506. .client-summary-panel .client-created span{
  507. color:#4c4d59;
  508. font-weight: bold;
  509. }
  510. .client-summary-panel .client-thumbnail{
  511. width: 100%;
  512. background-size: cover;
  513. background-position: center;
  514. background-repeat: no-repeat;
  515. background-color: #19a2d6;
  516. height:200px;
  517. }
  518. .client-summary-sites h3,.client-summary-memberof h3{
  519. color:#696975;
  520. font-size: 16px;
  521. padding:10px 20px;
  522. }
  523. .client-summary-sites > ul,.client-summary-memberof > ul{
  524. margin: 0;
  525. padding: 0;
  526. }
  527. .client-summary-sites .site-block,.client-summary-memberof .site-block{
  528. color:#696975;
  529. font-size: 16px;
  530. list-style-type: none;
  531. padding:10px 20px;
  532. transition: all 0.2s ease-in-out;
  533. cursor: pointer;
  534. position: relative;
  535. }
  536. .client-summary-sites .site-block:hover,.client-summary-memberof .site-block:hover{
  537. background-color: #f1f1f6;
  538. }
  539. .client-summary-sites .site-block a:hover,.client-summary-memberof .site-block a:hover{
  540. text-decoration: none;
  541. color:inherit;
  542. }
  543. .client-summary-sites .btn-relation-delete,.client-summary-memberof .btn-relation-delete{
  544. color:#cecece;
  545. position: absolute;
  546. right: 15px;
  547. font-size: 10px;
  548. opacity: 0;
  549. transform: rotate(180deg);
  550. transition: all 0.2s ease-in-out;
  551. top:calc(50% - 5px);
  552. cursor: pointer;
  553. }
  554. .client-summary-sites .site-block:hover .btn-relation-delete,.client-summary-memberof .site-block:hover .btn-relation-delete{
  555. opacity: 1;
  556. transform: rotate(0deg);
  557. }
  558. .client-summary-sites > ul li.active,
  559. .client-summary-sites > ul li.active:hover,
  560. .client-summary-memberof > ul li.active,
  561. .client-summary-memberof > ul li.active:hover,
  562. {
  563. background-color: #66bef0;
  564. color:#fffefb;
  565. }
  566. .client-summary-sites .site-block h4,
  567. .client-summary-memberof .site-block h4{
  568. color:#62656e;
  569. font-size: 14px;
  570. font-weight: bold;
  571. }
  572. .client-summary-sites .site-block i,
  573. .client-summary-memberof .site-block i{
  574. color:#a3afb7;
  575. }
  576. .client-summary-sites .site-block p,
  577. .client-summary-memberof .site-block p{
  578. color:#babec8;
  579. padding:0;
  580. margin:0;
  581. font-size: 12px;
  582. }
  583. .condition-block label:nth-child(4){
  584. margin-right: 10px;
  585. }
  586. .client-list-internals{
  587. height:100%;
  588. overflow: auto;
  589. }
  590. .client-list-internals ul{
  591. margin:0;
  592. padding:0;
  593. }
  594. .client-list-internals li{
  595. list-style-type: none;
  596. padding:5px;
  597. }
  598. .client-list-internals ul li small{
  599. text-transform: uppercase;
  600. font-weight: bold;
  601. font-size: 10px;
  602. color:#a2a2a2;
  603. }
  604. .client-list-internals ul li .avatar-mini{
  605. margin-right:5px;
  606. width: 20px;
  607. height: 20px;
  608. }
  609. .client-logo-mini{
  610. height: 50px;
  611. width: 50px;
  612. }
  613. .client-content-page .table,.client-content-page .table tr > th:first-of-type,.client-content-page .table tr > td:first-of-type{
  614. border:0;
  615. background:#ffffff;
  616. }
  617. .client-content-page .table thead th,.client-content-page .table tbody td{
  618. border:0;
  619. }
  620. .client-contact-panel .address{
  621. position: relative;
  622. }
  623. .client-container .mobile{
  624. display: none;
  625. }
  626. #client-internet-modal .modal-preloader i{
  627. font-style: normal;
  628. margin: 4px 0 0 9px;
  629. display: block;
  630. }
  631. .client-card {
  632. min-width: 300px;
  633. text-align: center;
  634. padding: 20px;
  635. }
  636. .client-card .logo{
  637. width: 50px;
  638. }
  639. .client-card .client-card-contacts{
  640. text-align: left;
  641. }
  642. /* TABLE CHECKBOX */
  643. .btn-checkbox-action{
  644. opacity:1;
  645. transition: all 0.2s ease-out;
  646. }
  647. .btn-checkbox-action[data-count="0"]{
  648. opacity:0;
  649. }
  650. .client-container[data-editable="0"] .editable-only{
  651. display: none;
  652. }
  653. .client-container[data-editable="1"] .editable-only{
  654. display: auto;
  655. }
  656. @media only screen and (max-device-width : 480px) {
  657. .page-sheet-client .client-container{
  658. display: block;
  659. }
  660. .client-summary-panel{
  661. width:100%;
  662. max-width:100%;
  663. }
  664. .client-summary-panel .client-thumbnail{
  665. height: 100px;
  666. }
  667. .client-image-edit-button{
  668. opacity: 1;
  669. transform: scale(1);
  670. }
  671. .client-content-panel .client-menu-bar > ul >li a{
  672. padding:5px;
  673. font-size: 14px;
  674. }
  675. .client-content-panel .client-menu-bar > ul >li{
  676. width: 50%;
  677. min-width: 50%;
  678. }
  679. .client-content-panel .client-form .client-map {
  680. float: none;
  681. width: 100%;
  682. min-height: 225px;
  683. }
  684. .client-content-panel .client-form.client-form-map{
  685. margin:0;
  686. }
  687. .client-content-panel .client-form.client-form-map .client-info{
  688. width: 100%;
  689. padding:5px;
  690. }
  691. .client-contact-panel{
  692. width:100%;
  693. position: absolute;
  694. background: #ffffff;
  695. left: 0;
  696. top:50px;
  697. display: none;
  698. }
  699. .client-container .client-map{
  700. height: 200px!important;
  701. }
  702. .client-container .mobile{
  703. display: initial;
  704. }
  705. }