mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 17:04:59 +03:00
Disable user selection by default
This commit is contained in:
parent
390c0179e5
commit
464d29717b
@ -92,6 +92,10 @@
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 6px;
|
||||
}
|
||||
|
||||
.modal-content * {
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.modal-content .close {
|
||||
position: absolute;
|
||||
top: 19px;
|
||||
|
@ -36,7 +36,6 @@
|
||||
left: 0;
|
||||
color: var(--brown);
|
||||
text-decoration: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.image-uploader .image-upload:hover {
|
||||
|
@ -233,7 +233,6 @@
|
||||
-webkit-overflow-scrolling: touch;
|
||||
word-break: break-word;
|
||||
hyphens: auto;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@ -289,6 +288,11 @@
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
.entry-preview-content *,
|
||||
.content-preview-content * {
|
||||
user-select: all;
|
||||
}
|
||||
|
||||
.entry-preview-content a,
|
||||
.content-preview-content a {
|
||||
color: var(--blue);
|
||||
@ -468,7 +472,6 @@ body.zen .entry-preview {
|
||||
white-space: nowrap;
|
||||
background: var(--darkgrey);
|
||||
border-radius: 3px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#entry-tags .tag:hover {
|
||||
|
@ -9,6 +9,10 @@
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.error-content {
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
@media (max-width: 630px) {
|
||||
.error-content {
|
||||
max-width: 264px;
|
||||
|
@ -296,3 +296,8 @@
|
||||
.view-content {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.view-content p,
|
||||
.view-content p * {
|
||||
user-select: text;
|
||||
}
|
||||
|
@ -15,7 +15,6 @@
|
||||
letter-spacing: 1px;
|
||||
white-space: nowrap;
|
||||
border-radius: var(--border-radius);
|
||||
user-select: none;
|
||||
cursor: pointer;
|
||||
|
||||
background-image: none; /* Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214 */
|
||||
|
@ -1,6 +1,10 @@
|
||||
/* Forms
|
||||
/* ---------------------------------------------------------- */
|
||||
|
||||
form * {
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
form label {
|
||||
display: block;
|
||||
color: var(--darkgrey);
|
||||
@ -29,6 +33,10 @@ legend {
|
||||
color: var(--brown);
|
||||
}
|
||||
|
||||
input {
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
|
||||
/* Form Groups
|
||||
/* ---------------------------------------------------------- */
|
||||
@ -106,6 +114,7 @@ select {
|
||||
font-weight: normal;
|
||||
color: var(--darkgrey);
|
||||
transition: border-color 0.15s linear;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.gh-input.error,
|
||||
@ -129,6 +138,7 @@ textarea {
|
||||
min-height: 10rem;
|
||||
line-height: 1.5;
|
||||
resize: vertical;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
|
||||
|
@ -33,6 +33,7 @@
|
||||
|
||||
*, *:before, *:after {
|
||||
box-sizing: border-box;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
html {
|
||||
|
Loading…
Reference in New Issue
Block a user