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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css

Issue 2594883002: DevTools: [Persistence] introduce badged icons instead of checkmarks (Closed)
Patch Set: address comments Created 4 years 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/sources/navigatorTree.css
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css b/third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css
index 2dc4815dd952c6e9ad10c7648588309b5d263315..144a2953bc89fb13fa9241ffe9d68783c3756c92 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css
+++ b/third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css
@@ -27,10 +27,21 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-.icon {
+.icon, .icon-badge {
margin: -3px -7px -3px -7px;
}
+.icon-stack {
+ position: relative;
+ display: inline-flex;
+}
+
+.icon-stack > [is=ui-icon]:not(:first-child) {
+ position: absolute;
+ left: 0;
+ top: 0;
+}
+
.navigator-file-tree-item .icon {
background: linear-gradient(45deg, hsl(0, 0%, 50%), hsl(0, 0%, 70%));
}

Powered by Google App Engine
This is Rietveld 408576698