X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fradio.css;h=95e35a56fae21620a72170761f75a60d4c69a8ed;hp=409532b5b4215532d89ce69a8492be4aff1d88e8;hb=b1eaa41997928ca662ce1158215dc02e5b203eb0;hpb=d81fcf5942d62a6330422fed14d3f5116a17276a diff --git a/LCARStrek/global/radio.css b/LCARStrek/global/radio.css index 409532b5..95e35a56 100644 --- a/LCARStrek/global/radio.css +++ b/LCARStrek/global/radio.css @@ -37,99 +37,80 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -/* stylesheet for XUL element */ - -/* default radio for dialogs */ -/* outer frame */ - radio - { - margin : 3px 5px 3px 5px; - } - - .radio-checkmark-box-1 - { - border : 1px solid #FF9F00; - -moz-border-radius : 50%; - margin : 0px 2px 0px 0px; - padding : 1px; - width : 10px; - height : 10px; - } - - .radio-checkmark-box-1[disabled="true"] - { - background-color : -moz-Dialog; - } - - .radio-checkmark-box-2 - { - -moz-border-radius : 50%; - padding : 1px; - width : 8px; - height : 8px; - min-width : 8px; - min-height : 8px; - } - - /* ensure that no list-style-image is inherited in from the Outside */ - .radio-check - { - list-style-image : none; - } - - .radio-check[selected="true"] - { - list-style-image : url(chrome://global/skin/check-radio.gif); - } - - .radio-check[selected="true"][disabled="true"] - { - list-style-image : url(chrome://global/skin/check-radio-disabled.gif); - } - - radio:hover > .radio-internal-box > .radio-checkmark-box-1 - { - border: 1px solid #FFCF00; - } - - radio[disabled="true"] > .radio-internal-box > .radio-checkmark-box-1, - radio[disabled="true"]:hover > .radio-internal-box > .radio-checkmark-box-1 - { - border: 1px solid #8050B0; - } - -/* text/icon frames */ - .radio-text - { - margin : 0px 0px 0px 2px; - } - - .radio-icon - { - list-style-image : inherit; - } - - .radio-text - { - margin : 0px !important; - } - - .radio-text[disabled="true"] - { - color : #8050B0; - } - - radio[focused="true"] > .radio-internal-box > .radio-text-container - { - border : 1px dotted #FF9F00; - } - - .radio-text-container - { - border : 1px solid transparent; - } +/* ===== radio.css =================================================== + == Styles used by the XUL radio element. + ======================================================================= */ + +/* ::::: radio ::::: */ + +radio { + -moz-box-align: center; + margin: 2px 4px; + padding: 1px 2px 1px 4px; +} + +.radio-label-box { + margin-left: 2px; + border: 1px solid transparent; + padding: 0px 0px 1px 1px; +} + +.radio-icon { + margin-right: 2px; +} + +.radio-label { + margin: 0px !important; +} + +/* ..... focused state ..... */ + +radio[focused="true"] > .radio-label-box { + border: 1px dotted #FF9F00; +} + +/* ..... disabled state ..... */ + +radio[disabled="true"] { + color: #8050B0; +} + +/* ::::: checkmark image ::::: */ + +.radio-check-box1 { +/* -moz-box-align: center; + -moz-box-pack: center; */ + margin: 1px 0px; + border: 1px solid #FF9F00; + -moz-border-radius: 50%; + width: 10px; + height: 10px; + background-color: transparent; +} + +.radio-check-box2 { + -moz-border-radius: 50%; + padding: 1px; + width: 8px; + height: 8px; + list-style-image: none; +} + +radio:hover > .radio-check-box1, +radio:hover:active > .radio-check-box1 { + border: 1px solid #FFCF00; +} + +radio[disabled="true"] > .radio-check-box1 { + border: 1px solid #8050B0 !important; +} + +/* ..... selected state ..... */ + +radio[selected="true"] > .radio-check-box1 > .radio-check-box2 { + list-style-image: url("chrome://global/skin/radio/radio-check.gif"); +} - .radio-internal-box - { - -moz-user-focus : ignore; - } +radio[selected="true"][disabled="true"] > .radio-check-box2 { + list-style-image: url("chrome://global/skin/radio/radio-check-disabled.gif") !important +}