Ver código fonte

scope selection color to .reveal

Hakim El Hattab 5 anos atrás
pai
commit
aa2a4a0a36

+ 2 - 2
css/theme/template/theme.scss

@@ -18,13 +18,13 @@
 	color: $mainColor;
 	color: $mainColor;
 }
 }
 
 
-::selection {
+.reveal ::selection {
 	color: $selectionColor;
 	color: $selectionColor;
 	background: $selectionBackgroundColor;
 	background: $selectionBackgroundColor;
 	text-shadow: none;
 	text-shadow: none;
 }
 }
 
 
-::-moz-selection {
+.reveal ::-moz-selection {
 	color: $selectionColor;
 	color: $selectionColor;
 	background: $selectionBackgroundColor;
 	background: $selectionBackgroundColor;
 	text-shadow: none;
 	text-shadow: none;

+ 2 - 2
dist/theme/beige.css

@@ -49,12 +49,12 @@
   font-weight: normal;
   font-weight: normal;
   color: #333; }
   color: #333; }
 
 
-::selection {
+.reveal ::selection {
   color: #fff;
   color: #fff;
   background: rgba(79, 64, 28, 0.99);
   background: rgba(79, 64, 28, 0.99);
   text-shadow: none; }
   text-shadow: none; }
 
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   color: #fff;
   background: rgba(79, 64, 28, 0.99);
   background: rgba(79, 64, 28, 0.99);
   text-shadow: none; }
   text-shadow: none; }

+ 2 - 2
dist/theme/black.css

@@ -45,12 +45,12 @@ section.has-light-background, section.has-light-background h1, section.has-light
   font-weight: normal;
   font-weight: normal;
   color: #fff; }
   color: #fff; }
 
 
-::selection {
+.reveal ::selection {
   color: #fff;
   color: #fff;
   background: #bee4fd;
   background: #bee4fd;
   text-shadow: none; }
   text-shadow: none; }
 
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   color: #fff;
   background: #bee4fd;
   background: #bee4fd;
   text-shadow: none; }
   text-shadow: none; }

+ 2 - 2
dist/theme/blood.css

@@ -48,12 +48,12 @@
   font-weight: normal;
   font-weight: normal;
   color: #eee; }
   color: #eee; }
 
 
-::selection {
+.reveal ::selection {
   color: #fff;
   color: #fff;
   background: #a23;
   background: #a23;
   text-shadow: none; }
   text-shadow: none; }
 
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   color: #fff;
   background: #a23;
   background: #a23;
   text-shadow: none; }
   text-shadow: none; }

+ 2 - 2
dist/theme/league.css

@@ -51,12 +51,12 @@
   font-weight: normal;
   font-weight: normal;
   color: #eee; }
   color: #eee; }
 
 
-::selection {
+.reveal ::selection {
   color: #fff;
   color: #fff;
   background: #FF5E99;
   background: #FF5E99;
   text-shadow: none; }
   text-shadow: none; }
 
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   color: #fff;
   background: #FF5E99;
   background: #FF5E99;
   text-shadow: none; }
   text-shadow: none; }

+ 2 - 2
dist/theme/moon.css

@@ -49,12 +49,12 @@ html * {
   font-weight: normal;
   font-weight: normal;
   color: #93a1a1; }
   color: #93a1a1; }
 
 
-::selection {
+.reveal ::selection {
   color: #fff;
   color: #fff;
   background: #d33682;
   background: #d33682;
   text-shadow: none; }
   text-shadow: none; }
 
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   color: #fff;
   background: #d33682;
   background: #d33682;
   text-shadow: none; }
   text-shadow: none; }

+ 2 - 2
dist/theme/night.css

@@ -43,12 +43,12 @@
   font-weight: normal;
   font-weight: normal;
   color: #eee; }
   color: #eee; }
 
 
-::selection {
+.reveal ::selection {
   color: #fff;
   color: #fff;
   background: #e7ad52;
   background: #e7ad52;
   text-shadow: none; }
   text-shadow: none; }
 
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   color: #fff;
   background: #e7ad52;
   background: #e7ad52;
   text-shadow: none; }
   text-shadow: none; }

+ 2 - 2
dist/theme/serif.css

@@ -45,12 +45,12 @@
   font-weight: normal;
   font-weight: normal;
   color: #000; }
   color: #000; }
 
 
-::selection {
+.reveal ::selection {
   color: #fff;
   color: #fff;
   background: #26351C;
   background: #26351C;
   text-shadow: none; }
   text-shadow: none; }
 
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   color: #fff;
   background: #26351C;
   background: #26351C;
   text-shadow: none; }
   text-shadow: none; }

+ 2 - 2
dist/theme/simple.css

@@ -48,12 +48,12 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
   font-weight: normal;
   font-weight: normal;
   color: #000; }
   color: #000; }
 
 
-::selection {
+.reveal ::selection {
   color: #fff;
   color: #fff;
   background: rgba(0, 0, 0, 0.99);
   background: rgba(0, 0, 0, 0.99);
   text-shadow: none; }
   text-shadow: none; }
 
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   color: #fff;
   background: rgba(0, 0, 0, 0.99);
   background: rgba(0, 0, 0, 0.99);
   text-shadow: none; }
   text-shadow: none; }

+ 2 - 2
dist/theme/sky.css

@@ -52,12 +52,12 @@
   font-weight: normal;
   font-weight: normal;
   color: #333; }
   color: #333; }
 
 
-::selection {
+.reveal ::selection {
   color: #fff;
   color: #fff;
   background: #134674;
   background: #134674;
   text-shadow: none; }
   text-shadow: none; }
 
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   color: #fff;
   background: #134674;
   background: #134674;
   text-shadow: none; }
   text-shadow: none; }

+ 2 - 2
dist/theme/solarized.css

@@ -49,12 +49,12 @@ html * {
   font-weight: normal;
   font-weight: normal;
   color: #657b83; }
   color: #657b83; }
 
 
-::selection {
+.reveal ::selection {
   color: #fff;
   color: #fff;
   background: #d33682;
   background: #d33682;
   text-shadow: none; }
   text-shadow: none; }
 
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   color: #fff;
   background: #d33682;
   background: #d33682;
   text-shadow: none; }
   text-shadow: none; }

+ 2 - 2
dist/theme/white.css

@@ -45,12 +45,12 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
   font-weight: normal;
   font-weight: normal;
   color: #222; }
   color: #222; }
 
 
-::selection {
+.reveal ::selection {
   color: #fff;
   color: #fff;
   background: #98bdef;
   background: #98bdef;
   text-shadow: none; }
   text-shadow: none; }
 
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   color: #fff;
   background: #98bdef;
   background: #98bdef;
   text-shadow: none; }
   text-shadow: none; }