Author: bleny Date: 2011-01-25 16:48:52 +0000 (Tue, 25 Jan 2011) New Revision: 944 Log: make Contacts page the most thin possible Modified: trunk/wao-ui/src/main/webapp/css/contacts.css Modified: trunk/wao-ui/src/main/webapp/css/contacts.css =================================================================== --- trunk/wao-ui/src/main/webapp/css/contacts.css 2011-01-25 16:13:40 UTC (rev 943) +++ trunk/wao-ui/src/main/webapp/css/contacts.css 2011-01-25 16:48:52 UTC (rev 944) @@ -90,100 +90,25 @@ /* TABLE OF CONTACTS */ -div#so-contacts table.user { - width: 100%; -} - -div#so-contacts table.admin { - width: 2000px; - font-size: 0.8em; -} - -div#so-contacts table.t-data-grid thead a { +div#so-contacts thead a { text-decoration: none; } -div#so-contacts table.t-data-grid thead a:hover { +div#so-contacts thead a:hover { text-decoration: underline; } -div#so-contacts table.t-data-grid thead tr th { +div#so-contacts th { text-align: center; -} - -div#so-contacts table.t-data-grid thead tr th.topiaCreateDate, -div#so-contacts table.t-data-grid thead tr th.dataInputDate, -div#so-contacts table.t-data-grid thead tr th.tideEndDate, -div#so-contacts table.t-data-grid thead tr th.tideBeginDate { - width: 90px; white-space: normal; - text-align: center; + max-width: 200px; } -div#so-contacts table.t-data-grid thead tr th.nbObservants { - width: 40px; - white-space: normal; - text-align: center; -} - -div#so-contacts table.t-data-grid thead tr th.mammals { - white-space: normal; - width: 100px; -} - - -div#so-contacts table.t-data-grid thead tr th.actions { - width: 90px; -} - - -div#so-contacts table.t-data-grid tbody tr td { +div#so-contacts td.actions { white-space: nowrap; } -div#so-contacts table.t-data-grid tbody tr td.comment, -div#so-contacts table.t-data-grid thead tr th.commentCoordinator, -div#so-contacts table.t-data-grid thead tr th.commentAdmin -div#so-contacts table.t-data-grid thead tr th.dataReliability { - white-space: normal; - width: 100px; - text-align: center; -} - -div#so-contacts table.t-data-grid tbody tr td.nbObservants { - text-align: center; -} - -a.save { - cursor: pointer; -} - -td.validation, td.mammals, /* TEMP */ -div#so-contacts table.t-data-grid tbody td.validation, -div#so-contacts table.t-data-grid tbody td.mammals { - text-align: center; -} - -/** FORM **/ -div#so-contacts div.t-error { - width: 60%; - margin: 5px auto; -} - -div#so-contacts div.t-error li { - margin-left: 20px; -} - -div#so-contacts-edit { - width: 40%; - margin-left: auto; - margin-right: auto; -} - -input.date { - width: 70px; -} - -input.nbObservants { - width: 18px; -} +div#so-contacts th.actions { + max-width: 600px; + width: 600px; +} \ No newline at end of file