main.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. /** CLIENTMAP **/
  2. /* Conteneur principal du plugin Carte des Clients */
  3. .plugin-clientmap{
  4. list-style-type: none;
  5. margin:0;
  6. padding:0;
  7. }
  8. .plugin-clientmap #clientmaps {}
  9. /* formulaire d'édition de client */
  10. .plugin-clientmap .client-form {}
  11. .module-clientmap{
  12. overflow: hidden;
  13. }
  14. .module-clientmap,.module-clientmap body{
  15. height: 100%;
  16. }
  17. .module-clientmap body > .container-fluid{
  18. padding-top: 51px;
  19. padding-left: 0px;
  20. padding-right: 0px;
  21. height: 100%;
  22. }
  23. .client-map-no-points{
  24. position: absolute;
  25. top: calc(50% - 60px);
  26. left: 50%;
  27. }
  28. .module-clientmap.embedded .plugin-clientmap .map-panel{
  29. width: 35%;
  30. padding: 0 10px 0 0;
  31. }
  32. .module-clientmap.embedded .module-clientmap .map-panel-box {
  33. margin-top: 0;
  34. padding-top: 0;
  35. }
  36. .module-clientmap.embedded .plugin-clientmap .map-container{
  37. margin-left: 35%;
  38. }
  39. .module-clientmap.embedded #mainMenu,
  40. .module-client.embedded .footer{
  41. display: none;
  42. }
  43. .module-clientmap.embedded .container-fluid{
  44. padding-top: 0px;
  45. }
  46. .module-clientmap.embedded .map-panel{
  47. margin-top: 0px;
  48. }
  49. .module-clientmap.embedded body {
  50. margin-bottom: 0px;
  51. }
  52. .module-clientmap .client-job{
  53. max-height: 20px;
  54. font-size: 11px;
  55. display: block;
  56. white-space: nowrap;
  57. text-overflow: ellipsis;
  58. overflow: hidden;
  59. }
  60. .plugin-clientmap{
  61. height: 100%;
  62. position: relative;
  63. }
  64. #client-map{
  65. height: 800px;
  66. }
  67. .plugin-clientmap .map-panel{
  68. height: 100%;
  69. position: fixed;
  70. left: 0;
  71. z-index: 1000;
  72. top:0;
  73. width:22%;
  74. margin-top: 50px;
  75. background-color: #ffffff;
  76. }
  77. .plugin-clientmap .map-container{
  78. margin-left: 22%;
  79. height:100%;
  80. }
  81. .plugin-clientmap .map-panel .advanced-search-box{
  82. padding: 0;
  83. }
  84. .plugin-clientmap .map-panel .advanced-search-box li.condition > .filter-option{
  85. font-size: 11px;
  86. }
  87. .plugin-clientmap .map-panel .advanced-search-box .filter-operator,
  88. .plugin-clientmap .map-panel .advanced-search-box .filter-value {
  89. width: 100%;
  90. font-size: 11px;
  91. }
  92. .plugin-clientmap .map-panel .advanced-search-box .filter-operator {
  93. height: 24px;
  94. }
  95. .plugin-clientmap .map-panel .advanced-search-box .filter-column {
  96. height: 25px;
  97. }
  98. .plugin-clientmap .map-panel .advanced-search-box .filter-operator > select{
  99. padding-left: 0;
  100. }
  101. .plugin-clientmap .map-panel .advanced-search-box .filter-column > select{
  102. font-size: 16px;
  103. max-width: 150px;
  104. height: 25px;
  105. padding: 0;
  106. }
  107. .plugin-clientmap .map-panel .advanced-search-box .filter-operator select{
  108. color: #9a9a9a!important;
  109. }
  110. .plugin-clientmap .map-panel .advanced-search-box .condition{
  111. padding-top: 0;
  112. }
  113. .plugin-clientmap .map-panel .advanced-search-box .filter-join{
  114. font-weight: 100;
  115. color: #828282;
  116. font-size: 10px;
  117. border: 0;
  118. }
  119. .plugin-clientmap .map-panel #clients{
  120. list-style-type: none;
  121. padding:0;
  122. margin:0;
  123. }
  124. .plugin-clientmap .map-panel #clients li .external-link:hover{
  125. color: #007bff;
  126. }
  127. .plugin-clientmap .map-panel #clients li .external-link{
  128. position: absolute;
  129. bottom: 10px;
  130. right: 10px;
  131. }
  132. .plugin-clientmap .map-panel #clients li{
  133. position: relative;
  134. padding:15px;
  135. border-bottom:1px solid #eeeded;
  136. cursor: pointer;
  137. transition: background 0.2s ease-in-out;
  138. }
  139. .plugin-clientmap .map-panel #clients li .client-details{
  140. display: none;
  141. }
  142. .plugin-clientmap .map-panel #clients li.selected .client-details{
  143. display: block;
  144. }
  145. .plugin-clientmap .map-panel #clients li.selected .external-link{
  146. right: 15px;
  147. }
  148. .map-panel .pagination{
  149. width: 100%;
  150. }
  151. .plugin-clientmap .map-panel #clients li.selected .map-client-avatar{
  152. display: block;
  153. float: none;
  154. width:100px;
  155. height:100px;
  156. margin:10px auto!important;
  157. text-align: center;
  158. }
  159. .plugin-clientmap .map-panel #clients li:hover{
  160. background-color: #f8f8f8;
  161. }
  162. .plugin-clientmap .client-list-container{
  163. /*height: calc(100% - 240px);*/
  164. min-height: 400px;
  165. color:#565a5c;
  166. /*overflow-y: auto;*/
  167. }
  168. .plugin-clientmap .client-list-container a{
  169. color:#565a5c;
  170. }
  171. .plugin-clientmap .text-icon{
  172. width:25px;
  173. text-align: center;
  174. color:#1a73e8;
  175. }
  176. .plugin-clientmap .client-list-container .map-client-label{
  177. height: 70px;
  178. font-size: 14px;
  179. white-space: nowrap;
  180. text-overflow: ellipsis;
  181. display: block;
  182. overflow: hidden;
  183. }
  184. .module-clientmap .map-panel-box{
  185. overflow-y: auto;
  186. height: calc(100% - 60px)!important;
  187. }
  188. .plugin-clientmap .client-list-container::-webkit-scrollbar,.module-clientmap .map-panel-box::-webkit-scrollbar {
  189. width: 6px;
  190. height: 6px;
  191. }
  192. .plugin-clientmap .client-list-container::-webkit-scrollbar-button,.module-clientmap .map-panel-box::-webkit-scrollbar-button {
  193. width: 0px;
  194. height: 0px;
  195. }
  196. .plugin-clientmap .client-list-container::-webkit-scrollbar-thumb,.module-clientmap .map-panel-box::-webkit-scrollbar-thumb {
  197. background: #cecece;
  198. border: 0px none #ffffff;
  199. border-radius: 50px;
  200. }
  201. .plugin-clientmap .client-list-container::-webkit-scrollbar-thumb:hover,.module-clientmap .map-panel-box::-webkit-scrollbar-thumb:hover {
  202. background: #707070;
  203. }
  204. .plugin-clientmap .client-list-container::-webkit-scrollbar-thumb:active,.module-clientmap .map-panel-box::-webkit-scrollbar-thumb:active {
  205. background: #949494;
  206. }
  207. .plugin-clientmap .client-list-container::-webkit-scrollbar-track,.module-clientmap .map-panel-box::-webkit-scrollbar-track {
  208. background: transparent;
  209. border: 0px none #ffffff;
  210. border-radius: 50px;
  211. }
  212. .plugin-clientmap .client-list-container::-webkit-scrollbar-track:hover,.module-clientmap .map-panel-box::-webkit-scrollbar-track:hover {
  213. background: #d4d4d4;
  214. }
  215. .plugin-clientmap .client-list-container::-webkit-scrollbar-track:active,.module-clientmap .map-panel-box::-webkit-scrollbar-track:active {
  216. background: #d3d3d3;
  217. }
  218. .plugin-clientmap .client-list-container::-webkit-scrollbar-corner,.module-clientmap .map-panel-box::-webkit-scrollbar-corner {
  219. background: transparent;
  220. }
  221. @media only screen and (max-width: 600px) {
  222. .plugin-clientmap .map-panel{
  223. width: 75%!important;
  224. transition: left 0.2s ease-out;
  225. left: -75%;
  226. border-right: 1px solid grey;
  227. border-collapse: collapse;
  228. }
  229. .plugin-clientmap .map-panel.visible{
  230. left: 0;
  231. }
  232. .plugin-clientmap .map-container{
  233. margin-left: 0!important;
  234. }
  235. .plugin-clientmap .map-container .leaflet-container{
  236. width: 100%!important;
  237. }
  238. #map-panel-button{
  239. height: 40px;
  240. width: 40px;
  241. position: absolute;
  242. left: 0;
  243. display: flex;
  244. background-color: white;
  245. z-index: 1000;
  246. top: calc(50% - 20px);
  247. border: 1px solid grey;
  248. border-left: white;
  249. transition: left 0.2s ease-out;
  250. }
  251. #map-panel-button.visible{
  252. left: calc(75% - 1px);
  253. }
  254. #map-panel-button.visible i{
  255. transform: rotate(0.5turn);
  256. }
  257. #map-panel-button i{
  258. margin: auto;
  259. }
  260. }