Prevent application CSS from overriding Ext.NET CSS

  1. #1

    Prevent application CSS from overriding Ext.NET CSS

    Hi,

    I have managed to integrate Ext.NET with SharePoint 2013 (yeah it was a long shot but it worked!) but SharePoint's CSS is interfering with Ext.NET built-in theme.

    Click image for larger version. 

Name:	exttheme.png 
Views:	21 
Size:	44.6 KB 
ID:	16081

    If you notice, the button has an underline when I hover over the button. This is just one example. So how I prevent Ext.NET CSS from being overridden?

    And this what a CheckboxGroup looks like :(

    Click image for larger version. 

Name:	extcheckbox.png 
Views:	16 
Size:	9.0 KB 
ID:	16111

    As you can see its a complete mess! Any sort of help would be greatly appreciated!

    Thanks
    Last edited by raihaniqbal; Nov 11, 2014 at 6:14 AM.
  2. #2
    Hi @raihaniqbal,

    Welcome to the Ext.NET forums!

    So how I prevent Ext.NET CSS from being overridden?
    If SharePoint defines some CSS rules that affect Ext.NET HTML markup, I don't quite see any option how to cancel it.

    The only option I see is to determine what exactly CSS rules are overridden by SharePoint and try to make it stronger specifically for Ext.NET markup.
  3. #3
    For now, this has done the trick.

    .x-form-checkbox, .x-form-radio {
                border: 0 none !important;
                padding: 0 !important;
                margin-left: 0 !important;
                min-width: 0 !important;
            }

Similar Threads

  1. [CLOSED] Overriding the tab close icon click
    By RCM in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 26, 2012, 3:25 PM
  2. [CLOSED] Extending Components and Overriding properties
    By r_honey in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Oct 13, 2010, 8:32 AM
  3. Replies: 0
    Last Post: Oct 27, 2009, 9:46 AM
  4. [CLOSED] Overriding Button Templates
    By UGRev in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 12, 2008, 12:36 PM
  5. [CLOSED] Overriding a ClientConfig default value
    By jchau in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 12, 2008, 10:21 AM

Tags for this Thread

Posting Permissions