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

Unified Diff: ui/webui/resources/js/cr/polymer_elements/cr_network_icon/cr-network-icon.css

Issue 874283006: Add custom Polymer network icon element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: ui/webui/resources/js/cr/polymer_elements/cr_network_icon/cr-network-icon.css
diff --git a/ui/webui/resources/js/cr/polymer_elements/cr_network_icon/cr-network-icon.css b/ui/webui/resources/js/cr/polymer_elements/cr_network_icon/cr-network-icon.css
new file mode 100644
index 0000000000000000000000000000000000000000..ffe9dde04c0d581329de3fdf4bfb3a232f3acc11
--- /dev/null
+++ b/ui/webui/resources/js/cr/polymer_elements/cr_network_icon/cr-network-icon.css
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2015 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.
+ */
+
+div {
+ border-style: none;
+ height: 100%;
+ margin: 0px;
michaelpg 2015/02/05 06:45:51 nit: omit "px" here and below for 0 value
stevenjb 2015/02/05 22:41:33 Done.
+ overflow: hidden;
+ padding: 0px;
+ position: relative;
+ width: 100%;
+}
+
+#icon {
+ height: 100%;
+ position: absolute;
michaelpg 2015/02/05 06:45:51 sigh.. alphabetical CSS is a silly rule :-(
stevenjb 2015/02/05 22:41:33 Acknowledged.
+ width: 100%;
+}
+
+#badge {
+ height: 50%;
+ margin-left: 50%;
+ margin-top: 50%;
+ position: absolute;
+ width: 50%;
+}

Powered by Google App Engine
This is Rietveld 408576698