Jump to content

How to change default blue color buttons to another color


Ambarella

Recommended Posts

still in css/bootstrap.css @ line 929

 

input:focus,
textarea:focus {
 border-color: rgba(82, 168, 236, 0.;
 outline: 0;
 outline: thin dotted \9;
 /* IE6-9 */
 -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
         box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

border-color defines the color around the form field border (obviously!), and the bottom 3 'box-shadow' lines define the 'glow' around the field.

 

if you want to remove both, just delete the above from the css file; if you want to change the color of the border/glow, then alter the three RGB colors (82, 168, 236) to whatever suits your site.

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated