X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Feditor%2FEditorDialog.css;h=56b1baea6c5a35266a6829f3888035ee25c4f5d9;hp=72b5f912eec40b2e2273e89042e5e8ad46428abf;hb=5322a3926cec042a2cd02135c9049996bfbb1e29;hpb=edb23828c6aa847f6b4617ef96135d08d5abe22c diff --git a/LCARStrek/editor/EditorDialog.css b/LCARStrek/editor/EditorDialog.css index 72b5f912..56b1baea 100644 --- a/LCARStrek/editor/EditorDialog.css +++ b/LCARStrek/editor/EditorDialog.css @@ -38,18 +38,6 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -/* - THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR - CHANGES REVIEWED BY cmanske@netscape.com. -*/ - -/* The defaults are WAY to big! */ -groupbox { - margin: 2px 5px /* 4px 5px */; - padding-top: 2px; - padding-bottom: 4px; -} - .MinWidth5em { min-width: 5em; } @@ -90,14 +78,6 @@ groupbox { font-weight: bold; } -/* Use this with groove-thin in dialogs - to add margins to top and bottom -*/ -.tb-margin { - margin-top: 6px; - margin-bottom: 6px; -} - .color-well { width: 20px; height: 12px; @@ -115,10 +95,6 @@ groupbox { margin: 2px; } -.menu-list[focused="true"] { - color: white; -} - #ColorPicker { -moz-user-focus: normal; } @@ -127,7 +103,8 @@ groupbox { border: 2px outset #9C9CFF; width: 25px; height: 20px; - margin: 0px 3px 0px 0px; + margin: 0; + -moz-margin-end: 3px; } #ColorPickerSwatch[default="true"] { @@ -139,45 +116,21 @@ groupbox { width: 17px; height: 13px; border: 1px inset #9C9CFF; - margin: 1px 2px 2px 4px; -} - -/* temporary -- we need a simple box-based list defined in XBL */ -tree.list { - border: 1px inset #9C9CFF; - /* same as in menulist.css */ - margin: 1px 5px 2px 5px; - /* use rows="#" in XUL to define height */ + margin-top: 1px; + margin-bottom: 2px; + -moz-margin-start: 4px; + -moz-margin-end: 2px; } #ColorPreview { border: 1px inset #9C9CFF; - margin-left: 10px; - padding-left: 5px; - padding-right: 5px; + -moz-margin-start: 10px; + -moz-padding-start: 5px; + -moz-padding-end: 5px; min-width: 100px; min-height: 50px; } -/* These two should be the width of the checkbox and radio button images + margin + padding - Used to indent below those to the level of the text label next to image -*/ - -.checkbox-spacer { - width: 16px; - min-width: 16px; -} - -.radio-spacer { - width: 16px; - min-width: 16px; -} - -#alignTypeSelect, -label#alignLabel { - margin-left: 5px; -} - /* ::::: table properties dialog ::::: */ #MoreFewerButton[more="0"] { @@ -208,10 +161,6 @@ label#alignLabel { /* ::::: spelling dialog ::::: */ -#MisspelledWord { - font-weight: bold; -} - #ReplaceWordInput { min-width: 16em; width: 16em; @@ -227,7 +176,7 @@ label#alignLabel { .colorpicker { border: 1px outset #9C9CFF; /* This should be the same as for textbox */ - margin-left: 4px; + -moz-margin-start: 4px; /* For a little extra space between buttons */ margin-bottom: 2px; } @@ -257,28 +206,43 @@ label#alignLabel { min-height: 10px; } -#alignTypeSelect { - height: 34px; +/* These two should be the width of the checkbox and radio button images + margin + padding + Used to indent below those to the level of the text label next to image +*/ + +.checkbox-spacer { + width: 16px; + min-width: 16px; +} + +.radio-spacer { + width: 16px; + min-width: 16px; +} + +.align-menu > .menu-iconic-left > .menu-iconic-icon { + height: auto; + width: auto; } .align-menu[value="top"] { - list-style-image:url("chrome://editor/skin/icons/img-align-top.gif"); + list-style-image:url("chrome://editor/skin/icons/img-align-top.gif") !important; } .align-menu[value="center"] { - list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif"); + list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif") !important; } .align-menu[value="bottom"] { - list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif"); + list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif") !important; } .align-menu[value="right"] { - list-style-image:url("chrome://editor/skin/icons/img-align-right.gif"); + list-style-image:url("chrome://editor/skin/icons/img-align-right.gif") !important; } .align-menu[value="left"] { - list-style-image:url("chrome://editor/skin/icons/img-align-left.gif"); + list-style-image:url("chrome://editor/skin/icons/img-align-left.gif") !important; } /* Don't change width/height of these without changing values in @@ -292,8 +256,8 @@ label#alignLabel { height: 52px; max-height: 52px; min-height: 52px; - margin: 6px 5px 6px 5px; - overflow: hidden; + margin: 6px 5px; + overflow: -moz-hidden-unscrollable; } #preview-image-holder { @@ -320,11 +284,7 @@ tree.AttributesTree { /* ::::: select edit dialog ::::: */ -#SelectTreeChildren:-moz-tree-cell(SelectSelCol, checked-false) { - background: url("chrome://global/skin/checkbox/cbox.gif") 50% 50% no-repeat; -} - -#SelectTreeChildren:-moz-tree-cell(SelectSelCol, checked-true) { +#SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-true) { background: url("chrome://global/skin/checkbox/cbox-check.gif") 50% 50% no-repeat; }