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

Side by Side Diff: ui/webui/resources/cr_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: Rebase + use CrOnc.NetworkConfigType 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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright 2015 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 :host {
8 display: inline-block;
9 }
10
11 div {
12 border-style: none;
michaelpg 2015/02/10 08:11:25 2-space indents
stevenjb 2015/02/11 00:16:11 Done.
13 height: 100%;
14 margin: 0;
15 overflow: hidden;
16 padding: 0;
17 position: relative;
18 width: 100%;
19 }
20
21 #icon {
22 height: 100%;
23 position: absolute;
24 width: 100%;
25 }
26
27 #badge {
28 height: 50%;
29 margin-left: 50%;
michaelpg 2015/02/10 08:11:25 -webkit-margin-start
stevenjb 2015/02/11 00:16:11 I'm really not sure that we want to mirror the ico
30 margin-top: 50%;
31 position: absolute;
32 width: 50%;
33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698