diff.less
100 lines
| 2.2 KiB
| text/x-less
|
LessCssLexer
r1 | div.diffblock .code-header .changeset_header > div { | |||
margin: 0 @padding; | ||||
} | ||||
// Line select and comment | ||||
div.diffblock.margined.comm tr { | ||||
td { | ||||
r788 | // IMPORTANT - never position:relative this as it causes insanely | |||
// slow rendering | ||||
r1 | } | |||
.add-comment-line { | ||||
// Force td width for Firefox | ||||
width: 20px; | ||||
r788 | ||||
// TODO: anderson: fixing mouse-over bug. | ||||
r1 | // why was it vertical-align baseline in first place?? | |||
vertical-align: top !important; | ||||
// Force width and display for IE 9 | ||||
.add-comment-content { | ||||
display: inline-block; | ||||
width: 20px; | ||||
a { | ||||
display: none; | ||||
r788 | margin-top: 2px; | |||
margin-left: 2px; | ||||
r1 | color: @grey3; | |||
} | ||||
} | ||||
} | ||||
r696 | .comment-toggle { | |||
r781 | position: relative; | |||
r783 | min-width: 20px; | |||
width: 20px; | ||||
r696 | color: @rcblue; | |||
r781 | ||||
.icon-comment { | ||||
position: absolute; | ||||
top: 2px; | ||||
left: 0; | ||||
z-index: 100; | ||||
r742 | visibility: hidden; | |||
} | ||||
r696 | ||||
&.active { | ||||
r742 | .icon-comment{ | |||
visibility: visible; | ||||
} | ||||
r696 | cursor: pointer; | |||
} | ||||
} | ||||
r1 | &.line { | |||
&:hover, &.hover{ | ||||
.add-comment-line a{ | ||||
display: inline; | ||||
} | ||||
} | ||||
&.hover, &.selected { | ||||
&, del, ins { | ||||
background-color: lighten(@alert3, 10%) !important; | ||||
} | ||||
} | ||||
&.commenting { | ||||
&, del, ins { | ||||
background-image: none !important; | ||||
r788 | background-color: lighten(@alert4, 10%) !important; | |||
r1 | } | |||
} | ||||
} | ||||
} | ||||
.compare-header { | ||||
overflow-x: auto; | ||||
overflow-y: hidden; | ||||
clear: both; | ||||
padding: @padding; | ||||
background: @grey6; | ||||
border: @border-thickness solid @border-default-color; | ||||
.border-radius(@border-radius); | ||||
.compare-value, | ||||
.compare-label { | ||||
float: left; | ||||
display: inline-block; | ||||
min-width: 5em; | ||||
margin: 0; | ||||
padding: 0.9em 0.9em 0.9em 0; | ||||
} | ||||
.compare-label { | ||||
clear: both; | ||||
font-family: @text-semibold; | ||||
} | ||||
r742 | } | |||