main.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
  1. @charset "UTF-8";
  2. /* Qype S60 WRT client */
  3. /* Brand colors:
  4. Red: #f8183d
  5. Logo blue: #3acaff;
  6. Light blue: #b7efff;
  7. Light grey: #e6e6e6;
  8. "Black": #444444;
  9. */
  10. body {
  11. padding: 0;
  12. margin: 0;
  13. background: #fff;
  14. color: #444;
  15. font-family: Arial, Helvetica, sans-serif;
  16. -webkit-user-select: none;
  17. user-select: none;
  18. }
  19. .items {
  20. width: 100%;
  21. clear: both;
  22. }
  23. .button {
  24. color: #fff;
  25. }
  26. .splash,
  27. .location {
  28. display: none;
  29. position: fixed;
  30. top: 0;
  31. left: 0;
  32. width: 100%;
  33. height: 100%;
  34. background: #419f1b url(../assets/splash.png) no-repeat center;
  35. z-index: 3;
  36. color: #ccc;
  37. }
  38. .location {
  39. background-image: url(../assets/locationView.png);
  40. }
  41. #loadingStatus,
  42. #locationStatus {
  43. text-align: center;
  44. padding: 10px;
  45. font-size: 80%;
  46. }
  47. .view .progress {
  48. position: fixed;
  49. width: 100%;
  50. height: 80px;
  51. margin: 0 auto 0 auto;
  52. background: #FFF url(../assets/ajax-loader.gif) no-repeat center;
  53. z-index: 4;
  54. }
  55. .location .progress,
  56. .splash .progress {
  57. top: 0;
  58. margin: 0 0 0 0;
  59. width: 30px;
  60. height: 30px;
  61. background: #419f1b url(../assets/splash-loader.gif) no-repeat center;
  62. }
  63. .details .progress {
  64. position: static;
  65. margin: 0;
  66. padding: 10px 0;
  67. }
  68. /* Header definitions */
  69. .header {
  70. width: 100%;
  71. position: fixed;
  72. background-color: #FFF;
  73. background: #fff url(../assets/logo_header.png) center no-repeat;
  74. top: 0;
  75. border-bottom: 2px #f8183d solid;
  76. z-index: 2;
  77. }
  78. .header .button {
  79. color: #444444;
  80. font-weight: bold;
  81. font-size: 16px;
  82. text-align: center;
  83. float: left;
  84. margin-top: 15px;
  85. height: 40px;
  86. width: 70px;
  87. line-height: 40px;
  88. }
  89. .header .left {
  90. border-right: thin solid #e6e6e6;
  91. }
  92. .header .right {
  93. float: right;
  94. background: url(../assets/icon_back.png);
  95. border-left: thin solid #e6e6e6;
  96. }
  97. .header .button.back {
  98. background: url(../assets/icon_back.png);
  99. }
  100. .header .button.exit {
  101. background: url(../assets/icon_close.png);
  102. }
  103. /* Footer definition */
  104. .footer {
  105. display: block;
  106. width: 100%;
  107. position: fixed;
  108. background-color: #fff;
  109. bottom: 0;
  110. z-index: 40;
  111. height: 50px;
  112. border-top: 2px #f8183d solid;
  113. }
  114. .footer .action {
  115. float: left;
  116. width: 100%;
  117. height: 50px;
  118. }
  119. .footer .action .text {
  120. margin-top: 10px;
  121. font-size: 24px;
  122. font-weight: bold;
  123. text-align: center;
  124. color: #444;
  125. }
  126. /* Content definitions */
  127. .content {
  128. margin-top: 57px;
  129. }
  130. .content .link {
  131. float: left;
  132. width: 100%;
  133. background-color: #b7efff;
  134. }
  135. .content .link .text {
  136. margin: 5px 8px 5px 8px;
  137. float: right;
  138. font-size: 18px;
  139. font-weight: bold;
  140. text-align: center;
  141. line-height: 30px;
  142. }
  143. .places {
  144. float: left;
  145. width: 100%;
  146. padding-bottom: 52px;
  147. }
  148. .content .title {
  149. background-color: #FFF;
  150. float: left;
  151. width: 100%;
  152. border-bottom: thin #e6e6e6 solid;
  153. }
  154. .content .title .text {
  155. float: left;
  156. font-size: 18px;
  157. font-weight: bold;
  158. margin: 5px 5px 5px 5px;
  159. }
  160. .map {
  161. width: 70px;
  162. height: 24px;
  163. margin: 3px 3px 3px 0;
  164. background-color: #f8183d;
  165. float: right;
  166. text-align: center;
  167. }
  168. .items .item {
  169. float: left;
  170. clear: both;
  171. width: 100%;
  172. background-color: #fff;
  173. border-bottom: thin #e6e6e6 solid;
  174. }
  175. .pressed {
  176. background-color: #eee!important;
  177. }
  178. .item.all .name {
  179. font-weight: bold !important;
  180. font-style: italic;
  181. }
  182. .items .item.empty {
  183. padding: 10px;
  184. font-size: 18px;
  185. min-height: 30px;
  186. font-weight: normal;
  187. font-style: italic;
  188. }
  189. .places .item .image {
  190. height: 75px;
  191. width: 100px;
  192. background: url(../assets/placeholder.png) 50% 50% no-repeat;
  193. float: left;
  194. border-right: thin #e6e6e6 solid;
  195. }
  196. .places .item .info {
  197. float: left;
  198. margin: 3px 0 3px 8px;
  199. }
  200. .places .item .name {
  201. clear: left;
  202. float: left;
  203. font-size: 18px;
  204. font-weight: bold;
  205. margin: 3px 90px 0 0;
  206. width: auto;
  207. position: absolute;
  208. text-transform: capitalize;
  209. max-height: 20px;
  210. overflow: hidden;
  211. }
  212. .places .item .category {
  213. clear: left;
  214. float: left;
  215. font-size: 14px;
  216. position: absolute;
  217. margin-top: 50px;
  218. margin-right: 90px;
  219. max-height: 16px;
  220. overflow: hidden;
  221. }
  222. .places .distance {
  223. position: absolute;
  224. right: 5px;
  225. }
  226. .distance {
  227. float: right;
  228. margin: 50px 10px 10px 0;
  229. color: #3acaff;
  230. font-size: 18px;
  231. font-weight: bold;
  232. }
  233. /* Common rating definitions */
  234. .places .rating {
  235. position: absolute;
  236. margin-top: 25px;
  237. }
  238. .rating {
  239. float: left;
  240. clear: left;
  241. margin: 3px 0 5px 0;
  242. }
  243. .rating .stars0, .rating .stars1, .rating .stars2, .rating .stars3, .rating .stars4, .rating .stars5 {
  244. float: left;
  245. background: url(../assets/star.png);
  246. width: 90px;
  247. height: 18px;
  248. margin-right: 10px;
  249. }
  250. .rating .stars0 {
  251. background-position: -90px;
  252. }
  253. .rating .stars1 {
  254. background-position: -72px;
  255. }
  256. .rating .stars2 {
  257. background-position: -54px;
  258. }
  259. .rating .stars3 {
  260. background-position: -36px;
  261. }
  262. .rating .stars4 {
  263. background-position: -18px;
  264. }
  265. .rating .stars5 {
  266. background-position: 0px;
  267. }
  268. .rating .stars .reviews {
  269. float: left;
  270. font-size: 12px;
  271. color: #aeacac;
  272. margin: 4px 0 0 95px;
  273. }
  274. /* Category listing definitions */
  275. .categories .item .image {
  276. display: none;
  277. height: 40px;
  278. width: 60px;
  279. margin: 5px 5px 5px 5px;
  280. background: url(../assets/icon_category.png);
  281. float: left;
  282. }
  283. .categories .item .name {
  284. font-size: 18px;
  285. font-weight: normal;
  286. float: left;
  287. margin: 11px 0 0 5px;
  288. }
  289. .categories .item .next {
  290. float: right;
  291. margin: 0px 5px 0px 0;
  292. height: 40px;
  293. width: 40px;
  294. background: url(../assets/icon_next.png);
  295. }
  296. #categoriesLink {
  297. float: none;
  298. }
  299. /* Details view definition */
  300. .details .image {
  301. float: left;
  302. width: 100%;
  303. height: auto;
  304. max-height: 250px;
  305. background-color: #CCC;
  306. border-bottom: thin #e6e6e6 solid;
  307. }
  308. .landscape .details .image {
  309. max-height: 200px;
  310. margin-top: -50px;
  311. }
  312. .details .info {
  313. float: left;
  314. width: 100%;
  315. background: #FFF;
  316. }
  317. .details .name {
  318. float: left;
  319. font-size: 24px;
  320. font-weight: bold;
  321. margin: 10px 0 0 15px;
  322. }
  323. .details .address {
  324. clear: left;
  325. float: left;
  326. margin: 15px 0 0 15px;
  327. }
  328. .address .line {
  329. float: left;
  330. clear: left;
  331. font-size: 14px;
  332. margin: 0 0 2px 0;
  333. }
  334. .details .map {
  335. }
  336. .details .distance {
  337. clear: right;
  338. margin-top: 5px;
  339. }
  340. .details .rating {
  341. margin: 10px 0 10px 15px;
  342. }
  343. .details .rating .reviews {
  344. color: #444444;
  345. }
  346. .details .functions {
  347. float: left;
  348. clear: left;
  349. margin: 2px 0 20px 2px;
  350. }
  351. .functions .button {
  352. margin: 15px 25px 15px 25px;
  353. background: none;
  354. color: #3acaff;
  355. }
  356. .functions .call {
  357. float: left;
  358. }
  359. .functions .url {
  360. float: left;
  361. }
  362. .details .bar {
  363. float: left;
  364. width: 100%;
  365. background-color: #e6e6e6;
  366. border-bottom: 2px solid #f8183d;
  367. }
  368. .details .bar .text {
  369. margin: 5px 8px 5px 8px;
  370. float: left;
  371. font-size: 14px;
  372. font-weight: bold;
  373. }
  374. .details .hours {
  375. float: left;
  376. }
  377. .details .icon {
  378. clear: both;
  379. float: left;
  380. height: 30px;
  381. width: 30px;
  382. background-color: #CCC;
  383. margin: 20px 10px 0 15px;
  384. }
  385. .details .hours .icon {
  386. background: url(../assets/icon_openinghours.png);
  387. }
  388. .details .review .icon {
  389. background: url(../assets/icon_reviews.png);
  390. }
  391. .details .data {
  392. float: left;
  393. margin: 10px 10px 10px 10px;
  394. }
  395. .details .data .subject {
  396. float: left;
  397. margin-bottom: 5px;
  398. font-weight: bold;
  399. }
  400. .details .data .text {
  401. float: left;
  402. clear: left;
  403. margin: 0 0 10px 5px;
  404. font-size: 14px;
  405. }
  406. .details .reviewContainer {
  407. width: 100%;
  408. float: left;
  409. border-bottom: thin #e6e6e6 solid;
  410. overflow: hidden;
  411. }
  412. .details .reviewContainer p {
  413. margin-left: 1em;
  414. }
  415. .details .reviewContainer .data {
  416. font-size: 14px;
  417. width: 70%;
  418. margin-bottom: 0;
  419. }
  420. .details .reviewContainer .subject {
  421. font-weight: normal;
  422. font-style: normal;
  423. }
  424. .details .reviewContainer .data p {
  425. margin-top: 0;
  426. margin-bottom: 4px;
  427. }
  428. .review .rating {
  429. margin: 5px 0 10px 5px;
  430. }
  431. /* Map view */
  432. #mobileMap {
  433. position:absolute;
  434. left:0;
  435. top:57px;
  436. right:0;
  437. bottom:0;
  438. z-index: -100;
  439. }
  440. /* Place view */
  441. .view.place img.main {
  442. width: 100%;
  443. margin-top:-40px;
  444. }
  445. .view.places .listItem {
  446. background: black 50% 50% no-repeat;
  447. width:100px;
  448. height:75px;
  449. }
  450. .view {
  451. -webkit-transition: opacity 0.3s linear;
  452. }