Alpha Video Training
Results 1 to 2 of 2

Thread: SOLVED: Easiest Method to Add Global CSS

  1. #1
    "Certified" Alphaholic mikeallenbrown's Avatar
    Real Name
    Mike Brown
    Join Date
    Nov 2009
    Location
    United States
    Posts
    1,826

    Default SOLVED: Easiest Method to Add Global CSS

    Just like the title says...

    Lets say I want the below CSS applied to all UX's in my project. What's the easiest method?

    I know I can go to each individual UX and do this but if I want to change it then I'd have to go back to every single UX and make the change.

    It would be great if there was a "Global CSS" property in the project properties section where I could just add this.

    Code:
    .MobBlueEdit:focus {
    border: 1px solid #009ce2;
    }
    
    .MobBlueEditBGEdit:focus {
    border: 1px solid #009ce2;
    }
    Last edited by mikeallenbrown; 08-21-2019 at 07:11 PM. Reason: Solved. See post #2
    Mike Brown - Contact Me
    Programmatic Technologies, LLC
    Programmatic-Technologies.com
    Independent Developer & Consultant

  2. #2
    "Certified" Alphaholic mikeallenbrown's Avatar
    Real Name
    Mike Brown
    Join Date
    Nov 2009
    Location
    United States
    Posts
    1,826

    Default Re: Easiest Method to Add Global CSS

    Well, never mind. I figured it out. Once again I post a question to the forum only to answer it myself moments later.

    For those interested...

    Open any UX. In properties select Edit style in Style Builder. You'll be asked to copy the System Style (you can't edit the system style). I chose the 'Global' selection and named it MobBlue_Custom (I was using the MobBlue style). The style editor automatically comes up. I then added the above CSS to this new CSS style. Exit the UX and in the IDE menu go to bulk operation. Here you can apply the new style to all components.
    Mike Brown - Contact Me
    Programmatic Technologies, LLC
    Programmatic-Technologies.com
    Independent Developer & Consultant

Similar Threads

  1. Looking for the best / easiest implementation for specific scenario
    By WindForce in forum Mobile & Browser Applications
    Replies: 2
    Last Post: 02-02-2017, 08:29 PM
  2. Easiest way to get last matching record
    By Antony in forum Mobile & Browser Applications
    Replies: 1
    Last Post: 04-24-2014, 12:38 PM
  3. Web - Best method to define global application variables
    By betty in forum Application Server Version 11 - Web/Browser Applications
    Replies: 3
    Last Post: 10-31-2011, 07:32 PM
  4. What is the easiest way to do this?
    By Ezslim in forum Application Server Version 8
    Replies: 2
    Last Post: 12-16-2007, 02:34 AM
  5. Accessing global memory with new blob method
    By Marcel Kollenaar in forum Archived Wishlist
    Replies: 0
    Last Post: 05-26-2007, 01:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •