diff options
author | mkanat%bugzilla.org <> | 2007-11-29 08:20:05 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2007-11-29 08:20:05 +0000 |
commit | 9dfa47cccbf6cf4f98d807c1c61400fc138e18ff (patch) | |
tree | 14f2bcdec784bc9ad056894af2d85e92acd5f295 /skins/standard | |
parent | ab73b625a7fb071794cd1152de3c8486d91788f6 (diff) | |
download | bugs-9dfa47cccbf6cf4f98d807c1c61400fc138e18ff.tar bugs-9dfa47cccbf6cf4f98d807c1c61400fc138e18ff.tar.gz bugs-9dfa47cccbf6cf4f98d807c1c61400fc138e18ff.tar.bz2 bugs-9dfa47cccbf6cf4f98d807c1c61400fc138e18ff.tar.xz bugs-9dfa47cccbf6cf4f98d807c1c61400fc138e18ff.zip |
Bug 397099: Date/Time Fields should have a JavaScript widget for picking a date
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, r=glob, a=mkanat
Diffstat (limited to 'skins/standard')
-rw-r--r-- | skins/standard/global.css | 15 | ||||
-rw-r--r-- | skins/standard/global/calendar.png | bin | 0 -> 718 bytes | |||
-rw-r--r-- | skins/standard/yui/calendar.css | 7 | ||||
-rw-r--r-- | skins/standard/yui/sprite.png | bin | 0 -> 3123 bytes |
4 files changed, 22 insertions, 0 deletions
diff --git a/skins/standard/global.css b/skins/standard/global.css index 3c49deefe..4d8102f88 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -360,6 +360,21 @@ div.user_match { vertical-align: top; } +.calendar_button { + background: transparent url("global/calendar.png") no-repeat; + width: 20px; + height: 20px; + vertical-align: middle; +} +.calendar_button span { display: none } +/* These classes are set by YUI. */ +.yui-calcontainer { + display: none; + background-color: white; + padding: 10px; + border: 1px solid #404D6C; +} + form#Create th { text-align: right; } diff --git a/skins/standard/global/calendar.png b/skins/standard/global/calendar.png Binary files differnew file mode 100644 index 000000000..0eb9ca78e --- /dev/null +++ b/skins/standard/global/calendar.png diff --git a/skins/standard/yui/calendar.css b/skins/standard/yui/calendar.css new file mode 100644 index 000000000..80886d511 --- /dev/null +++ b/skins/standard/yui/calendar.css @@ -0,0 +1,7 @@ +/* +Copyright (c) 2007, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.3.1 +*/ +.yui-calcontainer{position:relative;float:left;_overflow:hidden;}.yui-calcontainer iframe{position:absolute;border:none;margin:0;padding:0;z-index:0;width:100%;height:100%;left:0px;top:0px;}.yui-calcontainer iframe.fixedsize{width:50em;height:50em;top:-1px;left:-1px;}.yui-calcontainer.multi .groupcal{z-index:1;float:left;position:relative;}.yui-calcontainer .title{position:relative;z-index:1;}.yui-calcontainer .close-icon{position:absolute;z-index:1;}.yui-calendar{position:relative;}.yui-calendar .calnavleft{position:absolute;z-index:1;}.yui-calendar .calnavright{position:absolute;z-index:1;}.yui-calendar .calheader{position:relative;width:100%;text-align:center;}.yui-calendar .calbody a:hover{background:inherit;}p#clear{clear:left;padding-top:10px;}.yui-skin-sam .yui-calcontainer{background-color:#f2f2f2;border:1px solid #808080;padding:10px;}.yui-skin-sam .yui-calcontainer.multi{padding:0 5px 0 5px;}.yui-skin-sam .yui-calcontainer.multi .groupcal{background-color:transparent;border:none;padding:10px 5px 10px 5px;margin:0;}.yui-skin-sam .yui-calcontainer .title{background:url(sprite.png) repeat-x 0 0;border-bottom:1px solid #cccccc;font:100% sans-serif;color:#000;font-weight:bold;height:auto;padding:.4em;margin:0 -10px 10px -10px;top:0;left:0;text-align:left;}.yui-skin-sam .yui-calcontainer.multi .title{margin:0 -5px 0 -5px;}.yui-skin-sam .yui-calcontainer.withtitle{padding-top:0;}.yui-skin-sam .yui-calcontainer .calclose{background:url(sprite.png) no-repeat 0 -300px;width:25px;height:15px;top:.4em;right:.4em;cursor:pointer;}.yui-skin-sam .yui-calendar{border-spacing:0;border-collapse:collapse;font:100% sans-serif;text-align:center;}.yui-skin-sam .yui-calendar .calhead{background:transparent;border:none;vertical-align:middle;}.yui-skin-sam .yui-calendar .calheader{background:transparent;font-weight:bold;padding:0 0 .6em 0;text-align:center;}.yui-skin-sam .yui-calendar .calheader img{border:none;}.yui-skin-sam .yui-calendar .calnavleft{background:url(sprite.png) no-repeat 0 -450px;width:25px;height:15px;top:0;bottom:0;left:-10px;margin-left:.4em;cursor:pointer;}.yui-skin-sam .yui-calendar .calnavright{background:url(sprite.png) no-repeat 0 -500px;width:25px;height:15px;top:0;bottom:0;right:-10px;margin-right:.4em;cursor:pointer;}.yui-skin-sam .yui-calendar .calweekdayrow{height:2em;}.yui-skin-sam .yui-calendar .calweekdaycell{color:#000;font-weight:bold;text-align:center;width:2em;}.yui-skin-sam .yui-calendar .calfoot{background-color:#f2f2f2;}.yui-skin-sam .yui-calendar .calrowhead,.yui-skin-sam .yui-calendar .calrowfoot{color:#a6a6a6;font-size:85%;font-style:normal;font-weight:normal;}.yui-skin-sam .yui-calendar .calrowhead{text-align:right;padding-right:2px;}.yui-skin-sam .yui-calendar .calrowfoot{text-align:left;padding-left:2px;}.yui-skin-sam .yui-calendar td.calcell{border:1px solid #cccccc;background:#fff;padding:1px;height:1.6em;line-height:1.6em;text-align:center;white-space:nowrap;}.yui-skin-sam .yui-calendar td.calcell a{color:#0066cc;display:block;height:100%;text-decoration:none;}.yui-skin-sam .yui-calendar td.calcell.today{background-color:#000;}.yui-skin-sam .yui-calendar td.calcell.today a{background-color:#fff;}.yui-skin-sam .yui-calendar td.calcell.oom{background-color:#cccccc;color:#a6a6a6;cursor:default;}.yui-skin-sam .yui-calendar td.calcell.selected{background-color:#fff;color:#000;}.yui-skin-sam .yui-calendar td.calcell.selected a{background-color:#b3d4ff;color:#000;}.yui-skin-sam .yui-calendar td.calcell.calcellhover{background-color:#426fd9;color:#fff;cursor:pointer;}.yui-skin-sam .yui-calendar td.calcell.calcellhover a{background-color:#426fd9;color:#fff;}.yui-skin-sam .yui-calendar td.calcell.previous{color:#e0e0e0;}.yui-skin-sam .yui-calendar td.calcell.restricted{text-decoration:line-through;}.yui-skin-sam .yui-calendar td.calcell.highlight1{background-color:#ccff99;}.yui-skin-sam .yui-calendar td.calcell.highlight2{background-color:#99ccff;}.yui-skin-sam .yui-calendar td.calcell.highlight3{background-color:#ffcccc;}.yui-skin-sam .yui-calendar td.calcell.highlight4{background-color:#ccff99;} diff --git a/skins/standard/yui/sprite.png b/skins/standard/yui/sprite.png Binary files differnew file mode 100644 index 000000000..afd65e05a --- /dev/null +++ b/skins/standard/yui/sprite.png |