tsg-web/src/views/Home/index.css

583 lines
13 KiB
CSS

.indexBox {
/*预报*/
}
.indexBox .ant-table-tbody > tr > td {
padding: 2px 0 !important;
}
.indexBox .ant-collapse-content-box {
padding: 0;
}
.indexBox .ant-collapse > .ant-collapse-item,
.indexBox .ant-collapse-content {
border: 0;
}
.indexBox .ant-collapse {
border: 0;
background-color: transparent;
}
.indexBox .ant-collapse-icon-position-end > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow {
top: 49%;
right: 30px;
font-size: 16px;
color: #7D7D7D;
}
.indexBox .panelTitle {
box-sizing: border-box;
}
.indexBox .panelTitle .txt {
color: #050505;
font-size: 14px;
letter-spacing: 1px;
font-weight: bold;
margin-left: 10px;
line-height: 25px;
}
.indexBox .panelTitle1 {
box-sizing: border-box;
display: flex;
align-items: center;
}
.indexBox .panelTitle1 .txt {
color: #050505;
font-size: 14px;
letter-spacing: 1px;
margin-left: 10px;
line-height: 25px;
}
.indexBox .contentBox {
padding: 0 20px;
box-sizing: border-box;
}
.indexBox .contentBox .numBox:nth-child(1) {
margin-bottom: 10px;
}
.indexBox .contentBox .numBox > div {
background: #ECF2F9;
border-radius: 6px;
padding: 10px 0 4px 0;
box-sizing: border-box;
text-align: center;
width: 84px;
height: 74px;
}
.indexBox .contentBox .numBox > div:nth-child(2) {
margin: 0 16px;
}
.indexBox .contentBox .numBox > div span {
font-size: 1.3rem;
}
.indexBox .contentBox .numBox > div p {
font-size: 24px;
color: #0893FF;
margin: 0;
font-weight: bold;
}
.indexBox .contentBox .txtBox {
margin-top: 10px;
padding-right: 10px;
}
.indexBox .contentBox .txtBox p {
margin: 0;
line-height: 20px;
font-size: 1.2rem;
text-indent: 28px;
text-align: justify;
}
.indexBox .card-group {
font-size: 12px;
color: #acbcbe;
}
.indexBox .card-group > span {
cursor: pointer;
margin: 0.1rem 0.2rem;
display: inline-block;
position: relative;
border: 1px solid #209aec46;
padding: 0.1rem 0.5rem 0 0.5rem;
border-radius: 0.2rem;
height: 22px;
}
.indexBox .card-group .number {
color: #fff;
font-size: 12px;
background-color: red;
display: inline-block;
position: absolute;
top: -0.2rem;
right: -0.2rem;
border-radius: 50%;
padding: 0px 0.35rem;
margin-top: -0.5rem;
margin-right: -0.5rem;
}
.indexBox .card-group .value {
color: #00deff;
font-weight: bold;
text-shadow: 0 0 2rem #00deff;
}
.indexBox .card-group .active {
color: #0893FF;
cursor: default;
font-weight: bold;
border: 1px solid #209aec9f;
}
.indexBox .selectedTr td {
border: 1px solid #279FFD !important;
border-left: 0 !important;
border-right: 0 !important;
}
.indexBox .selectedTr td:nth-child(1) {
border-left: 1px solid #279FFD !important;
}
.indexBox .selectedTr td:last-child {
border-right: 1px solid #279FFD !important;
}
.indexBox .ant-collapse-icon-position-end > .ant-collapse-item > .ant-collapse-header {
padding: 8px 0 8px 16px;
}
.indexBox .layerPanelBtn {
width: 50px;
/* height: 130px; */
border-radius: 4px;
box-shadow: 1px 2px 10px #eee;
padding: 4px 0 0 5px;
color: #818181;
margin-top: 6px;
cursor: pointer;
background: #ECF2F9;
}
.indexBox .layerPanelBtn > div {
margin-right: 8px;
color: #0068F4;
}
.indexBox .layerPanelBtn > div:last-child {
margin-right: 0;
}
.indexBox .leftPanel {
position: absolute;
width: 290px;
max-height: calc(100vh - 84px);
background: #fff;
z-index: 111;
box-shadow: 1px 2px 10px #e8ecf1;
/*padding:0 0 20px 0;
box-sizing: border-box;*/
}
.indexBox .leftPanel > div {
max-height: calc(100vh - 84px);
overflow: hidden auto;
}
.indexBox .leftPanel .iconDiv {
border-width: 0px;
width: 5px;
height: 14px;
background-color: #007afd;
}
.indexBox .leftPanel .ant-collapse-header {
font-size: 14px;
padding: 3px 16px;
}
.indexBox .leftPanel .ant-collapse-header .ant-collapse-header-text {
font-family: 'Microsoft YaHei UI', sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
}
.indexBox .leftPanel .monitorAndWarningDiv {
padding: 0 20px 0 10px;
margin-bottom: 5px;
}
.indexBox .leftPanel .monitorAndWarningDiv .ant-collapse-header {
padding: 3px 16px;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox {
min-height: 40px;
padding: 0 10px;
box-sizing: border-box;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox:nth-child(2) {
margin: 8px 0;
border-top: 1px solid #e4eaf1;
border-bottom: 1px solid #e4eaf1;
padding: 5px 10px 8px 10px;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox .imgBox {
width: 40px;
height: 40px;
margin-right: 10px;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox .imgBox div {
width: 38px;
height: 38px;
border: 1px solid #E1EFFF;
background: #E1EFFF;
border-radius: 6px;
text-align: center;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox .imgBox div img {
width: 22px;
margin-top: 6px;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox .yjNumBox {
width: 22rem;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox .yjNumBox .titleSpan {
width: 100px;
font-size: 14px;
font-weight: bold;
margin-right: 20px;
cursor: pointer;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox .yjNumBox .totalSpan {
font-weight: bold;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox .ybyjBox .wxYbyj {
width: 100%;
display: flex;
justify-content: space-between;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox .ybyjBox .jjYbyj {
width: 100%;
display: flex;
justify-content: space-between;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox .ybyjBox .gzYbyj {
width: 100%;
display: flex;
justify-content: space-between;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox .bottom > div {
width: 8rem;
height: 18px;
border-radius: 2px;
/*&:nth-child(2),&:nth-child(3){
margin:0 10px 10px 10px;
}*/
margin: 5px 30px 0 0;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox .bottom > div span {
color: #9E9E9E;
}
.indexBox .leftPanel .monitorAndWarningDiv .cardBox .bottom > div span:nth-child(1) {
margin-right: 15px;
}
.indexBox .rightPanel {
position: absolute;
width: 365px;
background: #fff;
z-index: 101;
right: 35px;
box-shadow: 1px 2px 10px #e8ecf1;
padding: 5px 10px;
max-height: calc(100vh - 84px);
}
.indexBox .rightPanel > div {
max-height: calc(100vh - 94px);
overflow: hidden auto;
}
.indexBox .rightPanel .dutyBox {
background: #ECF2F9;
border-radius: 4px;
padding: 5px 20px;
box-sizing: border-box;
}
.indexBox .rightPanel .dutyBox .labelSpan,
.indexBox .rightPanel .dutyBox .text {
line-height: 26px;
}
.indexBox .rightPanel .dutyBox .labelSpan {
color: #A9A9A9;
margin-right: 10px;
}
.indexBox .rightPanel .dutyBox .text {
color: #333;
}
.indexBox .button-group {
font-size: 1.5rem;
color: #A5A5A5;
}
.indexBox .button-group span {
cursor: pointer;
margin: 0.1rem 0.2rem;
display: inline-block;
padding: 0 0.5rem;
}
.indexBox .button-group .active {
color: #0893FF;
cursor: pointer;
font-weight: bold;
}
.indexBox .leftPanel1 {
position: absolute;
left: -12px;
top: -12px;
width: 45rem;
height: calc(100vh - 64px);
z-index: 111;
}
.indexBox .leftPanel1 .ant-tabs-left,
.indexBox .leftPanel1 .ant-tabs-nav {
height: 100%;
}
.indexBox .leftPanel1 .ant-tabs-nav-wrap {
background: #4E5A6A;
}
.indexBox .leftPanel1 .ant-input-affix-wrapper {
padding: 2px 10px !important;
}
.indexBox .leftPanel1 .ant-tabs-tab {
height: 100px;
border-bottom: 1px solid #353F4D;
padding: 8px 13px !important;
}
.indexBox .leftPanel1 .ant-tabs-tab:nth-child(6) {
border-bottom: 0;
}
.indexBox .leftPanel1 .ant-tabs-left > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab {
margin: 0;
}
.indexBox .leftPanel1 .tabTitle {
margin-top: 4px;
}
.indexBox .leftPanel1 .tabTitle .iconDiv {
width: 38px;
height: 38px;
font-size: 22px;
color: #B6B6B6;
border: 1px solid #9EA9B7;
border-radius: 10px;
text-align: center;
margin-bottom: 10px;
margin-left: 11px;
}
.indexBox .leftPanel1 .tabTitle .iconDiv span {
margin-left: 7px;
}
.indexBox .leftPanel1 .tabTitle .txtDiv {
font-size: 14px;
color: #B6B6B6;
letter-spacing: 1px;
width: 60px;
}
.indexBox .leftPanel1 .ant-tabs-tab-active {
background: #3F4A59;
}
.indexBox .leftPanel1 .ant-tabs-tab-active .tabTitle .iconDiv {
background: #0B81FF;
border-color: #0B81FF;
color: #fff;
}
.indexBox .leftPanel1 .ant-tabs-tab-active .tabTitle .txtDiv {
color: #fff;
}
.indexBox .leftPanel1 .ant-tabs-content-holder {
height: calc(100% - 20px);
background: #fff;
box-shadow: 1px 2px 10px #bdbaba;
margin: 12px 0 0 12px;
padding: 10px 0;
box-sizing: border-box;
}
.indexBox .leftPanel1 .ant-tabs-content-holder .ant-tabs-content > div {
padding: 0;
}
.indexBox .leftPanel1 .yagl-tab .ant-tabs-content-holder {
background: transparent;
box-shadow: none;
}
.indexBox .leftPanel2 {
width: 54rem;
}
.indexBox .topNumBox {
position: absolute;
top: 25px;
width: 640px;
height: 72px;
left: calc((100vw - 640px)/2);
z-index: 110;
}
.indexBox .topNumBox > div {
margin-right: 18px;
width: calc((100% - 145px)/4);
height: 72px;
background: rgba(255, 255, 255, 0.85);
box-shadow: 1px 2px 10px #eee;
border-radius: 10px;
}
.indexBox .topNumBox > div:last-child {
margin-right: 0;
}
.indexBox .topNumBox > div p {
text-align: center;
line-height: 25px;
letter-spacing: 1px;
margin: 5px 0 0 0;
font-weight: bold;
}
.indexBox .topNumBox > div div {
width: 100px;
margin: 0 auto;
text-align: center;
}
.indexBox .topNumBox > div div span {
font-size: 24px;
color: #0893FF;
font-weight: bold;
}
.indexBox .topNumBox > div div span:nth-child(1) {
color: #0893FF;
}
.indexBox .topNumBox > div div span:nth-child(2) {
color: #565656;
}
.indexBox .tipsBox {
width: 210px;
background: rgba(255, 255, 255, 0.85);
box-shadow: 1px 2px 10px #bdbaba;
padding: 10px 0 0 7px;
box-sizing: border-box;
border-radius: 10px;
}
.indexBox .tipsBox .title {
font-size: 14px;
color: #333;
letter-spacing: 1px;
font-weight: bold;
margin-bottom: 5px;
}
.indexBox .tipsBox span {
line-height: 33px;
margin-left: 5px;
font-size: 12px;
}
.indexBox .tipsBox .legendBox .title {
font-size: 14px;
}
.indexBox .tipsBox .legendBox ul,
.indexBox .tipsBox .legendBox li {
list-style: none;
padding: 0;
font-size: 12px;
}
.indexBox .tipsBox .legendBox li {
width: 105px;
}
.indexBox .tipsBox .legendBox span {
height: 15px;
line-height: 15px;
margin-left: 0;
}
.indexBox .tipsBox .legendBox .colorSpan1,
.indexBox .tipsBox .legendBox .colorSpan2,
.indexBox .tipsBox .legendBox .colorSpan3,
.indexBox .tipsBox .legendBox .colorSpan4,
.indexBox .tipsBox .legendBox .colorSpan5,
.indexBox .tipsBox .legendBox .colorSpan6,
.indexBox .tipsBox .legendBox .colorSpan7 {
width: 22px;
height: 10px;
border: 1px solid #ddd;
margin: 2px 5px 0 0;
}
.indexBox .tipsBox .legendBox .colorSpan1 {
background: #781D4F;
}
.indexBox .tipsBox .legendBox .colorSpan2 {
background: #EB20F7;
}
.indexBox .tipsBox .legendBox .colorSpan3 {
background: #1E1ACA;
}
.indexBox .tipsBox .legendBox .colorSpan4 {
background: #6EC2FA;
}
.indexBox .tipsBox .legendBox .colorSpan5 {
background: #59B666;
}
.indexBox .tipsBox .legendBox .colorSpan6 {
background: #BDEF9A;
}
.indexBox .tipsBox .legendBox .colorSpan7 {
background: #ADB6D9;
}
.indexBox .skcx {
cursor: pointer;
}
.indexBox .skcxBox {
width: 250px;
background: rgba(255, 255, 255, 0.85);
box-shadow: 1px 2px 10px #bdbaba;
box-sizing: border-box;
border-radius: 10px;
overflow: hidden;
}
.indexBox .skcxBox .skcxBox_Scroll {
overflow-y: scroll;
max-height: 400px;
}
.indexBox .skcxBox .skcxBox_Scroll .item {
cursor: pointer;
display: flex;
align-items: flex-start;
padding: 10px 5px 0px 5px;
}
.indexBox .skcxBox .skcxBox_Scroll .item .skcxIcon {
padding: 15px 10px;
}
.indexBox .skcxBox .skcxBox_Scroll .item .content {
display: flex;
flex-direction: column;
}
.indexBox .skcxBox .skcxBox_Scroll .item .content .title {
display: flex;
justify-content: space-between;
font-size: 16px;
font-weight: bold;
color: #3B4859;
padding: 5px 0;
}
.indexBox .skcxBox .skcxBox_Scroll .item .content .title .num {
color: #c69c6b;
}
.indexBox .skcxBox .skcxBox_Scroll .item .content .text {
font-size: 14px;
color: #9E9E9E;
font-weight: bold;
}
.indexBox .skcxBox .skcxBox_Scroll .item .content .time {
font-size: 14px;
font-weight: bold;
color: #9E9E9E;
padding: 5px 0;
}
@media screen and (max-width: 1600px) {
.indexBox .topNumBox {
top: 25px;
width: 660px;
left: calc((100vw - 540px)/2);
zoom: 0.9;
}
}
.ant-radio-button-wrapper {
height: 28px;
line-height: 26px;
border: 1px solid #0893FF !important;
color: #0893FF;
}
.ant-radio-button-wrapper.ant-radio-button-wrapper-checked {
color: #fff !important;
}
.ant-radio-button-wrapper .ant-radio-button-checked {
background: #0893FF;
border-color: #0893FF !important;
}
.introductionDrawer .ant-drawer-body {
padding: 0 0 0 12px;
}
.color666 {
color: #666;
}
.ant-table-thead > tr > th {
background-color: #f2f3f5 !important;
}