1. #1
    Ext User
    Join Date
    Oct 2010
    Posts
    10
    Vote Rating
    0
    adrian28 is on a distinguished road

      0  

    Default Modify Css

    Modify Css


    Hi,
    I wanna modify the css for my application, but I´m new to this. I´ve looked at the gxt-all.css file and I´ve seen some fields with the same name so, I don´t know which one is the correct one to modify. It would be helpful knowing the nomenclature followed in this file.

    One example of what I´m saying is the "x-menu", which appears twice.

    thx

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    It can appear as often as needed. Importend is the content of the selectors. You should read up on how it works, there are many tutorials out there for css.

  3. #3
    Ext User
    Join Date
    Oct 2010
    Posts
    10
    Vote Rating
    0
    adrian28 is on a distinguished road

      0  

    Default


    But in the example I wrote (.x-menu), it appears twice with "no selectors", just

    .x-menu{
    ...
    }

    and

    .x-menu{
    ..
    }

    (the text inside is just attributes like color or something like that)

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    .x-menu is a selector.

  5. #5
    Ext User
    Join Date
    Oct 2010
    Posts
    10
    Vote Rating
    0
    adrian28 is on a distinguished road

      0  

    Default


    well, ok, they're selectors, but are the same....

  6. #6
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Yes the same selector can be there as often as needed. The content is the important part.

  7. #7
    Ext User
    Join Date
    Oct 2010
    Posts
    10
    Vote Rating
    0
    adrian28 is on a distinguished road

      0  

    Default


    you are very lazy.
    thanks for nothing.

  8. #8
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I answered your questions. This is how css works. You can have the same selector as often as needed. They can even use the same content. The last defined rule will simple override the first one (if the rule matches).

  9. #9
    Ext User
    Join Date
    Oct 2010
    Posts
    10
    Vote Rating
    0
    adrian28 is on a distinguished road

      0  

    Default


    ok, now I understand.
    Thanks.

Similar Threads

  1. Modify PagingToolbar
    By ajmPal in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 25 Mar 2010, 6:13 AM
  2. modify id row
    By kamakrane in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 27 Oct 2009, 6:24 AM
  3. Can we modify the lib ?
    By mmc in forum Community Discussion
    Replies: 3
    Last Post: 25 Dec 2008, 7:21 PM
  4. How to modify grid properly
    By davida in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 21 Dec 2006, 12:19 PM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar