Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

grBlue css theme

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    grBlue css theme

    is it possible to add to the built in CSS styles so that the border of a text field will change colour when it has the focus?

    #2
    Re: grBlue css theme

    You can modify any of the themes (you just have to use the new modified name). Or you can just add additional CSS info in the Properties -> CSS -> Local CSS definitions property box.

    The snippet you need to add looks like this (just specify your color):

    Code:
    .GrBlueEdit:focus {
    border: 1px solid #800000;
    }
    Stephen Pilon
    Associate Librarian
    Christendom College

    Comment


      #3
      Re: grBlue css theme

      You can add to the official style.css by opening it in the editor and adding new rules, or you can create your own stylesheet. If you create a new rule similar to below then every text box will have an orange border when the field has focus:

      .grBlueEdit:focus{border:2px solid orange}

      Here is same for mouse over:

      .grBlueEdit:hover{border:2px solid red}

      This affects ALL text boxes. If you want to affect only particular ones, you need to do this in the inline CSS settings per field or set it inside <style> tags on the A5W page where the form resides.

      Thanks for the reminder, I may add this to my standard css as it helps with data-entry.

      Edit: Sorry, I see I cross-posted with Stephen.
      Steve Wood
      See my profile on IADN

      Comment


        #4
        Re: grBlue css theme

        this is what i was looking for; this is something i want throughout the application.

        Code:
        .GrBlueEdit:focus
        Thanks for your help.

        Comment


          #5
          Re: grBlue css theme

          thanks Guys, ive put this in and altohugh its only a little thing, it looks quite cool and will be useful to the users.

          Comment


            #6
            Re: grBlue css theme

            Originally posted by Steve Wood View Post
            You can add to the official style.css by opening it in the editor and adding new rules, or you can create your own stylesheet. If you create a new rule similar to below then every text box will have an orange border when the field has focus:
            Steve,

            You mention "official style.css". Can you list a breadcrumb directive how to get to this file from the top most level?

            Secondly, if I change something there, is it negated if I also use something like .Grblue? I don't want to go around on all my pages making this kind of update. I've worked with styles but never the style sheets themselves. I don't know where they are!

            Comment


              #7
              Re: grBlue css theme

              Tom,

              if you open your project properties you can see your style sheet at the top, click to open it and then on the right hand side you can click 'edit style'. i believe this then makes a local style for you to do what you want with.

              if you want to edit in a text editor, you can open the sheet directly - this is the path to mine - C:\Users\Richard Harris\Documents\Alpha Five V11\Mortgage Manager\Mortgage Manager.WebProjects\Default.WebProject\css\GrBlue

              Comment


                #8
                Re: grBlue css theme

                Thinking about this long term, I would suggest not altering Alpha's style sheet and instead adding your own; it would be too easy to accidentally wipe out your style sheet modifications.

                Instead, just create a new style sheet named anything, "default.css" or "mystyle.css". For your example, just add one line like ".GrBlueEdit:focus {border: 1px solid #800000;}" and save the file in the CSS folderand publish it to your site.

                Then you need to make one final step to link that new style sheet to your web page(s). If all of your grids are inside a TabbedUI, then add the new style sheet to the Property named CSS > CSS Linked Files, enter something like this: "css/tabbedui.css". If you need to link the style sheet to a particular A5W page, open that page and click Format > Link Style Sheet and select your custom file.

                Be sure to clear your browser cache and refresh the browser.

                This also keeps you from having to make a local copy of Alpha's style sheet; I always do that step, but its totally possible to skip that step if you never need to alter their style sheet.

                Here is how mine looks after implementing this nice feature:
                Attached Files
                Steve Wood
                See my profile on IADN

                Comment


                  #9
                  Re: grBlue css theme

                  I've refreshed my understanding of this and if you are going to add CSS selectors to Alpha's official CSS files, here are some things you should be aware of:

                  Alpha has two style sheet editors: the Web Style Builder shown in attached image 1, and the "simple" editor shown in image 2 (I don't know that it has an official name).

                  The simple one can edit any style sheet, Alpha's or your own custom style sheet. The Properties area to the right allows edit for most, but not all, possible CSS properties, but you can easily switch to code view and apply any rules needed.

                  The Web Style Builder however, is specifically designed to manage style for Alpha's components (grid, dialog, menu, etc.). You can add selectors to it but they will NOT appear on the first tab called "Parts". Instead, you will have to select the "Selectors" tab to see your custom edits. "Parts" is where the editor organizes the selectors in to logical categories.

                  If you are going to add to Alpha's style sheet, I would put your additions and modifications at the very top. If Alpha updates their style sheet (like they recently added CSS for the slider object), then you can easily find your alterations to apply to the new CSS file.

                  As mentioned earlier, one good reason to add your own custom style sheet is you can continue to use the "stock" Alpha style sheet and not make a local copy. That way you can switch styles with a little more ease.
                  Attached Files
                  Steve Wood
                  See my profile on IADN

                  Comment


                    #10
                    Re: grBlue css theme

                    it was a little too late for me to make my own as i startd ammending Alphas some time ago, however recently i have made a change to the css that i need to reverse. i have gone through the style sheet with a fine tooth comb in code mode and directly in EW4 and i cant see where to make the change.

                    its only on one type of control which is a text box that has a control inside it such as lookup or date. please see attached pic. if anyone knows the name of the object id be really grateful. i have removed all shadow code from the CSS yet the shadows persist.

                    Drop_Shadow.PNG

                    Comment

                    Working...
                    X