##// END OF EJS Templates
diffs: do not set incorrect display type on table TD
ergo -
r742:8a725ae8 default
parent child Browse files
Show More
@@ -1,90 +1,94 b''
1 div.diffblock .code-header .changeset_header > div {
1 div.diffblock .code-header .changeset_header > div {
2 margin: 0 @padding;
2 margin: 0 @padding;
3 }
3 }
4
4
5
5
6 // Line select and comment
6 // Line select and comment
7 div.diffblock.margined.comm tr {
7 div.diffblock.margined.comm tr {
8 td {
8 td {
9 position: relative;
9 position: relative;
10 }
10 }
11
11
12 .add-comment-line {
12 .add-comment-line {
13 // Force td width for Firefox
13 // Force td width for Firefox
14 width: 20px;
14 width: 20px;
15
15
16 // TODO: anderson: fixing mouse-over bug.
16 // TODO: anderson: fixing mouse-over bug.
17 // why was it vertical-align baseline in first place??
17 // why was it vertical-align baseline in first place??
18 vertical-align: top !important;
18 vertical-align: top !important;
19 // Force width and display for IE 9
19 // Force width and display for IE 9
20 .add-comment-content {
20 .add-comment-content {
21 display: inline-block;
21 display: inline-block;
22 width: 20px;
22 width: 20px;
23
23
24 a {
24 a {
25 display: none;
25 display: none;
26 position: absolute;
26 position: absolute;
27 top: 2px;
27 top: 2px;
28 left: 2px;
28 left: 2px;
29 color: @grey3;
29 color: @grey3;
30 }
30 }
31 }
31 }
32 }
32 }
33
33
34 .comment-toggle {
34 .comment-toggle {
35 display: inline-block;
36 visibility: hidden;
37 width: 20px;
35 width: 20px;
38 color: @rcblue;
36 color: @rcblue;
37 .icon-comment{
38 display: inline-block;
39 visibility: hidden;
40 }
39
41
40 &.active {
42 &.active {
43 .icon-comment{
41 visibility: visible;
44 visibility: visible;
45 }
42 cursor: pointer;
46 cursor: pointer;
43 }
47 }
44 }
48 }
45
49
46 &.line {
50 &.line {
47 &:hover, &.hover{
51 &:hover, &.hover{
48 .add-comment-line a{
52 .add-comment-line a{
49 display: inline;
53 display: inline;
50 }
54 }
51 }
55 }
52
56
53 &.hover, &.selected {
57 &.hover, &.selected {
54 &, del, ins {
58 &, del, ins {
55 background-color: lighten(@alert3, 10%) !important;
59 background-color: lighten(@alert3, 10%) !important;
56 }
60 }
57 }
61 }
58
62
59 &.commenting {
63 &.commenting {
60 &, del, ins {
64 &, del, ins {
61 background-image: none !important;
65 background-image: none !important;
62 background-color: lighten(@alert4, 10%) !important;
66 background-color: lighten(@alert4, 10%) !important;
63 }
67 }
64 }
68 }
65 }
69 }
66 }
70 }
67
71
68 .compare-header {
72 .compare-header {
69 overflow-x: auto;
73 overflow-x: auto;
70 overflow-y: hidden;
74 overflow-y: hidden;
71 clear: both;
75 clear: both;
72 padding: @padding;
76 padding: @padding;
73 background: @grey6;
77 background: @grey6;
74 border: @border-thickness solid @border-default-color;
78 border: @border-thickness solid @border-default-color;
75 .border-radius(@border-radius);
79 .border-radius(@border-radius);
76
80
77 .compare-value,
81 .compare-value,
78 .compare-label {
82 .compare-label {
79 float: left;
83 float: left;
80 display: inline-block;
84 display: inline-block;
81 min-width: 5em;
85 min-width: 5em;
82 margin: 0;
86 margin: 0;
83 padding: 0.9em 0.9em 0.9em 0;
87 padding: 0.9em 0.9em 0.9em 0;
84 }
88 }
85
89
86 .compare-label {
90 .compare-label {
87 clear: both;
91 clear: both;
88 font-family: @text-semibold;
92 font-family: @text-semibold;
89 }
93 }
90 } No newline at end of file
94 }
General Comments 0
You need to be logged in to leave comments. Login now