Index: chrome/browser/resources/vr_shell/vr_shell_ui.css |
diff --git a/chrome/browser/resources/vr_shell/vr_shell_ui.css b/chrome/browser/resources/vr_shell/vr_shell_ui.css |
index 66774d091860eec3fe86b0e2e71ecba881c330a4..d9fe0fbc894b5498e7464043623eec2726381bd1 100644 |
--- a/chrome/browser/resources/vr_shell/vr_shell_ui.css |
+++ b/chrome/browser/resources/vr_shell/vr_shell_ui.css |
@@ -15,3 +15,58 @@ html { |
text-align: center; |
vertical-align: middle; |
} |
+ |
+div.webvr-message-box { |
Dan Beam
2016/09/27 22:33:40
the "div" probably isn't doing much for you here
|
+ background: rgba(0,0,0,0); |
Dan Beam
2016/09/27 22:33:40
nit: this is the same as "transparent", which is a
|
+ position: absolute; |
+} |
+ |
+.webvr-center { |
+ left: 50%; |
+ position: absolute; |
+ top: 50%; |
+ transform: translate(-50%, -50%); |
Dan Beam
2016/09/27 22:33:40
can you use flex box instead of left+top+position+
|
+} |
+ |
+#webvr-not-secure-transient { |
+ height: 128px; |
+ left: 0; |
+ top: 0; |
+ width: 256px; |
+} |
+ |
+#webvr-not-secure-transient > div { |
+ background-color: rgba(0, 0, 0, 0.5); |
+ border-radius: 3px; |
+ height: 100px; |
+ padding: 3px; |
+ width: 251px; |
Dan Beam
2016/09/27 22:33:40
where are you getting this width from? a specific
|
+} |
+ |
+#webvr-not-secure-transient > div > span { |
+ color: white; |
+ font-family: sans-serif; |
+ font-size: 15px; |
Dan Beam
2016/09/27 22:33:40
you should use em or % for font-size measurements
|
+ text-align: center; |
+ width: 251px; |
+} |
+ |
+#webvr-not-secure-permanent { |
+ height: 64px; |
+ left: 256px; |
+ top: 0; |
+ width: 128px; |
+} |
+ |
+#webvr-not-secure-permanent > span { |
+ background: white; |
+ border-radius: 3px; |
+ box-shadow: 0 0 5px rgba(0,0,0,0.3); |
+ color: #444; |
+ font-family: sans-serif; |
+ font-size: 16px; |
+ padding: 3px; |
+ text-align: center; |
+ white-space: nowrap; |
+ width: 100px; |
+} |