From 7d4f93f0fde0c6e63c79c5ea23bf1a30f4dc6ac4 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 03:56:59 +0000 Subject: [PATCH] MINOR Fixed DatetimeField display in cms MINOR Removed obsolete .calendardate styles from cms_right.css (from r107442) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112609 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- css/cms_right.css | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/css/cms_right.css b/css/cms_right.css index 3ba0d7b9..b9a18b26 100644 --- a/css/cms_right.css +++ b/css/cms_right.css @@ -29,9 +29,7 @@ .right form .text, .right form .field span.readonly, .right form .field span.readonly i, - .right form div.TableListField table i, - .right form .calendardate input, - .right form .dropdowntime input { + .right form div.TableListField table i { font-size: 12px; } .right form .field span.readonly { @@ -90,12 +88,16 @@ .right form .countrydropdown select option { font-size: 12px; } + .right form .field .middleColumn { display: block; background: #e9e9e9; padding: 3px; width: 97%; } + .right form .field .middleColumn .middleColumn { + padding: 0; + } .right form .field.image .middleColumn, .right form .field.simpleimagefield_disabled .middleColumn { padding-bottom:0; @@ -126,6 +128,22 @@ width: 96%; } +.right form .datetime .date, +.right form .datetime .time { + float: left; + clear: none; + width: auto; +} + + .right form .datetime .middleColumn { + width: auto; + } + + .right form .datetime .date input, + .right form .datetime .time input{ + width: auto; + } + .right form textarea, .right form input.text, .right form textarea.htmleditor {