Commit graph

13 commits

Author SHA1 Message Date
Brian Birtles
eaac2f20c4 Bug 1484911 - Convert .disabled selectors on <form> elements in extension.css to :disabled; r=bwinton
This does _not_ convert .disabled selectors on non-<form> elements such as
panel-list-items since presumably in such cases the 'disabled' class is being
used to grey-out a whole chunk of content.

For form elements, however, authors shouldn't be greying out elements with the
'disabled' class without also actually making the form element itself disabled
(e.g. with the disabled attribute).

Differential Revision: https://phabricator.services.mozilla.com/D3856

--HG--
extra : moz-landing-system : lando
2018-08-23 13:16:11 +00:00
Brian Birtles
043279e585 Bug 1484501 - Fix negated disabled selector in extension.css; r=bwinton
Everywhere else in this file we match on .disabled or :not(.disabled) but in two
instances we have :not(disabled). That's never going to match since it's already
combined with an `input` or `textarea` type selector (and there's no <disabled>
element).

Differential Revision: https://phabricator.services.mozilla.com/D3743

--HG--
extra : moz-landing-system : lando
2018-08-21 05:21:28 +00:00
ExE Boss
f0cad9e60c Bug 1371951 - Make browser-style checkboxes and radio buttons handle style themselves. r=mixedpuppy, bwinton
This removes the requirement for browser-style checkboxes and radio buttons
to be followed by a label since the reason why this was originally done
no longer applies because bug 418833 made it possible for checkboxes and radio
buttons to handle styling themselves rather than requiring a label::before
element.

--HG--
extra : rebase_source : 61957bd667b509e8769b86de7f783472d801bb0f
2018-02-17 17:00:00 +01:00
Matthew Wein
24c37da7db Bug 1354336 - Require all browser_style elements to have the browser-style class r=mikedeboer
MozReview-Commit-ID: 6bQZDa3zZA3

--HG--
extra : rebase_source : 026f74066f9b7f0c446871e7b01ce482e6511af5
2017-06-23 13:54:19 -04:00
Sebastian Hengst
fb0361e188 Backed out changeset d5fa98ffa258 (bug 1354336) as requested by mattw. r=backout 2017-06-30 03:00:55 +02:00
Matthew Wein
a0a02343a4 Bug 1354336 - Require all browser_style elements to have the browser-style class r=mikedeboer
MozReview-Commit-ID: 6bQZDa3zZA3

--HG--
extra : rebase_source : 7b10bc5f3675fd03e318075023e8825d76b1f147
2017-06-23 13:54:19 -04:00
Kris Maglione
bc51ef01c8 Bug 1280128: [webext] Use transparent backgrounds and correct border radii for popup browsers. r=bwinton ui-r=maritz
MozReview-Commit-ID: 9jmuxdSLmBM

--HG--
extra : source : 9999b6b8022bfe815d79a4f309986d2859285e16
extra : histedit_source : 69afe0d2ecfa9d73e30fc6e363dbfa6849530dcf%2C3a9aaafbb3288f43d7f2b17b0e93597d9a305032
2016-08-09 12:08:04 -07:00
Wes Kocher
8ca795c1c8 Backed out changeset 9999b6b8022b (bug 1280128) for ESLint failures 2016-08-09 11:28:12 -07:00
Kris Maglione
818537d543 Bug 1280128: [webext] Use transparent backgrounds and correct border radii for popup browsers. r=bwinton ui-r=maritz
MozReview-Commit-ID: 9jmuxdSLmBM

--HG--
extra : rebase_source : 377e47f39b1c52e36813f79e9d650c5f6bfab970
extra : histedit_source : c0d5ec2e5143ac4013e203dd75980dfcb43e7c9e
2016-08-09 10:54:53 -07:00
L. David Baron
d097996b85 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
Blake Winton
6866a9d937 Bug 1269081 - Only apply Firefox's default styles if the add-on author sets "browser_style" to true in the manifest. r=kmag.
MozReview-Commit-ID: JjH0sCkh1U7

--HG--
extra : rebase_source : 92b126d4acd77bb15bb7c952b82d4dd6156d5c2a
2016-05-02 10:59:36 -04:00
Blake Winton
b58b1cbc6d Bug 1263709 - Remove the advanced styling for radio buttons and checkboxes. ui-r=shorlander, r=kmag
MozReview-Commit-ID: A9CWD9SPZlP

--HG--
extra : rebase_source : 1ec397f0c923d42d1ff99b8034eb869ba5a8f8fc
2016-04-11 15:53:06 -04:00
Blake Winton
157a38bc63 Bug 1225633 - Add better default styles to WebExtension panels. ui-r=shorlander, r=kmag
MozReview-Commit-ID: 8D7BipQtQYz

--HG--
extra : rebase_source : 448eba7a88076db1ee7948cea67749e12d427df9
2016-02-22 15:21:34 -05:00