0

I would like to create a custom Stylesheet for SquirrelMail.

How do I get the round-corners and the blue glow from bootstrap in a single css-file, that I could include in SquirrelMail?

I already figured out how to create glowing input fields and textareas

Community
  • 1
  • 1
rubo77
  • 19,527
  • 31
  • 134
  • 226

1 Answers1

0

This will create glowing input fields and textareas:

textarea,textarea:focus,input,input:focus{
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    box-shadow: 0px 0px 8px #d9d9d9;
    -moz-box-shadow: 0px 0px 8px #d9d9d9;
    -webkit-box-shadow: 0px 0px 8px #d9d9d9;
}

input:focus,textarea:focus { 
    outline: none;
    border: 1px solid #7bc1f7;
    box-shadow: 0px 0px 8px #7bc1f7;
    -moz-box-shadow: 0px 0px 8px #7bc1f7;
    -webkit-box-shadow: 0px 0px 8px #7bc1f7;
}

Otherwise you would have to extract the CSS rules from a customized bootstrap, but that will most likely result in a large and unreadeable file.

rubo77
  • 19,527
  • 31
  • 134
  • 226