From f70501ae1b3f3d2730f226ae90f289a20e8caf3b Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 30 Nov 2011 15:51:29 +0100 Subject: [PATCH] update Ox.UI css --- source/Ox.UI/css/Ox.UI.css | 52 +++++++++++++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/source/Ox.UI/css/Ox.UI.css b/source/Ox.UI/css/Ox.UI.css index aa0e7ce3..5cfa940c 100644 --- a/source/Ox.UI/css/Ox.UI.css +++ b/source/Ox.UI/css/Ox.UI.css @@ -709,22 +709,31 @@ input.OxCheckbox { border-style: solid; border-radius: 8px; } -.OxCheckboxGroup > div.OxCheckbox { +.OxCheckboxGroup.OxGroup > div.OxCheckbox { float: left; } -.OxCheckboxGroup > div.OxCheckbox { +.OxCheckboxGroup.OxGroup > div.OxCheckbox { //padding-right: 16px; margin-right: -16px; } -.OxCheckboxGroup > div.OxCheckbox:last-child { +.OxCheckboxGroup.OxGroup > div.OxCheckbox:last-child { //padding-right: 0; margin-right: 0; } +.OxCheckboxGroup.OxList > div.OxCheckbox { + margin-bottom: 8px; +} +.OxCheckboxGroup.OxList > div.OxCheckbox:last-child { + margin-bottom: 0; +} /* -------------------------------------------------------------------------------- OxForm -------------------------------------------------------------------------------- */ +.OxFormDescription { + margin-bottom: 8px; +} .OxFormItem { margin-top: 8px; } @@ -816,6 +825,23 @@ OxLabel overflow: hidden; white-space: nowrap; } +.OxLabel.OxSquare { + padding: 0 2px 0 2px; + border-radius: 0; +} + +/* +-------------------------------------------------------------------------------- +OxObjectInput +-------------------------------------------------------------------------------- +*/ +.OxObjectInput > div { + margin-bottom: 8px; +} +.OxObjectInput > div:last-child { + margin-bottom: 0; +} + /* -------------------------------------------------------------------------------- OxPicker @@ -909,9 +935,12 @@ OxSelect border-style: solid; border-radius: 8px; } -.OxSelect.OxSelected { +.OxSelect.OxRounded.OxSelected { border-radius: 8px 8px 0 0; } +.OxSelect.OxSquare { + border-radius: 0; +} .OxSelect > .OxTitle { float: left; height: 14px; @@ -992,6 +1021,21 @@ OxSelect margin-right: -18px; } +/* +-------------------------------------------------------------------------------- +OxSpreadsheet +-------------------------------------------------------------------------------- +*/ + +.OxSpreadsheet { + border-width: 1px; + border-style: solid; + border-color: rgb(192, 192, 192); +} +.OxSpreadsheet > * { + float: left; +} + /* ================================================================================ Images