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

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

Issue 2250773002: WebUI: cr-network-list: Use a single list of cr-network-list-items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add show-separators 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
deleted file mode 100644
index f33e95307c28b04cc3964631b34711e972136209..0000000000000000000000000000000000000000
--- a/ui/webui/resources/cr_elements/network/cr_network_list_item_css.html
+++ /dev/null
@@ -1,89 +0,0 @@
-<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
-
-<!-- Common styles <cr-network-list/> items. -->
-<dom-module id="cr-network-list-item-css">
- <template>
- <style include="cr-shared-style">
- :host {
- display: inline-block;
- }
-
- #divOuter {
- border-style: none;
- display: flex;
- flex-direction: row;
- margin: 0;
- padding: 4px;
- }
-
- [selectable] {
- @apply(--cr-actionable);
- }
-
- /* TODO(stevenjb): remove once list item focus is fixed. */
- [selectable]:hover {
- background-color: var(--cr-focused-item-color);
- }
-
- #divIcon {
- display: flex;
- flex: 0 0 auto;
- flex-direction: column;
- justify-content: center;
- }
-
- #icon {
- height: 32px;
- width: 32px;
-
- @apply(--cr-network-icon-mixin);
- }
-
- #divDetail {
- display: flex;
- flex: 1 0 auto;
- flex-direction: row;
- }
-
- #divText {
- display: flex;
- flex: 1 0 auto;
- flex-direction: column;
- justify-content: center;
- }
-
- #itemName {
- -webkit-margin-start: 8px;
- font-size: 16px;
-
- @apply(--cr-network-name-mixin);
- }
-
- #networkStateText {
- -webkit-margin-start: 8px;
- color: grey;
- font-size: 14px;
-
- @apply(--cr-network-state-mixin);
- }
-
- .buttons {
- align-items: center;
- display: flex;
- flex-direction: row;
- }
-
- .buttons paper-icon-button {
- text-align: center;
- }
-
- #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