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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/releaseNoteMessage.css

Issue 2649023007: DevTools: implement release note behind an experiment (Closed)
Patch Set: fixup Created 3 years, 10 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: third_party/WebKit/Source/devtools/front_end/console/releaseNoteMessage.css
diff --git a/third_party/WebKit/Source/devtools/front_end/console/releaseNoteMessage.css b/third_party/WebKit/Source/devtools/front_end/console/releaseNoteMessage.css
new file mode 100644
index 0000000000000000000000000000000000000000..f8e5505f9b6e0d711dbad6cb58ea896e3fe73385
--- /dev/null
+++ b/third_party/WebKit/Source/devtools/front_end/console/releaseNoteMessage.css
@@ -0,0 +1,111 @@
+/*
+ * Copyright 2017 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.
+ */
+
+.console-note-level .console-message {
+ padding: 0 !important;
luoe 2017/02/11 00:30:54 !!!are there any alternatives?
+}
+
+.release-note-header {
+ font-size: 15px;
+}
+
+.release-note-toolbar {
+ position: absolute;
+ right: 0;
+}
+
+.release-note-container {
+ margin: 16px 0 0 0;
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap-reverse;
+}
+
+.release-note-highlight-container {
+ margin-left: -25px;
+ line-height: 1.5;
+ margin-top: 14px;
+ margin-bottom: 14px;
+ width: 100%;
+}
+
+.release-note-link {
+ color: #039be5;
+ outline: 0;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+.release-note-link:hover, .image-hover .release-note-featured-link {
+ text-decoration: underline;
+}
+
+.release-note-image {
+ width: 200px;
+ padding-right: 8px;
+ margin-bottom: 16px;
+}
+
+.release-note-text-container {
+ display: inline-block;
+ width: 220px;
+ vertical-align: top;
+ padding: 0;
+ margin-bottom: 16px;
+ font-size: 12px;
+
+ /* This is a hack, don't know how to properly override with platform defaults*/
+ font-family: '.SFNSDisplay-Regular', sans-serif !important;
chenwilliam 2017/02/09 23:39:48 ideas on how to override the monospace font with t
+}
+
+.close-release-note-message {
+ margin-left: 4px;
+}
+
+.release-note-image-container {
+ cursor: pointer;
+}
+
+/* Buttons and dropdowns */
+.dth-button {
chenwilliam 2017/02/09 23:39:48 shouldn't actually be in here... @einbinder is lan
+ -webkit-appearance: none;
+ box-sizing: border-box;
+ outline: 0;
+ height: 24px;
+ font-family: ".SFNSDisplay-Regular", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+ font-size: 12px;
+ line-height: 16px;
+ border: 1px solid;
+ border-radius: 2px;
+ padding: 3px 12px;
+ font-weight: 600;
+ color: #333;
+ background-color: #fff;
+ border-color: rgba(0, 0, 0, 0.2);
+}
+
+.dth-button:hover, .dth-button:focus, .dth-button:active {
+ background-color: #fafafa;
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
+}
+
+.dth-button:active {
+ background-color: #f2f2f2;
+}
+
+.dth-button:focus {
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(66, 133, 244, 0.4);
+}
+
+.dth-button.is-primary {
+ background-color: #4285F4;
+ border: 0;
+ color: #fff;
+}
+
+.dth-button.is-primary:hover, .dth-button.is-primary:focus {
+ background-color: #3B78E7;
+}

Powered by Google App Engine
This is Rietveld 408576698