fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fafb718
)
Make verse numbers, footnote anchors, themes, dynamic inserts unselectable. Fixes...
author
Radek Czajka
<rczajka@rczajka.pl>
Wed, 5 Feb 2020 15:15:42 +0000
(16:15 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Wed, 5 Feb 2020 15:15:42 +0000
(16:15 +0100)
src/annoy/static/annoy/banner.scss
patch
|
blob
|
history
src/wolnelektury/static/css/new.book.css
patch
|
blob
|
history
src/wolnelektury/static/scss/book_text/numbering.scss
patch
|
blob
|
history
src/wolnelektury/static/scss/book_text/themes.scss
patch
|
blob
|
history
diff --git
a/src/annoy/static/annoy/banner.scss
b/src/annoy/static/annoy/banner.scss
index
e0e0f62
..
b36fbe1
100644
(file)
--- a/
src/annoy/static/annoy/banner.scss
+++ b/
src/annoy/static/annoy/banner.scss
@@
-230,6
+230,10
@@
.dynamic-insert {
background: orange;
margin: 1em 0;
.dynamic-insert {
background: orange;
margin: 1em 0;
+ user-select: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
&.with-image {
min-height: 120px;
&.with-image {
min-height: 120px;
diff --git
a/src/wolnelektury/static/css/new.book.css
b/src/wolnelektury/static/css/new.book.css
index
db78b53
..
38df87c
100644
(file)
--- a/
src/wolnelektury/static/css/new.book.css
+++ b/
src/wolnelektury/static/css/new.book.css
@@
-104,6
+104,10
@@
p {
padding-left: 2px;
position: relative;
top: -4px;
padding-left: 2px;
position: relative;
top: -4px;
+ user-select: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
}
#footnotes {
}
#footnotes {
@@
-115,6
+119,10
@@
p {
float: left;
width: 2.5em;
clear: both;
float: left;
width: 2.5em;
clear: both;
+ user-select: auto;
+ -webkit-user-select: text;
+ -moz-user-select: text;
+ -ms-user-select: text;
}
#footnotes div {
}
#footnotes div {
diff --git
a/src/wolnelektury/static/scss/book_text/numbering.scss
b/src/wolnelektury/static/scss/book_text/numbering.scss
index
e31b494
..
8a69e80
100644
(file)
--- a/
src/wolnelektury/static/scss/book_text/numbering.scss
+++ b/
src/wolnelektury/static/scss/book_text/numbering.scss
@@
-48,6
+48,10
@@
padding: 2px;
text-align: center;
color: #ccc;
padding: 2px;
text-align: center;
color: #ccc;
+ user-select: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
&:before {
display: none;
&:before {
display: none;
diff --git
a/src/wolnelektury/static/scss/book_text/themes.scss
b/src/wolnelektury/static/scss/book_text/themes.scss
index
26ed14b
..
f56b818
100644
(file)
--- a/
src/wolnelektury/static/scss/book_text/themes.scss
+++ b/
src/wolnelektury/static/scss/book_text/themes.scss
@@
-80,6
+80,10
@@
nav #menu-themes {
letter-spacing: 0;
text-transform: none;
text-decoration: none;
letter-spacing: 0;
text-transform: none;
text-decoration: none;
+ user-select: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
@include min-screen(600px) {
@include theme-showing;
@include min-screen(600px) {
@include theme-showing;