incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwbro...@apache.org
Subject git commit: [app] Prevent tap and select styling.
Date Tue, 28 Aug 2012 17:45:28 GMT
Updated Branches:
  refs/heads/master dcae31fcf -> 2e929c09b


[app] Prevent tap and select styling.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/commit/2e929c09
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/tree/2e929c09
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/diff/2e929c09

Branch: refs/heads/master
Commit: 2e929c09b875ceb71ecf8435c4f9622e64c499c5
Parents: dcae31f
Author: Michael Brooks <michael@michaelbrooks.ca>
Authored: Tue Aug 28 10:44:38 2012 -0700
Committer: Michael Brooks <michael@michaelbrooks.ca>
Committed: Tue Aug 28 10:44:38 2012 -0700

----------------------------------------------------------------------
 www/css/index.css |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/blob/2e929c09/www/css/index.css
----------------------------------------------------------------------
diff --git a/www/css/index.css b/www/css/index.css
index 266c3a7..bacd6e3 100644
--- a/www/css/index.css
+++ b/www/css/index.css
@@ -16,6 +16,13 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+* {
+    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when
tap to hold */
+    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit
*/
+    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust
last value opacity 0 to 1.0 */
+    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none'
to 'text' */
+}
+
 body {
     background-color:#E4E4E4;
     background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);


Mime
View raw message