Browse Source

[完善]去掉user-select: none

tangshan
邵佳豪 4 years ago
parent
commit
2984392c11
  1. 6
      src/app/gis-management/allaround/allaround.component.scss
  2. 6
      src/app/gis-management/basic-info/basic-info.component.scss
  3. 6
      src/app/gis-management/cad-draw/cad-draw.component.scss
  4. 6
      src/app/gis-management/fire-facilities/fire-facilities.component.scss
  5. 6
      src/app/gis-management/function-partition/function-partition.component.scss
  6. 10
      src/app/gis-management/gis-labeling/lookPlan.scss
  7. 6
      src/app/gis-management/key-site-look/key-site.component.scss
  8. 6
      src/app/gis-management/plan-list/plan-list.component.scss
  9. 6
      src/app/gis-management/realistic-picture-look/realistic-picture.component.scss
  10. 6
      src/app/key-unit/basicinfo/addhouseinfo.component.html
  11. 6
      src/app/plan-audit/allaround/allaround.component.scss
  12. 6
      src/app/plan-audit/basic-info/basic-info.component.scss
  13. 6
      src/app/plan-audit/cad-draw/cad-draw.component.scss
  14. 6
      src/app/plan-audit/fire-facilities/fire-facilities.component.scss
  15. 6
      src/app/plan-audit/function-partition/function-partition.component.scss
  16. 6
      src/app/plan-audit/key-site-look/key-site.component.scss
  17. 6
      src/app/plan-audit/plan-list/plan-list.component.scss
  18. 6
      src/app/plan-audit/realistic-picture-look/realistic-picture.component.scss
  19. 6
      src/app/plan-management/create-plan-online-five/create-plan-online-five.component.scss
  20. 1
      src/app/tabbar/tabbar.component.scss
  21. 2
      src/app/ui/collection-tools-building/collection-tools.component.html
  22. 49
      src/app/ui/collection-tools-building/collection-tools.component.scss
  23. 1
      src/styles.scss

6
src/app/gis-management/allaround/allaround.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/gis-management/basic-info/basic-info.component.scss

@ -2,12 +2,6 @@
table,table tr th, table tr td { border: 1px solid #EEF1F5; } table,table tr th, table tr td { border: 1px solid #EEF1F5; }
table { text-align: center; border-collapse: collapse; padding:2px;} table { text-align: center; border-collapse: collapse; padding:2px;}
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/gis-management/cad-draw/cad-draw.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/gis-management/fire-facilities/fire-facilities.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/gis-management/function-partition/function-partition.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

10
src/app/gis-management/gis-labeling/lookPlan.scss

@ -1,14 +1,4 @@
// table,table tr th, table tr td { border: 1px solid #EEF1F5; }
table { text-align: center; border-collapse: collapse; padding:2px;} table { text-align: center; border-collapse: collapse; padding:2px;}
*{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.box{ .box{
position: relative; position: relative;
display: flex; display: flex;

6
src/app/gis-management/key-site-look/key-site.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/gis-management/plan-list/plan-list.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/gis-management/realistic-picture-look/realistic-picture.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/key-unit/basicinfo/addhouseinfo.component.html

@ -1,14 +1,14 @@
<div mat-dialog-title>新增建筑</div> <div mat-dialog-title>新增建筑</div>
<form (ngSubmit)="onSubmit(form.value)" #form="ngForm" class="example-container"> <form (ngSubmit)="onSubmit(form.value)" #form="ngForm" class="example-container">
<mat-form-field hintLabel="名字不多于20个字"> <mat-form-field hintLabel="名字不多于30个字">
<input matInput id="name" name="name" <input matInput id="name" name="name"
required required
maxlength="20" maxlength="30"
ngModel #name="ngModel" placeholder="建筑名称" ngModel #name="ngModel" placeholder="建筑名称"
#input #input
> >
<mat-hint align="end">{{input.value?.length || 0}}/20</mat-hint> <mat-hint align="end">{{input.value?.length || 0}}/30</mat-hint>
</mat-form-field> </mat-form-field>
<mat-form-field> <mat-form-field>

6
src/app/plan-audit/allaround/allaround.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/plan-audit/basic-info/basic-info.component.scss

@ -2,12 +2,6 @@
table,table tr th, table tr td { border: 1px solid #EEF1F5; } table,table tr th, table tr td { border: 1px solid #EEF1F5; }
table { text-align: center; border-collapse: collapse; padding:2px;} table { text-align: center; border-collapse: collapse; padding:2px;}
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/plan-audit/cad-draw/cad-draw.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/plan-audit/fire-facilities/fire-facilities.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/plan-audit/function-partition/function-partition.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/plan-audit/key-site-look/key-site.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/plan-audit/plan-list/plan-list.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/plan-audit/realistic-picture-look/realistic-picture.component.scss

@ -1,10 +1,4 @@
*{ *{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

6
src/app/plan-management/create-plan-online-five/create-plan-online-five.component.scss

@ -1,10 +1,4 @@
* { * {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

1
src/app/tabbar/tabbar.component.scss

@ -187,7 +187,6 @@ mat-icon{
} }
//计分规则按钮 //计分规则按钮
.scoringRule,.isUpdates{ .scoringRule,.isUpdates{
user-select: none;
position: absolute; position: absolute;
left: 440px; left: 440px;
cursor: pointer; cursor: pointer;

2
src/app/ui/collection-tools-building/collection-tools.component.html

@ -55,7 +55,7 @@
<div class="headerOperate"> <div class="headerOperate">
<button mat-button *ngFor="let item of allBuildings;let key = index" (click)="checkedBuilding(item,key)" <button mat-button *ngFor="let item of allBuildings;let key = index" (click)="checkedBuilding(item,key)"
class="bigeditdeletebtn" [ngClass]="{'buildingbtnchecked': checkedBuildingIndex==key}"> class="bigeditdeletebtn" [ngClass]="{'buildingbtnchecked': checkedBuildingIndex==key}">
<span>{{item.name}}</span> <span class="bigeditdeletebtnname" [title]="item.name">{{item.name}}</span>
<span class="editdeletebtn" *ngIf="isEditPattern && pattern"> <span class="editdeletebtn" *ngIf="isEditPattern && pattern">
<mat-icon (click)="editBuilding($event,item)" <mat-icon (click)="editBuilding($event,item)"
style="font-size: 23px;vertical-align:sub;margin-left: 6px;color: rgb(26, 194, 26);">create</mat-icon> style="font-size: 23px;vertical-align:sub;margin-left: 6px;color: rgb(26, 194, 26);">create</mat-icon>

49
src/app/ui/collection-tools-building/collection-tools.component.scss

@ -1,9 +1,11 @@
@import './panel.scss'; @import "./panel.scss";
html { html {
::-webkit-scrollbar {display:none} ::-webkit-scrollbar {
display: none;
}
} }
.icongray { .icongray {
color: #D9D0DC; color: #d9d0dc;
} }
.content { .content {
width: 100%; width: 100%;
@ -15,7 +17,7 @@ html{
flex-direction: column; flex-direction: column;
.buildingbtnchecked { .buildingbtnchecked {
background-color: #34A6FD; background-color: #34a6fd;
color: white; color: white;
} }
} }
@ -40,9 +42,12 @@ html{
.marginLeftRight { .marginLeftRight {
margin: 0 8px; margin: 0 8px;
font-size: 16px; font-size: 16px;
user-select: none; user-select: none;
cursor: pointer; cursor: pointer;
.mat-icon { vertical-align: middle; font-size: 24px; } .mat-icon {
vertical-align: middle;
font-size: 24px;
}
} }
.copytobutn { .copytobutn {
width: 60px; width: 60px;
@ -75,7 +80,10 @@ html{
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;
right: 60px; right: 60px;
label { vertical-align: middle; color: #279FFF; } label {
vertical-align: middle;
color: #279fff;
}
} }
} }
@ -88,7 +96,7 @@ html{
margin-left: 1px; margin-left: 1px;
} }
span { span {
font-size: 18px; font-size: 15px;
} }
flex: 5%; flex: 5%;
display: flex; display: flex;
@ -104,6 +112,16 @@ html{
.editdeletebtn { .editdeletebtn {
display: none; display: none;
} }
.bigeditdeletebtn {
max-width: 200px;
.bigeditdeletebtnname {
display: inline-block;
max-width: 120px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.bigeditdeletebtn:hover { .bigeditdeletebtn:hover {
.editdeletebtn { .editdeletebtn {
display: inline-block; display: inline-block;
@ -139,7 +157,7 @@ html{
margin-left: 0px; margin-left: 0px;
transition: margin-left 0.5s; transition: margin-left 0.5s;
min-width: 235px; min-width: 235px;
border: 1px solid #E6EAEE; border: 1px solid #e6eaee;
width: 235px; width: 235px;
left: 0; left: 0;
z-index: 112; z-index: 112;
@ -159,11 +177,9 @@ html{
border: 1px solid #464646; border: 1px solid #464646;
width: 235px; width: 235px;
right: 0; right: 0;
} }
@media screen and (max-width: 1300px) { @media screen and (max-width: 1300px) {
.functionalDomainLeft { .functionalDomainLeft {
min-width: 195px; min-width: 195px;
width: 195px; width: 195px;
@ -182,7 +198,6 @@ html{
margin-left: -2000px; margin-left: -2000px;
transition: margin-left 1s; transition: margin-left 1s;
} }
} }
//右边操作栏 //右边操作栏
@ -324,7 +339,6 @@ html{
} }
} }
} }
} }
} }
.hideAllTreeNode { .hideAllTreeNode {
@ -335,7 +349,11 @@ html{
height: 24px; height: 24px;
line-height: 24px; line-height: 24px;
display: flex; display: flex;
label { display: inline-block; flex: 1; cursor: pointer; } label {
display: inline-block;
flex: 1;
cursor: pointer;
}
} }
//右侧消防要素 //右侧消防要素
.firecategories { .firecategories {
@ -374,7 +392,6 @@ div:focus {
margin-right: 3px; margin-right: 3px;
} }
// tree // tree
.mat-tree-node { .mat-tree-node {
min-height: 0; min-height: 0;
@ -410,7 +427,7 @@ div:focus {
line-height: 40px; line-height: 40px;
position: absolute; position: absolute;
right: 0; right: 0;
transition: right linear .5s; transition: right linear 0.5s;
.openbtn { .openbtn {
font-size: 45px; font-size: 45px;
height: 45px; height: 45px;

1
src/styles.scss

@ -19,6 +19,7 @@ html,body{
textarea{ textarea{
font-family: Regular font-family: Regular
} }
user-select:auto!important
} }
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{ 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; margin:0;

Loading…
Cancel
Save