aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-04-07 14:29:05 +0000
committerplegall <plg@piwigo.org>2010-04-07 14:29:05 +0000
commit3f7741a7dc282cf57b0549b93dca289db53bfd85 (patch)
treeb14982b250da892a901d385ed270c6bb7a7b3e6d /admin
parentd8d0e34a4cec301e147f5b484ad013ee5c4a4af7 (diff)
bug 1545: fix datepicker calendar for roma admin theme + move common rules to
default-layout.css. git-svn-id: http://piwigo.org/svn/trunk@5697 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/themes/clear/theme.css15
-rw-r--r--admin/themes/default/default-layout.css5
-rw-r--r--admin/themes/roma/icon/next.pngbin0 -> 328 bytes
-rw-r--r--admin/themes/roma/icon/prev.pngbin0 -> 328 bytes
-rw-r--r--admin/themes/roma/theme.css13
5 files changed, 22 insertions, 11 deletions
diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css
index cb99e4679..a478728a7 100644
--- a/admin/themes/clear/theme.css
+++ b/admin/themes/clear/theme.css
@@ -187,21 +187,14 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: 0px; top: 0px; background: transparent url(images/resizable-nw.gif); }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: 0px; top: 0px; background: transparent url(images/resizable-ne.gif); }
-#ui-datepicker-div {background-color: #fff; border:2px solid #aaa;-moz-border-radius:5px;}
+#ui-datepicker-div {background-color: #fff; border:2px solid #aaa;}
#ui-datepicker-div .ui-datepicker-title {color:black;}
-#ui-datepicker-div .ui-icon-circle-triangle-w {background: transparent url(icon/prev.png) no-repeat; color:transparent;}
-#ui-datepicker-div .ui-icon-circle-triangle-e {background: transparent url(icon/next.png) no-repeat; color:transparent;}
-
-#ui-datepicker-div A.ui-datepicker-prev,
-#ui-datepicker-div A.ui-datepicker-next
-{
- background-color:transparent;
-}
-
+#ui-datepicker-div .ui-icon-circle-triangle-w {background: transparent url(icon/prev.png) no-repeat;}
+#ui-datepicker-div .ui-icon-circle-triangle-e {background: transparent url(icon/next.png) no-repeat;}
#ui-datepicker-div A.ui-datepicker-prev:hover,
#ui-datepicker-div A.ui-datepicker-next:hover
{
- background-color:#eee;border:1px solid #aaa;-moz-border-radius:5px;
+ background-color:#eee;border:1px solid #aaa;
}
#ui-datepicker-div .ui-datepicker-control, #ui-datepicker-div a { background-color: #eee; color: #08f !important;}
diff --git a/admin/themes/default/default-layout.css b/admin/themes/default/default-layout.css
index 0cfd9619c..c1e68a29a 100644
--- a/admin/themes/default/default-layout.css
+++ b/admin/themes/default/default-layout.css
@@ -817,3 +817,8 @@ h2:lang(en) { text-transform:capitalize; }
.languageName {font-size:1.1em; margin:5px 0;}
.languageActions {display: table-row; font-size:12px; }
.languageActions DIV {display: table-cell; vertical-align: middle; line-height:18px; }
+
+#ui-datepicker-div {-moz-border-radius:5px;}
+#ui-datepicker-div .ui-icon-circle-triangle-w, #ui-datepicker-div .ui-icon-circle-triangle-e {color:transparent;}
+#ui-datepicker-div A.ui-datepicker-prev, #ui-datepicker-div A.ui-datepicker-next {background-color:transparent;}
+#ui-datepicker-div A.ui-datepicker-prev:hover, #ui-datepicker-div A.ui-datepicker-next:hover {-moz-border-radius:5px;}
diff --git a/admin/themes/roma/icon/next.png b/admin/themes/roma/icon/next.png
new file mode 100644
index 000000000..aad901607
--- /dev/null
+++ b/admin/themes/roma/icon/next.png
Binary files differ
diff --git a/admin/themes/roma/icon/prev.png b/admin/themes/roma/icon/prev.png
new file mode 100644
index 000000000..bf220e341
--- /dev/null
+++ b/admin/themes/roma/icon/prev.png
Binary files differ
diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css
index 722f1770b..25463f751 100644
--- a/admin/themes/roma/theme.css
+++ b/admin/themes/roma/theme.css
@@ -192,6 +192,19 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: 0px; bottom: 0px; background: transparent url(images/resizable-sw.gif); }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: 0px; top: 0px; background: transparent url(images/resizable-nw.gif); }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: 0px; top: 0px; background: transparent url(images/resizable-ne.gif); }
+
+#ui-datepicker-div {background-color: #555; border:2px solid #333;}
+#ui-datepicker-div .ui-datepicker-title {color:white;}
+#ui-datepicker-div .ui-icon-circle-triangle-w {background: transparent url(icon/prev.png) no-repeat;}
+#ui-datepicker-div .ui-icon-circle-triangle-e {background: transparent url(icon/next.png) no-repeat;}
+#ui-datepicker-div A.ui-datepicker-prev:hover,
+#ui-datepicker-div A.ui-datepicker-next:hover
+{
+ background-color:#eee;border:1px solid #aaa;
+}
+.ui-datepicker th {color:#ccc;}
+.ui-state-disabled {color:#aaa;}
+
#ui-datepicker-div .ui-datepicker-control, #ui-datepicker-div a { background-color: #111; color: #f70 !important;}
#ui-datepicker-div .ui-datepicker-days-row { background-color: #444;}
#ui-datepicker-div .ui-datepicker-week-end-cell, #ui-datepicker-div .ui-datepicker-week-end-cell a { background-color: #222; color: #f33; border-color: #444; border-top-color: #222; border-left-color: #222;}