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

Unified Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2974583002: MD Settings: Tweak search bubble opacity and size. (Closed)
Patch Set: Created 3 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_shared_css.html
diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html
index 1cc949ea6f1de4c9f3354257ebc5e7f39fc4ccf3..0591b4d220cb5fa309bf56d936e55ed6101ae5a9 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -376,25 +376,28 @@
}
.search-bubble {
+ /* RGB value matches var(--paper-yellow-500). */
+ --search-bubble-color: rgba(255, 235, 59, 0.9);
position: absolute;
z-index: 1;
}
.search-bubble-innards {
align-items: center;
- background-color: var(--paper-yellow-500);
+ background-color: var(--search-bubble-color);
border-radius: 2px;
+ max-width: 100px;
+ min-width: 64px;
padding: 4px 10px;
text-align: center;
- width: 100px;
}
/* Provides the arrow which points at the anchor element. */
.search-bubble-innards::after {
- background-color: var(--paper-yellow-500);
+ background-color: var(--search-bubble-color);
content: '';
height: 10px;
- left: 55px;
+ left: calc(50% - 5px);
dschuyler 2017/07/07 19:26:08 Maybe: The width of a diamond with 10px sides is a
position: absolute;
top: -5px;
transform: rotate(-45deg);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698