From: Janusz Dobrowolski Date: Sun, 22 Feb 2009 14:17:03 +0000 (+0000) Subject: Calendar styles moved to theme default.css. X-Git-Tag: v2.4.2~19^2~1517 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=bb0224b1b0f5af67cab34eb9c751e2c16b1e4b46 Calendar styles moved to theme default.css. --- diff --git a/includes/ui/ui_view.inc b/includes/ui/ui_view.inc index fff49cb0..1d4f1fc1 100644 --- a/includes/ui/ui_view.inc +++ b/includes/ui/ui_view.inc @@ -713,30 +713,6 @@ function get_js_date_picker() global $comp_path, $go_debug; $fpath = $comp_path.'/'.user_company().'/js_cache/'.'date_picker.js'; - $js = " -"; - add_js_source($js); - if (!file_exists($fpath) || $go_debug) { global $dateseps, $date_system; diff --git a/themes/aqua/default.css b/themes/aqua/default.css index 4afee5dc..5ed3296b 100644 --- a/themes/aqua/default.css +++ b/themes/aqua/default.css @@ -457,11 +457,104 @@ ul.ajaxtabs li input.current, ul.ajaxtabs li input.current:hover{ color:#FFFFFF; } #hints { - font-size: 13px; - padding: 5px; - border-bottom: 1px solid #8cacbb; - margin: -4px -2px -2px; - border: 1px solid #8cacbb; - background-color: #FFFFE0; - white-space: nowrap; + font-size: 13px; + padding: 5px; + border-bottom: 1px solid #8cacbb; + margin: -4px -2px -2px; + border: 1px solid #8cacbb; + background-color: #FFFFE0; + white-space: nowrap; +} +/* + Calendar style +*/ +#CCIframe { + display: none; + left: 0px; + position: absolute; + top: 0px; + height: 250px; + width: 270px; + z-index: 99; +} +#CC { + position:absolute; + background-color:#FFF; + margin:0; padding:0; + display:none; + z-index: 100; +} +#CC table { + font-family: arial, verdana, helvetica, sans-serif; + font-size: 8pt; + border-left: 1px solid #336; + border-right: 1px solid #336; +} +#CC th { + font-weight: normal; + text-align: center; +} +#CC th a { + font-weight: normal; + text-decoration: none; + color: #FFF; + padding: 1px; +} +#CC td { + text-align: center; +} +#CC .header { + background-color: #336; +} +#CC .weekday { + background-color: #DDD; + color: #000; +} +#CC .weekend { + background-color: #FFC; + color: #000; +} +#CC .weekno { + background-color: #c0daf8; + color: #555; +} +#CC .current { + border: 1px solid #339; + background-color: #336; + color: #FFF; +} +#CC .weekday, #CC .weekend, #CC .current { + display: block; + text-decoration: none; + border: 1px solid #FFF; + width: 2em; +} +#CC .weekday:hover, #CC .weekend:hover, #CC .current:hover { + color: #FFF; + background-color: #336; + border: 1px solid #999; +} +#CC .previous { + text-align: left; +} +#CC .next { + text-align: right; +} +#CC .previous, #CC .next { + padding: 1px 3px 1px 3px; + font-size: 1.4em; +} +#CC .previous a, CC .next a { + color: #FFF; + text-decoration: none; + font-weight: bold; +} +#CC .title { + text-align: center; + font-weight: bold; + color: #FFF; +} +#CC .empty { + background-color: #CCC; + border: 1px solid #FFF; } diff --git a/themes/cool/default.css b/themes/cool/default.css index c3df8a54..6ef7686a 100644 --- a/themes/cool/default.css +++ b/themes/cool/default.css @@ -463,11 +463,104 @@ ul.ajaxtabs li input.current, ul.ajaxtabs li input.current:hover{ color:#FFFFFF; } #hints { - font-size: 13px; - padding: 5px; - border-bottom: 1px solid #8cacbb; - margin: -4px -2px -2px; - border: 1px solid #8cacbb; - background-color: #FFFFE0; - white-space: nowrap; + font-size: 13px; + padding: 5px; + border-bottom: 1px solid #8cacbb; + margin: -4px -2px -2px; + border: 1px solid #8cacbb; + background-color: #FFFFE0; + white-space: nowrap; +} +/* + Calendar style +*/ +#CCIframe { + display: none; + left: 0px; + position: absolute; + top: 0px; + height: 250px; + width: 270px; + z-index: 99; +} +#CC { + position:absolute; + background-color:#FFF; + margin:0; padding:0; + display:none; + z-index: 100; +} +#CC table { + font-family: arial, verdana, helvetica, sans-serif; + font-size: 8pt; + border-left: 1px solid #336; + border-right: 1px solid #336; +} +#CC th { + font-weight: normal; + text-align: center; +} +#CC th a { + font-weight: normal; + text-decoration: none; + color: #FFF; + padding: 1px; +} +#CC td { + text-align: center; +} +#CC .header { + background-color: #336; +} +#CC .weekday { + background-color: #DDD; + color: #000; +} +#CC .weekend { + background-color: #FFC; + color: #000; +} +#CC .weekno { + background-color: #c0daf8; + color: #555; +} +#CC .current { + border: 1px solid #339; + background-color: #336; + color: #FFF; +} +#CC .weekday, #CC .weekend, #CC .current { + display: block; + text-decoration: none; + border: 1px solid #FFF; + width: 2em; +} +#CC .weekday:hover, #CC .weekend:hover, #CC .current:hover { + color: #FFF; + background-color: #336; + border: 1px solid #999; +} +#CC .previous { + text-align: left; +} +#CC .next { + text-align: right; +} +#CC .previous, #CC .next { + padding: 1px 3px 1px 3px; + font-size: 1.4em; +} +#CC .previous a, CC .next a { + color: #FFF; + text-decoration: none; + font-weight: bold; +} +#CC .title { + text-align: center; + font-weight: bold; + color: #FFF; +} +#CC .empty { + background-color: #CCC; + border: 1px solid #FFF; } diff --git a/themes/default/default.css b/themes/default/default.css index af4219f7..8f00a330 100644 --- a/themes/default/default.css +++ b/themes/default/default.css @@ -458,11 +458,104 @@ ul.ajaxtabs li input.current, ul.ajaxtabs li input.current:hover{ color:#FFFFFF; } #hints { - font-size: 13px; - padding: 5px; - border-bottom: 1px solid #8cacbb; - margin: -4px -2px -2px; - border: 1px solid #8cacbb; - background-color: #FFFFE0; - white-space: nowrap; + font-size: 13px; + padding: 5px; + border-bottom: 1px solid #8cacbb; + margin: -4px -2px -2px; + border: 1px solid #8cacbb; + background-color: #FFFFE0; + white-space: nowrap; +} +/* + Calendar style +*/ +#CCIframe { + display: none; + left: 0px; + position: absolute; + top: 0px; + height: 250px; + width: 270px; + z-index: 99; +} +#CC { + position:absolute; + background-color:#FFF; + margin:0; padding:0; + display:none; + z-index: 100; +} +#CC table { + font-family: arial, verdana, helvetica, sans-serif; + font-size: 8pt; + border-left: 1px solid #336; + border-right: 1px solid #336; +} +#CC th { + font-weight: normal; + text-align: center; +} +#CC th a { + font-weight: normal; + text-decoration: none; + color: #FFF; + padding: 1px; +} +#CC td { + text-align: center; +} +#CC .header { + background-color: #336; +} +#CC .weekday { + background-color: #DDD; + color: #000; +} +#CC .weekend { + background-color: #FFC; + color: #000; +} +#CC .weekno { + background-color: #c0daf8; + color: #555; +} +#CC .current { + border: 1px solid #339; + background-color: #336; + color: #FFF; +} +#CC .weekday, #CC .weekend, #CC .current { + display: block; + text-decoration: none; + border: 1px solid #FFF; + width: 2em; +} +#CC .weekday:hover, #CC .weekend:hover, #CC .current:hover { + color: #FFF; + background-color: #336; + border: 1px solid #999; +} +#CC .previous { + text-align: left; +} +#CC .next { + text-align: right; +} +#CC .previous, #CC .next { + padding: 1px 3px 1px 3px; + font-size: 1.4em; +} +#CC .previous a, CC .next a { + color: #FFF; + text-decoration: none; + font-weight: bold; +} +#CC .title { + text-align: center; + font-weight: bold; + color: #FFF; +} +#CC .empty { + background-color: #CCC; + border: 1px solid #FFF; }