Merge "Update patchset selector styles"
This commit is contained in:
@@ -112,7 +112,7 @@ limitations under the License.
|
||||
.separator {
|
||||
background-color: rgba(0, 0, 0, .3);
|
||||
height: 1.5em;
|
||||
margin: 0 .4em;
|
||||
margin: 0 .6em;
|
||||
width: 1px;
|
||||
}
|
||||
.separator.transparent {
|
||||
|
||||
@@ -60,7 +60,7 @@ limitations under the License.
|
||||
.separator {
|
||||
background-color: rgba(0, 0, 0, .3);
|
||||
height: 1.5em;
|
||||
margin: 0 .4em;
|
||||
margin: 0 .6em;
|
||||
width: 1px;
|
||||
}
|
||||
.separator.transparent {
|
||||
|
||||
@@ -32,8 +32,17 @@ limitations under the License.
|
||||
max-width: 15em;
|
||||
}
|
||||
.arrow {
|
||||
color: rgba(0,0,0,.7);
|
||||
margin: 0 .5em;
|
||||
}
|
||||
gr-dropdown-list {
|
||||
--trigger-style: {
|
||||
color: rgba(0,0,0,.7);
|
||||
text-transform: none;
|
||||
font-family: var(--font-family);
|
||||
}
|
||||
--trigger-hover-color: rgba(0,0,0,.6);
|
||||
}
|
||||
@media screen and (max-width: 50em) {
|
||||
.filesWeblinks {
|
||||
display: none;
|
||||
|
||||
@@ -96,8 +96,9 @@
|
||||
dropdownContent.push({
|
||||
disabled: this._computeRightDisabled(patchNum, basePatchNum,
|
||||
_sortedRevisions),
|
||||
triggerText: `Patchset ${patchNum}`,
|
||||
text: `Patchset ${patchNum}` +
|
||||
triggerText: `${patchNum === 'edit' ? '': 'Patchset '}` +
|
||||
patchNum,
|
||||
text: `${patchNum === 'edit' ? '': 'Patchset '}${patchNum}` +
|
||||
`${this._computePatchSetCommentsString(
|
||||
this.comments, patchNum)}`,
|
||||
mobileText: this._computeMobileText(patchNum, this.comments,
|
||||
|
||||
@@ -246,8 +246,8 @@ limitations under the License.
|
||||
},
|
||||
{
|
||||
disabled: false,
|
||||
triggerText: 'Patchset edit',
|
||||
text: 'Patchset edit',
|
||||
triggerText: 'edit',
|
||||
text: 'edit',
|
||||
mobileText: 'edit',
|
||||
bottomText: '',
|
||||
value: 'edit',
|
||||
|
||||
@@ -72,10 +72,6 @@ limitations under the License.
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
}
|
||||
gr-button {
|
||||
--gr-button-arrow-color: var(--color-link);
|
||||
--gr-button-arrow-hover-color: var(--color-link-hover);
|
||||
}
|
||||
paper-item:not(:last-of-type) {
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
@@ -94,6 +90,12 @@ limitations under the License.
|
||||
justify-content: space-between;
|
||||
flex-direction: row;
|
||||
width: 100%;
|
||||
}
|
||||
gr-button {
|
||||
--gr-button: {
|
||||
@apply --trigger-style;
|
||||
}
|
||||
--gr-button-hover-color: var(--trigger-hover-color);
|
||||
}
|
||||
gr-date-formatter {
|
||||
color: rgba(0,0,0,.54);
|
||||
|
||||
Reference in New Issue
Block a user