From 26a52ec55b9899ef2f798aab6a5d2b6d02ddedc8 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Wed, 5 Nov 2008 19:01:37 +0100 Subject: [PATCH] slight improvements to addons and account manager looks, make numberboxes look useable --- LCARStrek/global/numberbox.css | 24 ++++++++++++++++++++- LCARStrek/global/spinbuttons.css | 7 ++++-- LCARStrek/global/textbox.css | 1 - LCARStrek/messenger/accountManage.css | 4 ++++ LCARStrek/mozapps/extensions/extensions.css | 3 ++- 5 files changed, 34 insertions(+), 5 deletions(-) diff --git a/LCARStrek/global/numberbox.css b/LCARStrek/global/numberbox.css index 8da51705..76cf4bc4 100644 --- a/LCARStrek/global/numberbox.css +++ b/LCARStrek/global/numberbox.css @@ -52,11 +52,33 @@ html|*.numberbox-input { } .numberbox-input-box { + -moz-border-radius: 3px 0px 0px 3px; -moz-box-align: center; cursor: text; - margin-right: -1px; border: 1px solid #9C9CFF; + border-right-width: 0px; padding: 1px; background-color: #000000; color: #E7ADE7; } + +textbox[type="number"] > spinbuttons { + -moz-border-radius: 0px 3px 3px 0px; + border: 1px solid #9C9CFF; + border-left-width: 0px; +} + + +textbox[type="number"][focused="true"] > .numberbox-input-box, +textbox[type="number"][focused="true"] > spinbuttons { + border-color: #008484; +} + +textbox[type="number"][readonly="true"] > .numberbox-input-box, +textbox[type="number"][readonly="true"] > spinbuttons, +textbox[type="number"][readonly="true"][focused="true"] > .numberbox-input-box, +textbox[type="number"][readonly="true"][focused="true"] > spinbuttons, +textbox[type="number"][disabled="true"] > .numberbox-input-box, +textbox[type="number"][disabled="true"] > spinbuttons { + border-color: #8050B0; +} diff --git a/LCARStrek/global/spinbuttons.css b/LCARStrek/global/spinbuttons.css index 9dde5973..3c67a57e 100644 --- a/LCARStrek/global/spinbuttons.css +++ b/LCARStrek/global/spinbuttons.css @@ -44,8 +44,8 @@ spinbuttons { .spinbuttons-button { -moz-border-radius: 3px; - min-width: 3px; - min-height: 3px; + min-width: 9px; + min-height: 9px; margin: 0 !important; border: none; background-color: #000000; @@ -62,6 +62,7 @@ spinbuttons { padding: 0 !important; } +.spinbuttons-button:hover, .spinbuttons-button:hover:active { background-color: #FFCF00; } @@ -76,6 +77,7 @@ spinbuttons { background-repeat: no-repeat; } +.spinbuttons-up:hover, .spinbuttons-up:hover:active { background-image: url("chrome://global/skin/arrow/arrow-up-hover.gif"); } @@ -90,6 +92,7 @@ spinbuttons { background-repeat: no-repeat; } +.spinbuttons-down:hover, .spinbuttons-down:hover:active { background-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); } diff --git a/LCARStrek/global/textbox.css b/LCARStrek/global/textbox.css index 496cfd0e..bbbb2442 100644 --- a/LCARStrek/global/textbox.css +++ b/LCARStrek/global/textbox.css @@ -88,7 +88,6 @@ textbox[disabled="true"] { border: 1px solid #8050B0; cursor: default; color: #8050B0; - border: 1px solid #666699; } /* ..... focused state ..... */ diff --git a/LCARStrek/messenger/accountManage.css b/LCARStrek/messenger/accountManage.css index d5d99f93..a81ec707 100644 --- a/LCARStrek/messenger/accountManage.css +++ b/LCARStrek/messenger/accountManage.css @@ -66,6 +66,10 @@ treechildren::-moz-tree-cell-text(isDefaultServer-true) { font-weight: bold; } +#contentFrame { + -moz-margin-start: 2px; +} + /* ::::: SMTP Server Panel :::::: */ .smtpServerListItem { diff --git a/LCARStrek/mozapps/extensions/extensions.css b/LCARStrek/mozapps/extensions/extensions.css index 21b196eb..e58f9800 100644 --- a/LCARStrek/mozapps/extensions/extensions.css +++ b/LCARStrek/mozapps/extensions/extensions.css @@ -4,6 +4,7 @@ } #extensionsView { + -moz-appearance: none; -moz-border-radius: 3px; border: 1px solid #9C9CFF; margin: 0; @@ -348,7 +349,7 @@ vbox[typeName="status"][type="header-recommended"] { .viewSelector { border-bottom: 1px solid #9C9CFF; margin: 0px; - margin-bottom: 3px; + padding-bottom: 3px; -moz-padding-start: 10px; background-color: #000000; color: #FF9F00; -- 2.43.0