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

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

Issue 2698033002: PROTOTYPE: Generic custom CSS property parsing (Closed)
Patch Set: Rebase to ToT (native support is now in tip). Created 3 years, 10 months 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 aae8654fb3bd7ebc43478c78ac1f5663556ea87f..34ff48ad9715153ff45386d7315f39bf828f343c 100644
--- a/chrome/browser/resources/vr_shell/vr_shell_ui.css
+++ b/chrome/browser/resources/vr_shell/vr_shell_ui.css
@@ -21,6 +21,23 @@ html {
margin: 2px;
}
+#content-quad-element {
+ --sizeY: 1.6;
+ --sizeX: 2.5;
+ width: 50px;
+ height: 50px;
+ background-color: red;
+ --tranX: 0;
+ --tranY: 0;
+ --tranZ: -2.0;
+}
+
+#content-quad-element.menu {
+ --tranX: 0;
+ --tranY: 0;
+ --tranZ: -4.0;
+}
+
.webvr-message-box {
align-items: center;
display: flex;
@@ -86,6 +103,12 @@ html {
opacity: 0.8;
transition: opacity 150ms ease-in-out;
width: 96px;
+ --custom-var: "cat";
+}
+
+.round-button .button:hover {
+ background-color: red;
+ --custom-var: "dog";
}
.round-button .caption {
« 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