Calendar styles moved to theme default.css.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Sun, 22 Feb 2009 14:17:03 +0000 (14:17 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Sun, 22 Feb 2009 14:17:03 +0000 (14:17 +0000)
includes/ui/ui_view.inc
themes/aqua/default.css
themes/cool/default.css
themes/default/default.css

index fff49cb0af62bc9897b165b4636bebb1a31e666f..1d4f1fc1788ac6b6416e42b2ef72a2f40cb31b8c 100644 (file)
@@ -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 = "<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;}
-</style>
-";
-    add_js_source($js);
-
     if (!file_exists($fpath) || $go_debug) {
 
        global $dateseps, $date_system;
index 4afee5dc0c648c93d36134bea5ba153f811c8e12..5ed3296bb2c422f6ade194f105234f987d8b5e16 100644 (file)
@@ -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;
 }
index c3df8a54749280a70814964f9f537c91d54d247f..6ef7686a8c86e65989b7ca4ded04c2ee42ee698f 100644 (file)
@@ -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;
 }
index af4219f7bc36e770f50b19cad0f5d160a432d47d..8f00a330642a792bdd3a3075ff6ac38b75dcce58 100644 (file)
@@ -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;
 }