dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20890
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9744: (PT) Css fix.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 9744 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-02-05 20:44:36 +0100
message:
(PT) Css fix.
modified:
dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.js
dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/styles/style.css
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.js 2013-02-05 19:24:33 +0000
+++ dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.js 2013-02-05 19:43:30 +0000
@@ -897,7 +897,7 @@
};
createTablePanel = function(items) {
- var html = '<table>';
+ var html = '<table class="pivot">';
for (var i = 0; i < items.length; i++) {
html += '<tr>' + items[i].join('') + '</tr>';
=== modified file 'dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/styles/style.css'
--- dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/styles/style.css 2013-02-05 17:37:43 +0000
+++ dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/styles/style.css 2013-02-05 19:43:30 +0000
@@ -75,22 +75,15 @@
* Pivot
*--------------------------------------------------------------------------*/
-table {
+table.pivot {
border-collapse: collapse;
border-spacing: 0px;
border: 0 none;
}
-td {
+.pivot td {
padding: 5px;
border: 1px solid #888;
- background-color: #dae6f8;
- text-align: center;
-}
-
-td div div {
- padding: 5px;
- text-align: center;
- font-size: 11px;
+ text-align: center;
}
.pivot-empty {