mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
New attribute: ImageAttribute
SVN:trunk[4129]
This commit is contained in:
@@ -107,6 +107,78 @@ table.listResults td {
|
||||
}
|
||||
|
||||
|
||||
table.listResults td .view-image {
|
||||
width: inherit !important;
|
||||
height: inherit !important;
|
||||
}
|
||||
|
||||
table.listResults td .view-image img {
|
||||
max-width: 48px !important;
|
||||
max-height: 48px !important;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
|
||||
.edit-image .view-image {
|
||||
display: inline-block;
|
||||
}
|
||||
.edit-image .view-image.dirty.compat {
|
||||
background-image: url("ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png");
|
||||
}
|
||||
.edit-image .view-image.dirty.compat img {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.edit-image .edit-buttons {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin-top: 4px;
|
||||
margin-left: 3px;
|
||||
}
|
||||
.edit-image .edit-buttons .button {
|
||||
cursor: pointer;
|
||||
margin-bottom: 3px;
|
||||
padding: 2px;
|
||||
background-color: #e87c1e;
|
||||
}
|
||||
.edit-image .edit-buttons .button.disabled {
|
||||
cursor: default;
|
||||
background-color: #555555;
|
||||
opacity: 0.3;
|
||||
}
|
||||
.edit-image .edit-buttons .button .ui-icon {
|
||||
background-image: url("ui-lightness/images/ui-icons_ffffff_256x240.png");
|
||||
}
|
||||
|
||||
.edit-image .file-input {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Center the image both horizontally and vertically, withing a box which size is fixed (depends on the attribute definition)
|
||||
*/
|
||||
.details .view-image {
|
||||
text-align: center;
|
||||
padding: 2px;
|
||||
border: 2px solid #dddddd;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.details .view-image img {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.details .view-image .helper-middle {
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
table.listContainer {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
@@ -2057,6 +2129,22 @@ table.export_parameters td {
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Format for the PDF output
|
||||
*/
|
||||
.table_preview .view-image {
|
||||
width: inherit !important;
|
||||
height: inherit !important;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.table_preview .view-image img {
|
||||
max-width: 48px !important;
|
||||
max-height: 48px !important;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
.graph_zoom {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
|
||||
Reference in New Issue
Block a user