some basic fixes to get new CRM view usable with pixelegg template

This commit is contained in:
Ralf Becker 2014-03-07 09:22:35 +00:00
parent 83b20c2019
commit 22b96163a4
2 changed files with 139 additions and 181 deletions

View File

@ -12,142 +12,96 @@
* @version $Id$ * @version $Id$
*/ */
/** /**
* Give space to both contact view & infolog list * CRM view with contact data in sidebox
*/ */
#addressbook-index { .addressbook_sidebox_name {
height: 100%; font-weight: bold;
} }
#addressbook-edit { .addressbook_sidebox_name,
height: 390px; .addressbook_sidebox_org {
min-height: 390px; font-size: 130%;
padding: 2px 0 2px 0;
} }
.et2_container[id^="infolog-index-addressbook"] { td.addressbook_sidebox_header {
min-height: 250px; font-weight: bold;
height: 20px;
vertical-align: bottom;
} }
/* Give enough (static) width to edit dialog tabs, or it will auto-size and flex */ div#addressbook-view.et2_container {
#addressbook-edit .et2_tabbox { height: 0;
min-width: 535px;
} }
.cursorHand { td.addressbook_sidebox_toolbar {
cursor: hand; vertical-align: bottom;
height: 32px;
} }
.countrySelect select { div#divGenTime_addressbook {
width: 150px;
}
.custom_country input {
display: none; display: none;
} }
.contactid:before { /**
content: "#"; * new addressbook.edit
*/
div#addressbook-edit.et2_container {
width: 842px;
} }
.emailCol div { div.addressbook_edit_general_picture {
width: 100%; position: relative;
} }
.fixedHeight, div.addressbook_edit_general_picture img {
.telNumbers { position: absolute;
height: 12px; width: auto;
overflow: hidden; max-width: 80px;
text-overflow: ellipsis; height: 105px;
} left: 2px;
.telNumbers {
white-space: nowrap;
}
.leftPad5 {
padding-left: 5px;
}
.bold {
font-weight: bold;
}
.fileas select,
.fileas,
.owner select,
.owner {
width: 100%;
font-weight: bold;
}
.photo img,
.iphoto img {
width: 60px;
}
.photo img {
cursor: hand;
} }
.uploadphoto { .uploadphoto {
position: absolute; position: absolute;
top: 168px; top: 70px;
left: 48px; left: 0;
display: none; display: none;
border: 2px solid black; border: 2px solid black;
background-color: #ffffff; background-color: #ffffff;
padding: 4px; padding: 4px;
} z-index: 1;
.checkAllArrow {
padding-right: 5px;
} }
.typeIcon { .typeIcon {
height: 16px; height: 16px;
width: 16px; width: 16px;
} }
.editphones,
.editname { .editname {
position: absolute; position: absolute;
top: 10%;
left: 30%;
display: none; display: none;
border: 2px solid black; border: 2px solid black;
background-color: #ffffff; background-color: #ffffff;
padding: 4px; padding: 4px;
top: 55px;
left: 102px;
z-index: 1;
} }
.editname { .custom_country {
top: 97px; display: none;
left: 173px;
} }
.windowheader { tr.dialogHeader td,
background-image: url(../../../phpgwapi/templates/idots/images/appbox-header-background.png); tr.dialogHeader2 td,
background-repeat: repeat-x; tr.dialogHeader3 td,
height: 20px; tr.dialogHeader4 td,
border-spacing: 0px; tr.dialogOperators td,
border-collapse: collapse; .dialogFooterToolbar {
border-bottom: #9c9c9c 1px solid; padding: 5px 0 5px 0;
vertical-align: middle;
} }
fieldset.phoneGroup { input.et2_radiobox {
margin-top: 12px; position: relative;
font-size: 110%; left: -16px;
height: 140px;
border: solid black 2px;
margin-bottom: 0px;
} }
.phoneGroup table { #addressbook-edit_tel_prefer-tel_work,
height: 122px; #addressbook-edit_tel_prefer-tel_cell {
left: -13px;
} }
fieldset.emailGroup { /**
margin-top: 10px; * Index page
font-size: 110%; */
height: 112px; img.iphoto {
border: solid black 2px; width: 100%;
margin-bottom: 0px;
}
.emailGroup table {
height: 87px;
}
.space {
width: 80px;
}
.noWrap {
white-space: nowrap;
}
.customfields td {
white-space: nowrap;
line-height: 12px;
}
.image16 img {
height: 16px;
}
/* changes from pixelegg 11/12/13 - upload foto in right column */
#addressbook-edit_addressbook-edit-general table.addressbook_edit_general td.addressbook_edit_general_right {
widtH: 20%;
vertical-align: top;
text-align: center;
} }
@media all { @media all {
/* ############################################################################# /* #############################################################################
@ -196,6 +150,7 @@ fieldset.emailGroup {
cursor: pointer; cursor: pointer;
height: 24px; height: 24px;
margin-top: 0; margin-top: 0;
margin-left: 2px;
-webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0); -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
-moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0); -moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0); box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
@ -389,7 +344,7 @@ fieldset.emailGroup {
/*Infolog*/ /*Infolog*/
.et2_container[id^="infolog-index-addressbook"] { .et2_container[id^="infolog-index-addressbook"] {
/*height: auto;*/ /*height: auto;*/
padding: 1em; /*padding: 1em;*/
/*min-height: 250px;*/ /*min-height: 250px;*/
/*ADD Button */ /*ADD Button */
/* div.et2_hbox, /* div.et2_hbox,
@ -496,7 +451,7 @@ fieldset.emailGroup {
} }
/*########################################### /*###########################################
# # # #
# dialog-header # # dialogHeader #
############################################# #############################################
# # # #
# # # #
@ -517,11 +472,11 @@ fieldset.emailGroup {
height: 286px; height: 286px;
} }
#addressbook-edit_addressbook-edit-general table.addressbook_edit_general td.addressbook_edit_general_right { #addressbook-edit_addressbook-edit-general table.addressbook_edit_general td.addressbook_edit_general_right {
widtH: 20%; width: 20%;
vertical-align: top; vertical-align: top;
text-align: center; text-align: center;
} }
#addressbook-edit tr.dialog-footer-toolbar label.et2_label { #addressbook-edit tr.dialogFooterToolbar label.et2_label {
top: 0px !important; top: 0px !important;
} }
button[id="addressbook-edit_button[delete]"] { button[id="addressbook-edit_button[delete]"] {
@ -1211,10 +1166,12 @@ fieldset.emailGroup {
font-weight: bold; font-weight: bold;
width: 100%; width: 100%;
} }
.photo img,
.iphoto img { .iphoto img {
width: 60px; width: 60px;
} }
.photo img {
height: auto;
}
.uploadphoto { .uploadphoto {
background-color: #cdcdcd; background-color: #cdcdcd;
border: 1px solid black !important; border: 1px solid black !important;

View File

@ -193,7 +193,7 @@ div#addressbook-index{
.et2_container[id^="infolog-index-addressbook"] { .et2_container[id^="infolog-index-addressbook"] {
/*height: auto;*/ /*height: auto;*/
padding: 1em; /*padding: 1em;*/
/*min-height: 250px;*/ /*min-height: 250px;*/
@ -325,7 +325,7 @@ div#addressbook-index{
width:100%; width:100%;
height:286px; height:286px;
td.addressbook_edit_general_right { td.addressbook_edit_general_right {
widtH: 20%; width: 20%;
vertical-align: top; vertical-align: top;
text-align: center; text-align: center;
@ -1021,10 +1021,11 @@ div.addressbook.edit.general{
font-weight: bold; font-weight: bold;
width: 100%; width: 100%;
} }
.photo img, .iphoto img { .iphoto img {
width: 60px; width: 60px;
} }
.photo img { .photo img {
height: auto;
} }
// Dialog Upload photo // Dialog Upload photo