* { padding: 0; margin: 0; list-style-type: none; text-decoration: none; } html, body { width: 100%; height: 100%; } .app { width: 100%; height: 100%; display: flex; flex-flow: column; flex-direction: column; } .header { padding: 10px; height: 45px; overflow: hidden; background: whitesmoke; } .header > .logo { height: 100%; } /*headerbox*/ .header > .headerbox { position: absolute; top: 7px; right: 7px; background-color: #ccc; font-size: 10px; text-align: center; color: red; float: right; } .header > .headerbox tr > td { width: 50px; background-color: whitesmoke; white-space: nowrap; } .declare { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; font-size: 14px; color: #234; } /*contentbox*/ .contentbox { width: 100%; overflow: hidden; flex: 1; display: flex; } .declare_stock { display: flex; padding: 5px; color: red; line-height: 20px; font-size: 10px; } /*tabbar*/ .tabbar { } /*tabbar*/ .tabbar { border-top: 1px solid #ddd; } .tabbar ul { overflow: hidden; display: flex; flex-flow: row; } .tabbar ul li { flex: 1; padding: 10px 0; text-align: center; font-size: 12px; border-left: 1px solid #ddd; } .tabbar ul li:hover { cursor: pointer; color: rgb(250, 167, 85); } .tabbar ul li:first-child { border-left: none; } .tabbar ul li.active { color: white; background-color: rgb(78, 114, 184); } /*tabbox*/ .tabbox { width: 100%; overflow-x: hidden; overflow-y: auto; flex: 1; display: flex; flex-flow: column; } .tabbox table { width: calc(100%); background-color: #234; position: relative; margin-top: -1px; } .tabbox table td { font-size: 14px; color: #fff; background-color: #000; text-align: center; font-weight: bold; padding: 2px 0; } .tabbox table thead > tr > td:nth-child(1), td:nth-child(2), td:nth-child(3), td:nth-child(4), td:nth-child(5), td:nth-child(6) { width: 13%; } .tabbox table thead > tr > td { padding: 10px 0; background-color: #000; color: #fff; } .tabbox table tbody > tr:nth-child(odd) > td { background-color: #1c1c1c; } .tabbox table tbody > tr:hover > td { background-color: #222; } .tabbox table tbody > tr > td:first-child { color: #FF7F00; width: 90px; } .tabbox table tbody > tr > td > span { color: #fff; display: block; width: 100%; } /*iframe*/ .tabbox > iframe { width: 100%; height: 100%; border: none; outline: none; } #mg { background-color: #000; } #mg_daily, #js_sudi, #js_rili { display: none; text-align: center; flex: 1; } #mg_daily { flex-flow: column; } #mg_daily img { max-width: 100%; } #mg_daily .newsbox { flex: 1; } #mg_daily .newsbox > ul { display: flex; flex-flow: column; } #mg_daily .newsbox > ul > li { flex: 1; border-top: 1px solid #ddd; padding: 5px; } #mg_daily .newsbox > ul > li > a { display: flex; text-align: left; font-size: 12px; flex-flow: column; overflow: hidden; } #mg_daily .newsbox > ul > li > a > span:first-child { /*color: rgb(250, 167, 85);*/ flex: 1; display: block; /*font-size: 16px;*/ line-height: 30px; color: #2267B3; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #mg_daily .newsbox > ul > li > a > span:last-child { display: block; color: gray; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; } /*warmbox*/ .warmbox { width: 100%; height: 100%; position: absolute; top: 0; display: none; } .warmbox > .bg { width: 100%; height: 100%; background-color: #000; opacity: 0.5; } .warmbox > .box { background-color: #fff; position: absolute; top: 10px; left: 10px; right: 10px; border-radius: 2px; padding: 10px; } .warmbox > .box > .title { overflow: hidden; } .warmbox > .box > .title > span { float: left; } .warmbox > .box > .title > span:last-child { float: right; display: block; color: gray; } .warmbox > .box > .title > span:last-child::before { content: "x"; width: 25px; height: 25px; display: block; text-align: center; } .warmbox > .box > .content { border-top: 1px solid #ddd; padding-top: 10px; margin-top: 10px; font-size: 12px; max-height: 400px; overflow-x: hidden; overflow-y: auto; } .warmbox > .box > .content > p { margin-top: 5px; } .warmbox > .box > .content > p:first-child { margin-top: 0; display: flex; } .warmbox > .box > .content > p > select { width: 60px; padding: 5px 0; outline: none; font-size: 12px; border: 1px solid #ddd; border-right: none; } .warmbox > .box > .content > p > select > option { padding: 10px; } .warmbox > .box > .content > p > button { border: 1px solid #ddd; padding: 5px 15px; text-align: center; outline: none; font-size: 12px; } .warmbox > .box > .content > p > input#stock_price { font-size: 12px; width: 80px; outline: none; border: 1px solid #ddd; border-left: none; border-right: none; flex: 1; } .warmbox > .box > .content > p > span:first-child { padding-top: 5px; } .warmbox > .box > .content > p > span:last-child { display: block; width: 30px; height: 23px; text-align: center; float: right; padding-top: 5px; background-color: #eee; border: 1px solid #ddd; border-left: none; } .warmbox > .box > .content > p > span:last-child::before { content: "x"; color: red; width: 25px; height: 25px; } .warmbox > .box > .buttonbox { border-top: 1px solid #ddd; padding-top: 10px; margin-top: 10px; text-align: right; } .warmbox > .box > .buttonbox > button:nth-child(2) { background-color: rgb(78, 114, 184); color: #fff; } .warmbox > .box > .buttonbox > button { outline: none; border: 1px solid #ddd; padding: 5px 15px; text-align: center; }