Commit 9adb61c0 authored by Gabriel Monnerat's avatar Gabriel Monnerat

- improve css

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42999 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 825e34e1
...@@ -234,6 +234,38 @@ div#showreflashbtn.fbutton,\n ...@@ -234,6 +234,38 @@ div#showreflashbtn.fbutton,\n
\n \n
span#text-datetime {\n span#text-datetime {\n
margin-top: 4px;\n margin-top: 4px;\n
}\n
\n
div#display-datetime.fbutton:hover, span#text-datetime:hover {\n
background: none !important;\n
border: 1px solid #BBCCFF !important;\n
}\n
\n
.ui-datepicker .ui-datepicker-title {\n
margin: 0 0.3em;\n
text-align: left;\n
}\n
\n
.ui-datepicker .ui-datepicker-next {\n
right: -2px;\n
}\n
\n
.ui-datepicker .ui-datepicker-prev {\n
left: 10.5em;\n
}\n
\n
.ui-datepicker .ui-datepicker-title {\n
color: #20C;\n
text-decoration: underline;\n
}\n
\n
.ui-widget-header .ui-icon {\n
background-image: url("jquery/ui/css/erp5-theme/images/ui-icons_2e83ff_256x240.png") !important;\n
}\n
\n
.ui-datepicker .ui-datepicker-prev span,\n
.ui-datepicker .ui-datepicker-next span {\n
-moz-border-radius: 9px 9px 9px 9px;\n
}</string> </value> }</string> </value>
</item> </item>
<item> <item>
......
...@@ -238,7 +238,7 @@ $(document).ready(function() { \n ...@@ -238,7 +238,7 @@ $(document).ready(function() { \n
//go to today\n //go to today\n
$("#showtodaybtn").click(function() {\n $("#showtodaybtn").click(function() {\n
var optionList = $("#gridcontainer").gotoDate().BcalGetOp();\n var optionList = $("#gridcontainer").gotoDate().BcalGetOp();\n
$("div#display-datetime span#text-datetime").text(p.datestrshow);\n $("div#display-datetime span#text-datetime").text(optionList.datestrshow);\n
});\n });\n
//previous date range\n //previous date range\n
$("#sfprevbtn").click(function() {\n $("#sfprevbtn").click(function() {\n
...@@ -327,8 +327,14 @@ $(document).ready(function() { \n ...@@ -327,8 +327,14 @@ $(document).ready(function() { \n
op.view = "day";\n op.view = "day";\n
$("#gridcontainer").bcalendar(op).BcalGetOp();\n $("#gridcontainer").bcalendar(op).BcalGetOp();\n
});\n });\n
$("div#gridcontainer").css("height", \n if ($("div.event-listview tr").height() > 0){\n
$("div#gridcontainer table tbody tr").length*$("div.event-listview tr").height() + "px");\n $("div#gridcontainer").css("height", \n
$("div#gridcontainer table tbody tr").length*$("div.event-listview tr").height() + "px");\n
} else {\n
$("div#gridcontainer")\n
.css("height", "54px")\n
.append("No Results");\n
}\n
},\n },\n
});\n });\n
tableList.push("</tbody></table></div>");\n tableList.push("</tbody></table></div>");\n
......
224 225
\ 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