Polymer 2: Some minor CSS fixes
Change-Id: I1bb0cdc47d49fceebaae551387877fc0f61120a4
This commit is contained in:
@@ -235,6 +235,7 @@ limitations under the License.
|
|||||||
--paper-tabs-selection-bar-color: var(--link-color);
|
--paper-tabs-selection-bar-color: var(--link-color);
|
||||||
}
|
}
|
||||||
paper-tab {
|
paper-tab {
|
||||||
|
box-sizing: border-box;
|
||||||
max-width: 15rem;
|
max-width: 15rem;
|
||||||
--paper-tab-ink: var(--link-color);
|
--paper-tab-ink: var(--link-color);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ limitations under the License.
|
|||||||
background-color: var(--button-background-color, var(--table-header-background-color));
|
background-color: var(--button-background-color, var(--table-header-background-color));
|
||||||
color: var(--primary-text-color);
|
color: var(--primary-text-color);
|
||||||
padding: .2em .85em;
|
padding: .2em .85em;
|
||||||
@apply(--vote-chip-styles);
|
@apply --vote-chip-styles;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
gr-button.iron-selected.max {
|
gr-button.iron-selected.max {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ limitations under the License.
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.searchIcon.showSearchIcon {
|
.searchIcon.showSearchIcon {
|
||||||
display: initial;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
iron-icon {
|
iron-icon {
|
||||||
margin: 0 .25em;
|
margin: 0 .25em;
|
||||||
|
|||||||
@@ -94,7 +94,9 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Styles for the optional down arrow */
|
/* Styles for the optional down arrow */
|
||||||
:host:not([down-arrow]) .downArrow {display: none; }
|
:host(:not([down-arrow])) .downArrow {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
:host([down-arrow]) .downArrow {
|
:host([down-arrow]) .downArrow {
|
||||||
border-top: .36em solid #ccc;
|
border-top: .36em solid #ccc;
|
||||||
border-left: .36em solid transparent;
|
border-left: .36em solid transparent;
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ limitations under the License.
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
padding: .1em;
|
padding: .1em;
|
||||||
}
|
}
|
||||||
:host:not([flat]) .chip {
|
:host(:not([flat])) .chip {
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user