##// 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 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 position: relative;
35 position: relative;
36 min-width: 20px;
37 width: 20px;
36 color: @rcblue;
38 color: @rcblue;
37
39
38 .icon-comment {
40 .icon-comment {
39 position: absolute;
41 position: absolute;
40 top: 2px;
42 top: 2px;
41 left: 0;
43 left: 0;
42 z-index: 100;
44 z-index: 100;
43 visibility: hidden;
45 visibility: hidden;
44 }
46 }
45
47
46 &.active {
48 &.active {
47 .icon-comment{
49 .icon-comment{
48 visibility: visible;
50 visibility: visible;
49 }
51 }
50 cursor: pointer;
52 cursor: pointer;
51 }
53 }
52 }
54 }
53
55
54 &.line {
56 &.line {
55 &:hover, &.hover{
57 &:hover, &.hover{
56 .add-comment-line a{
58 .add-comment-line a{
57 display: inline;
59 display: inline;
58 }
60 }
59 }
61 }
60
62
61 &.hover, &.selected {
63 &.hover, &.selected {
62 &, del, ins {
64 &, del, ins {
63 background-color: lighten(@alert3, 10%) !important;
65 background-color: lighten(@alert3, 10%) !important;
64 }
66 }
65 }
67 }
66
68
67 &.commenting {
69 &.commenting {
68 &, del, ins {
70 &, del, ins {
69 background-image: none !important;
71 background-image: none !important;
70 background-color: lighten(@alert4, 10%) !important;
72 background-color: lighten(@alert4, 10%) !important;
71 }
73 }
72 }
74 }
73 }
75 }
74 }
76 }
75
77
76 .compare-header {
78 .compare-header {
77 overflow-x: auto;
79 overflow-x: auto;
78 overflow-y: hidden;
80 overflow-y: hidden;
79 clear: both;
81 clear: both;
80 padding: @padding;
82 padding: @padding;
81 background: @grey6;
83 background: @grey6;
82 border: @border-thickness solid @border-default-color;
84 border: @border-thickness solid @border-default-color;
83 .border-radius(@border-radius);
85 .border-radius(@border-radius);
84
86
85 .compare-value,
87 .compare-value,
86 .compare-label {
88 .compare-label {
87 float: left;
89 float: left;
88 display: inline-block;
90 display: inline-block;
89 min-width: 5em;
91 min-width: 5em;
90 margin: 0;
92 margin: 0;
91 padding: 0.9em 0.9em 0.9em 0;
93 padding: 0.9em 0.9em 0.9em 0;
92 }
94 }
93
95
94 .compare-label {
96 .compare-label {
95 clear: both;
97 clear: both;
96 font-family: @text-semibold;
98 font-family: @text-semibold;
97 }
99 }
98 }
100 }
General Comments 0
You need to be logged in to leave comments. Login now