e-civ-planet
Version:
A WebGL virtual globe and map engine based on webglobe
653 lines (601 loc) • 19.8 kB
CSS
html, body, input {
margin: 0;
padding: 0; }
html, body, #root {
width: 100%;
height: 100%; }
html {
overflow: hidden; }
body {
position: fixed;
height: 100%;
left: 0;
right: 0;
top: 0;
bottom: 0;
overflow-y: auto;
-webkit-overflow-scrolling: touch; }
input[type=text] {
border: 0;
outline: none; }
input[type=text]::-ms-clear {
display: none; }
*[data-reactroot] {
position: relative;
box-sizing: border-box;
width: 100%;
height: 100%; }
.ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; }
.hidden {
display: none ; }
@font-face {
font-family: 'fontello';
src: url(f5bd2f152eeee930261795b4b60e08f4.ttf) format("truetype");
font-weight: normal;
font-style: normal; }
[class^="icon-"],
[class*=" icon-"] {
display: inline-block;
line-height: 1em; }
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: "fontello";
font-style: normal;
font-weight: normal;
display: inline-block;
text-decoration: inherit;
text-align: center;
font-variant: normal;
text-transform: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ }
.icon-search:before {
content: '\E800'; }
.icon-location:before {
content: '\E801'; }
.icon-road:before {
content: '\E802'; }
.icon-glass:before {
content: '\E803'; }
.icon-basket:before {
content: '\E804'; }
.icon-food:before {
content: '\F0F5'; }
.icon-angle-left:before {
content: '\F104'; }
.icon-angle-right:before {
content: '\F105'; }
.icon-circle-empty:before {
content: '\F10C'; }
.icon-male:before {
content: '\F183'; }
.icon-cab:before {
content: '\F1B9'; }
.icon-bus:before {
content: '\F207'; }
.icon-bed:before {
content: '\F236'; }
.icon-subway:before {
content: '\F239'; }
.icon-map-o:before {
content: '\F278'; }
.index__root___W_fiB {
box-shadow: border-box;
padding: 0 30px;
overflow: hidden;
height: auto ; }
.index__title___RJ1WR {
font-size: 30px;
text-align: center;
padding: 30px 0;
color: gray; }
.index__search___ROdbD {
padding: 8px 0; }
.index__link1-container___22yYu {
padding: 10px 0; }
.index__link1___3Re9T, .index__link2___1VY-H {
box-sizing: border-box;
display: inline-block;
text-align: center;
text-decoration: none; }
.index__link1___3Re9T {
width: 33.33333%;
line-height: 28px;
font-size: 15px;
color: gray; }
.index__link1___3Re9T:nth-child(2):after {
border-left: 1px solid rgba(128, 128, 128, 0.3);
border-right: 1px solid rgba(128, 128, 128, 0.3); }
.index__link1___3Re9T span {
margin-left: 5px; }
.index__link2-container___2Lp3p {
display: flex;
flex-direction: row;
justify-content: space-between;
flex-wrap: nowrap;
border-top: 1px solid rgba(128, 128, 128, 0.3);
padding-top: 20px; }
.index__link2___1VY-H div {
width: 48px;
height: 48px;
border-radius: 50%;
background-color: #f3a61f;
margin: 0 auto;
color: white;
font-size: 23px; }
.index__link2___1VY-H div * {
display: inline-block;
vertical-align: middle; }
.index__link2___1VY-H div:after {
display: inline-block;
width: 0;
height: 100%;
content: "";
vertical-align: middle; }
.index__link2___1VY-H span {
font-size: 12px;
color: gray; }
.index__link2___1VY-H .index__food___2z0Pa {
background: #f73838; }
.index__link2___1VY-H .index__hotel___2W90a {
background: #f3a61f; }
.index__link2___1VY-H .index__traffic___USC_0 {
background: #61b51d; }
.index__link2___1VY-H .index__subway___QU5C5 {
background: #0079ff; }
@keyframes index__loading-keyframes___2lZWK {
from {
transform: rotate(0deg); }
to {
transform: rotate(360deg); } }
#index__loading___1TxjK {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0; }
#index__loading___1TxjK .index__content___3mJA- {
position: absolute;
width: 156px;
height: 70px;
left: 50%;
top: 50%;
margin-left: -78px;
margin-top: -35px;
background: #000;
opacity: 0.4;
color: white;
border-radius: 5px; }
#index__loading___1TxjK .index__content___3mJA- .index__icon___HKAHQ {
position: absolute;
width: 32px;
height: 32px;
top: 19px;
left: 20px;
background-position: center;
background-repeat: no-repeat;
animation: index__loading-keyframes___2lZWK 0.9s linear infinite; }
#index__loading___1TxjK .index__content___3mJA- .index__text___30fWo {
display: inline-block;
line-height: 70px;
margin-left: 72px; }
.index__route-component___LLHn3 {
position: relative;
box-sizing: border-box;
width: 100%;
height: 100%; }
.index__search-section___3cw79 {
display: flex;
flex-flow: row nowrap;
align-items: center;
height: 30px;
padding: 8px 0; }
.index__search-section___3cw79.index__hide-left-action___2aqIL {
padding-left: 15px; }
.index__search-section___3cw79.index__hide-right-action___f41V3 {
padding-right: 15px; }
.index__search-section___3cw79 .index__input-container___2t5Vw {
position: relative;
width: 100%;
height: 100%;
background-color: #ededed;
border-radius: 4px; }
.index__search-section___3cw79 .index__input-container___2t5Vw > * {
background: transparent; }
.index__search-section___3cw79 .index__input-container___2t5Vw .index__keyword___3SKQc {
flex: auto;
box-sizing: border-box;
display: block;
width: 100%;
font-size: 15px;
border: none;
line-height: 22px;
padding-left: 10px;
padding-top: 4px;
padding-bottom: 4px;
color: black ; }
.index__search-section___3cw79 .index__input-container___2t5Vw div.index__keyword___3SKQc {
color: #888 ; }
.index__search-section___3cw79 .index__input-container___2t5Vw i {
position: absolute;
right: 11px;
top: 7px;
color: #888;
font-size: 16px; }
.index__search-section___3cw79 .index__left-action___7n6ZM, .index__search-section___3cw79 .index__right-action___23vj1 {
flex: none;
padding: 0 15px;
color: #0079ff;
font-size: 16px; }
.index__map___32hU_ {
width: 100%;
height: 100%;
overflow: hidden; }
.index__map-container___jGsR1 {
box-sizing: border-box;
position: absolute;
left: 0;
width: 100%;
top: 46px;
bottom: 0;
border-top: 1px solid #ededed; }
header {
position: relative;
box-sizing: border-box;
height: 46px;
line-height: 46px;
border-bottom: 1px solid #b4b4b4; }
header .index__traffic-types___1ja2n {
width: 50%;
height: 100%;
margin: 0 auto;
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: center; }
header .index__traffic-types___1ja2n .index__traffic-type___vkKx0 {
font-size: 24px;
color: #54585E; }
header .index__traffic-types___1ja2n .index__traffic-type___vkKx0.selected {
color: #0079ff; }
header .index__cancel___3mFZb {
position: absolute;
color: #0079ff;
font-size: 16px;
height: 100%;
top: 0;
bottom: 0;
right: 15px; }
.index__map-container___3lLQ8 {
position: absolute;
left: 0;
top: 46px;
width: 100%; }
.index__footer___U3bWx {
position: absolute;
left: 0;
bottom: 0;
width: 100%; }
.index__footer___U3bWx .index__tabs___Xb1tU {
box-sizing: border-box;
height: 45px;
text-align: center;
font-size: 12px;
display: flex;
flex-flow: row nowrap; }
.index__footer___U3bWx .index__tabs___Xb1tU .index__tab___1mvpR {
box-sizing: border-box;
height: 100%;
flex: 1 1 auto;
background: #efefef;
border-left: 1px solid #dfdfdf;
border-top: 3px solid transparent; }
.index__footer___U3bWx .index__tabs___Xb1tU .index__tab___1mvpR.index__selected___2ttR_ {
background: white;
color: #0079ff;
border-top-color: #0079ff; }
.index__footer___U3bWx .index__tabs___Xb1tU .index__tab___1mvpR .index__time___27Ysn {
margin: 2px 0; }
.index__footer___U3bWx .index__path-details___30W0i {
box-sizing: border-box;
position: relative;
overflow: hidden; }
.index__footer___U3bWx .index__path-details___30W0i .index__path-detail___ddYRJ {
box-sizing: border-box;
position: absolute;
left: 100%;
top: 0;
width: 100%;
height: 100%;
padding: 0 9px; }
.index__footer___U3bWx .index__path-details___30W0i .index__path-detail___ddYRJ.index__selected___2ttR_ {
left: 0; }
.index__footer___U3bWx .index__path-details___30W0i .index__path-detail___ddYRJ .index__summary1___2Z0i2 {
font-weight: bold;
font-size: 14px;
color: #333;
margin: 4px 0; }
.index__footer___U3bWx .index__path-details___30W0i .index__path-detail___ddYRJ .index__summary2___1lFVy {
font-size: 14px;
color: #333; }
.index__footer___U3bWx .index__path-details___30W0i .index__path-detail___ddYRJ .index__summary3___vtvuV {
margin-top: 5px;
font-size: 13px;
color: #999; }
.index__footer___U3bWx .index__path-details___30W0i .index__path-detail___ddYRJ .index__detail-btn___dqimK {
color: #0079ff; }
.index__no-path___LmWXw .index__map-container___3lLQ8 {
bottom: 0; }
.index__no-path___LmWXw .index__footer___U3bWx {
height: 0; }
.index__no-path___LmWXw .index__footer___U3bWx .index__path-details___30W0i {
height: 0; }
.index__single-path___3VVhi .index__map-container___3lLQ8 {
bottom: 77px; }
.index__single-path___3VVhi .index__footer___U3bWx {
height: 77px; }
.index__single-path___3VVhi .index__footer___U3bWx .index__path-details___30W0i {
height: 77px; }
.index__multiple-path___3glCj .index__map-container___3lLQ8 {
bottom: 105px; }
.index__multiple-path___3glCj .index__footer___U3bWx {
height: 105px; }
.index__multiple-path___3glCj .index__footer___U3bWx .index__path-details___30W0i {
height: 60px; }
.index__multiple-path___3glCj .index__footer___U3bWx .index__path-details___30W0i .index__summary2___1lFVy {
margin-top: 9px; }
.index__search-section___aZbLz {
position: relative;
box-sizing: border-box;
height: 92px;
padding-left: 15px;
border-bottom: 1px solid #d3d3d3;
overflow: hidden; }
.index__search-section___aZbLz .index__inputs-container___2L-ry {
position: absolute;
left: 15px;
right: 70px;
top: 0;
height: 100%; }
.index__search-section___aZbLz .index__inputs-container___2L-ry .index__input-container___23njt {
position: relative;
box-sizing: border-box;
height: 50%;
padding: 0 16px; }
.index__search-section___aZbLz .index__inputs-container___2L-ry .index__input-container___23njt .index__from-icon___2HDh_, .index__search-section___aZbLz .index__inputs-container___2L-ry .index__input-container___23njt .index__to-icon___2n3-4 {
position: absolute;
left: 0;
top: 0;
height: 46px;
line-height: 46px; }
.index__search-section___aZbLz .index__inputs-container___2L-ry .index__input-container___23njt .index__from-icon___2HDh_ {
color: #0079ff;
font-size: 16px; }
.index__search-section___aZbLz .index__inputs-container___2L-ry .index__input-container___23njt .index__to-icon___2n3-4 {
color: #fe5f5f;
font-size: 13px; }
.index__search-section___aZbLz .index__inputs-container___2L-ry .index__input-container___23njt input {
width: 100%;
height: 26px;
line-height: 26px;
color: #333;
font-size: 15px;
margin-top: 10px; }
.index__search-section___aZbLz .index__inputs-container___2L-ry .index__input-container___23njt .icon-search {
position: absolute;
font-size: 16px;
right: 15px;
top: 15px;
color: #888; }
.index__search-section___aZbLz .index__inputs-container___2L-ry .index__input-container___23njt.index__from___21hm6 {
border-bottom: 1px solid #d3d3d3; }
.index__search-section___aZbLz .index__exchange___m7XXH {
position: absolute;
top: 0;
right: 0;
width: 0;
height: 100%;
text-align: center; }
.index__search-section___aZbLz .index__exchange___m7XXH i {
color: gray;
font-size: 24px;
line-height: 92px; }
.index__search-section___aZbLz .index__search-btn___11uHD {
position: absolute;
top: 29px;
right: 8px;
border: 1px solid #0079ff;
padding: 4px 8px;
border-radius: 20px;
font-size: 15px;
color: #0079ff; }
.index__pois___2tnED {
position: absolute;
left: 0;
width: 100%;
top: 138px;
bottom: 0;
overflow-y: auto; }
.index__pois___2tnED .index__poi___3qwID {
padding: 15px;
border-bottom: 1px solid #d3d3d3; }
.index__pois___2tnED .index__poi___3qwID .index__name___1WMbz {
color: #333;
font-size: 15px; }
.index__pois___2tnED .index__poi___3qwID .index__address___2t7cy {
color: gray;
font-size: 12px;
margin-top: 12px; }
.index__map___18SsN, .index__list___dB6SY {
position: absolute;
left: 0;
right: 0;
top: 45px;
bottom: 0; }
.index__list___dB6SY .index__not-found___3NnIy, .index__list___dB6SY .index__pois___3dwsi {
position: absolute;
left: 0;
right: 0; }
.index__list___dB6SY .index__not-found___3NnIy {
top: 50%;
margin-top: -16px;
padding: 0 30px;
text-align: center;
color: gray;
font-size: 12px; }
.index__list___dB6SY .index__pois___3dwsi {
top: 0;
bottom: 48px;
overflow-y: auto; }
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 {
position: relative;
height: 64px;
box-sizing: border-box; }
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 > * {
position: absolute; }
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 .index__index___3wGBe {
left: 12px;
top: 10px;
width: 16px;
height: 16px;
border-radius: 50%;
background: red;
color: white;
text-align: center;
line-height: 16px;
font-size: 12px; }
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 .index__info___1_eds,
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 .index__distance___2cN9I {
top: 0;
height: 100%;
box-sizing: border-box;
border-bottom: 1px solid #d3d3d3; }
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 .index__info___1_eds > *,
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 .index__distance___2cN9I > * {
margin-top: 8px; }
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6:last-child .index__info___1_eds,
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6:last-child .index__distance___2cN9I {
border-bottom: 0; }
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 .index__info___1_eds {
left: 40px;
right: 60px; }
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 .index__info___1_eds .index__name___2HLhM {
font-size: 15px;
color: #333; }
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 .index__info___1_eds .index__address___-DxB8 {
font-size: 12px;
color: gray; }
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 .index__distance___2cN9I {
right: 0;
width: 60px;
text-align: center;
box-sizing: border-box;
padding-top: 3px; }
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 .index__distance___2cN9I i {
color: #0079ff; }
.index__list___dB6SY .index__pois___3dwsi .index__poi___NBoC6 .index__distance___2cN9I div {
color: gray;
font-size: 12px;
text-align: center; }
.index__list___dB6SY .index__footer___2lAKG {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 48px;
border-top: 1px solid #d3d3d3; }
.index__list___dB6SY .index__footer___2lAKG > * {
line-height: 48px; }
.index__list___dB6SY .index__footer___2lAKG .index__prev-page___26iS3,
.index__list___dB6SY .index__footer___2lAKG .index__next-page___2yVWj {
position: absolute;
top: 0;
bottom: 0;
color: #0079ff;
font-size: 14px; }
.index__list___dB6SY .index__footer___2lAKG .index__prev-page___26iS3 i,
.index__list___dB6SY .index__footer___2lAKG .index__next-page___2yVWj i {
font-size: 14px; }
.index__list___dB6SY .index__footer___2lAKG .index__prev-page___26iS3 {
left: 12px; }
.index__list___dB6SY .index__footer___2lAKG .index__prev-page___26iS3 span {
margin-left: 5px; }
.index__list___dB6SY .index__footer___2lAKG .index__next-page___2yVWj {
right: 12px; }
.index__list___dB6SY .index__footer___2lAKG .index__next-page___2yVWj span {
margin-right: 5px; }
.index__list___dB6SY .index__footer___2lAKG .index__current-page___1Bd_Q {
text-align: center;
color: gray;
font-size: 12px; }
.index__map___18SsN .index__infowindow___2FIHq {
position: absolute;
left: 10px;
right: 10px;
bottom: 10px;
height: auto;
background: white;
border-radius: 5px;
border: 1px solid #ccc;
padding: 8px; }
.index__map___18SsN .index__infowindow___2FIHq .index__name___2HLhM {
font-size: 15px;
color: #333; }
.index__map___18SsN .index__infowindow___2FIHq .index__address___-DxB8 {
font-size: 12px;
color: gray;
margin-top: 8px; }
.index__root___mTkMf {
position: relative;
height: 100%; }
.index__cards___2L_sA {
position: absolute;
left: 0;
right: 0;
top: 40px;
bottom: 0;
overflow-y: auto;
text-align: center;
margin: 0 15px; }
.index__cards___2L_sA .index__card___2f93N {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
margin-top: 18px; }
.index__cards___2L_sA .index__card___2f93N .index__column___2lclD {
flex: 1 1 33.333333%;
padding: 0 1px; }
.index__cards___2L_sA .index__card___2f93N .index__column___2lclD .index__big-item___3lVFA, .index__cards___2L_sA .index__card___2f93N .index__column___2lclD .index__small-item___38l0z {
font-size: 12px;
border-radius: 2px;
margin-bottom: 2px; }
.index__cards___2L_sA .index__card___2f93N .index__column___2lclD .index__big-item___3lVFA {
height: 74px;
color: white; }
.index__cards___2L_sA .index__card___2f93N .index__column___2lclD .index__big-item___3lVFA.index__food___3i8ZK {
background: #f73838; }
.index__cards___2L_sA .index__card___2f93N .index__column___2lclD .index__big-item___3lVFA.index__hotel___2TtjP {
background: #f3a61f; }
.index__cards___2L_sA .index__card___2f93N .index__column___2lclD .index__big-item___3lVFA.index__recreation___29Ayk {
background: #61b51d; }
.index__cards___2L_sA .index__card___2f93N .index__column___2lclD .index__big-item___3lVFA.index__traffic___3V3JM {
background: #0079ff; }
.index__cards___2L_sA .index__card___2f93N .index__column___2lclD .index__big-item___3lVFA.index__life___CKIY7 {
background: #9584dd; }
.index__cards___2L_sA .index__card___2f93N .index__column___2lclD .index__big-item___3lVFA .index__icon___3yzQ4 {
font-size: 24px;
margin: 13px; }
.index__cards___2L_sA .index__card___2f93N .index__column___2lclD .index__small-item___38l0z {
height: 36px;
line-height: 36px;
background: #ebebeb;
color: #333; }
.index__status-404___22UVy {
font-size: 8em;
text-align: center; }
/*# sourceMappingURL=webapp.36422be9097492ee4750390f5c63f4f6.css.map*/