Chromium Code Reviews| 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 ef646814ef284b3168acaf5b4bb6c795caa25705..3f477a639c162860b59bda0b18fbde5f72e374d9 100644 |
| --- a/chrome/browser/resources/vr_shell/vr_shell_ui.css |
| +++ b/chrome/browser/resources/vr_shell/vr_shell_ui.css |
| @@ -80,7 +80,7 @@ html { |
| background-position: center; |
| background-repeat: no-repeat; |
| background-size: contain; |
| - border-radius: 50%; |
| + border-radius: 10%; |
| height: 96px; |
| margin: auto auto; |
| opacity: 0.8; |
| @@ -113,14 +113,15 @@ html { |
| } |
| #reload-ui-button { |
| - --tranX: 0; |
| - --tranY: -1.2; |
| - --tranZ: -1.2; |
| color: white; |
| font-size: 24px; |
| padding: 12px; |
| } |
| +#reload-ui-button:hover { |
| + background-color: pink; |
| +} |
| + |
| #url-indicator-container { |
| --tranX: 0; |
| --tranY: -0.65; |
| @@ -193,44 +194,57 @@ html { |
| #omnibox-ui-element { |
| --tranX: 0; |
| - --tranY: -0.2; |
| + --tranY: -0.1; |
| --tranZ: -1.0; |
| + background-color: transparent; |
| + box-sizing: border-box; |
| font-family: arial; |
| + font-size: 16px; |
| + width: 400px; |
| } |
| -#omnibox-url-divider { |
| - background-color: black; |
| - height: 1px; |
| +#suggestions { |
| + border: 1px solid transparent; |
| + box-sizing: border-box; |
| } |
| -#omnibox-url-element { |
| +.suggestion { |
| + align-items: center; |
|
bshe
2017/02/03 16:37:05
I am wondering what's the element that you want to
cjgrant
2017/02/03 20:24:25
This provides vertical alignment of the text withi
bshe
2017/02/03 21:15:37
Acknowledged.
|
| background-color: white; |
| + border-left: 5px solid transparent; |
| + border-right: 5px solid transparent; |
|
bshe
2017/02/03 16:37:05
I am not sure why do you need transparent border h
cjgrant
2017/02/03 20:24:25
Here's the reason (it's a bit weird):
- We need ma
bshe
2017/02/03 21:15:37
I see. So this is not very obvious and that's why
cjgrant
2017/02/03 22:19:13
I added a few comments to the odd-looking properti
|
| + box-sizing: border-box; |
| display: flex; |
| - padding: 5px; |
| - width: 100%; |
| + height: 24px; |
| + overflow: hidden; |
| + visibility: hidden; |
| + white-space: nowrap; |
| +} |
| + |
| +.suggestion:hover { |
| + background-color: orange; |
| } |
| -.omnibox-suggestion { |
| +#omnibox-url-element { |
| background-color: white; |
| - height: 22px; |
| - overflow: hidden; |
| - padding-left: 5px; |
| - padding-right: 5px; |
| - white-space: nowrap; |
| - width: 100%; |
| + border: 1px solid grey; |
| + box-sizing: border-box; |
| + display: flex; |
| + flex-direction: row-reverse; |
| + margin-top: 2px; |
| + padding: 5px; |
| } |
| #omnibox-input-field { |
| border: none; |
| font-size: 16px; |
| - margin: 3px; |
| + outline: none; |
|
bshe
2017/02/03 16:37:05
Do you need to specify none here? I would guess no
cjgrant
2017/02/03 20:24:24
This is needed for input fields - otherwise, when
cjgrant
2017/02/03 20:28:15
Re-verified. Both border:none and outline:none ar
bshe
2017/02/03 21:15:37
Interesing. ack
|
| overflow: hidden; |
| - padding: 0; |
| white-space: nowrap; |
| - width: 280px; |
| + width: 100%; |
| } |
| #omnibox-clear-button { |
| background: url(../../../../ui/webui/resources/images/x-hover.png) no-repeat center center; |
| - width: 15px; |
| + width: 18px; |
| } |