Merge "Workaround for 'polymer-cli lint' bug"

This commit is contained in:
Dmitrii Filippov
2019-11-12 19:56:41 +00:00
committed by Gerrit Code Review
50 changed files with 222 additions and 74 deletions

View File

@@ -86,7 +86,9 @@ limitations under the License.
padding-right: var(--spacing-m);
}
</style>
<style include="gr-form-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<fieldset id="section"
class$="gr-form-styles [[_computeSectionClass(editing, canUpload, ownerOf, _editingRef, _deleted)]]">
<div id="mainContainer">

View File

@@ -30,8 +30,12 @@ limitations under the License.
<dom-module id="gr-admin-group-list">
<template>
<style include="shared-styles"></style>
<style include="gr-table-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-table-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<gr-list-view
create-new="[[_createNewCapability]]"
filter="[[_filter]]"

View File

@@ -43,8 +43,12 @@ limitations under the License.
<dom-module id="gr-admin-view">
<template>
<style include="shared-styles"></style>
<style include="gr-menu-page-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-menu-page-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-page-nav-styles">
gr-dropdown-list {
--trigger-style: {

View File

@@ -31,7 +31,9 @@ limitations under the License.
<dom-module id="gr-create-change-dialog">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
input:not([type="checkbox"]),
gr-autocomplete,

View File

@@ -26,7 +26,9 @@ limitations under the License.
<dom-module id="gr-create-group-dialog">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
:host {
display: inline-block;

View File

@@ -28,7 +28,9 @@ limitations under the License.
<dom-module id="gr-create-pointer-dialog">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
:host {
display: inline-block;

View File

@@ -29,7 +29,9 @@ limitations under the License.
<dom-module id="gr-create-repo-dialog">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
:host {
display: inline-block;

View File

@@ -27,7 +27,9 @@ limitations under the License.
<dom-module id="gr-group-audit-log">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-table-styles">
/* GenericList style centers the last column, but we don't want that here. */
.genericList tr th:last-of-type,

View File

@@ -33,9 +33,15 @@ limitations under the License.
<dom-module id="gr-group-members">
<template>
<style include="gr-form-styles"></style>
<style include="gr-table-styles"></style>
<style include="gr-subpage-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-table-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-subpage-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="shared-styles">
.input {
width: 15em;

View File

@@ -28,7 +28,9 @@ limitations under the License.
<dom-module id="gr-group">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-subpage-styles">
h3.edited:after {
color: var(--deemphasized-text-color);
@@ -38,7 +40,9 @@ limitations under the License.
margin-top: var(--spacing-s);
}
</style>
<style include="gr-form-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<main class="gr-form-styles read-only">
<div id="loading" class$="[[_computeLoadingClass(_loading)]]">
Loading...

View File

@@ -82,8 +82,12 @@ limitations under the License.
display: block;
}
</style>
<style include="gr-form-styles"></style>
<style include="gr-menu-page-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-menu-page-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<section
id="permission"
class$="gr-form-styles [[_computeSectionClass(editing, _deleted)]]">

View File

@@ -25,7 +25,9 @@ limitations under the License.
<dom-module id="gr-plugin-config-array-editor">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
.wrapper {
width: 30em;

View File

@@ -25,8 +25,12 @@ limitations under the License.
<dom-module id="gr-plugin-list">
<template>
<style include="shared-styles"></style>
<style include="gr-table-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-table-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<gr-list-view
filter="[[_filter]]"
items-per-page="[[_pluginsPerPage]]"

View File

@@ -33,7 +33,9 @@ limitations under the License.
<dom-module id="gr-repo-access">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-subpage-styles">
gr-button,
#inheritsFrom,
@@ -68,7 +70,9 @@ limitations under the License.
display: inline-block;
}
</style>
<style include="gr-menu-page-styles"></style>
<style include="gr-menu-page-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<main class$="[[_computeMainClass(_ownerOf, _canUpload, _editing)]]">
<div id="loading" class$="[[_computeLoadingClass(_loading)]]">
Loading...

View File

@@ -31,9 +31,15 @@ limitations under the License.
<dom-module id="gr-repo-commands">
<template>
<style include="shared-styles"></style>
<style include="gr-subpage-styles"></style>
<style include="gr-form-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-subpage-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<main class="gr-form-styles read-only">
<h1 id="Title">Repository Commands</h1>
<div id="loading" class$="[[_computeLoadingClass(_loading)]]">Loading...</div>

View File

@@ -35,7 +35,9 @@ limitations under the License.
display: block;
}
</style>
<style include="gr-table-styles"></style>
<style include="gr-table-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<table id="list" class$="genericList [[_computeLoadingClass(_loading)]]">
<tr class="headerRow">
<th class="topHeader">Dashboard name</th>

View File

@@ -35,8 +35,12 @@ limitations under the License.
<dom-module id="gr-repo-detail-list">
<template>
<style include="gr-form-styles"></style>
<style include="gr-table-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-table-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="shared-styles">
.tags td.name {
min-width: 25em;
@@ -81,7 +85,9 @@ limitations under the License.
display: none;
}
</style>
<style include="gr-table-styles"></style>
<style include="gr-table-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<gr-list-view
create-new="[[_loggedIn]]"
filter="[[_filter]]"

View File

@@ -27,8 +27,12 @@ limitations under the License.
<dom-module id="gr-repo-list">
<template>
<style include="shared-styles"></style>
<style include="gr-table-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-table-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style>
.genericList tr td:last-of-type {
text-align: left;

View File

@@ -30,8 +30,12 @@ limitations under the License.
<dom-module id="gr-repo-plugin-config">
<template>
<style include="shared-styles"></style>
<style include="gr-form-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-subpage-styles">
.inherited {
color: var(--deemphasized-text-color);

View File

@@ -32,7 +32,9 @@ limitations under the License.
<dom-module id="gr-repo">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-subpage-styles">
h2.edited:after {
color: var(--deemphasized-text-color);
@@ -55,9 +57,13 @@ limitations under the License.
display: block;
}
</style>
<style include="gr-form-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<main class="gr-form-styles read-only">
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<div class="info">
<h1 id="Title" class$="name">
[[repo]]

View File

@@ -125,7 +125,9 @@ limitations under the License.
}
}
</style>
<style include="gr-change-list-styles"></style>
<style include="gr-change-list-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<td class="cell leftPadding"></td>
<td class="cell star" hidden$="[[!showStar]]" hidden>
<gr-change-star change="{{change}}"></gr-change-star>

View File

@@ -31,7 +31,9 @@ limitations under the License.
<dom-module id="gr-change-list">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-change-list-styles">
#changeList {
border-collapse: collapse;

View File

@@ -24,8 +24,12 @@ limitations under the License.
<dom-module id="gr-repo-header">
<template>
<style include="shared-styles"></style>
<style include="dashboard-header-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="dashboard-header-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<div class="info">
<h1 class$="name">
[[repo]]

View File

@@ -27,7 +27,9 @@ limitations under the License.
<dom-module id="gr-user-header">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="dashboard-header-styles">
.name {
display: inline-block;

View File

@@ -43,7 +43,9 @@ limitations under the License.
<dom-module id="gr-change-metadata">
<template>
<style include="gr-change-metadata-shared-styles"></style>
<style include="gr-change-metadata-shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="shared-styles">
:host {
display: table;

View File

@@ -23,7 +23,9 @@ limitations under the License.
<dom-module id="gr-label-score-row">
<template>
<style include="gr-voting-styles"></style>
<style include="gr-voting-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="shared-styles">
.labelContainer {
align-items: center;

View File

@@ -31,7 +31,9 @@ limitations under the License.
<dom-module id="gr-message">
<template>
<style include="gr-voting-styles"></style>
<style include="gr-voting-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="shared-styles">
:host {
border-bottom: 1px solid var(--border-color);

View File

@@ -344,8 +344,12 @@ limitations under the License.
text-align: center;
}
</style>
<style include="gr-syntax-theme"></style>
<style include="gr-ranged-comment-theme"></style>
<style include="gr-syntax-theme">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-ranged-comment-theme">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<div id="diffHeader" hidden$="[[_computeDiffHeaderHidden(_diffHeaderItems)]]">
<template
is="dom-repeat"

View File

@@ -25,8 +25,12 @@ limitations under the License.
<dom-module id="gr-documentation-search">
<template>
<style include="shared-styles"></style>
<style include="gr-table-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-table-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<gr-list-view
filter="[[_filter]]"
items=false

View File

@@ -20,7 +20,9 @@ limitations under the License.
<dom-module id="gr-plugin-popup">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<gr-overlay id="overlay" with-backdrop>
<slot></slot>
</gr-overlay>

View File

@@ -40,7 +40,9 @@ limitations under the License.
display: none;
}
</style>
<style include="gr-form-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<div class="gr-form-styles">
<section>
<span class="title"></span>

View File

@@ -32,7 +32,9 @@ limitations under the License.
width: auto;
}
</style>
<style include="gr-form-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<div class="gr-form-styles">
<table id="agreements">
<thead>

View File

@@ -24,7 +24,9 @@ limitations under the License.
<dom-module id="gr-change-table-editor">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
#changeCols {
width: auto;

View File

@@ -66,7 +66,9 @@ limitations under the License.
max-width: 50em;
}
</style>
<style include="gr-form-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<main>
<h1>New Contributor Agreement</h1>
<h3>Select an agreement type:</h3>

View File

@@ -24,8 +24,12 @@ limitations under the License.
<dom-module id="gr-edit-preferences">
<template>
<style include="shared-styles"></style>
<style include="gr-form-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<div id="editPreferences" class="gr-form-styles">
<section>
<span class="title">Tab width</span>

View File

@@ -23,7 +23,9 @@ limitations under the License.
<dom-module id="gr-email-editor">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
th {
color: var(--deemphasized-text-color);

View File

@@ -26,7 +26,9 @@ limitations under the License.
<dom-module id="gr-gpg-editor">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
.keyHeader {
width: 9em;

View File

@@ -23,7 +23,9 @@ limitations under the License.
<dom-module id="gr-group-list">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
#groups .nameColumn {
min-width: 11em;

View File

@@ -52,7 +52,9 @@ limitations under the License.
right: 2em;
}
</style>
<style include="gr-form-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<div class="gr-form-styles">
<div hidden$="[[_passwordUrl]]">
<section>

View File

@@ -26,7 +26,9 @@ limitations under the License.
<dom-module id="gr-identities">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
tr th.emailAddressHeader,
tr th.identityHeader {

View File

@@ -44,7 +44,9 @@ limitations under the License.
min-width: 23em;
}
</style>
<style include="gr-form-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<div class="gr-form-styles">
<table>
<thead>

View File

@@ -26,7 +26,9 @@ limitations under the License.
<dom-module id="gr-registration-dialog">
<template>
<style include="gr-form-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="shared-styles">
:host {
display: block;

View File

@@ -20,8 +20,12 @@ limitations under the License.
<dom-module id="gr-settings-menu-item">
<template>
<style include="shared-styles"></style>
<style include="gr-page-nav-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-page-nav-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<div class="navStyles">
<li><a href$="[[href]]">[[title]]</a></li>
</div>

View File

@@ -74,9 +74,15 @@ limitations under the License.
margin-right: var(--spacing-l);
}
</style>
<style include="gr-form-styles"></style>
<style include="gr-menu-page-styles"></style>
<style include="gr-page-nav-styles"></style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-menu-page-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-page-nav-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<div class="loading" hidden$="[[!_loading]]">Loading...</div>
<div hidden$="[[_loading]]" hidden>
<gr-page-nav class="navStyles">

View File

@@ -26,7 +26,9 @@ limitations under the License.
<dom-module id="gr-ssh-editor">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
.statusHeader {
width: 4em;

View File

@@ -24,7 +24,9 @@ limitations under the License.
<dom-module id="gr-watched-projects-editor">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
#watchedProjects .notifType {
text-align: center;

View File

@@ -24,8 +24,12 @@ limitations under the License.
<dom-module id="gr-diff-preferences">
<template>
<style include="shared-styles"></style>
<style include="gr-form-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="gr-form-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<div id="diffPreferences" class="gr-form-styles">
<section>
<span class="title">Context</span>

View File

@@ -28,7 +28,9 @@ limitations under the License.
<dom-module id="gr-label-info">
<template strip-whitespace>
<style include="gr-voting-styles"></style>
<style include="gr-voting-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style include="shared-styles">
.placeholder {
color: var(--deemphasized-text-color);

View File

@@ -16,7 +16,9 @@ limitations under the License.
-->
<dom-module id="gr-change-metadata-shared-styles">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style>
section {
display: table-row;

View File

@@ -25,7 +25,9 @@ limitations under the License.
-->
<dom-module id="gr-change-view-integration-shared-styles">
<template>
<style include="shared-styles"></style>
<style include="shared-styles">
/* Workaround for empty style block - see https://github.com/Polymer/tools/issues/408 */
</style>
<style>
.header {
color: var(--primary-text-color);