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

Unified Diff: chrome/browser/resources/print_preview/common/search_bubble.css

Issue 540183002: Add search to Print Preview advanced options and enable them in the UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: chrome/browser/resources/print_preview/common/search_bubble.css
diff --git a/chrome/browser/resources/options/search_page.css b/chrome/browser/resources/print_preview/common/search_bubble.css
similarity index 73%
copy from chrome/browser/resources/options/search_page.css
copy to chrome/browser/resources/print_preview/common/search_bubble.css
index b634928989ad07763508ec6258ac633f51944aae..f2de7c15d4c7a58cb4b9f244dfab3e255165fb58 100644
--- a/chrome/browser/resources/options/search_page.css
+++ b/chrome/browser/resources/print_preview/common/search_bubble.css
@@ -1,15 +1,7 @@
-/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
+/* Copyright 2014 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
-.search-hidden {
- display: none !important;
-}
-
-.search-highlighted {
- background-color: rgba(255, 240, 120, 0.9);
-}
-
/* Container for the elements that make up the search bubble. */
.search-bubble {
left: 0;
@@ -23,8 +15,8 @@
/* Contains the text content of the bubble. */
.search-bubble-innards {
- background: -webkit-linear-gradient(rgba(255, 248, 172, 0.9),
- rgba(255, 243, 128, 0.9));
+ background: linear-gradient(rgba(255, 248, 172, 0.9),
+ rgba(255, 243, 128, 0.9));
border-radius: 2px;
padding: 4px 10px;
text-align: center;
@@ -47,8 +39,7 @@
/* Provides the arrow which points at the anchor element. */
.search-bubble-innards::after {
-webkit-transform: rotate(45deg);
- background:
- -webkit-linear-gradient(-45deg, rgb(251, 255, 181),
+ background: linear-gradient(-45deg, rgb(251, 255, 181),
rgb(255, 248, 172) 50%,
rgba(255, 248, 172, 0));
border: 1px solid rgb(220, 198, 72);
@@ -66,9 +57,3 @@
.search-bubble-wrapper {
position: relative;
}
-
-/* #mainview is here to win specificity. :( */
-#mainview #searchPage.page,
-#mainview #searchBox.page {
- padding-bottom: 0;
-}

Powered by Google App Engine
This is Rietveld 408576698