Polymer 2: Some minor CSS fixes

Change-Id: I1bb0cdc47d49fceebaae551387877fc0f61120a4
This commit is contained in:
brohlfs
2019-04-11 20:41:52 +02:00
committed by Ben Rohlfs
parent 91d61b5bd1
commit 0977f4e72d
5 changed files with 7 additions and 4 deletions

View File

@@ -235,6 +235,7 @@ limitations under the License.
--paper-tabs-selection-bar-color: var(--link-color);
}
paper-tab {
box-sizing: border-box;
max-width: 15rem;
--paper-tab-ink: var(--link-color);
}

View File

@@ -61,7 +61,7 @@ limitations under the License.
background-color: var(--button-background-color, var(--table-header-background-color));
color: var(--primary-text-color);
padding: .2em .85em;
@apply(--vote-chip-styles);
@apply --vote-chip-styles;
}
}
gr-button.iron-selected.max {

View File

@@ -29,7 +29,7 @@ limitations under the License.
display: none;
}
.searchIcon.showSearchIcon {
display: initial;
display: inline-block;
}
iron-icon {
margin: 0 .25em;

View File

@@ -94,7 +94,9 @@ limitations under the License.
}
/* Styles for the optional down arrow */
:host:not([down-arrow]) .downArrow {display: none; }
:host(:not([down-arrow])) .downArrow {
display: none;
}
:host([down-arrow]) .downArrow {
border-top: .36em solid #ccc;
border-left: .36em solid transparent;

View File

@@ -68,7 +68,7 @@ limitations under the License.
background-color: transparent;
padding: .1em;
}
:host:not([flat]) .chip {
:host(:not([flat])) .chip {
color: white;
}
</style>