mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
(Retrofit from trunk) N°1123.4 AttributeImage: Better UI when editing in console. Also, export was showing url for empty value.
SVN:2.4[5062]
This commit is contained in:
@@ -85,6 +85,9 @@ table.listResults td .view-image img {
|
||||
.edit-image .view-image {
|
||||
display: inline-block;
|
||||
}
|
||||
.edit-image .view-image img[src=""], .edit-image .view-image img[src="null"] {
|
||||
visibility: hidden;
|
||||
}
|
||||
.edit-image .view-image.dirty.compat {
|
||||
background-image: url("ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png");
|
||||
}
|
||||
|
||||
@@ -107,6 +107,12 @@ table.listResults td .view-image {
|
||||
.view-image {
|
||||
display: inline-block;
|
||||
|
||||
img[src=""],
|
||||
img[src="null"] {
|
||||
// Hiding "broken" image when src is not set
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
&.dirty {
|
||||
// The image will be modified when saving the changes
|
||||
|
||||
@@ -835,7 +841,7 @@ table.listResults tr.even td.truncated, .wizContainer table.listResults tr.even
|
||||
}
|
||||
|
||||
/* Beware: IE6 does not support multiple selector with multiple classes, only the last class is used */
|
||||
table.listResults tr.even td.hover.truncated, , .wizContainer table.listResults tr.even td.hover.truncated {
|
||||
table.listResults tr.even td.hover.truncated, .wizContainer table.listResults tr.even td.hover.truncated {
|
||||
background: #fdf5d0 url(../images/truncated.png?v=#{$version}) bottom repeat-x;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user