Commit 8a8593d8 authored by msw@chromium.org's avatar msw@chromium.org

Remove unused banner styles from uber_shared.css

This file is a copy of chrome/browser/resources/uber/uber_shared.css
Extensions cannot use chrome://theme/<IDR> images.
The .page-banner-text style using that is unused here.

Found while misguidedly attempting to use more chrome://theme/<IDR> in chrome/common/extensions/docs/examples/api files while working on https://codereview.chromium.org/11785037/.

BUG=NONE
TEST=Follow chrome/common/extensions/docs/README to test the changes; download and load unpacked FontSettings example extension, no appearance/functionality regressions.
R=falken@chromium.org,kalman@chromium.org

Review URL: https://chromiumcodereview.appspot.com/11783067

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176021 0039d316-1c4b-4281-b951-d872f2087c98
parent d745025b
...@@ -116,47 +116,3 @@ body.uber-frame section > h3 { ...@@ -116,47 +116,3 @@ body.uber-frame section > h3 {
body.uber-frame section > div:only-of-type { body.uber-frame section > div:only-of-type {
-webkit-box-flex: 1; -webkit-box-flex: 1;
} }
/* Styles for a hideable notification banner at the top of a page. */
.page.showing-banner {
margin-top: 45px;
}
.page-banner {
background-color: white;
width: 100%;
z-index: 2;
}
.page:not(.showing-banner) .page-banner {
display: none;
}
.page-banner-gradient {
background: -webkit-linear-gradient(rgb(255, 242, 183),
rgb(250, 230, 145));
border: 1px solid rgb(201, 189, 141);
border-radius: 3px;
height: 25px;
margin: 9px 9px 0 9px;
}
.page-banner .page-banner-gradient {
-webkit-margin-end: 20px;
-webkit-margin-start: 0;
margin-bottom: 9px;
}
.page-banner-text {
background-image: url('chrome://theme/IDR_MANAGED');
background-position: 5px center;
background-repeat: no-repeat;
display: block;
line-height: 24px;
padding-left: 26px;
}
.page-banner.clickable:active .page-banner-text {
background: -webkit-linear-gradient(rgb(250, 230, 145),
rgb(255, 242, 183));
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment