Re: [xwiki-users] CSS Styling in panel

2010-06-20 Thread Dan Grigore

On Jun 20, 2010, at 2:55 PM, Gerritjan Koekkoek wrote:

> Hi 
> to bring it together...
> I have one "panel" document called: CdLSATDTopics
> It contains two objects;
> -PanelClass: called CdLSATDTopics (like document)
> -StyleSheetExtension: called PopupMenu
> 
> If I check the Html page it does not yet contain a link to the stylesheet 
> extension
> I used: $xwiki.ssx.use('PopupMenu') => should this name be extended with 
> space.document.object?

$xwiki.ssx.use('Space.TheDocumentThatHoldsMyExtensionObject')
Usually, you create one document per extension.
If you add multiple SSX objects to the document you call with ssx.use, all of 
them will be used.
You cannot call a certain SSX object.

> 
> In the stylesheet extension I should refer to classes or ID's within the 
> class as described by Raluca?
> 
> 
> Op 20 jun 2010, om 12:57 heeft Raluca Stavro het volgende geschreven:
> 
> Hello,
> 
> On Sun, Jun 20, 2010 at 12:41 PM, Gerritjan Koekkoek
>  wrote:
>> Hi,
>> Thxs, but is it also possible to use the stylesheet extension object to
>> add CSS specifically to the panel, since it would keep my generic CSS more 
>> clean
>> 
>> I was thinking of adding a stylesheet extension object to the document that 
>> holds the panel object, but
>> it does not seem to to connect?
>> I used;
>> - name PopupMenu
>> - Code: (the code from eric meyer)
>> - Use this extension: on demand
>> - Parse content: Yes
> 
> You don't need 'Yes' value here unless you insert Velocity code inside
> the Stylesheet Extension.
> 
>> - Cashing policy: long
>> 
>> My panel object is called : CdLSATDTopics, so I assume the CSS classname = 
>> "CdLSATDTopics"
> 
> The class name is generated by using the Panel DOCUMENT NAME. So in
> your case, if the document that stores you're Panel object is named
> 'PopupMenu', then this should be the class name of your panel.
> 
> Note: the full class name of a panel is formed out of 3 elements:
> * 'panel'
> * 'expanded' or 'collapsed'
> * 'panel_document_name'
> 
> Example: 'panel expanded PopupMenu', where Panels.PopupMenu is the
> full name of the panel document.
> 
> Raluca.
> 
> 
> 
>> 
>> right?
>> 
>> 
>> Op 20 jun 2010, om 11:21 heeft Sergiu Dumitriu het volgende geschreven:
>> 
>> On 06/20/2010 11:08 AM, Gerritjan Koekkoek wrote:
>>> Hi,
>>> 
>>> I would like to apply some CSS styling to a panel only.
>>> 
>>> I have some velocity code creating a  list
>>> I would like to use the CSS as documented on
>>> http://meyerweb.com/eric/css/edge/menus/demo.html
>>> 
>>> but it should only apply to the panel,
>>> I use the same velocity code also on a document, and there the styling 
>>> should not be applied
>> 
>> Use proper CSS selectors. Each panel has a classname derived from the
>> panel's name, which you can use to target just the panel. For example,
>> My Recent Modifications has the classname MyRecentModifications. Use
>> Firebug, or view page source, to see what classname your panel gets.
>> Then, use this classname as a prefix in your selectors.
>> 
>> Another option is to just use .panels as a prefix, which matches only
>> the panels columns,
>> 
>> --
>> Sergiu Dumitriu
>> http://purl.org/net/sergiu/
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> 
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] CSS Styling in panel

2010-06-20 Thread Dan Grigore

On Jun 20, 2010, at 12:41 PM, Gerritjan Koekkoek wrote:

> Hi,
> Thxs, but is it also possible to use the stylesheet extension object to
> add CSS specifically to the panel, since it would keep my generic CSS more 
> clean
> 
> I was thinking of adding a stylesheet extension object to the document that 
> holds the panel object, but
> it does not seem to to connect?
> I used;
> - name PopupMenu
> - Code: (the code from eric meyer)
> - Use this extension: on demand

If you set up your extension for on demand use,
you'll have to call it from velocity for it to 'connect': 
$xwiki.ssx.use('My.CSS')
where My.CSS is the full name of the document you're adding the stylesheet 
extension object to.

Dan

> - Parse content: Yes
> - Cashing policy: long
> 
> My panel object is called : CdLSATDTopics, so I assume the CSS classname = 
> "CdLSATDTopics"
> 
> right?
> 
> 
> Op 20 jun 2010, om 11:21 heeft Sergiu Dumitriu het volgende geschreven:
> 
> On 06/20/2010 11:08 AM, Gerritjan Koekkoek wrote:
>> Hi,
>> 
>> I would like to apply some CSS styling to a panel only.
>> 
>> I have some velocity code creating a  list
>> I would like to use the CSS as documented on
>> http://meyerweb.com/eric/css/edge/menus/demo.html
>> 
>> but it should only apply to the panel,
>> I use the same velocity code also on a document, and there the styling 
>> should not be applied
> 
> Use proper CSS selectors. Each panel has a classname derived from the 
> panel's name, which you can use to target just the panel. For example, 
> My Recent Modifications has the classname MyRecentModifications. Use 
> Firebug, or view page source, to see what classname your panel gets. 
> Then, use this classname as a prefix in your selectors.
> 
> Another option is to just use .panels as a prefix, which matches only 
> the panels columns,
> 
> -- 
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] XWiki Logo Challenge, Round 2

2010-04-20 Thread Dan Grigore
Raluca Stavro wrote:
> Hello,
>
> +0.7 to declare 16 the winner and improve it
> +0.2 to start a third round between improved version of 4 and 16
> +0.1 to start all over
>
> What do you think about this:
> http://dev.xwiki.org/xwiki/bin/download/Community/LogoChallengeRound2/16-variation-engineering.png
> ?
>
> Raluca.
>
>
> On Mon, Apr 19, 2010 at 10:19 PM, Sergiu Dumitriu  wrote:
>   
>> Hello Community,
>>
>> The search for the XWiki.org logo isn't over yet...
>>
>> The second round of votes finished, with the following results:
>>
>> +9 for 4
>> +4 for 12 (I counted Thibaut's +1 for 12A as a +1 for 12)
>> +1 for 15
>> +14 for 16
>> +1 for 19
>>
>> Normally, 16 would be the winner, but since several key members of the
>> community objected to it, I see three ways to proceed:
>>
>> 1. Declare 16 as the elected logo, but further improve it to soften the
>> objections
>> 2. Start a third round between improved version of 4 and 16
>> 3. Slow down a bit, since there's no hard deadline to meet, and start
>> all over, accepting new proposals
>>
>> I for one would go for option 1, if Vincent, Ludovic, Guillaume, Fabio
>> agree.
>>
>> On 04/08/2010 06:02 PM, Sergiu Dumitriu wrote:
>> 
>>> Hello XWiki Community,
>>>
>>> We're still looking for the new XWiki.org logo. First of all, many
>>> thanks to all those who submitted their ideas (
>>> http://dev.xwiki.org/xwiki/bin/Community/LogoChallenge ). After the
>>> first round of votes (digest here:
>>> http://spreadsheets.google.com/ccc?key=0Ah6DqXzfHT2vdHV5Ty1LX3lKU3U5V3M4YmNFSXEzcVE&hl=en),
>>>
>>> we chose 6 "popular" proposals for the second round:
>>> http://dev.xwiki.org/xwiki/bin/Community/LogoChallengeRound2 .
>>>
>>> The authors of these proposals were asked to do the following, if not
>>> already done for round 1:
>>> * try to integrate any constructive feedback that came with the
>>> votes (a digest of the feedback from the emails is available for each
>>> proposal on
>>> http://dev.xwiki.org/xwiki/bin/Community/LogoChallengeRound2 )
>>> * polish the design (if they consider it necessary)
>>> * provide the requested variations for .org, enterprise and office
>>> * provide samples for light and dark background
>>> * provide a black&white version
>>> * provide a 16X16 icon containing the logo or a representative part
>>> of the logo
>>> * provide a nice "Powered by XWiki" button that goes with the logo
>>> * provide a mockup/screenshot with the logo used in the current
>>> skin, colibri
>>>
>>> For most of the finalist logos, the _final_ versions were already
>>> uploaded here:
>>> http://dev.xwiki.org/xwiki/bin/Community/LogoChallengeRound2 .
>>> For those who were not updated, we will use the initial submissions
>>> for round 2 as well,
>>> and voters will have to use their imagination in case
>>> any of the required use cases is missing.
>>>
>>>
>>> VOTING:
>>>
>>> You can send your vote on the mailing list (d...@xwiki.org or
>>> users@xwiki.org), in reply to this email. No twitter votes this time.
>>>
>>> Each voter can grant a whole +1 to only one of the 6 finalists
>>> (
>>> http://dev.xwiki.org/xwiki/bin/Community/LogoChallengeRound2#HFinalistproposals
>>> ).
>>>
>>> IMPORTANT: Before choosing a logo based on your personal preference,
>>> please try to also ask yourself the following questions:
>>>
>>> * Is it distinctive? Note that it should not resemble other logos,
>>> including the XWiki SAS/xwiki.com logo.
>>> * Is it easy to remember and recognize?
>>> * Does it blend in smoothly with the Colibri skin? With the new
>>> XWiki.org skin? Note that adjustments to the skin is possible, in order
>>> to better integrate with the logo.
>>> * Is the design scalable? Could it (or parts of it) be
>>> successfully used in a 16X16 icon? Would it look good on a very large
>>> poster?
>>> * Can it be used (as it is, or adapted) on both light and dark backgrounds?
>>> * What would it look like in black and white (not just grayscale)?
>>> It's ok if some details are lost, but it needs to still look
>>> attractive and keep the main features.
>>>
>>>
>>> TIMELINE:
>>>
>>> 08/Apr/10 : Beginning of second round of votes on d...@xwiki.org,
>>> users@xwiki.org
>>> 11/Apr/10 : End of votes
>>>
>>>
>>> Thanks,
>>>   
>> --
>> Sergiu Dumitriu
>> http://purl.org/net/sergiu/
>> ___
>> devs mailing list
>> d...@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>   
+1 to start all over
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki Logo Challenge, Round 2

2010-04-19 Thread Dan Grigore
Marius Dumitru Florea wrote:
> How does it look with different colors (XWiki's green, orange, red, 
> blue) for each bubble?
>
> Thanks,
> Marius
>
> Dan Grigore wrote:
>   
>> http://dev.xwiki.org/xwiki/bin/download/Community/LogoChallengeRound2/xwikiroundedalt.png
>>
>> speech bubbles, negative space X
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>   
It looks pretty good, I tried some versions, but it reminds everybody I 
showed it to of the Windows logo. I'll have to work more on the shapes 
or find an alternative way of depicting an X in the negative space by 
using more than 4 shapes.
'
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XWiki Logo Challenge, Round 2

2010-04-18 Thread Dan Grigore
http://dev.xwiki.org/xwiki/bin/download/Community/LogoChallengeRound2/xwikiroundedalt.png

speech bubbles, negative space X

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users