From dbfe2a00c63b7cc09f03e389fa2ec0589eabc186 Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Wed, 13 Jun 2001 14:35:35 +0000 Subject: [PATCH] Dialog CSS changes for Advanced Edit dialog (b=71743, r=brade, sr=kin) and Composer colorpicker (b=64160, r=kin, sr=hewitt), a=asa-drivers git-svn-id: svn://10.0.0.236/trunk@97062 18797224-902f-48f8-a5cc-f745e15eee43 --- .../themes/classic/editor/EditorDialog.css | 31 +++++-------------- .../classic/editor/mac/EditorDialog.css | 31 +++++-------------- .../classic/editor/win/EditorDialog.css | 31 +++++-------------- mozilla/themes/modern/editor/EditorDialog.css | 17 +++++----- 4 files changed, 32 insertions(+), 78 deletions(-) diff --git a/mozilla/themes/classic/editor/EditorDialog.css b/mozilla/themes/classic/editor/EditorDialog.css index e2701000fdd..b9ddf852547 100644 --- a/mozilla/themes/classic/editor/EditorDialog.css +++ b/mozilla/themes/classic/editor/EditorDialog.css @@ -78,6 +78,10 @@ titledbox { width: 1em; } +.menuitem-highlight-1 { + font-weight : bold; +} + /* Use this with groove-thin in dialogs to add margins to top and bottom */ @@ -110,6 +114,10 @@ button.color-button { color: white; } +#ColorPicker { + -moz-user-focus: normal; +} + #ColorPickerSwatch { border : 2px outset #CCCCCC; width: 25px; @@ -292,26 +300,3 @@ tree.AttributesTree { min-width : 200px; min-height: 200px; } - -tree.AttributesTree > treechildren > treeitem > treerow > treecell.value { - padding : 0px 0px 0px 2px; - margin-left : 0px; -} - -/* Selection color for "name" column */ -treeitem.ae-selection[selected="true"] > treerow { - color : inherit; - background-color : #DDDDDD; -} - -.AttributesCell { - border: none; - width: 100%; - background-color: #FFFFFF; - font-weight: normal; - border: none; - outline: none; - margin: 0px; - width: 100%; -} - diff --git a/mozilla/themes/classic/editor/mac/EditorDialog.css b/mozilla/themes/classic/editor/mac/EditorDialog.css index 1b546ba4a2e..232f21e681a 100644 --- a/mozilla/themes/classic/editor/mac/EditorDialog.css +++ b/mozilla/themes/classic/editor/mac/EditorDialog.css @@ -78,6 +78,10 @@ titledbox { width: 1em; } +.menuitem-highlight-1 { + font-weight : bold; +} + /* Use this with groove-thin in dialogs to add margins to top and bottom */ @@ -110,6 +114,10 @@ button.color-button { color: white; } +#ColorPicker { + -moz-user-focus: normal; +} + #ColorPickerSwatch { border : 2px outset #CCCCCC; width: 25px; @@ -296,29 +304,6 @@ tree.AttributesTree { min-height: 200px; } -tree.AttributesTree > treechildren > treeitem > treerow > treecell.value { - padding : 0px 0px 0px 2px; - margin-left : 0px; -} - -/* Selection color for "name" column */ -treeitem.ae-selection[selected="true"] > treerow { - color : inherit; - background-color : #DDDDDD; -} - -.AttributesCell { - border: none; - width: 100%; - background-color: #FFFFFF; - font-weight: normal; - border: none; - -moz-outline: none; - margin: 0px; - width: 100%; -} - - /* Why is default padding so strict! */ .treecell-header { padding : 1px 1px 1px 4px; diff --git a/mozilla/themes/classic/editor/win/EditorDialog.css b/mozilla/themes/classic/editor/win/EditorDialog.css index 630d546c173..c302c824da3 100644 --- a/mozilla/themes/classic/editor/win/EditorDialog.css +++ b/mozilla/themes/classic/editor/win/EditorDialog.css @@ -78,6 +78,10 @@ titledbox { width: 1em; } +.menuitem-highlight-1 { + font-weight : bold; +} + /* Use this with groove-thin in dialogs to add margins to top and bottom */ @@ -110,6 +114,10 @@ button.color-button { color: white; } +#ColorPicker { + -moz-user-focus: normal; +} + #ColorPickerSwatch { border : 2px outset #CCCCCC; width: 25px; @@ -295,26 +303,3 @@ tree.AttributesTree { min-width : 200px; min-height: 200px; } - -tree.AttributesTree > treechildren > treeitem > treerow > treecell.value { - padding : 0px 0px 0px 2px; - margin-left : 0px; -} - -/* Selection color for "name" column */ -treeitem.ae-selection[selected="true"] > treerow { - color : inherit; - background-color : #DDDDDD; -} - -.AttributesCell { - border: none; - width: 100%; - background-color: #FFFFFF; - font-weight: normal; - border: none; - -moz-outline: none; - margin: 0px; - width: 100%; -} - diff --git a/mozilla/themes/modern/editor/EditorDialog.css b/mozilla/themes/modern/editor/EditorDialog.css index 50a7589098f..a2d506534d2 100644 --- a/mozilla/themes/modern/editor/EditorDialog.css +++ b/mozilla/themes/modern/editor/EditorDialog.css @@ -77,6 +77,10 @@ width: 1em; } +.menuitem-highlight-1 { + font-weight: bold; +} + /* ::::: common buttons ::::: */ #MoreFewerButton[more="0"] { @@ -186,6 +190,10 @@ button.color-button { /* ::::: color picker dialog ::::: */ +#ColorPicker { + -moz-user-focus: normal; +} + #ColorPickerSwatch { margin: 0px 3px 0px 0px; border: 2px outset #B4C3D4; @@ -258,15 +266,6 @@ button.color-button { min-height: 200px; } -.AttributesTree > treechildren > treeitem > treerow > treecell.value { - padding: 0px 0px 0px 2px; -} - -treeitem.ae-selection[selected="true"] > treerow { - background-color: #D0E7E7; - color: inherit; -} - /* ::::: Editor pref panels ::::: */ #ColorPreview {