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

Unified Diff: ui/webui/resources/cr_elements/network/cr_network_list_item_css.html

Issue 2236463005: Remove iron-flex-layout from cr-network (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@IronFlex
Patch Set: Created 4 years, 4 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/cr_elements/network/cr_network_list_item_css.html
diff --git a/ui/webui/resources/cr_elements/network/cr_network_list_item_css.html b/ui/webui/resources/cr_elements/network/cr_network_list_item_css.html
index 7531a5f39f38e199418f4a22aaebeef415f8d382..b71428e16b300974bacf315c2ca6d67937e9ba67 100644
--- a/ui/webui/resources/cr_elements/network/cr_network_list_item_css.html
+++ b/ui/webui/resources/cr_elements/network/cr_network_list_item_css.html
@@ -1,9 +1,10 @@
-<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
+<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
+<link rel="import" href="chrome://resources/html/polymer.html">
-<!-- Common styles <cr-network-list/> items. -->
+<!-- Common styles for <cr-network-list-*> items. -->
<dom-module id="cr-network-list-item-css">
<template>
- <style include="cr-shared-style">
+ <style>
:host {
display: inline-block;
}
@@ -39,12 +40,6 @@
@apply(--cr-network-icon-mixin);
}
- #divDetail {
- display: flex;
- flex: 1 0 auto;
- flex-direction: row;
- }
-
#divText {
display: flex;
flex: 1 0 auto;
@@ -59,6 +54,10 @@
@apply(--cr-network-name-mixin);
}
+ #itemName.connected {
+ font-weight: bold;
+ }
+
#networkStateText {
-webkit-margin-start: 8px;
color: grey;
@@ -67,6 +66,10 @@
@apply(--cr-network-state-mixin);
}
+ #networkStateText.connected {
+ color: var(--google-green-500);
+ }
+
.buttons {
align-items: center;
display: flex;
@@ -80,14 +83,6 @@
.known paper-icon-button {
width: 60px;
}
-
- #itemName.connected {
- font-weight: bold;
- }
-
- #networkStateText.connected {
- color: var(--google-green-500);
- }
</style>
</template>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698