Commit 73ddc517 authored by Ivan Tyagov's avatar Ivan Tyagov

Move all listbox specific CSS to dedicated file.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38200 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3e04cfe8
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <global name="DTMLDocument" module="OFS.DTMLDocument"/>
<global name="DTMLDocument" module="OFS.DTMLDocument"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -1203,200 +1200,6 @@ span.search button .image {\n ...@@ -1203,200 +1200,6 @@ span.search button .image {\n
padding: 5px;\n padding: 5px;\n
}\n }\n
\n \n
/* LISTBOX */\n
/* FIXME:\n
- listbox uses lots of IDs, but there can be more than one listbox in a page !\n
- hardcoded images in html which are only used for rendering style\n
*/\n
.ListSummary {\n
background: url(\'<dtml-var expr="portal_url()">/images/tab_left_selected.png\') top left no-repeat;\n
color: #000;\n
background-color: transparent;\n
padding-left: 10px;\n
}\n
\n
.ListSummary .listbox_title,\n
.ListSummary .listbox_record_number,\n
.ListSummary .listbox_item_number {\n
/* font-size: 90%; */\n
}\n
\n
.ListSummary table {\n
width: 100%;\n
background-color: <dtml-var document_background_color>;\n
border-color: <dtml-var document_border_color>;\n
border-style: solid;\n
border-top-width: 1px;\n
border-right-width: 1px;\n
border-bottom-width: 0;\n
border-left-width: 0;\n
padding-right: 5px;\n
padding-bottom: 2px;\n
}\n
\n
.ListSummary img {\n
display: none;\n
}\n
\n
.listbox {\n
color: #000;\n
background-color: <dtml-var document_background_color>;\n
padding-left: 1px;\n
}\n
\n
.listbox table,\n
table.listbox.table {\n
width: 100%;\n
border-collapse: collapse;\n
border-color: <dtml-var document_border_color>;\n
border-style: solid;\n
border-top-width: 0px;\n
border-bottom-width: 1px;\n
border-left-width: 1px;\n
border-right-width: 1px;\n
}\n
\n
.listbox .listbox_label_line td.Data {\n
border-top-width: 1px;\n
}\n
\n
.listbox .listbox_label_line {\n
color: <dtml-var font_color>;\n
background-color: <dtml-var listbox_label_background_color>;\n
/* font-size: 90%; */\n
}\n
\n
.listbox .listbox_stat_line {\n
color: inherit;\n
background-color: <dtml-var listbox_stat_background_color>;\n
}\n
\n
.listbox .listbox_stat_line td.Data {\n
border-top-width: 1px;\n
border-top-style: solid;\n
border-color: <dtml-var document_border_color>;\n
}\n
\n
.listbox tr.DataA {\n
color: inherit;\n
background-color: <dtml-var listbox_odd_background_color>;\n
}\n
\n
.listbox tr.DataB {\n
color: inherit;\n
background-color: <dtml-var listbox_even_background_color>;\n
}\n
\n
.ListSummary .listbox_title_line .listbox_title,\n
.ListSummary .listbox_title_line .listbox_item_number,\n
.ListSummary .listbox_title_line .listbox_record_number {\n
vertical-align: middle;\n
}\n
\n
.listbox tr.DataA:hover,\n
.listbox tr.DataB:hover,\n
table.listbox.table tr.tbody:hover{\n
color: inherit;\n
background-color: <dtml-var listbox_hover_background_color>;\n
}\n
\n
.listbox td {\n
border-color: <dtml-var document_border_color>;\n
border-style: solid;\n
border-top-width: 0;\n
border-bottom-width: 0;\n
border-left-width: 1px;\n
border-right-width: 1px;\n
padding-left: 1px;\n
padding-right: 1px;\n
}\n
\n
.listbox .error {\n
color: #F00;\n
}\n
\n
table.listbox {\n
width: 100%;\n
margin-bottom: 1em;\n
border-style: solid;\n
border-width: 0 1px 1px 1px;\n
border-color:<dtml-var document_border_color>;\n
padding: 0;\n
}\n
\n
table.listbox .thead {background: #e6e6e6}\n
\n
table.listbox .thead th,\n
table.listbox a {\n
font-weight: normal\n
}\n
\n
table.listbox td,\n
table.listbox th {\n
text-align: left;\n
padding: .3em;\n
border: 1px solid <dtml-var document_border_color>;\n
}\n
\n
table.listbox tr.tbody:hover {background:<dtml-var listbox_hover_background_color>}\n
\n
table.listbox .tbody td.icon {\n
text-align: center;\n
padding: 0;\n
}\n
\n
table.listbox .tbody td.icon a {\n
display: block;\n
padding: .3em;\n
}\n
\n
table.listbox tr.tbody td div.coordinates a {\n
color:green;\n
}\n
\n
td.AnchorColumn {\n
!important\n
border-style:none;\n
border-color:<dtml-var document_border_color>;\n
background-color:<dtml-var document_background_color>;\n
border-width:0;\n
}\n
\n
/* Popup info window style */\n
div.search_popup {\n
background-color: #c3e3df;\n
display: none;\n
position:fixed;\n
left:500px;\n
width:150px;\n
top:130px;\n
padding:10px;\n
border:1px solid black;\n
z-index:100;\n
}\n
\n
div.popup_row{\n
clear:right;\n
}\n
\n
div.popup_row span.popup_label{\n
font-weight: bold;\n
}\n
\n
div.popup_row a{\n
color: green!important;\n
}\n
div.searchResultHeader {\n
margin-top: 0em;\n
border: 1px solid <dtml-var document_border_color>;\n
background-color: <dtml-var listbox_label_background_color>;\n
padding: .2em;\n
}\n
\n
div.searchResultHeader .right {float: right}\n
div.searchResultHeader .left {float: left}\n
\n
\n
/* Search results list\n /* Search results list\n
------------------------------------------------*/\n ------------------------------------------------*/\n
\n \n
......
...@@ -698,6 +698,23 @@ table.listbox tr td.listbox-table-select-cell{\n ...@@ -698,6 +698,23 @@ table.listbox tr td.listbox-table-select-cell{\n
margin:0;\n margin:0;\n
}\n }\n
\n \n
table.listbox tr.DataA {\n
color: inherit;\n
background-color: <dtml-var listbox_odd_background_color>;\n
}\n
\n
table.listbox tr.DataB {\n
color: inherit;\n
background-color: <dtml-var listbox_even_background_color>;\n
}\n
\n
.listbox tr.DataA:hover,\n
.listbox tr.DataB:hover,\n
table.listbox.table tr.tbody:hover{\n
color: inherit;\n
background-color: <dtml-var listbox_hover_background_color>;\n
}\n
\n
table.listbox tr.listbox-search-line th.listbox-table-filter-cell input{\n table.listbox tr.listbox-search-line th.listbox-table-filter-cell input{\n
width: 100%;\n width: 100%;\n
vertical-align:middle;\n vertical-align:middle;\n
......
993 994
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment