Commit Graph
65 Commits
Author SHA1 Message Date
Gabriel Luong e1a8c55873 Backed out changeset fa608874b0f3 because of Bug 1404904. r=backout 2017-10-02 10:11:51 -04:00
Liam Hodgins 16e596921f Bug 1403334 - Make sure the property value overflow is indented r=gl
MozReview-Commit-ID: 6JKUgVfWyQ
2017-09-26 14:50:15 -06:00
Sebastian Hengst ca2aed2314 Backed out changeset a9fb635e2d2f (bug 1403334) for failing devtools' devtools/client/inspector/rules/test/browser_rules_pseudo-element_01.js. r=backout 2017-09-28 09:49:45 +02:00
Liam Hodgins 1b41c90b8b Bug 1403334 - Make sure the property value overflow is indented r=gl
MozReview-Commit-ID: 6JKUgVfWyQ
2017-09-26 14:50:15 -06:00
Gabriel Luong 2647f584cb Bug 1400319 - Implement the photon styles for the rule view search highlights. r=jdescottes 2017-09-15 21:34:53 -04:00
Sebastian Hengst 7342712907 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JHeyFz4rx1v
2017-09-14 23:58:56 +02:00
Gabriel Luong ee0503a394 Bug 1399725 - Adjust the link color to match the photon styles. r=pbro 2017-09-14 07:18:08 -04:00
Julian Descottes c375d8862b Bug 1399841 - use themed SVG filter for all DevTools active icons;r=pbro
MozReview-Commit-ID: L8vApFvHLGo
2017-09-14 16:18:55 +02:00
Gabriel Luong cad999abe5 Bug 1396103 - Updates the font color for the body, tabs and accordion/headers to match the photon styles. r=pbro 2017-09-08 11:02:01 -04:00
Gabriel Luong b37ef40625 Bug 1397985 - Use background instead of background-color in .ruleview-header. r=pbro 2017-09-08 11:01:01 -04:00
Gabriel Luong 6481a83c92 Bug 1397133 - Adjust the sidebar and accordion background colors for the dark theme. r=bgrins 2017-09-06 17:27:31 -04:00
Gabriel Luong bbef165d7b Bug 1396347 - Accordion and headers should only be 24px in height. r=pbro 2017-09-04 08:32:07 -04:00
Rahul Chaudhary c002d50add Bug 1145527 - Display the inherited and used CSS Variable in the rule view. r=tromey
Displays which CSS variable is used in the rule view.
Displays the actual variable value on the variable name's title property.
Displays all the inherited CSS variables on the selected element in the rule view.



MozReview-Commit-ID: 52uLJA123AP
2017-07-02 22:39:45 +02:00
Gabriel Luong 063a5ea59b Bug 1390746 - Add a consistent style for the accordion and section headers in the inspector sidepanels. r=bgrins 2017-08-16 10:32:45 -07:00
Gabriel Luong 0df60cadd3 Bug 1390758 - Add missing top border for "This Element" section header in the rules view. r=bgrins 2017-08-16 10:32:39 -07:00
Gabriel Luong cd44dec43a Bug 1384976 - Remove the height transition from the pseudo class panel. r=micah 2017-07-30 00:09:50 -04:00
Mike Park 514b99db5e Bug 1282717 - Highlight CSS shapes points in the page from the rule-view and vice versa. r=pbro
MozReview-Commit-ID: 9pXkbAwgcXO
2017-07-05 10:57:42 -04:00
Mike Park e44016fb2d Bug 1373339 - Add a button in the rules view to toggle the CSS shapes highlighter. r=gl
Requires pref "devtools.inspector.shapesHighlighter.enabled" to be true.

MozReview-Commit-ID: Ispw7ulV5o6
2017-06-20 11:23:32 -04:00
Tim Nguyen 85dae48981 Bug 1347607 - Fix .devtools-button for text as image usage. r=pbro
MozReview-Commit-ID: 8H3HZc9GAuc
2017-03-15 15:56:26 +00:00
Rahul Chaudhary da0c6318b9 Bug 1342002 - Border color of overriden items in Rule view looks lighter than font color in dark theme. r=gl
MozReview-Commit-ID: CazYLmKktx
2017-03-07 16:43:32 -05:00
Julian Descottes a57338a7a8 Bug 1346786 - hide grid highlighter icon if display rule is overridden;r=gl
MozReview-Commit-ID: KBUVl2w1yyD
2017-03-13 15:15:58 +01:00
Patrick Brosset e39b3d1fa5 Bug 1213767 - Rule-view class toggle panel. r=jdescottes
MozReview-Commit-ID: 2roKEm6Jr26
2017-03-03 14:09:23 +01:00
Matteo Ferretti 69c8e932f7 Bug 1343495 - CSS Grid Highlighter icon is blurry; r=gl
- Made the icon crisp
- Optimized the path

MozReview-Commit-ID: AUEQW8THyC4
2017-03-01 12:07:25 +01:00
Rahul Chaudhary 3ba2772f44 Bug 1321791 - [Rule View] Add indicator if parts of compound (shorthand) CSS rule are overridden; r=gl
MozReview-Commit-ID: 2ANP3pD7uuU
2017-02-13 09:04:07 -05:00
Towkir Ahmed 443d1666b5 Bug 1327691 - CSS - Circles in ruleview (.ruleview-swatch) are now placed properly. r=pbro 2017-02-03 04:32:00 -05:00
Kimberly Pennington acb246ac27 Bug 1319079 - Fix fonts inconsistency on Linux;r=bgrins
Font size on HTML side of Inspector was smaller than the CSS Rule View
(in Firebug theme only) Font Size for Linux was set to 80% in common.css
Font Size for Rule View was set to 11px (causing discrepancy).
Replaced font-size:80% with 11px as it was too small for easy readability
Removed font-size:11px for Rule View as it is now redundant

MozReview-Commit-ID: 4a7tY4YEHgg
2016-12-09 14:27:18 -07:00
Gabriel Luong 71ed99ef7e Bug 1302536 - Adds a toggleable button next to the 'display: grid' declaration to toggle the grid highlighter r=pbro 2016-11-16 22:35:20 +09:00
J. Ryan Stinnett cd2e2f271f Bug 1311178 - Expose some DevTools CSS as resource:// only. r=ntim
For CSS files which were used via both chrome:// and resource://, I converted
all usages to resource:// and removed the chrome:// copy to reduce file
duplication.

I believe most DevTools CSS could be using resource:// throughout, but that's
left as follow up work for now.

MozReview-Commit-ID: G7oxZqjodwv
2016-10-19 16:19:29 -05:00
Julian Descottes 4d335c6382 Bug 1310310 - ruleview stylesheet link using span instead of label;r=jsnajdr
MozReview-Commit-ID: Fl6vKp2GbKV
2016-10-16 10:55:24 +02:00
Towkir Ahmed a2da7d8fed Bug 1309168 - Fixed twisty direction of ruleview-header in RTL locales; r=ntim 2016-10-13 14:56:00 +02:00
Julian Descottes 123bdd7ef8 Bug 1307408 - part1: fix layout issues for small widths in inspector sidebar;r=Honza
MozReview-Commit-ID: 7bF5gsyxXfp
2016-10-04 14:02:22 +02:00
Julian Descottes b8aa1500ba Bug 1305007 - Fix RTL in inspector styles after migration to HTML;r=ntim
MozReview-Commit-ID: 9yev7xXsgJI
2016-09-27 16:49:56 +02:00
Towkir Ahmed 2ee0b6682f Bug 1296648 - Fix direction of .ruleview-expander.theme-twisty in RTL locales. r=ntim 2016-09-03 22:53:00 -04:00
Tim Nguyen a36941571c Bug 1288888 - Followup: fix rule filter icon to be visible on all themes. r=me
MozReview-Commit-ID: GpXdjJC16KC
2016-07-30 06:59:45 -07:00
Patrick Brosset ac96830236 Bug 1278552 - Make sidebar containers focusable so shortcuts work when they are active; r=jdescottes
The rule-view and computed-view now have tabindex="-1" on their containers
so that clicking anywhere in the views will focus them, so will tabbing
through the inspector to them.
This means that any user activity on them ends up focusing them (or any
focusable element in them, which was the case before anyway).
Because of this, pressing ctrl+F (or any other shortcut) will work correctly:
the _onShortcut callback in each of these views will detect that the active
element is the view itself and will therefore handle the event.
Note that the container element that has the tabindex attribute is a child of
the main container element that is scrollable (overflow:auto). That is
because if we use only one element for both, then grabbing the scrollbar will
focus the element and blur any field that's currently focused.

MozReview-Commit-ID: 97a1tpdlbmZ
2016-07-18 14:38:10 +02:00
gasolin 32941edc42 Bug 1279526 - Firebug theme: fix CSS for rule view property; r=Honza
MozReview-Commit-ID: FaXCBK7gi7J
2016-07-13 10:58:29 +08:00
Gabriel Luong 48d32bdbbf Bug 1247729 - Move the box model panel into the computed styles panel r=jdescottes 2016-07-19 04:30:13 -04:00
Jan Odvarko 87d1b28082 Bug 1259819 - HTML Sidebar component. r=pbro 2016-07-15 09:59:21 +02:00
Wes Kocher 9d3806f4c8 Backed out changeset 453c308dcab1 (bug 1259819) for devtools bustage CLOSED TREE 2016-07-14 12:54:41 -07:00
Ruturaj Vartak c56af30b72 Bug 1285747 - Replace magnifying-glass-*.png with search.svg r=ntim
MozReview-Commit-ID: 8Mpolesv2XU
2016-07-13 21:53:00 +02:00
Jan Odvarko ad9d1c6399 Bug 1259819 - HTML Sidebar component; r=pbro
MozReview-Commit-ID: ABPOx2gRZpb
2016-07-14 13:26:02 +02:00
Wes Kocher 030aa43efd Backed out changeset a097b61f5810 (bug 1247729) for timeouts in browser_layout_update-after-reload.js a=backout 2016-07-13 14:26:06 -07:00
Gabriel Luong a84aea77a3 Bug 1247729 - Move the box model panel into the computed styles panel r=jdescottes 2016-07-13 12:20:57 -07:00
Julian Descottes db3631f8bc Bug 1283764 - fix display of noResults message in inspector computedview;r=gl
MozReview-Commit-ID: BRZZXCRHRyW
2016-07-01 12:12:13 +02:00
Jan Odvarko 8478846f51 Bug 1274760 - Fix colors in Rules side panel; r=pbro 2016-06-07 10:38:20 +02:00
Nicolas Chevobbe 691dd41d9a Bug 1253869 - Don't assume that rule in the Rules view match the selected node when checking for overidden properties. r=gl
Unmatched rules created via the "Add New Rule" button was wrongfully make other rules look not applied.
Fix returned isMatching boolean in PageStyleActor's function when the evaluated rule has multiple selectors.
Add CSS rules to make look unmatched rules' properties unmatched, like the rule's selector.
Add tests to make sur we handle unmatch rule selectors right.

MozReview-Commit-ID: FPQ7XJoa7Ba
2016-05-25 18:16:26 +02:00
L. David Baron 50ddd15ed9 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g

While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.

Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.

MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00
Jan Odvarko 42325feefd Bug 1244054 - Firebug Theme, tools; r=bgrins,ntim
MozReview-Commit-ID: 2hsODdK4bdL
2016-04-06 17:32:18 +02:00
Nicolas Chevobbe fb83a9ff1d Bug 1258501 - Better swatch alignement in the rules view. r=miker
Add a negative top offset to align swatches ( color, filter, bezier, ...) with
the values they represent.

MozReview-Commit-ID: 6EIQZ2UAHuc
2016-03-23 08:11:15 +01:00
Nicolas Chevobbe b4e805d826 Bug 1250835 - Display swatch for angles in the rules panel. r=miker
Add a swatch before angle values in the rules panel and allow cycling
through angle units with shift+click (like we already do for color units).

MozReview-Commit-ID: CWhoUQTkP1G
2016-03-08 23:04:54 +01:00