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

Unified Diff: chrome/browser/resources/shared/css/expandable_bubble.css

Issue 8208014: Update the notification bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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/shared/css/expandable_bubble.css
===================================================================
--- chrome/browser/resources/shared/css/expandable_bubble.css (revision 0)
+++ chrome/browser/resources/shared/css/expandable_bubble.css (revision 0)
@@ -0,0 +1,105 @@
+/* Copyright (c) 2011 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.
+ */
+
+.ex-bubble {
Evan Stade 2011/10/14 18:22:59 don't abbreviate: use .expandable-bubble
+ position: absolute;
+ z-index: 9999;
+}
+
+.ex-bubble-contents {
+ color: black;
+ left: 1px;
+ line-height: 150%;
+ padding: 6px 3px 5px 6px;
+ position: relative;
+ right: 1px;
+ top: 1px;
+ z-index: 3;
Evan Stade 2011/10/14 18:22:59 why no -webkit-transitions anywhere?
Finnur 2011/10/18 12:39:10 Animations were deemed nice-to-have and since this
+}
+
+.ex-bubble-contents-expanded {
+ width: 300px;
+}
+
+.ex-bubble-title {
+ text-align: center;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.ex-bubble-title-bubble-expanded {
+ text-align: left;
+}
+
+.ex-bubble-title-left-align {
+ text-align: left;
+}
+
+.ex-bubble-main {
arv (Not doing code reviews) 2011/10/14 22:20:55 remove
+}
+
+.ex-bubble-close {
+ background-image: no-repeat 50% 50%;
+ height: 16px;
+ position: absolute;
+ right: 6px;
+ top: 6px;
+ width: 16px;
+ z-index: 4;
+}
+
+.ex-bubble-close {
+ background-image: url('chrome://theme/IDR_CLOSE_BAR');
+}
+
+.ex-bubble-close:hover {
+ background-image: url('chrome://theme/IDR_CLOSE_BAR_H');
+}
+
+.ex-bubble-close:active {
+ background-image: url('chrome://theme/IDR_CLOSE_BAR_P');
+}
+
+.ex-bubble-shadow {
+ bottom: -2px;
+ left: 0;
+ position: absolute;
+ right: 0;
+ top: 0;
+ z-index: 1;
+}
+
+.ex-bubble-arrow {
Evan Stade 2011/10/14 18:22:59 I thought we were going for a hook arrow? Is this
Finnur 2011/10/18 12:39:10 Yes, same reason as above (pushed to M17). I don't
Evan Stade 2011/10/18 16:34:15 right... I just think fixing that is going to sign
+ /* The tip of the arrow. */
+ border-bottom-right-radius: 1px;
+ /* No border on the right or top (inner sides of the rotated square) because
+ * it would overlap/darken the content shadow. */
+ border-right: none;
+ border-top: none;
+ bottom: -9px;
+ height: 15px;
+ position: absolute;
+ right: 15px;
+ width: 15px;
+ z-index: 2;
+ -webkit-transform: rotate(45deg);
+}
+
+.ex-bubble-contents,
+.ex-bubble-arrow {
+ background: white;
+}
+
+.ex-bubble-shadow,
+.ex-bubble-arrow {
+ border: 1px solid rgba(0, 0, 0, 0.3);
+ -webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
+}
+
+.ex-bubble-shadow,
+.ex-bubble-contents {
+ border-radius: 6px;
+ box-sizing: border-box;
+}
Property changes on: chrome\browser\resources\shared\css\expandable_bubble.css
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698