ChromeOS: Update styles of material design OOBE.
This CL fixes styles of oobe-dialog based screens.
BUG=604119
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/a96714548fcf54eecb86d95f4c92561262e07c6d
Cr-Commit-Position: refs/heads/master@{#413078}
Description was changed from ========== ChromeOS: Update styles of material design OOBE. This CL fixes ...
4 years, 4 months ago
(2016-08-18 06:49:29 UTC)
#1
Description was changed from
==========
ChromeOS: Update styles of material design OOBE.
This CL fixes styles of oobe-dialog based screens.
BUG=604119
TEST=none
==========
to
==========
ChromeOS: Update styles of material design OOBE.
This CL fixes styles of oobe-dialog based screens.
BUG=604119
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/248658)
4 years, 4 months ago
(2016-08-18 06:59:33 UTC)
#7
thanks, looks much better -- just try again on the mixin https://codereview.chromium.org/2254733004/diff/40001/chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.css File chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.css (right): ...
4 years, 4 months ago
(2016-08-19 06:10:49 UTC)
#16
thanks, looks much better -- just try again on the mixin
https://codereview.chromium.org/2254733004/diff/40001/chrome/browser/resource...
File chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.css (right):
https://codereview.chromium.org/2254733004/diff/40001/chrome/browser/resource...
chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.css:6:
--paper-font-subhead_-_font-family: Roboto, sans-serif;
On 2016/08/19 06:00:06, Alexander Alekseev wrote:
> On 2016/08/18 19:40:59, michaelpg wrote:
> > These names are implementation details of Polymer's mixin shim; do not use
> them.
> >
> > Whatever you're trying to style that uses @apply(--paper-font-subhead), see
if
> > you can style that directly or if it provides variables or mixins to
override
> > these styles.
> >
> > If you really have to, override the mixin itself, without throwing away
> > --paper-font-common-base:
> >
> >
>
https://github.com/PolymerElements/paper-styles/blob/5fabbe6799996e1c1f3c4903...
>
> This is needed to style <input> element inside <paper-dropdown-menu>. And I
> didn't find another way to style it.
> I couldn't get overridden mixin to work.
I'm sorry, but this is not a good way of doing it. Polymer could (and probably
will) change this at any time, and whoever is pulling Polymer into Chrome won't
know to check that the <input> of a dropdown menu in OOBE is a certain exact
font.
Again, check the paper-dropdown-menu docs and look for mixins, there are
definitely ways to style the input.
https://codereview.chromium.org/2254733004/diff/80001/chrome/browser/resource...
File chrome/browser/resources/chromeos/login/oobe_eula.html (right):
https://codereview.chromium.org/2254733004/diff/80001/chrome/browser/resource...
chrome/browser/resources/chromeos/login/oobe_eula.html:47: <div
class="flex"><!-- spacer to align button to the right --></div>
still think this can be done without a spacer element
4 years, 4 months ago
(2016-08-19 06:25:43 UTC)
#17
https://codereview.chromium.org/2254733004/diff/40001/chrome/browser/resource...
File chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.css (right):
https://codereview.chromium.org/2254733004/diff/40001/chrome/browser/resource...
chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.css:6:
--paper-font-subhead_-_font-family: Roboto, sans-serif;
On 2016/08/19 06:10:49, michaelpg wrote:
> On 2016/08/19 06:00:06, Alexander Alekseev wrote:
> > On 2016/08/18 19:40:59, michaelpg wrote:
> > > These names are implementation details of Polymer's mixin shim; do not use
> > them.
> > >
> > > Whatever you're trying to style that uses @apply(--paper-font-subhead),
see
> if
> > > you can style that directly or if it provides variables or mixins to
> override
> > > these styles.
> > >
> > > If you really have to, override the mixin itself, without throwing away
> > > --paper-font-common-base:
> > >
> > >
> >
>
https://github.com/PolymerElements/paper-styles/blob/5fabbe6799996e1c1f3c4903...
> >
> > This is needed to style <input> element inside <paper-dropdown-menu>. And I
> > didn't find another way to style it.
> > I couldn't get overridden mixin to work.
>
> I'm sorry, but this is not a good way of doing it. Polymer could (and probably
> will) change this at any time, and whoever is pulling Polymer into Chrome
won't
> know to check that the <input> of a dropdown menu in OOBE is a certain exact
> font.
>
> Again, check the paper-dropdown-menu docs and look for mixins, there are
> definitely ways to style the input.
Ok, let's remove this by now (this will result in incorrect font height, but I
will return to this later).
https://codereview.chromium.org/2254733004/diff/80001/chrome/browser/resource...
File chrome/browser/resources/chromeos/login/oobe_eula.html (right):
https://codereview.chromium.org/2254733004/diff/80001/chrome/browser/resource...
chrome/browser/resources/chromeos/login/oobe_eula.html:47: <div
class="flex"><!-- spacer to align button to the right --></div>
On 2016/08/19 06:10:49, michaelpg wrote:
> still think this can be done without a spacer element
Done.
(I missed this)
michaelpg
lgtm
4 years, 4 months ago
(2016-08-19 06:27:48 UTC)
#18
lgtm
Alexander Alekseev
Thank you!
4 years, 4 months ago
(2016-08-19 06:29:19 UTC)
#19
Thank you!
Alexander Alekseev
The CQ bit was checked by alemate@chromium.org
4 years, 4 months ago
(2016-08-19 06:29:24 UTC)
#20
4 years, 4 months ago
(2016-08-19 07:45:26 UTC)
#22
Message was sent while issue was closed.
Committed patchset #6 (id:100001)
commit-bot: I haz the power
Description was changed from ========== ChromeOS: Update styles of material design OOBE. This CL fixes ...
4 years, 4 months ago
(2016-08-19 07:47:35 UTC)
#23
Message was sent while issue was closed.
Description was changed from
==========
ChromeOS: Update styles of material design OOBE.
This CL fixes styles of oobe-dialog based screens.
BUG=604119
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
ChromeOS: Update styles of material design OOBE.
This CL fixes styles of oobe-dialog based screens.
BUG=604119
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/a96714548fcf54eecb86d95f4c92561262e07c6d
Cr-Commit-Position: refs/heads/master@{#413078}
==========
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/a96714548fcf54eecb86d95f4c92561262e07c6d Cr-Commit-Position: refs/heads/master@{#413078}
4 years, 4 months ago
(2016-08-19 07:47:36 UTC)
#24
Issue 2254733004: ChromeOS: Update styles of material design OOBE.
(Closed)
Created 4 years, 4 months ago by Alexander Alekseev
Modified 4 years, 4 months ago
Reviewers: michaelpg
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 54