From 0c7f928db227e5dcf900830c3cf317205c2acd33 Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 5 Jan 2004 15:02:12 +0000 Subject: [PATCH 1/1] some small design improvements for focus and hover; prepare for 1.6 release --- LCARStrek/contents.rdf | 44 +++++++++++++++++------------------ LCARStrek/global/button.css | 4 ++-- LCARStrek/global/checkbox.css | 7 +++++- LCARStrek/global/radio.css | 9 +++++-- LCARStrek/global/textbox.css | 10 ++++---- LCARStrek/global/tree.css | 20 +++++++--------- 6 files changed, 51 insertions(+), 43 deletions(-) diff --git a/LCARStrek/contents.rdf b/LCARStrek/contents.rdf index cb3e4b2f..4e3c61ca 100644 --- a/LCARStrek/contents.rdf +++ b/LCARStrek/contents.rdf @@ -5,42 +5,42 @@ - + - - - - - - - - - - - + + + + + + + + + + - - - - - + + + + + - - - + + + diff --git a/LCARStrek/global/button.css b/LCARStrek/global/button.css index a5f42446..3e364c65 100644 --- a/LCARStrek/global/button.css +++ b/LCARStrek/global/button.css @@ -55,7 +55,7 @@ button { .button-box { -moz-border-radius: 3px; -/* border: 1px solid transparent; */ + border: 1px solid transparent; padding: 1px 4px 2px 3px; } @@ -71,7 +71,7 @@ button:focus { } button:focus > .button-box { -/* border: 1px dotted #FF9F00; */ + border: 1px dotted #008484; } /* .......... default state .......... */ diff --git a/LCARStrek/global/checkbox.css b/LCARStrek/global/checkbox.css index 3002ae12..6ef631fc 100644 --- a/LCARStrek/global/checkbox.css +++ b/LCARStrek/global/checkbox.css @@ -63,7 +63,7 @@ checkbox { /* ..... focused state ..... */ checkbox:focus > .checkbox-label-box { - border: 1px dotted #FF9F00; + border: 1px dotted #008484; } /* ..... disabled state ..... */ @@ -92,6 +92,11 @@ checkbox:hover:active > .checkbox-check { border: 1px solid #FFCF00; } +checkbox:hover > .checkbox-label-box, +checkbox:hover:active > .checkbox-label-box { + color: #FFCF00; +} + /* ..... checked state ..... */ checkbox[checked="true"] > .checkbox-check { diff --git a/LCARStrek/global/radio.css b/LCARStrek/global/radio.css index 9352a05b..395fbcdb 100644 --- a/LCARStrek/global/radio.css +++ b/LCARStrek/global/radio.css @@ -65,8 +65,8 @@ radio { /* ..... focused state ..... */ -radio[focused="true"] > .radio-label-box { - border: 1px dotted #FF9F00; +radio[focused="true"] > .radio-label-box { + border: 1px dotted #008484; } /* ..... disabled state ..... */ @@ -101,6 +101,11 @@ radio:hover:active > .radio-check-box1 { border: 1px solid #FFCF00; } +radio:hover > .radio-label-box, +radio:hover:active > .radio-label-box { + color: #FFCF00; +} + radio[disabled="true"] > .radio-check-box1 { border: 1px solid #8050B0 !important; } diff --git a/LCARStrek/global/textbox.css b/LCARStrek/global/textbox.css index 30948ac2..115c7b1a 100644 --- a/LCARStrek/global/textbox.css +++ b/LCARStrek/global/textbox.css @@ -94,10 +94,10 @@ textbox[disabled="true"] { /* ..... focused state ..... */ textbox[focused="true"] { - -moz-border-top-colors: #FFCF00 #FFCF00; - -moz-border-right-colors: #FFCF00 #FFCF00; - -moz-border-bottom-colors: #FFCF00 #FFCF00; - -moz-border-left-colors: #FFCF00 #FFCF00; + -moz-border-top-colors: #008484 #008484; + -moz-border-right-colors: #008484 #008484; + -moz-border-bottom-colors: #008484 #008484; + -moz-border-left-colors: #008484 #008484; margin: 1px 3px; } @@ -115,4 +115,4 @@ textbox.plain { margin: 0px !important; border: none !important; min-height: 0px; -} \ No newline at end of file +} diff --git a/LCARStrek/global/tree.css b/LCARStrek/global/tree.css index b7d6f427..6c43d0f8 100644 --- a/LCARStrek/global/tree.css +++ b/LCARStrek/global/tree.css @@ -109,37 +109,35 @@ treechildren::-moz-tree-cell-text { } tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary) { - border: 2px solid transparent; + border: 1px solid transparent; padding: 0px 1px 1px 1px; } -/* treechildren::-moz-tree-cell-text(selected) { - color: #FFFFFF; + color: #FFCF00; } tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected) { - background-color: #808080; - color: #FFFFFF; + background-color: #008484; + color: #FFCF00; } treechildren::-moz-tree-cell-text(selected, focus) { - color: #FFFFFF; + color: #FFCF00; } tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected, focus) { - background-color: #336699; - color: #FFFFFF; + background-color: #008484; + color: #FFCF00; } tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, current, focus) { - border: 1px dotted #9999CC; + border: 1px dotted #FF9F00; } tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected, current, focus) { - border: 1px dotted #666699; + border: 1px dotted #FF9F00; } -*/ /* ::::: lines connecting cells ::::: */ -- 2.35.3