[REF] mai_group: moved mail_group form css from mail.css to mail_group.css; cleaned kanban view and css.

bzr revid: tde@openerp.com-20120628104041-k23d55r4jgufd0on
This commit is contained in:
Thibault Delavallée
2012-06-28 12:40:41 +02:00
parent 9e7f29ccd9
commit 07507f8794
3 changed files with 37 additions and 46 deletions
-1
View File
@@ -33,7 +33,6 @@
</div>
</div>
<script>
$('.oe_group_photo').load(function() { if($(this).width() > $(this).height()) { $(this).addClass('oe_group_photo_wide') } });
$('.oe_group_join').mouseover(function () { $(this).html('Follow'); }).mouseleave(function () { $(this).html('Not following'); });
$('.oe_group_leave').mouseover(function () { $(this).html('Unfollow'); }).mouseleave(function () { $(this).html('Following'); });
</script>
-32
View File
@@ -360,35 +360,3 @@
padding: 0;
list-style-type: square;
}
/* ------------------------------ */
/* Group Form */
/* ------------------------------ */
div.oe_mail_group_advanced_details {
display: none;
}
.oe_form_sheetbg.openerp_mail_group_sheet {
min-height: 0px;
max-height: none;
}
.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_sheet {
min-height: 0px;
max-height: none;
padding: 0px 18px;
max-width: 80%;
}
/* Resize group logo */
.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_field_image > img {
max-width: 100px;
max-height: 100px;
}
/* Resize group description */
.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_field_text > textarea {
height: 40px;
}
+37 -13
View File
@@ -1,3 +1,39 @@
/* ------------------------------ */
/* Group Form */
/* ------------------------------ */
div.oe_mail_group_advanced_details {
display: none;
}
.oe_form_sheetbg.openerp_mail_group_sheet {
min-height: 0px;
max-height: none;
}
.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_sheet {
min-height: 0px;
max-height: none;
padding: 0px 18px;
max-width: 80%;
}
/* Resize group logo */
.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_field_image > img {
max-width: 100px;
max-height: 100px;
}
/* Resize group description */
.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_field_text > textarea {
height: 40px;
}
/* ------------------------------ */
/* Group kanban */
/* ------------------------------ */
.oe_group_vignette {
padding: 8px 0;
min-height: 100px;
@@ -26,14 +62,8 @@
.oe_group_photo {
width: 100px;
height: auto;
clip: rect(0px, 100px, 100px, 0px);
}
.oe_group_photo_wide {
height: 100px;
width: auto;
clip: rect(0px, 115px, 100px, 15px);
clip: rect(0px, 100px, 100px, 0px);
}
.oe_group_details {
@@ -71,9 +101,3 @@
.oe_group_details li {
margin: 2px 0;
}
.oe_group_description {
}
.oe_kanban_record div.true {
}