Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions chrome-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -530,10 +530,12 @@
min-height: 2em;
min-width: 4em;
}
.chrome-bootstrap input[type='text'],
.chrome-bootstrap input[type='number'],
.chrome-bootstrap input[type='password'],
.chrome-bootstrap input[type='search'] {
.chrome-bootstrap input[type='search'],
.chrome-bootstrap input[type='text'],
.chrome-bootstrap input[type='url'],
.chrome-bootstrap textarea {
border: 1px solid #BFBFBF;
border-radius: 2px;
box-sizing: border-box;
Expand Down Expand Up @@ -569,11 +571,14 @@
}
.chrome-bootstrap select:focus,
.chrome-bootstrap input[type='checkbox']:focus,
.chrome-bootstrap input[type='number']:focus,
.chrome-bootstrap input[type='password']:focus,
.chrome-bootstrap input[type='radio']:focus,
.chrome-bootstrap input[type='range']:focus,
.chrome-bootstrap input[type='search']:focus,
.chrome-bootstrap input[type='text']:focus,
.chrome-bootstrap input[type='number']:focus,
.chrome-bootstrap input[type='url']:focus,
.chrome-bootstrap textarea:focus,
.chrome-bootstrap button:focus {
/* OVERRIDE */

Expand All @@ -598,13 +603,16 @@
background-image: -webkit-image-set(url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAICAYAAAAbQcSUAAAAAXNSR0IArs4c6QAAAAd0SU1FB9sLAxYEBKriBmwAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAACxMAAAsTAQCanBgAAABLSURBVCiRY2CgA4gC4jQ8OIpokxKBoKGh4T8uDJIn2rD///8rLFiwYCE2g0DiIHkSfIndQLIMwmYgRQYhG/j27dsmig1CMpCVGHUAo8FcsHfxfXQAAAAASUVORK5CYII=") 1 x), -webkit-linear-gradient(#f1f1f1, #f1f1f1 38%, #e6e6e6);
}
.chrome-bootstrap input[type='checkbox']:disabled,
.chrome-bootstrap input[type='radio']:disabled {
.chrome-bootstrap input[type='radio']:disabled,
.chrome-bootstrap input[type='range']:disabled {
opacity: .75;
}
.chrome-bootstrap input[type='search']:disabled,
.chrome-bootstrap input[type='number']:disabled,
.chrome-bootstrap input[type='password']:disabled,
.chrome-bootstrap input[type='text']:disabled {
.chrome-bootstrap input[type='search']:disabled,
.chrome-bootstrap input[type='text']:disabled,
.chrome-bootstrap input[type='url']:disabled,
.chrome-bootstrap textarea:disabled {
color: #999;
}
.chrome-bootstrap select:hover:enabled,
Expand Down
20 changes: 14 additions & 6 deletions chrome-bootstrap.less
Original file line number Diff line number Diff line change
Expand Up @@ -560,10 +560,12 @@
min-height: 2em;
min-width: 4em;
}
input[type='text'],
input[type='number'],
input[type='password'],
input[type='search'] {
input[type='search'],
input[type='text'],
input[type='url'],
textarea {
border: 1px solid #BFBFBF;
border-radius: 2px;
box-sizing: border-box;
Expand Down Expand Up @@ -603,11 +605,14 @@

select,
input[type='checkbox'],
input[type='number'],
input[type='password'],
input[type='radio'],
input[type='range'],
input[type='search'],
input[type='text'],
input[type='number'],
input[type='url'],
textarea,
button {
&:focus {
/* OVERRIDE */
Expand Down Expand Up @@ -637,15 +642,18 @@
background-image: -webkit-image-set(url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAICAYAAAAbQcSUAAAAAXNSR0IArs4c6QAAAAd0SU1FB9sLAxYEBKriBmwAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAACxMAAAsTAQCanBgAAABLSURBVCiRY2CgA4gC4jQ8OIpokxKBoKGh4T8uDJIn2rD///8rLFiwYCE2g0DiIHkSfIndQLIMwmYgRQYhG/j27dsmig1CMpCVGHUAo8FcsHfxfXQAAAAASUVORK5CYII=") 1x), -webkit-linear-gradient(#f1f1f1, #f1f1f1 38%, #e6e6e6);
}
input[type='checkbox'],
input[type='radio'] {
input[type='radio'],
input[type='range'] {
&:disabled {
opacity: .75;
}
}
input[type='search'],
input[type='number'],
input[type='password'],
input[type='text'] {
input[type='search'],
input[type='text'],
input[type='url'],
textarea {
&:disabled {
color: #999;
}
Expand Down