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