@import './app/theme.scss'; @import "./app/ngZorroTree.css"; /* 引入组件样式 */ html,body{ width: 100%; height: 100%; margin:0 auto; padding:0; overflow: hidden; } ul,ol,dl,li,dt,dd,p,form,input,h1,h2,h3,h4,h5,h6,section,article,aside,header,footer,nav,figure,time,mark,main,canvas{ margin:0; padding:0; } b,strong,i,em,h1,h2,h3,h4,h5,h6{ font-weight:500; font-style:normal; } img{ border:none; } a{ text-decoration: none; color:#000; } ul,ol,li{ list-style:none; overflow-x: hidden; } .clearfn:after{ content:""; clear:both; display: block; overflow:hidden; height:0; visibility: hidden; } //root标签 app-root{ height: 100%; } h1{ font-size: 16px; } .mat-expansion-panel-body { padding: 0px !important; } .mat-expansion-indicator::after { color: white; } .example-sidenav .mat-drawer-inner-container { overflow: hidden; } table th.mat-header-cell:last-of-type,table td.mat-cell:last-of-type, table td.mat-footer-cell:last-of-type{ padding-right: 0px; } .mat-tab-body{ height: 100%; overflow-y: auto; } .mat-content { //可展开面板垂直居中 align-items: center; } //滚动条样式 ::-webkit-scrollbar{ width: 5px; background-color: white; } ::-webkit-scrollbar-thumb{ background-color: #999; } //x轴滚动条隐藏 .example-sidenav-content { overflow-x: hidden; overflow-y: auto; } .mat-tab-body-wrapper{ height: 100%; } .mat-tab-body-content{ overflow: hidden!important; } .amap-logo{ display: none; opacity:0 !important; } .amap-copyright { opacity:0; } //gis单位信息tabs样式 #gis{ .mat-tab-label{ height: 38px; line-height: 38px; min-width: 80px; padding: 0; } } //可展开面板按钮颜色 #gisbasicinfo,#planlist,#allaround,#firefacilities,#keysite,#functionpartition,#realisticpicture{ .mat-expansion-indicator::after { color: #333333; } } //gis标点弹出框样式 #gispopupbox{ .btn{ width: 92px; height: 36px; background: #FFFFFF; border: 1px solid #EEF1F5; opacity: 1; border-radius: 4px; margin: 0 5px; font-size: 14px; font-family: Source Han Sans CN; font-weight: 400; line-height: 36px; color: #0080FF; opacity: 1; cursor: pointer; display: table-cell; //主要是这个属性 text-align: center; img{ vertical-align: middle; margin-right: 3px; padding-bottom: 2px; } } } //弹出框样式取消padding #shareDialog,#lookPlanDialog,#openPlanToolDialog{ padding: 0; } #setPosition{ .custom-content-marker { position: relative; width: 29px; height: 36px; } .custom-content-marker img { width: 100%; height: 100%; } .custom-content-marker .btnbox { position: absolute; left: -20px; bottom: -36px; width: 68px; height: 30px; background:#FFFFFF; border-radius: 60px; color: #EBEBEB; display: flex; justify-content: space-around; box-sizing: border-box; padding: 0 5px; align-items: center; img{ width: 20px; height: 20px; cursor: pointer; } } .custom-content-marker .close-btn:hover{ background: #666; } }