Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: skin/devtools-panel.css

Issue 29695580: Issue 5093 - Indicate whether request in devtools panel belongs to tab (Closed)
Patch Set: Created March 2, 2018, 3:53 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « devtools-panel.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skin/devtools-panel.css
===================================================================
--- a/skin/devtools-panel.css
+++ b/skin/devtools-panel.css
@@ -102,28 +102,52 @@
{
overflow-y: scroll;
flex-grow: 1;
}
#items table
{
line-height: 17px;
+}
- /* This background image gives every other row a gray background.
- * This is simlar to "tr:nth-child(odd) background-color: #eee;".
- * However, we can't do it that way, since some rows might be hidden.
- */
- background-image: url(data:image/gif;base64,R0lGODdhAQBQAIABAO7u7v///ywAAAAAAQBQAAACC4SPqcsYD6OctMYCADs=);
- background-repeat: repeat;
+#items table.foreground tr.odd
+{
+ background-color: #eeeeee;
+}
+
+#items table.background tr
+{
+ background-color: #fdf3fd;
}
-body.dark #items table
+/* it's very convenient to have a first row
+ with a simple convention that when no other
+ rows are available, this automatically hides */
+#items table.background tr:only-child
+{
+ display: none;
+}
+
+/* it's also straight forward to style / select */
+#items table.background tr:first-child
{
- background-image: url(data:image/gif;base64,R0lGODdhAQBQAIACACQkJExMTCwAAAAAAQBQAAACC4yPqcsID6OctMYCADs=);
+ height: auto;
+ background-color: #c8bec8;
+}
+
+#items table.background tr.odd
+{
+ background-color: #ede3ed;
+}
+
+/* missing specs for .background items */
+body.dark #items table.foreground tr.odd
+{
+ background-color: #4c4c4c;
}
#items tr
{
height: 40px;
}
#items tr[data-state=blocked]
@@ -169,22 +193,24 @@
display: none;
}
.url
{
width: 100%;
}
-.resource-link {
+.resource-link
+{
text-decoration: none;
color: #303942;
}
-.resource-link:hover {
+.resource-link:hover
+{
text-decoration: underline;
}
.action-wrapper
{
display: flex;
width: 100%;
}
« no previous file with comments | « devtools-panel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld