summaryrefslogtreecommitdiff
path: root/addons/base/static/src/css
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2011-04-13 03:37:11 +0200
committerAntony Lesuisse <al@openerp.com>2011-04-13 03:37:11 +0200
commit3ac70cbecfda63682f4667994d64cd9526a8e1a3 (patch)
treed42d6267d79b9211a0c6c5027cc1c22506c95b7a /addons/base/static/src/css
parentbe257a50087140885759e5cd7c8f59f9423129eb (diff)
parent3b38e2c68873fdc4ab40c16afd0193ca7c49b6a9 (diff)
[MERGE] xmo listview, bug in the form pager
bzr revid: al@openerp.com-20110413013711-vp63eigz5aadm6wc
Diffstat (limited to 'addons/base/static/src/css')
-rw-r--r--addons/base/static/src/css/base.css71
1 files changed, 70 insertions, 1 deletions
diff --git a/addons/base/static/src/css/base.css b/addons/base/static/src/css/base.css
index c6040f1b0fd..cf6d0beabd4 100644
--- a/addons/base/static/src/css/base.css
+++ b/addons/base/static/src/css/base.css
@@ -443,6 +443,7 @@ body.openerp {
padding-left: 10px;
}
+
.openerp .oe-searchview-render-line {
width:100%;
}
@@ -462,6 +463,75 @@ body.openerp {
background: url(../img/icons/gtk-remove.png) repeat-y;
padding-left: 18px;
}
+/* List */
+.openerp .oe-listview table {
+ clear: right;
+ width: 100%;
+ border-spacing: 0;
+ border: 1px solid silver;
+}
+
+.openerp .oe-listview tr.odd {
+ background-color: #f3f3f3;
+}
+.openerp .oe-listview tbody tr:hover {
+ background-color: #ecebf2;
+}
+.openerp .oe-listview tbody tr:hover {
+ background-color: #eae9f0;
+}
+
+.openerp .oe-listview td,
+.openerp .oe-listview th {
+ vertical-align: middle;
+}
+
+.openerp .oe-listview .oe-field-cell button {
+ padding: 0;
+ border: none;
+ background: none;
+}
+.openerp .oe-listview .oe-field-cell button:active {
+ opacity: 0.5;
+}
+
+.openerp .oe-listview th.oe-actions {
+ text-align: left;
+}
+.openerp .oe-listview th.oe-list-pager {
+ text-align: right;
+}
+
+/** list rounded corners
+
+ rounded corners are a pain on tables: need to round not only table, but
+ also on the first and last children of the first and last row
+ */
+.openerp .oe-listview table {
+ -webkit-border-radius: 7px;
+ -moz-border-radius: 7px;
+ border-radius: 7px;
+}
+.openerp .oe-listview table thead tr:first-child th:first-child {
+ -webkit-border-top-left-radius: 7px;
+ -moz-border-radius-topleft: 7px;
+ border-top-left-radius: 7px;
+}
+.openerp .oe-listview table thead tr:first-child th:last-child {
+ -webkit-border-top-right-radius: 7px;
+ -moz-border-radius-topright: 7px;
+ border-top-right-radius: 7px;
+}
+.openerp .oe-listview table tbody tr:last-child th:first-child {
+ -webkit-border-bottom-left-radius: 7px;
+ -moz-border-radius-bottomleft: 7px;
+ border-bottom-left-radius: 7px;
+}
+.openerp .oe-listview table tbody tr:last-child td:last-child {
+ -webkit-border-bottom-right-radius: 7px;
+ -moz-border-radius-bottomright: 7px;
+ border-bottom-right-radius: 7px;
+}
/* Notebook */
.openerp .oe_form_notebook {
@@ -489,7 +559,6 @@ body.openerp {
background: #f9f9f9;
}
-
/* Form */
.openerp table.oe_frame td {
color: #4c4c4c;