Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: chrome/browser/resources/vr_shell/vr_shell_ui.css

Issue 2473443002: Add an initial omnibox to HTML UI content. (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/vr_shell/vr_shell_ui.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4e13cd75c211d4c50e4fd4d1a66b14d2d3a45176..043ed0a79ad8c9462014c739ad44c6602e3046d7 100644
--- a/chrome/browser/resources/vr_shell/vr_shell_ui.css
+++ b/chrome/browser/resources/vr_shell/vr_shell_ui.css
@@ -6,6 +6,14 @@ html {
background-color: rgba(255, 255, 255, 0);
}
+#ui {
+ --scaleFactor: 4;
+ left: 0;
+ position: absolute;
+ top: 0;
+ transform: scale(0.25, 0.25);
+}
+
.webvr-message-box {
align-items: center;
display: flex;
@@ -156,3 +164,59 @@ html {
top: 0;
width: 96px;
}
+
+#omni {
+ --tranX: 0;
+ --tranY: -0.5;
+ --tranZ: -1.0;
+ background-color: rgba(255, 255, 255, 0.9);
+ border-radius: 100px;
+ box-sizing: border-box;
+ height: 104px;
+ left: 0;
+ opacity: 1;
+ position: absolute;
+ top: 402px;
+ transition: opacity 250ms ease, margin-top 250ms ease;
+ white-space: nowrap;
+ width: 504px;
+}
+
+#omni #connection-security {
+ left: 35px;
+ position: absolute;
+ top: 50%;
+ transform: translateY(-50%);
+}
+
+#omni #url {
+ color: #252525;
+ font-size: 34px;
+ left: 80px;
+ position: absolute;
+ top: 50%;
+ transform: translateY(-50%);
+ white-space: nowrap;
+}
+
+#omni #path {
+ color: #868686;
+}
+
+#omni.hide {
+ margin-top: 60px;
+ opacity: 0;
+}
+
+#omni.loading {
+ border: 4px solid rgb(86, 203, 255);
+}
+
+#omni.idle {
+ background-color: #ECECEC;
+ box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.1);
+}
+
+#omni.idle #domain {
+ color: black;
+}
« no previous file with comments | « no previous file | chrome/browser/resources/vr_shell/vr_shell_ui.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698