Skip to content

Commit

Permalink
Merge pull request #1595 from SuhainaFathimaM/main
Browse files Browse the repository at this point in the history
Turned off selection in the website #1019
  • Loading branch information
arghadipmanna101 authored Aug 9, 2024
2 parents e42c4f2 + 5522d51 commit e012a16
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
7 changes: 6 additions & 1 deletion css/contactus.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
body {
font-family: 'Arial', sans-serif;
background: linear-gradient(180deg, #FDD86C 8.1%, #FF7D1F 100%);
user-select: none; /* Disable text selection in all browsers */
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */

}


Expand Down Expand Up @@ -217,4 +222,4 @@ margin-left: 190px;

.container #comment{
margin-left:10px;
}
}
5 changes: 5 additions & 0 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ body {
font-family: 'Poppins', sans-serif;
background: #dcdcdc !important;
overflow-x: hidden;
user-select: none; /* Disable text selection in all browsers */
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
}

/* Scrollbar */
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
Expand Down
8 changes: 7 additions & 1 deletion css/login-signup.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
body {
background: #f1f3f6;
user-select: none; /* Disable text selection in all browsers */
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */


}

#divB {
Expand Down Expand Up @@ -154,4 +160,4 @@ body {
.rightSignuppanal form{
width: 250px;
}
}
}
7 changes: 7 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@
/* border: 1px solid red; */
}

body {
user-select: none; /* Disable text selection in all browsers */
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
}

0 comments on commit e012a16

Please sign in to comment.