@font-face { font-family: DINCond-Bold; src: url('../font/DINCond-Bold.otf'); } .home_wrap { width: 1920px; height: 1080px; background-image: url("../images/bg_page.png"); background-size: 100% 100%; position: absolute; overflow: hidden; } .navbar_wrap { position: absolute; z-index: 1; width: 100%; height: 100px; background-image: url("../images/bg_navbar.png"); background-size: auto 100%; background-repeat: no-repeat; background-position: center top; } .navbar-text { font-size: 36px; font-weight: 600; color: #ffffff; line-height: 68px; text-align: center; text-shadow: 0vw 0vw 0.5vw rgba(0, 0, 0, 0.7); letter-spacing: 0.5px; } .date-time { position: absolute; width: 221px; height: 50px; right: 0; top: 6px; font-size: 18px; color: #ffffff; line-height: 50px; font-family: DINCond-Bold; padding-right: 26px; background-image: url("../images/bg_dateTime.png"); background-size: auto 100%; background-position: left top; padding-left: 58px; box-sizing: border-box; } .content_wrap { position: absolute; z-index: 10; width: 100%; height: 100%; top: 0; left: 0; padding: 103px 30px 40px 30px; box-sizing: border-box; } .content_wrap .left-panel { display: inline-block; vertical-align: top; width: 527px; height: 100%; background-image: url("../images/bg_item_1.png"); background-size: 100% 100%; padding: 10px 26px 30px 35px; box-sizing: border-box; } .content_wrap .left-panel .panel-title { height: 42px; line-height: 42px; font-size: 18px; color: #ffffff; font-weight: 600; } .content_wrap .left-panel .panel-content { width: 100%; height: calc( 100% - 42px ); } .content_wrap .left-panel .panel-content .panel-item-title { font-size: 18px; color: #ffffff; font-weight: 600; height: 85px; line-height: 75px; padding-top: 10px; box-sizing: border-box; position: relative; left: -5px; } .content_wrap .left-panel .panel-content .panel-item-title:before { content: ' '; display: inline-block; vertical-align: middle; width: 26px; height: 25px; background-image: url("../images/icon_arrow.png"); background-size: 100% 100%; position: relative; top: -1px; } .content_wrap .left-panel .panel-content .chart-wrap { width: 100%; height: calc( 100% - 85px ); } .content_wrap .left-panel .panel-content .table-box { width: 100%; height: calc( 100% - 85px ); } .content_wrap .left-panel .panel-content .chart-wrap .chart-box { display: inline-block; vertical-align: middle; width: 169px; height: 100%; } .content_wrap .left-panel .panel-content .chart-wrap .chart-legend { display: inline-block; vertical-align: middle; width: calc( 100% - 169px ); padding-left: 40px; box-sizing: border-box; } .content_wrap .left-panel .panel-content .chart-wrap .chart-legend .chart-legend-item { height: 30px; line-height: 30px; width: 100%; margin-bottom: 10px; text-align: left; color: #ffffff; } .content_wrap .left-panel .panel-content .chart-wrap .chart-legend .chart-legend-item .item-circle { display: inline-block; vertical-align: middle; width: 11px; height: 11px; border-radius: 50%; margin: 0 5px; box-shadow: 0 0 8px 0 #10a6ec; position: relative; top: 1.5px; } .content_wrap .left-panel .panel-content .chart-wrap .chart-legend .chart-legend-item .item-label { display: inline-block; vertical-align: middle; font-size: 16px; width: 100px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .content_wrap .left-panel .panel-content .chart-wrap .chart-legend .chart-legend-item .item-stats { display: inline-block; vertical-align: middle; font-size: 16px; font-weight: 600; } .content_wrap .left-panel .panel-content .panel-item:nth-of-type( 1 ) { height: 252px; } .content_wrap .left-panel .panel-content .panel-item:nth-of-type( 2 ) { height: 252px; } .content_wrap .left-panel .panel-content .panel-item:nth-of-type( 3 ) { height: calc( 100% - 252px - 252px ); } .content_wrap .left-panel .panel-content .panel-item:nth-of-type( 3 ) .panel-item-title { line-height: 65px; padding-top: 20px; } .content_wrap .right-panel { float: right; width: 1313px; height: 100%; } .content_wrap .right-panel .panel-item-title { height: 52px; line-height: 42px; font-size: 18px; color: #ffffff; font-weight: 600; padding: 10px 0 0 35px; box-sizing: border-box; } .content_wrap .right-panel .panel-item-content { width: 100%; height: calc( 100% - 52px ); box-sizing: border-box; } .content_wrap .right-panel >.row-box { width: 100%; height: 212px; margin-bottom: 20px; } .content_wrap .right-panel >.row-box .row-item-panel { display: inline-block; vertical-align: top; width: 867px; height: 100%; background-image: url("../images/bg_item_2.png"); background-size: 100% 100%; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .panel-item-content { padding: 22px 5px 32px 32px; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .weather-info { display: inline-block; vertical-align: top; width: 603px; height: 100%; background-image: url("../images/bg_item_5.png"); background-size: 100% 100%; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .weather-today { display: inline-block; vertical-align: top; width: 123px; height: 100%; text-align: center; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .weather-today-icon { height: 60px; width: 100%; background-image: url("../images/icon_cloudy.png"); background-repeat: no-repeat; background-position: center bottom; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .weather-today-text { font-size: 16px; line-height: 20px; color: #ffffff; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .weather-details { display: inline-block; vertical-align: top; width: 164px; padding-left: 24px; padding-top: 20px; box-sizing: border-box; white-space: nowrap; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .weather-details .details-icon { display: inline-block; vertical-align: top; height: 61px; width: 67px; background-image: url("../images/icon_1.png"); background-size: 100% 100%; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .weather-details .details-info { display: inline-block; vertical-align: top; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .weather-details .details-info-label { font-size: 16px; color: #1fb8ff; line-height: 30px; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .weather-details .details-info-text { font-family: DINCond-Bold; font-size: 24px; color: #ffffff; line-height: 30px; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .air-info { display: inline-block; vertical-align: top; width: calc( 100% - 603px ); height: 100%; position: relative; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .air-info .chart-box { width: 150px; height: 100%; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .air-info .update-time { font-size: 14px; color: #ffffff; position: absolute; right: 10px; bottom: 9px; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 2 ) .panel-item-content { display: flex; justify-content: space-between; width: 100%; padding: 20px 30px 30px 27px; text-align: center; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 2 ) .stats-item { width: 125px; height: 100%; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 2 ) .stats-item-num { font-family: DINCond-Bold; font-size: 20px; color: #ffffff; line-height: 40px; padding-top: 23px; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 2 ) .stats-item-label { font-size: 12px; color: #ffffff; line-height: 20px; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 2 ) .icon-electricity { width: 109px; height: 100%; position: relative; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 2 ) .icon-electricity:before { content: ' '; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-image: url("../images/icon_electricity_1.png"); background-size: 41px auto; background-repeat: no-repeat; background-position: center center; animation: scale 4s linear infinite; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 2 ) .icon-electricity:after { content: ' '; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-image: url("../images/icon_electricity.png"); background-size: 100% 100%; animation: fadenum 5s linear infinite; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .weather-details:nth-of-type( 3 ) { width: 140px; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type( 1 ) .weather-details:nth-of-type( 4 ) { width: 130px; } .content_wrap .right-panel >.row-box .row-item-panel:nth-of-type(2) { float: right; width: 427px; height: 100%; background-image: url("../images/bg_item_3.png"); } .content_wrap .right-panel >.panel-item { width: 100%; height: calc( (100% - 232px) / 2 - 10px ); margin-bottom: 20px; background-image: url("../images/bg_item_4.png"); background-size: 100% 100%; position: relative; } .content_wrap .right-panel >.panel-item .tab-box { position: absolute; top: 17px; right: 50px; line-height: 35px; text-align: center; } .content_wrap .right-panel >.panel-item .tab-item { display: inline-block; vertical-align: top; font-size: 16px; color: #13b4f9; min-width: 96px; padding: 0 20px; box-sizing: border-box; position: relative; z-index: 10; } .content_wrap .right-panel >.panel-item .tab-item.is_act { font-size: 16px; font-weight: 600; color: #ffffff; } .content_wrap .right-panel >.panel-item .tab-item.is_act:before { content: ' '; position: absolute; background-image: url("../images/bg_sel.png"); width: 95px; height: 43px; left: 0; right: 0; bottom: -12px; margin: auto; z-index: 9; } .content_wrap .right-panel >.panel-item .tab-item:after { content: ' '; position: absolute; width: 1px; height: 17px; background-color: #064f7f; right: 0; top: 0; bottom: 0; margin: auto; } .content_wrap .right-panel >.panel-item .panel-item-content .chart-box { display: inline-block; vertical-align: top; width: 850px; height: 100%; } .content_wrap .right-panel >.panel-item .panel-item-content .stats-group { display: inline-block; vertical-align: top; width: calc( 100% - 850px ); height: 100%; padding-top: 26px; box-sizing: border-box; } .content_wrap .right-panel >.panel-item .panel-item-content .stats-item { display: inline-block; vertical-align: top; width: 208px; height: 118px; background-image: url("../images/bg_item_6.png"); background-size: 100% 100%; margin-right: 10px; padding-left: 112px; padding-top: 20px; box-sizing: border-box; } .content_wrap .right-panel >.panel-item .panel-item-content .stats-item-label { font-size: 16px; color: #1fb8ff; line-height: 26px; } .content_wrap .right-panel >.panel-item .panel-item-content .stats-item-num { font-family: DINCond-Bold; font-size: 24px; color: #ffffff; line-height: 30px; } .content_wrap .right-panel >.panel-item .panel-item-content .stats-item:nth-of-type( 2 ) { background-image: url("../images/bg_item_7.png"); } .content_wrap .right-panel >.panel-item .panel-item-content .stats-item:nth-of-type( 3 ) { background-image: url("../images/bg_item_8.png"); } .content_wrap .right-panel >.panel-item .panel-item-content .stats-item:nth-of-type( 4 ) { background-image: url("../images/bg_item_9.png"); } .content_wrap .right-panel >.panel-item:last-child { margin-bottom: 0; }