Commit 39a1080f authored by Scott Chen's avatar Scott Chen Committed by Commit Bot

MD Extensions: apply the shared paper-input styling.

Bug: 749298
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I996f0b60c2a91b074c23d8848b43bb568f8810c1
Reviewed-on: https://chromium-review.googlesource.com/663763Reviewed-by: default avatarDave Schuyler <dschuyler@chromium.org>
Commit-Queue: Scott Chen <scottchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#503558}
parent 43cda23b
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html"> <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
<link rel="import" href="chrome://resources/cr_elements/paper_button_style_css.html"> <link rel="import" href="chrome://resources/cr_elements/paper_button_style_css.html">
<link rel="import" href="chrome://resources/cr_elements/paper_input_style_css.html">
<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
<link rel="import" href="chrome://resources/html/assert.html"> <link rel="import" href="chrome://resources/html/assert.html">
<link rel="import" href="chrome://resources/html/cr.html"> <link rel="import" href="chrome://resources/html/cr.html">
...@@ -12,13 +13,10 @@ ...@@ -12,13 +13,10 @@
<dom-module id="extensions-pack-dialog"> <dom-module id="extensions-pack-dialog">
<template> <template>
<style include="cr-shared-style paper-button-style"> <style include="cr-shared-style paper-button-style paper-input-style">
.file-input { .file-input {
align-items: center; align-items: center;
display: flex; display: flex;
--paper-input-container-input: {
font-size: inherit;
};
} }
.file-input paper-input { .file-input paper-input {
......
...@@ -2,15 +2,17 @@ ...@@ -2,15 +2,17 @@
<link rel="import" href="chrome://resources/cr_elements/cr_icons_css.html"> <link rel="import" href="chrome://resources/cr_elements/cr_icons_css.html">
<link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html"> <link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
<link rel="import" href="chrome://resources/cr_elements/paper_input_style_css.html">
<link rel="import" href="chrome://resources/html/assert.html"> <link rel="import" href="chrome://resources/html/assert.html">
<link rel="import" href="chrome://resources/html/cr.html"> <link rel="import" href="chrome://resources/html/cr.html">
<link rel="import" href="chrome://resources/html/i18n_behavior.html"> <link rel="import" href="chrome://resources/html/i18n_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html"> <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html">
<link rel="import" href="chrome://extensions/shortcut_util.html"> <link rel="import" href="chrome://extensions/shortcut_util.html">
<dom-module id="extensions-shortcut-input"> <dom-module id="extensions-shortcut-input">
<template> <template>
<style include="cr-icons cr-hidden-style"> <style include="cr-icons cr-hidden-style paper-input-style">
#main { #main {
position: relative; position: relative;
width: 200px; width: 200px;
...@@ -20,11 +22,7 @@ ...@@ -20,11 +22,7 @@
--paper-input-container: { --paper-input-container: {
margin-bottom: 12px; margin-bottom: 12px;
padding: 0; padding: 0;
}; @apply(--cr-primary-text);
--paper-input-container-color: var(--paper-grey-400);
--paper-input-container-focus-color: var(--google-blue-500);
--paper-input-container-input: {
font-size: inherit;
}; };
} }
......
<link rel="import" href="chrome://resources/html/polymer.html"> <link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html">
<!-- Common paper-checkbox styling for Material Design WebUI. --> <!-- Common paper-checkbox styling for Material Design WebUI. -->
<dom-module id="paper-input-style"> <dom-module id="paper-input-style">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment