Merge "SideBySide2: Allow text selection in diff header"
This commit is contained in:
commit
90fac34b85
@ -29,13 +29,15 @@ limitations under the License.
|
|||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.difftable {
|
.difftable .patchSetNav,
|
||||||
|
.difftable .CodeMirror {
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-khtml-user-select: none;
|
-khtml-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.difftable .CodeMirror-lines { padding: 0; }
|
.difftable .CodeMirror-lines { padding: 0; }
|
||||||
.difftable .CodeMirror pre {
|
.difftable .CodeMirror pre {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -99,7 +101,7 @@ limitations under the License.
|
|||||||
.dark .noIntraline .a .intralineBg { background-color: #400; }
|
.dark .noIntraline .a .intralineBg { background-color: #400; }
|
||||||
.dark .noIntraline .b .intralineBg { background-color: #444; }
|
.dark .noIntraline .b .intralineBg { background-color: #444; }
|
||||||
|
|
||||||
.patchSetNav {
|
.patchSetNav, .diff_header {
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
@ -164,12 +166,15 @@ limitations under the License.
|
|||||||
z-index: 2;
|
z-index: 2;
|
||||||
cursor: text;
|
cursor: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.diff_header {
|
.diff_header {
|
||||||
margin: 0 0 3px 0;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #5252ad;
|
color: #5252ad;
|
||||||
}
|
}
|
||||||
|
.diff_header pre {
|
||||||
|
margin: 0 0 3px 0;
|
||||||
|
}
|
||||||
</ui:style>
|
</ui:style>
|
||||||
<g:HTMLPanel styleName='{style.difftable}'>
|
<g:HTMLPanel styleName='{style.difftable}'>
|
||||||
<table class='{style.table}'>
|
<table class='{style.table}'>
|
||||||
@ -182,10 +187,8 @@ limitations under the License.
|
|||||||
</td>
|
</td>
|
||||||
<td class='{style.overview}' />
|
<td class='{style.overview}' />
|
||||||
</tr>
|
</tr>
|
||||||
<tr ui:field='diffHeaderRow' class='{style.patchSetNav}'>
|
<tr ui:field='diffHeaderRow' class='{style.diff_header}'>
|
||||||
<td colspan='2'><pre
|
<td colspan='2'><pre ui:field='diffHeaderText' /></td>
|
||||||
ui:field='diffHeaderText'
|
|
||||||
class='{style.diff_header}' /></td>
|
|
||||||
<td class='{style.overview}' />
|
<td class='{style.overview}' />
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user