qd30map.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  1. #block-quartierdix30-page-title > .box.main.title.bg-black {
  2. top: -25px!important;
  3. }
  4. #app-container {
  5. width: 70%;
  6. display: inline-block;
  7. height: 70vh;
  8. float: left;
  9. position: relative;
  10. font-family: Metric, sans-serif;
  11. }
  12. #loading-placeholder {
  13. background: red;
  14. height: 70vh;
  15. text-align: center;
  16. }
  17. #map-ui-form {
  18. width: 24%;
  19. display: none;
  20. background-color: #ffffff;
  21. float: right;
  22. margin-left: 1%;
  23. margin-right: 5%;
  24. margin-bottom: 100px;
  25. padding: 20px;
  26. height: 70vh;
  27. overflow-y: auto;
  28. border: 1px solid black;
  29. }
  30. .cesium-selection-wrapper svg {
  31. fill: #e5fffd;
  32. }
  33. ::-webkit-scrollbar {
  34. width: 13px;
  35. height: 13px;
  36. }
  37. ::-webkit-scrollbar-track {
  38. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  39. border-radius: 5px;
  40. }
  41. ::-webkit-scrollbar-thumb {
  42. border-radius: 5px;
  43. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
  44. }
  45. .cesium-viewer-geocoderContainer {
  46. display: none;
  47. }
  48. /*#block-quartierdix30-content {*/
  49. /*min-height: 360px;*/
  50. /*}*/
  51. .page-qd30map .region-side-navigation {
  52. display: none;
  53. }
  54. .cesium-widget-credits, .cesium-viewer-fullscreenContainer {
  55. display: none!important;
  56. }
  57. .cesium-infoBox {
  58. width: 18em;
  59. height: 15em;
  60. position: absolute;
  61. left: 0;
  62. top: calc(100% - 320px);
  63. background: white;
  64. text-align: center;
  65. box-shadow: none;
  66. font-family: Metric, sans-serif;
  67. border: 0;
  68. -webkit-transform: translate(-100%, 0);
  69. -moz-transform: translate(-100%, 0);
  70. transform: translate(-100%, 0);
  71. }
  72. .cesium-infoBox-visible {
  73. -webkit-transform: translate(0%, 0);
  74. -moz-transform: translate(0%, 0);
  75. transform: translate(0%, 0);
  76. }
  77. .cesium-infoBox-title {
  78. display: none;
  79. }
  80. .cesium-infoBox-iframe {
  81. width: 18em;
  82. background: white;
  83. height: 15em!important;
  84. box-shadow: 0 0 10px -2px #000;
  85. }
  86. .cesium-infoBox-camera {
  87. display: none!important;
  88. }
  89. .cesium-infoBox-description {
  90. color: #000000;
  91. font-family: Metric, sans-serif;
  92. }
  93. .cesium-infoBox-description > div {
  94. }
  95. .cesium-infoBox-description a:link {
  96. color: #000000;
  97. }
  98. .cesium-infoBox-description a:hover {
  99. text-decoration: underline!important;
  100. background-color: #fcc300!important;
  101. }
  102. .cesium-infoBox-description .boutique-infobox > a:hover {
  103. background-color: inherit!important;
  104. }
  105. .cesium-infoBox-description h1 h2{
  106. color: #000000;
  107. text-align: center;
  108. display: inline-block!important;
  109. }
  110. .cesium-infoBox-description #marker-img {
  111. height: 36px;
  112. background-image: url('../gfx/icon_mappointer-b.svg');
  113. width: 36px;
  114. background-size: 100%;
  115. display: block;
  116. float: left;
  117. position: relative;
  118. top: 16px;
  119. }
  120. .cesium-infoBox-description img {
  121. display: none;
  122. height: 20%;
  123. max-width: 16em;
  124. }
  125. .cesium-selection-wrapper svg {
  126. -webkit-transition:visibility 0s 0s,opacity 0s ease-in;
  127. -moz-transition: visibility 0s 0s, opacity 0s ease-in;
  128. transition:visibility 0s 0s,opacity 0s ease-in;
  129. }
  130. .cesium-selection-wrapper-visible {
  131. -webkit-transition: opacity 0s ease-out;
  132. -moz-transition: opacity 0s ease-out;
  133. transition: opacity 0s ease-out;
  134. }
  135. .boutique-infobox {
  136. }
  137. .boutique-infobox #sector {
  138. position: relative;
  139. top: 20px
  140. }
  141. #msg-extra {
  142. padding-left: 30%;
  143. position: absolute;
  144. font-size: 75%;
  145. }
  146. #qd30map-cesium {
  147. width: 100%;
  148. height: 100%;
  149. display: none;
  150. position: absolute;
  151. }
  152. .cesium-viewer-infoBoxContainer {
  153. }
  154. .boutique-map-hours {
  155. font-family: Metric, sans-serif;
  156. }
  157. .hours-day {
  158. min-height: 14px;
  159. -webkit-margin-after: 0.33em;
  160. padding-right: 5%;
  161. }
  162. #business-details, .boutique-info-phone, .boutique-info-website {
  163. display: block;
  164. padding-left: 36px
  165. }
  166. #business-details > *, .boutique-info-phone > *, .boutique-info-website > * {
  167. font-size: 1.2em;
  168. }
  169. .boutique-info-website {
  170. width: 200px;
  171. overflow: hidden;
  172. text-overflow: ellipsis;
  173. white-space: nowrap;
  174. }
  175. .hours-day img.icon,
  176. .boutique-info-address img.icon,
  177. .boutique-info-phone img.icon,
  178. .boutique-info-website img.icon {
  179. display: none;
  180. width: 18px;
  181. height: 18px;
  182. margin-top: -4px;
  183. padding-right: 5px;
  184. float: left;
  185. }
  186. .hours-day img.icon + span,
  187. .boutique-info-address img.icon,
  188. .boutique-info-phone img.icon {
  189. }
  190. .boutique-info-address img.icon,
  191. .boutique-info-phone img.icon {
  192. }
  193. .boutique-info-phone img + span,
  194. .boutique-info-address img + span,
  195. .boutique-info-website img + a {
  196. }
  197. .hours-day > span {
  198. padding-right: 4px;
  199. }
  200. .boutique-view-full {
  201. font-style: italic;
  202. text-decoration: underline;
  203. float: right;
  204. margin-top: 1em;
  205. }
  206. .event {
  207. padding-top: 0.5em;
  208. margin-top: 3em;
  209. margin-left: -1em;
  210. padding-right: 2em;
  211. height: 2.5em;
  212. background-color: #333333;
  213. width: 100%;
  214. }
  215. .event .icon {
  216. width: 20px;
  217. height: 20px;
  218. float: left;
  219. margin-top: 0.5em;
  220. padding-left: 1em;
  221. }
  222. #event-before {
  223. position: absolute;
  224. left: 0;
  225. margin-top: 2.5em;
  226. height: 0.5em;
  227. width: 100%;
  228. background-image: url(../gfx/bg-grill.svg);
  229. background-size: 60%;
  230. }
  231. .event .readmore {
  232. display: inline;
  233. line-height: 2.5;
  234. float: right;
  235. }
  236. .event a {
  237. color: #ffffff!important;
  238. font-style: italic;
  239. }
  240. details summary::-webkit-details-marker { display:none; }
  241. form > .form-wrapper > summary {
  242. font-size: 120%;
  243. min-height: 1.3em;
  244. font-weight: 600;
  245. margin-top: 10px;
  246. }
  247. form > .form-wrapper > summary > a {
  248. font-weight: 600;
  249. text-decoration: none;
  250. }
  251. details > details {
  252. margin-left: 3%;
  253. font-size: 20px;
  254. font-weight: 300;
  255. }
  256. details > details > summary {
  257. min-height: 1.2em;
  258. }
  259. details > details > summary > a {
  260. text-transform: uppercase;
  261. font-size: 75%;
  262. text-decoration: none;
  263. font-weight: 600;
  264. }
  265. details > details > details > summary {
  266. min-height: 1.1em;
  267. font-size: 18px;
  268. }
  269. #map-ui-form div.form-item {
  270. font-size: 16px;
  271. padding-top: 0px;
  272. padding-left: 10px;
  273. }
  274. #map-ui-form div.form-item:last-child {
  275. padding-bottom: 5px;
  276. }
  277. #map-ui-form .form-item:hover {
  278. font-weight: 700;
  279. font-size: 16px;
  280. background-color: #e2e2e2;
  281. color: #000000;
  282. cursor: pointer;
  283. }
  284. #map-ui-form .form-item-search:hover {
  285. font-weight: 500;
  286. cursor: default;
  287. background-color: #ffffff;
  288. }
  289. #map-ui-form > div.form-item-search.js-form-type-entity-autocomplete {
  290. padding-left: 0;
  291. background-color: transparent;
  292. }
  293. #map-ui-form > .form-item-search {
  294. background-color: transparent;
  295. padding-bottom: 10px;
  296. }
  297. #map-ui-form span.hidden-nid {
  298. display: none;
  299. }
  300. #edit-search {
  301. padding-left: 0;
  302. min-height: 2em;
  303. margin-bottom: 4%;
  304. background-color: white;
  305. width: calc(100% - 65px);
  306. font-weight: 300;
  307. }
  308. #edit-search:focus {
  309. outline: 1px solid #fcc300;
  310. }
  311. #edit-mapsubmit {
  312. display: none;
  313. margin-bottom: 2%;
  314. margin-top: -2%;
  315. }
  316. .selected-store, .selected-store > * {
  317. color: #ffffff;
  318. background-color: #000000;
  319. font-weight: 700;
  320. }
  321. @media only screen and (max-width: 531px) {
  322. #app-container {
  323. min-height: 32em;
  324. }
  325. form > .form-wrapper > summary {
  326. min-height: 1.3em;
  327. font-weight: 500;
  328. }
  329. details > details {
  330. margin-left: 2%;
  331. font-weight: 300;
  332. }
  333. details > details > details > summary {
  334. min-height: 1.1em;
  335. }
  336. #map-ui-form div.form-item {
  337. padding-left: 3%;
  338. }
  339. #map-ui-form .form-item:hover {
  340. font-weight: 700;
  341. background-color: #e2e2e2;
  342. cursor: pointer;
  343. }
  344. }
  345. @media (min-width: 532px)
  346. and (max-width: 767px) {
  347. #app-container {
  348. min-height: 38em;
  349. }
  350. }
  351. @media (min-width: 300px) and (max-width: 420px)
  352. and (min-height: 640px) and (max-height: 768px) {
  353. }
  354. @media (min-width: 532px) and (max-height: 370px) and (max-width: 767px) {
  355. }
  356. .boutique-infobox {
  357. }
  358. @media all and (min-width: 768px) and (max-width: 960px) {
  359. form > .form-wrapper > summary {
  360. }
  361. details > details {
  362. }
  363. details > details > details > summary {
  364. }
  365. #map-ui-form div.form-item {
  366. }
  367. }
  368. @media (min-height: 320px) and (max-height: 420px) and (max-width: 768px) {
  369. #main {
  370. height: 22em;
  371. }
  372. #main, #content-area {
  373. box-shadow: none;
  374. }
  375. #header {
  376. box-shadow: none!important;
  377. }
  378. #mobile-menu-logo {
  379. }
  380. .boutique-infobox {
  381. font-size: 1.2em!important;
  382. }
  383. #mobile-menu-button {
  384. height: 36px!important;
  385. float: left!important;
  386. }
  387. #mobile-top-bar {
  388. height: 0!important;
  389. }
  390. #mobile-menu-logo a {
  391. margin-left: -50px!important;
  392. }
  393. #mobile-menu-logo a img {
  394. width: 75%!important;
  395. }
  396. #block-quartierdix30-page-title {
  397. display: none!important;
  398. }
  399. #map-ui-form {
  400. transform: translateY(-139%);
  401. }
  402. }
  403. @media (min-height: 420px) and (max-width: 768px) {
  404. #content-area > div,
  405. #content-area > div {
  406. top: 48px!important;
  407. }
  408. }
  409. @media (min-width: 960px) {
  410. .boutique-infobox {
  411. font-size: 1.5em!important;
  412. }
  413. }
  414. @media all and (max-width: 767px) {
  415. #app-container {
  416. width: 100%;
  417. display: block;
  418. min-height: 50vh;
  419. height: 80vh;
  420. float: none;
  421. }
  422. #map-ui-form {
  423. display: block;
  424. width: 90%;
  425. min-height: 200px;
  426. padding: 5%;
  427. margin: 5%;
  428. float: none;
  429. clear: both;
  430. border: 1px solid black;
  431. }
  432. #map-ui-form div.form-item {
  433. padding-bottom: 5px;
  434. }
  435. .cesium-infoBox {
  436. width: 100vw;
  437. height: 150px;
  438. top: calc(100% - 120px);
  439. }
  440. .cesium-infoBox-iframe {
  441. width: 100%;
  442. height: 100%;
  443. }
  444. }
  445. @media all and (min-width: 300px) {
  446. #business-details {
  447. top: 0;
  448. margin-top: -10px;
  449. line-height: 0;
  450. }
  451. .boutique-info-address, .boutique-info-website, .boutique-info-phone {
  452. display: none;
  453. }
  454. .boutique-view-full {
  455. margin-top: 0;
  456. line-height: 0;
  457. padding-right: 20px;
  458. }
  459. }