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