Skip to content

Instantly share code, notes, and snippets.

@cliffordp
Created December 6, 2013 16:40
Show Gist options
  • Save cliffordp/7827947 to your computer and use it in GitHub Desktop.
Save cliffordp/7827947 to your computer and use it in GitHub Desktop.
PageLines DMS SelectMe section customizations
// override https://github.com/pagelines/DMS/blob/Dev/less/forms.less#L129
// customize the rgba values below
.selectmecontent input[type="text"] {
&:focus {
border-color: rgba(82,168,236,0.8);
.box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,0.6)");
}
}
.selectmecontent input[type="text"] {
color: @pl-base;
background: @pl-link;
&:focus {
color: @pl-link;
background: @pl-base;
}
}
.selectmecontent input[type="text"],
.selectmecontent input[type="text"]:focus {
border: none;
.box-shadow(none);
}
// custom width of SelectMe select box
// change to px or % width of your choice
// consider using min-width too
.selectmecontent input[type="text"] {
width:400px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment