From a67d7bb0a8ce3ce69e07db80ceb3fe527f2972cc Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sat, 15 Jan 2011 02:15:21 +0100 Subject: [PATCH] improve tabbrowser button and add-on manager displays in both themes, make LCARStrek icon nicer --- EarlyBlue/global/tabbox.css | 2 +- EarlyBlue/mozapps/extensions/extensions.css | 36 ++++++++++++-------- EarlyBlue/navigator/tabbrowser.css | 19 ++++++++--- LCARStrek/icon.png | Bin 2120 -> 949 bytes LCARStrek/mozapps/extensions/extensions.css | 27 ++++++++++----- LCARStrek/navigator/tabbrowser.css | 5 ++- 6 files changed, 59 insertions(+), 30 deletions(-) diff --git a/EarlyBlue/global/tabbox.css b/EarlyBlue/global/tabbox.css index 8017a7d8..beb16e98 100644 --- a/EarlyBlue/global/tabbox.css +++ b/EarlyBlue/global/tabbox.css @@ -65,7 +65,7 @@ tabpanels { /* ::::: tab ::::: */ tab { - margin-top: 2px; + margin-top: 1px; border: 1px outset #CCD0DD; border-bottom: none; padding: 1px 4px 2px; diff --git a/EarlyBlue/mozapps/extensions/extensions.css b/EarlyBlue/mozapps/extensions/extensions.css index 6d86711c..3e3230ff 100644 --- a/EarlyBlue/mozapps/extensions/extensions.css +++ b/EarlyBlue/mozapps/extensions/extensions.css @@ -78,7 +78,7 @@ } /*** global warnings ***/ - + .global-warning-container { overflow-x: hidden; } @@ -96,7 +96,7 @@ #detail-view .global-warning { padding: 4px 12px; - border-bottom: 1px solid #9999CC; + border-bottom: 1px solid #9999CC; } @media all and (max-width: 600px) { @@ -170,10 +170,10 @@ .alert { -moz-box-align: center; padding: 10px; - color: #FF9F00; - border: 1px solid #9C9CFF; + color: #000000; + border: 1px inset #CCD0DD; border-radius: 8px; - background-color: #000000; + background-color: #CCD0DD; } .alert .alert-title { @@ -206,7 +206,7 @@ .category { background-color: transparent; - color: #FF9F00; + color: #404040; min-height: 0; padding: 10px 4px; border-width: 1px; @@ -342,10 +342,10 @@ .sorter { -moz-appearance: none; - border: none; + border: 1px solid transparent; background-color: transparent; color: #000000; - padding: 0 6px; + padding: 0 5px; margin: 0 6px; min-width: 12px !important; -moz-box-direction: reverse; @@ -356,9 +356,15 @@ padding-bottom: 0; } +.sorter:hover { + border: 1px outset #666699; +} + .sorter[checkState="1"], .sorter[checkState="2"] { background-color: #666699; + color: #FFFFFF; + border: 1px inset #666699; } .sorter[checkState="1"] { @@ -524,11 +530,7 @@ } .addon-view[notification="warning"] { - background-color : #FFFFCC; -} - -richlistbox:focus > .addon-view[notification="warning"][selected="true"] { - color: #336699; + background-color: #FFFFCC; } .addon-view[notification="error"] { @@ -558,11 +560,15 @@ richlistbox:focus > .addon-view[notification="warning"][selected="true"] { .addon[selected] { background-color: #336699; - color: #000000; + color: #FFFFFF; } .addon[selected] .name-container { - /* text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7); */ + color: #FFFFFF; +} + +.addon[active="false"][selected] { + color: #000000; } .addon[active="false"][selected] .name-container { diff --git a/EarlyBlue/navigator/tabbrowser.css b/EarlyBlue/navigator/tabbrowser.css index 38949c8e..af0e3267 100644 --- a/EarlyBlue/navigator/tabbrowser.css +++ b/EarlyBlue/navigator/tabbrowser.css @@ -38,7 +38,7 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); .tabbrowser-strip { - padding-bottom: 1px; + padding-bottom: 0px; border-bottom: 1px solid #666699; } @@ -97,10 +97,12 @@ tabbrowser > tabbox > tabpanels { .scrollbutton-up, .scrollbutton-down { + margin-top: 1px; + margin-bottom: 0; } .tabs-alltabs-button { - margin: 2px 0px 1px; + margin-top: 1px; } /* All tabs menupopup */ @@ -119,9 +121,18 @@ tabbrowser > tabbox > tabpanels { /* ::::: close & new tab buttons ::::: */ +.tabs-closebutton-box { + -moz-box-direction: reverse; +} + +.tabs-closebutton-box > hbox { + -moz-box-orient: vertical; +} + .tabs-closebutton { - margin-bottom: 2px; - -moz-margin-end: 2px; + margin-top: 1px; + padding: 0 3px; + -moz-box-flex: 1; list-style-image: url("chrome://global/skin/icons/close-button.gif"); } diff --git a/LCARStrek/icon.png b/LCARStrek/icon.png index 5289d346235fdf938afe1c1e8f6405e7b8c961ea..837906d5ae726cbe9ede9af46757c33b02470840 100644 GIT binary patch delta 900 zcmV-~1AF|)5VZ%8Bpd;AQb$4nuFf3k00006VoOIv0RI600RN!9r<0K(9)H>k4-XM9 zqn7R30009uNkl3_T((a_c=@xC$A46;q611`Hsl5maiWNMx(1Shd zE#AzbU=M;7JhV4^)1w}QcvMiRP(i^%qV~swDXUc5ZE4!n26tnAJ`XF=nC>>&tOJ3C znSAriJ2T(+4ugqC%fWuo_kXLfsl%WjD)z(}grjq8F!mAuyHVUbP0L)N7^vj8%oSQW z5w12Kt7`K1Ju}F!-7p^Hn_`2~9m@geL&p{5HXl|rxW#*p`M=CpGSpVlHYge;Fba4oi~E~jvD~*EhORj-RsyrrN6?$jt{H7VM_prz~R`^f`9FG%6NNuj7?6? zA-OmKyD00cuxtsNl8#)_*?v_B~6 zTNk2+|5fv&wFA`cX{*Sbin3d`QYBaDV&aYAHsq2cH386aupc(!P&ttBA1rrPm^a*p z$8eihAfF5%qjF?K8GqYH4oi}S z>>yraDsGc>_rKUg(>}l$px{xFZ(KP%S2*<*%C)NI0h-bZ(tn=#p#b#;Tae$c0YDLD ztU9Da0am^GW9m92^8njtR*(vooN#&>xJs{jqx53nX0hg_2m~%6YcEY!Hm6jHGp-Dv(EPx#Kf5~uK`2$AsdLVr|$Th16#pcZ|Xn^j!sYSqfFz*RIgUtP1N7W@s-xA_S69{tBjw%!MU zs}Q=TDt#4I1pojnv=#yRrVa*3dcclFn16M)s+gvq=ehj}IFiH2GX>;`Lk`Wc3ky=U av3>z>FFmB?god^N0000!X_7vYkd`)0QqhMfs#+0R38~_z^ruC@4?p~X#3zV9g!CY3;aq_!0Y#AM?E9nLBeI=NvvfeSzJ?;Yj!Ep1bcle`~FM_TGe>T+clR zJ+EOX2+YT*`{yNiT8XzqZkZ!iz5=yqUP#&1`z%W$0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N%vc_746c?p2mI{@qJ59@aZ zkWb`$!pbfcx++tUQ0xj2oIfVe0azol^afFwh1;K^w|Y&mFtPey2oxr{`EIRE$C23{crn z;q1ID^SE|>{C@mT2HmhB0U+O)f&9k(QS#2+ET2oO40tEJ06_wYuE@-0Y1c|g-1FhA z%6V<2b$As`5AOUjU4Qece_!sYY~P-L`CKpw%Js&XVMKa7CO9Ao3Ix`vcsf`%E$#k{ znQZuAVFU&S$OZyGpv6=MXN_jy%)GcY{WoF&OCi)NZ$X|uFT!F~Z5A5_B}GRh0qRQ< zyK`J>F`ZZxDu6@OeO6g5>oYnxFMam}s=vUkb;WT10shVgx}zW(e;?>aZn%dM#K4I< ztvCbB7|8QM<*LG-e1sm8+D=iQtyHyFg=w7q!*r`Y`Q9zg1?L-3{aGQhaZP4zO7_@D zrxMEg+;;>H_$^Y!x`x4C71TUho4CkNpDBg^tnc?0e*S~)Tk;!906_9?l>2(a_uFmx z%1TK;RW7qND1^`ff5ZS7fSm$*l3KW4iLG5*icPF;#NJq16!Xt~bL&QQN3)@`0QvNf z&>E4d(rTGrsexp(EqaxpxWPaO0H;85dXANr%lvdbjQ*0a^@;Sq+Qmm#w%7i1HS6Zb z^WF$U3ff}{i# label { - -moz-margin-start: 0; -moz-margin-end: 0; } diff --git a/LCARStrek/navigator/tabbrowser.css b/LCARStrek/navigator/tabbrowser.css index f62393d4..51d6a0ad 100644 --- a/LCARStrek/navigator/tabbrowser.css +++ b/LCARStrek/navigator/tabbrowser.css @@ -107,7 +107,6 @@ tabbrowser > tabbox > tabpanels { } .tabs-alltabs-button { - margin: 2px 0px 1px; } /* All tabs menupopup */ @@ -126,6 +125,10 @@ tabbrowser > tabbox > tabpanels { /* ::::: close & new tab buttons ::::: */ .tabs-closebutton-box { + -moz-box-direction: reverse; +} + +.tabs-closebutton-box > hbox { -moz-box-orient: vertical; } -- 2.43.0