Closed
Bug 1064471
Opened 10 years ago
Closed 9 years ago
Storage inspector theme refresh
Categories
(DevTools :: Storage Inspector, defect)
DevTools
Storage Inspector
Tracking
(firefox42 verified)
VERIFIED
FIXED
Firefox 42
Tracking | Status | |
---|---|---|
firefox42 | --- | verified |
People
(Reporter: ntim, Assigned: ntim)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 2 obsolete files)
382.91 KB,
image/png
|
Details | |
27.77 KB,
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
The mockups shows a borderless, darker style for the table rows. The table headers are being updated in other bugs.
Assignee | ||
Updated•10 years ago
|
Assignee: ntim007 → nobody
Status: ASSIGNED → NEW
Assignee | ||
Updated•9 years ago
|
Summary: Update DevTools table rows design according to shorlander's mockup → Storage inspector theme refresh
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Bunch of additional changes
Attachment #8616406 -
Attachment is obsolete: true
Attachment #8616406 -
Flags: review?(bgrinstead)
Attachment #8616408 -
Flags: review?(bgrinstead)
Component: Developer Tools → Developer Tools: Storage Inspector
Comment 3•9 years ago
|
||
Comment on attachment 8616408 [details] [diff] [review] Patch v2 Review of attachment 8616408 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for the patch, and sorry for the delay on reviews. I like the new look and have a few comments. There is a missing bottom border on the table now (I'll add a screenshot showing this) ::: browser/themes/shared/devtools/widgets.inc.css @@ +9,5 @@ > %define smw_itemDarkTopBorder rgba(0,0,0,0.2) > %define smw_itemDarkBottomBorder rgba(128,128,128,0.15) > %define smw_itemLightTopBorder rgba(128,128,128,0.15) > %define smw_itemLightBottomBorder transparent > +:root.theme-dark { In other places, I've just used .theme-dark / .theme-light as the selector for setting variables. Let's keep that in use to stay consistent @@ +1222,5 @@ > /* Column Headers */ > > +.table-widget-column-header, > +.table-widget-cell { > + -moz-border-end: 1px solid var(--table-splitter-color) !important; Is the new !important here necessary? @@ +1491,5 @@ > } > > +.theme-light .tree-widget-item.theme-selected[type]::after, > +.theme-dark .tree-widget-item[type]::after { > + filter: invert(1); Can we use this? In toolbars.inc.css we are using `filter: url(filters.svg#invert);` and I thought we had to do that using the external file for some reason. https://dxr.mozilla.org/mozilla-central/source/browser/themes/shared/devtools/toolbars.inc.css#623
Attachment #8616408 -
Flags: review?(bgrinstead) → feedback+
Assignee | ||
Comment 4•9 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #3) > Comment on attachment 8616408 [details] [diff] [review] > Patch v2 > > Review of attachment 8616408 [details] [diff] [review]: > ----------------------------------------------------------------- > > Thanks for the patch, and sorry for the delay on reviews. I like the new > look and have a few comments. > > There is a missing bottom border on the table now (I'll add a screenshot > showing this) > > ::: browser/themes/shared/devtools/widgets.inc.css > @@ +9,5 @@ > > %define smw_itemDarkTopBorder rgba(0,0,0,0.2) > > %define smw_itemDarkBottomBorder rgba(128,128,128,0.15) > > %define smw_itemLightTopBorder rgba(128,128,128,0.15) > > %define smw_itemLightBottomBorder transparent > > +:root.theme-dark { > > In other places, I've just used .theme-dark / .theme-light as the selector > for setting variables. Let's keep that in use to stay consistent Will do. > @@ +1222,5 @@ > > /* Column Headers */ > > > > +.table-widget-column-header, > > +.table-widget-cell { > > + -moz-border-end: 1px solid var(--table-splitter-color) !important; > > Is the new !important here necessary? The rule didn't apply without it. I couldn't find what was overriding this, so I used important. > @@ +1491,5 @@ > > } > > > > +.theme-light .tree-widget-item.theme-selected[type]::after, > > +.theme-dark .tree-widget-item[type]::after { > > + filter: invert(1); > > Can we use this? In toolbars.inc.css we are using `filter: > url(filters.svg#invert);` and I thought we had to do that using the external > file for some reason. > > https://dxr.mozilla.org/mozilla-central/source/browser/themes/shared/ > devtools/toolbars.inc.css#623 CSS filters were not implemented yet at the time we introduced the light theme. Also, the SVG filter won't work in this case, since it only supports white to black inversion (not the other way).
Comment 5•9 years ago
|
||
(In reply to Tim Nguyen [:ntim] from comment #4) > > > +.theme-light .tree-widget-item.theme-selected[type]::after, > > > +.theme-dark .tree-widget-item[type]::after { > > > + filter: invert(1); > > > > Can we use this? In toolbars.inc.css we are using `filter: > > url(filters.svg#invert);` and I thought we had to do that using the external > > file for some reason. > > > > https://dxr.mozilla.org/mozilla-central/source/browser/themes/shared/ > > devtools/toolbars.inc.css#623 > CSS filters were not implemented yet at the time we introduced the light > theme. Also, the SVG filter won't work in this case, since it only supports > white to black inversion (not the other way). Should we switch the toolbars.inc reference to use this new method or is it somehow different?
Comment 6•9 years ago
|
||
screenshot of missing border
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #3) > @@ +1222,5 @@ > > /* Column Headers */ > > > > +.table-widget-column-header, > > +.table-widget-cell { > > + -moz-border-end: 1px solid var(--table-splitter-color) !important; > > Is the new !important here necessary? Took a look again, and yes, it is necessary, we apply the .plain class on each cell, which sets a border: none; with higher priority.
Attachment #8616408 -
Attachment is obsolete: true
Attachment #8627057 -
Flags: review?(bgrinstead)
Comment 8•9 years ago
|
||
Comment on attachment 8627057 [details] [diff] [review] Patch v3 Review of attachment 8627057 [details] [diff] [review]: ----------------------------------------------------------------- Nice, thanks! ::: browser/themes/shared/devtools/widgets.inc.css @@ -9,5 @@ > %define smw_itemDarkTopBorder rgba(0,0,0,0.2) > %define smw_itemDarkBottomBorder rgba(128,128,128,0.15) > %define smw_itemLightTopBorder rgba(128,128,128,0.15) > %define smw_itemLightBottomBorder transparent > -%define table_itemDarkStartBorder rgba(0,0,0,0.2) Great to see more preprocessor defines going away
Attachment #8627057 -
Flags: review?(bgrinstead) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/620febe27492
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Assignee | ||
Updated•9 years ago
|
Comment 13•9 years ago
|
||
I have successfully reproduce this bug on firefox nightly 35.0a1 (2014-09-08) with windows 10 (32 bit) Mozilla/5.0 (Windows NT 6.3; rv:35.0) Gecko/20100101 Firefox/35.0 I found this fix on latest beta 42.0b4 Mozilla/5.0 (Windows NT 10.0; rv:42.0) Gecko/20100101 Firefox/42.0 Build ID : 20151005144425
Assignee | ||
Updated•9 years ago
|
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•