Hi, I've tested relative fonts in CSS and it appears to work well ... ... but no idea how to use another selector background color as foreground :( I think I will embrace a pure CSS approach to solve that probably not so elegant but works ;)
Thanks for replies ! Adonis On Mon, Apr 13, 2009 at 11:50 PM, Jeanne Waldman <[email protected]> wrote: > No, we do not have this feature in the CSS version. > > Also, we don't have the relative font feature either in the CSS version so > I am curious to how you made that work. > > Jeanne > > Andrew Robinson wrote, On 4/13/2009 8:05 AM PT: > > This is the way to inherit the whole style: > > .AFVeryDarkForeground:alias { > -tr-rule-ref: selector(".AFVeryDarkBackground:alias"); > } > > But I do not know of a way to take just the background-color and > convert it to the color. > > Jeanne, do you know? > > -Andrew > > On Mon, Apr 13, 2009 at 7:31 AM, Adonis Raduca > <[email protected]> wrote: > > > Hi, > > Another question :) > In the skinning base-desktop.xss file we have something like this: > > <style name="AFVeryDarkForeground"> > <includeProperty name="AFVeryDarkBackground" > propertyName="background-color" > localPropertyName="color"/> > </style> > > Is possible to use such a syntax in the theme CSS file ? > ... And if is possible, can anyone provide me an example ... ? > > Thanks, > Adonis > > > > On Fri, Apr 10, 2009 at 11:22 AM, Adonis Raduca > <[email protected]> wrote: > > > Hi, > > I've starting to implement this graphical stuff into a trinidad skin. > And I have a little question > In the base-desktop.xss file we have something like that: > > <style name="AFDefaultFontFamily"> > <property name="font-family">Arial,Helvetica,Geneva,sans-serif</property> > </style> > <style name="AFMediumFont"> > <includeStyle name="AFDefaultFont"/> > <property name="font-size">+1pt</property> > </style> > > Thats is actually a font scale, how can I use this in the skin.css file. > Does the css skin format support this ? > > > Can anyone help me with an advice ? > > Ciao, > Adonis > > On Wed, Apr 8, 2009 at 11:41 AM, Gerhard Petracek > <[email protected]> wrote: > > > +1 > > regards, > gerhard > > > > 2009/4/8 Matthias Wessendorf <[email protected]> > > > On Wed, Apr 8, 2009 at 10:31 AM, Matthias Wessendorf <[email protected]> > wrote: > > > Hi Adonis, > > this is a nice looking skin, much better than the default. > Not sure if the skin really meets the current laf of Web-2.0 apps > but it is indeed much much more sexy than current one. > Thanks for doing this. > > I wonder if you already had a chance to make the demo part of > a real skin, and if yes, how did it go ? > > If we plan to add this, I'd recommend to not make it ASAP the default. > Once the skin is stable we can change the default LAF. > > > which does NOT mean we should not use it in the demo ;-) > Of course, there we want it ;-) > > > > Thanks again, > Matthias > > On Wed, Apr 8, 2009 at 10:15 AM, Adonis Raduca > <[email protected]> wrote: > > > Hi, > > We finished the design phase for Trinidad, so now we have all elements > designed. > We also have a demo for Trinidad new skin ;) ... please look in the > attachment ... > > We intent to name this skin Casablanca, like a tribute to the water and > the > sand. > Accordingly the convention for that interface is: > - we use a grayish-brown shades for all controls > - we use water-blue shades for selections for emphasizing > > So, that is, ... I hope you like it ... > > ciao > Adonis > > P.S. > Please use Firefox to this demo, I don't invested the time to test and > to > make it work on all browsers for this demo. > There are only several controls in this demo, but if you want to see > more in > order to have a complete image I can made some screen-shots. > > > On Wed, Feb 18, 2009 at 4:16 PM, Adonis Raduca > <[email protected]> > wrote: > > > Hi, > > Almost an year ago a discussion take place regarding the Trinidad skin > and > components demo rewriting. > There is also an issue opened on wiki regarding this subject. > http://wiki.apache.org/myfaces/Trinidad_MyFaces_Skin_and_Demo_rewrite > > Now I have some time and I want to start to work on this subject ;) > > Because I'm an organized guy I think is better to have a little action > plan. > So I've made this action plan that looks like this: > - components overview (a little investigation on the already existing > components) > - components reclassification (we can improve the already existing > classification of the components) > - Trinidad shining mechanism study (very useful to understand what is > possible what is not) > - components skin design (all stuff regarding the components look and > feel) > - skin implementation > - demo site design (components demo application look and feel) > - demo site implementation (if is needed) > > For the beginning I've started with the component overview. > So I made a table with all components and several related information > like: > - component category > - a field that indicate if the component manifests in the visible way > (is > a button, a panel ...) or is a invisible one (like the iterator) > - have interactive samples (demos) > - is documented. > - have skinning capabilities. > - have skinning keys documentation. > - a short description of the component > > All these information was taken from Trinidad component demo page: > http://www.irian.at/trinidad-demo/faces/componentDemos.jspx > > Please look in the atached *.xls file. > > So, what do you think about this component overview table and about > the > approach in general ? > If anyone find a wrong piece the information and/or posses information > that is not present in this table, can notify me and I will made the > required change. > > > Have a nice day ! > Adonis > > > > > -- > Matthias Wessendorf > > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > twitter: http://twitter.com/mwessendorf > > > > -- > Matthias Wessendorf > > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > twitter: http://twitter.com/mwessendorf > > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > > >
