Closed
Bug 1915382
Opened 3 months ago
Closed 3 months ago
inspector-shared.css and inspector-color-swatches.css could be refactored
Categories
(DevTools :: Inspector: Rules, task)
DevTools
Inspector: Rules
Tracking
(firefox132 fixed)
RESOLVED
FIXED
132 Branch
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
Attachments
(3 files)
Mose of the classes are prefixed with ruleview
, but they are now also used in the tooltip, so we might switch this to inspector
instead.
Color swatch rule is setting top/right/bottom/left where we could use inset
we could also use css variables to avoid repeating some values
Assignee | ||
Updated•3 months ago
|
Summary: Color swatch css rule could be refactored → inspector-shared.css and inspector-color-swatches.css could be refactored
Assignee | ||
Comment 1•3 months ago
|
||
Use inset and variables.
Updated•3 months ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•3 months ago
|
||
Assignee | ||
Comment 3•3 months ago
|
||
The variable is being used in inspector-swatches.css,
so it should be set in a shared stylesheet too.
The highlight of shape points on hover was broken,
so I took the opportunity to fix it here.
Updated•3 months ago
|
Attachment #9421448 -
Attachment description: Bug 1915382 - [devtools] Migrate --rule-highlight-background-color to inspectore-shared.css and rename it. r=#devtools-reviewers. → Bug 1915382 - [devtools] Migrate --rule-highlight-background-color to inspector-shared.css and rename it. r=#devtools-reviewers.
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/84e58343d8eb
[devtools] Refactor ruleview-colorswatch CSS rule. r=Itiel,devtools-reviewers.
https://hg.mozilla.org/integration/autoland/rev/114997492b00
[devtools] Replace ruleview prefix with inspector in inspector shared CSS files. r=devtools-reviewers,jdescottes.
https://hg.mozilla.org/integration/autoland/rev/da2176c13494
[devtools] Migrate --rule-highlight-background-color to inspector-shared.css and rename it. r=devtools-reviewers,ochameau.
Comment 5•3 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/84e58343d8eb
https://hg.mozilla.org/mozilla-central/rev/114997492b00
https://hg.mozilla.org/mozilla-central/rev/da2176c13494
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
status-firefox132:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•