From f3d5a739a35c0135f997d47f1a89a93af6ef2dd5 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 16 Jan 2014 05:33:17 +0000 Subject: [PATCH] fix CSS for selected and disabled file upload menu entries; update example --- examples/forms/file_selection/js/example.js | 5 ++++- source/Ox.UI/css/theme.css | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/examples/forms/file_selection/js/example.js b/examples/forms/file_selection/js/example.js index 2cde4a9e..9b60426d 100644 --- a/examples/forms/file_selection/js/example.js +++ b/examples/forms/file_selection/js/example.js @@ -121,7 +121,10 @@ Ox.load('UI', function() { }}, {id: 'files', title: 'Select Files...', file: { width: 80 - }} + }}, + {id: 'disabled', title: 'Disabled', file: { + width: 80 + }, disabled: true} ]} ] }) diff --git a/source/Ox.UI/css/theme.css b/source/Ox.UI/css/theme.css index 35815d18..fffc0333 100644 --- a/source/Ox.UI/css/theme.css +++ b/source/Ox.UI/css/theme.css @@ -1102,6 +1102,7 @@ Menus background-color: $menuBorder; } .$themeClass .OxMenu .OxItem.OxSelected, +.$themeClass .OxMenu .OxItem.OxSelected input, .$themeClass .OxMenu .OxScrollbar.OxSelected { background-image: -moz-linear-gradient(top, $menuSelectedGradient); background-image: -ms-linear-gradient(top, $menuSelectedGradient); @@ -1110,7 +1111,8 @@ Menus background-image: linear-gradient(top, $menuSelectedGradient); color: $menuSelectedColor; } -.$themeClass .OxMenu .OxItem.OxDisabled .OxCell { +.$themeClass .OxMenu .OxItem.OxDisabled .OxCell, +.$themeClass .OxMenu .OxItem.OxDisabled .OxCell input { color: $menuDisabledColor; }