[CLOSED] [Help?] How to customize theme(except existing theme: Default、Crisp、CrispTouch、Gray㠁Neptune、Ne ptuneTouch)

  1. #1

    [CLOSED] [Help?] How to customize theme(except existing theme: Default、Crisp、CrispTouch、Gray㠁Neptune、Ne ptuneTouch)

    Hi, Friends
    I want to show data with ext.net 3 using GridPanel, it maybe used on pc monitor, maybe on large screen displayer.

    How to customize theme(except existing theme: Default、Crisp、CrispTouch、Gray㠁Neptune、NeptuneTouch), because these themes are not suitable for showing on screen displayer, i want to change the font、backgropud color、title font... etc, just like these already availabled themes in Ext.Net.

    Anybody can help me ? Tks !
    Last edited by Daniil; Nov 10, 2015 at 11:43 AM. Reason: [CLOSED]
  2. #2
    Hi @dew3083142,

    There are two approaches.

    1. Overriding CSS rules on top of an existing theme.

    Example
    <%@ Page Language="C#" %>
    
    <!DOCTYPE html>
    <html>
    <head runat="server">
        <title>Ext.NET v3 Example</title>
    
        <style>
            .x-btn-inner-default-small {
                font-weight: bold;
            }
        </style>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
    
            <ext:Button runat="server" Text="Button 1" />
    
            <ext:Button runat="server" Text="Button 2" />
        </form>
    </body>
    </html>
    This approach is good if you don't need to override lots of CSS rules. But if you need to override lots, then it might be better to consider the approach #2.

    2. Creating an entire custom theme.

    You might try following this way:
    http://forums.ext.net/showthread.php?27813

    Also there are a couple of threads I would recommend to read as well.
    http://forums.ext.net/showthread.php?28185
    http://forums.ext.net/showthread.php?45291
  3. #3
    Hi Daniil ,
    Thanks!

Similar Threads

  1. [CLOSED] New Theme or Modify existing
    By sisa in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 15, 2013, 10:03 AM
  2. [CLOSED] Change theme of Gridpanel when theme is changed
    By pawangyanwali in forum 2.x Legacy Premium Help
    Replies: 13
    Last Post: May 22, 2013, 8:05 AM
  3. New Ex.Net Theme
    By jamalmellal in forum 2.x Help
    Replies: 3
    Last Post: Jan 22, 2013, 11:57 PM
  4. Replies: 0
    Last Post: Jun 08, 2009, 11:33 PM
  5. Customize or Change the Theme of GridPanel?
    By bkosscus in forum 1.x Help
    Replies: 1
    Last Post: Oct 23, 2008, 5:28 AM

Tags for this Thread

Posting Permissions