Fix styling of CRV view's close button

This commit is contained in:
Hadi Nategh 2020-11-04 10:56:07 +01:00
parent df40f8dacf
commit f56c73816e
4 changed files with 31 additions and 4 deletions

View File

@ -21,13 +21,19 @@ td.addressbook_sidebox_toolbar {
height: 32px; height: 32px;
} }
div#addressbook_view_sidebox img.photo { .addressbook_view_sidebox img.photo {
width: 68px; width: 68px;
padding-right: 3px; padding-right: 3px;
height: auto; height: auto;
vertical-align: bottom; vertical-align: bottom;
} }
div.addressbook_view_sidebox button[id$='_button[close]'] {
vertical-align: middle;
}
div.addressbook_view_sidebox img[id$='_button[delete]'] {
float: right;
margin-top: 7px;
}
/** /**
* new addressbook.edit * new addressbook.edit
*/ */

View File

@ -54,7 +54,7 @@
<hbox> <hbox>
<button id="button[edit]" label="open" background_image="1" image="edit" onclick="app.addressbook.view_actions"/> <button id="button[edit]" label="open" background_image="1" image="edit" onclick="app.addressbook.view_actions"/>
<button id="button[copy]" label="copy" background_image="1" image="copy" onclick="app.addressbook.view_actions"/> <button id="button[copy]" label="copy" background_image="1" image="copy" onclick="app.addressbook.view_actions"/>
<button id="button[close]" label="close" background_image="1" readonly="false" image="close" onclick="app.addressbook.view_actions"/> <button id="button[close]" statustext="close" background_image="1" readonly="false" image="close" onclick="app.addressbook.view_actions"/>
<buttononly id="button[delete]" label="delete" image="delete" onclick="app.addressbook.view_actions"/> <buttononly id="button[delete]" label="delete" image="delete" onclick="app.addressbook.view_actions"/>
</hbox> </hbox>
</row> </row>

View File

@ -34,12 +34,19 @@ td.addressbook_sidebox_toolbar {
vertical-align: bottom; vertical-align: bottom;
height: 32px; height: 32px;
} }
div#addressbook_view_sidebox img.photo { .addressbook_view_sidebox img.photo {
width: 68px; width: 68px;
padding-right: 3px; padding-right: 3px;
height: auto; height: auto;
vertical-align: bottom; vertical-align: bottom;
} }
div.addressbook_view_sidebox button[id$='_button[close]'] {
vertical-align: middle;
}
div.addressbook_view_sidebox img[id$='_button[delete]'] {
float: right;
margin-top: 7px;
}
/** /**
* new addressbook.edit * new addressbook.edit
*/ */
@ -219,6 +226,13 @@ select#addressbook-index_col_filter\[tid\] {
font-size: 11px; font-size: 11px;
padding: 2px 0 2px 0; padding: 2px 0 2px 0;
} }
div.addressbook_view_sidebox button[id$='_button[close]'] {
vertical-align: middle;
}
div.addressbook_view_sidebox img[id$='_button[delete]'] {
float: right;
margin-top: 7px;
}
/** /**
* Give space to both contact view & infolog list * Give space to both contact view & infolog list
*/ */

View File

@ -75,6 +75,13 @@
.fontsize_m; .fontsize_m;
padding: 2px 0 2px 0; padding: 2px 0 2px 0;
} }
button[id$='_button[close]'] {
vertical-align: middle;
}
img[id$='_button[delete]'] {
float: right;
margin-top: 7px;
}
} }
/** /**