Commit bc7ffe38 authored by Łukasz Nowak's avatar Łukasz Nowak

Checkpoint: Follow advices abour styling.

parent 1d7d86a7
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts22729428.22</string> </value>
<value> <string>ts22748215.91</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -116,7 +116,6 @@ function resetCategoryHash() {\n
$(\'.software_category_selected\').removeClass(\'software_category_selected\');\n
var query_kw = $.deparam.fragment();\n
delete(query_kw.software_category);\n
debugger;\n
window.location.hash = \'#\'+$.param(query_kw);\n
}\n
\n
......@@ -142,7 +141,7 @@ function appendSoftwareCategoryTree(data, id) {\n
r = appendSoftwareCategoryTree(data[q], q);\n
if (r) {\n
ul.append(r);\n
s += \' + \';\n
li.addClass(\'software_category_children\');\n
li.click(toggle);\n
}\n
li.click(hasher);\n
......@@ -155,8 +154,9 @@ function appendSoftwareCategoryTree(data, id) {\n
}\n
\n
function drawSoftwareCategoryTree(data) {\n
category = $(\'#left_menu\');\n
var category = $(\'#left_menu\');\n
category.empty();\n
category.attr(\'id\', \'software_category\');\n
category.append(appendSoftwareCategoryTree(data));\n
}\n
\n
......@@ -353,7 +353,7 @@ function hashController ()\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>10212</int> </value>
<value> <int>10279</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -228,10 +228,20 @@ div.software_release_more {position:relative; width:100%; height: 26px;backgroun
.sr_left_inactive {float:right; margin: 2px; height:22px; width:24px; background:url(<tal:block tal:replace="images_path"/>sr_left_inactive.png);}\n
div.software_release_page {float:right; margin: 4px; height:22px; color: white; font-site: 18px;}\n
\n
ul.software_category {}\n
li.software_category {}\n
li.software_category:hover {background-color: #f7f6f0;}\n
li.software_category_selected {background-color: yellow;}\n
div#software_category{display:inline;float:left;width:20%;background:url(<tal:block tal:replace="images_path"/>separation_contenu.png) no-repeat center right}\n
ul.software_category {list-style: none none inside; padding-left: 4px; padding-top: 8px; padding-bottom: 8px;}\n
li.software_category {cursor : pointer; padding-top: 2px; padding-bottom: 2px;}\n
li.software_category_children {padding-top: 4px; padding-bottom: 4px;}\n
li.software_category_children:hover {text-decoration: underline;}\n
li.software_category:hover {\n
color: #2E707C;\n
}\n
li.software_category_selected:hover {\n
// background-color: blue;\n
}\n
li.software_category_selected {\n
// background-color: yellow;\n
}\n
\n
</tal:block>
......
......@@ -5,4 +5,5 @@ erp5_jquery
erp5_km
erp5_web
vifib_crm
vifib_software_pdm
vifib_forge_release
vifib_software_pdm
\ No newline at end of file
316
\ No newline at end of file
317
\ 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