Disable user selection by default

This commit is contained in:
John O'Nolan 2015-05-14 21:30:25 +01:00 committed by Hannah Wolfe
parent 390c0179e5
commit 464d29717b
8 changed files with 29 additions and 4 deletions

View File

@ -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;

View File

@ -36,7 +36,6 @@
left: 0;
color: var(--brown);
text-decoration: none;
user-select: none;
}
.image-uploader .image-upload:hover {

View File

@ -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 {

View File

@ -9,6 +9,10 @@
height: 100%;
}
.error-content {
user-select: text;
}
@media (max-width: 630px) {
.error-content {
max-width: 264px;

View File

@ -296,3 +296,8 @@
.view-content {
padding: 20px;
}
.view-content p,
.view-content p * {
user-select: text;
}

View File

@ -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 */

View File

@ -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;
}

View File

@ -33,6 +33,7 @@
*, *:before, *:after {
box-sizing: border-box;
user-select: none;
}
html {