diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2009-08-27 16:29:29 +0200 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2009-08-27 16:29:29 +0200 |
commit | 73a509d7d13eff2dd8e38b2d2c9d981f4b9c825e (patch) | |
tree | b38ac7663cdf82cbef9e9b156c1f39c1e1e2eefd /lib | |
parent | 977306d576aae8a0c69e7d6efe5716ced2b55dcf (diff) | |
download | rpg-73a509d7d13eff2dd8e38b2d2c9d981f4b9c825e.tar.gz rpg-73a509d7d13eff2dd8e38b2d2c9d981f4b9c825e.tar.bz2 |
added class for headline picker
Ignore-this: 6aee01f1e872490512480ff8cac566be
darcs-hash:20090827142929-6e07b-2aba4d2ac75c870f0c6e4ec903ec3c9ce5863842.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/scripts/edit.js | 5 | ||||
-rw-r--r-- | lib/tpl/default/design.css | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lib/scripts/edit.js b/lib/scripts/edit.js index 215e647b5..acf612217 100644 --- a/lib/scripts/edit.js +++ b/lib/scripts/edit.js @@ -61,7 +61,10 @@ function createPicker(id,props,edid){ // create the wrapping div var picker = document.createElement('div'); - picker.className = 'picker '+props['class']; + picker.className = 'picker'; + if(props['class']){ + picker.className += ' '+props['class']; + } picker.id = id; picker.style.position = 'absolute'; picker.style.display = 'none'; diff --git a/lib/tpl/default/design.css b/lib/tpl/default/design.css index c3591fc67..b7c18baf8 100644 --- a/lib/tpl/default/design.css +++ b/lib/tpl/default/design.css @@ -797,6 +797,10 @@ div.picker { background-color: __background_alt__; } +div.pk_hl { + width: 125px; +} + button.pickerbutton { padding: 0px; margin: 0 1px 1px 0; |