Permalink
Browse files

Make text selectable

  • Loading branch information...
1 parent 84aa10e commit 3274a5e3a04d6633eeeb5698ee531f300e8e0cb8 @grifotv committed Aug 27, 2012
Showing with 29 additions and 6 deletions.
  1. +24 −1 bin/css/style.css
  2. +1 −1 bin/css/style.min.css
  3. +3 −3 bin/index.php
  4. +1 −1 src/view/page/stream/WordStreamLineView.coffee
View
@@ -83,7 +83,16 @@ html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address
========================================================================== */
*{
- -webkit-text-size-adjust:none;
+ -webkit-text-size-adjust:none;
+
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ -moz-user-drag: none;
+ -webkit-user-drag: none;
}
html,body {
@@ -135,6 +144,20 @@ html,body {
background-color:#fafafa;
}
+.selectable,
+.selectable p,
+.selectable a,
+.selectable i,
+.selectable b,
+.selectable span,
+h1, h2, h3, h4, h5, p, a {
+ -webkit-user-select: text;
+ -khtml-user-select: text;
+ -moz-user-select: text;
+ -ms-user-select: text;
+ user-select: text;
+}
+
hr {
color: #03b2f3;
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -152,7 +152,7 @@
<div class="size1of3">
<h3><%= footer1_title %></h3>
- <div class="new-row">
+ <div class="new-row selectable">
<br/><%= footer1_copy %><br/>
<div id="follow">
@@ -213,12 +213,12 @@
<div class="size1of3">
<h3><%= footer2_title %></h3>
- <div class="new-row"><br/><%= footer2_copy %></div>
+ <div class="new-row selectable"><br/><%= footer2_copy %></div>
</div>
<div class="size1of3">
<h3><%= footer3_title %></h3>
- <div class="new-row"><br/><%= footer3_copy %></div>
+ <div class="new-row selectable"><br/><%= footer3_copy %></div>
</div>
</div>
@@ -1,6 +1,6 @@
class WordStreamLineView extends AbstractView
- className : 'word-stream-line size1of3'
+ className : 'word-stream-line size1of3 selectable'
render : =>

0 comments on commit 3274a5e

Please sign in to comment.