You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/11/08 11:18:01 UTC

[3/4] brooklyn-docs git commit: use the new/experimental `user-select` label, with notes

use the new/experimental `user-select` label, with notes


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/5575d8fe
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/5575d8fe
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/5575d8fe

Branch: refs/heads/master
Commit: 5575d8fe1cd3ecda3b6784fe5bbcf2b0592cd733
Parents: 68291a3
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Mon Nov 7 16:09:17 2016 +0000
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Mon Nov 7 16:09:17 2016 +0000

----------------------------------------------------------------------
 style/css/_code_blocks.scss | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/5575d8fe/style/css/_code_blocks.scss
----------------------------------------------------------------------
diff --git a/style/css/_code_blocks.scss b/style/css/_code_blocks.scss
index 934bac5..142eb6a 100644
--- a/style/css/_code_blocks.scss
+++ b/style/css/_code_blocks.scss
@@ -100,9 +100,16 @@ a code {
   @include transform('translateX(-50%)');
 }
 
-
 span.bash_prompt {
   color: #bb60d5;
   font-weight: bold;
 }
 
+.nocopy {
+  // still experimental, and seems to affect rendering rather and not what is actually copied to clipboard
+  // our JS removes these blocks explicitly on copy events, but nice to add that it doesn't appear highlighted 
+  user-select: none;
+  -moz-user-select: none;
+  -webkit-user-select: none;
+  -ms-user-select: none;
+}