aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-06-30 10:40:28 -0700
committerMark Otto <[email protected]>2011-06-30 10:40:28 -0700
commit588b2da937dd5c34766863fba3a9daaf2276d900 (patch)
treed13e69999b2724c80be268e0819df01345c5a2bc /lib
parent6aae3930c92052a49686c1bd73a264da905ce898 (diff)
downloadbootstrap-588b2da937dd5c34766863fba3a9daaf2276d900.tar.xz
bootstrap-588b2da937dd5c34766863fba3a9daaf2276d900.zip
updated docs, fixed language, added copy-code js for selecting text on focus
Diffstat (limited to 'lib')
-rw-r--r--lib/bootstrap.less2
-rw-r--r--lib/forms.less8
-rw-r--r--lib/scaffolding.less5
3 files changed, 7 insertions, 8 deletions
diff --git a/lib/bootstrap.less b/lib/bootstrap.less
index cf2bd8e10..a2b091425 100644
--- a/lib/bootstrap.less
+++ b/lib/bootstrap.less
@@ -5,7 +5,7 @@
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
- * Designed and built @twitter by @mdo and @fat, like bosses.
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
diff --git a/lib/forms.less b/lib/forms.less
index 6052978c6..ab82c6a09 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -62,7 +62,7 @@ form {
line-height: @baseline;
height: @baseline;
color: @gray;
- border: 1px solid #bbb;
+ border: 1px solid #ccc;
.border-radius(3px);
}
select,
@@ -85,13 +85,15 @@ form {
select, textarea {
@transition: border linear .2s, box-shadow linear .2s;
.transition(@transition);
+ .box-shadow(inset 0 1px 3px rgba(0,0,0,.1));
}
input[type=text]:focus,
input[type=password]:focus,
textarea:focus {
outline: none;
- border-color: rgba(82,168,236,.75);
- .box-shadow(0 0 8px rgba(82,168,236,.5));
+ border-color: rgba(82,168,236,.8);
+ @shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
+ .box-shadow(@shadow);
}
// Error styles
div.error {
diff --git a/lib/scaffolding.less b/lib/scaffolding.less
index 4adfdeb79..ed73a996b 100644
--- a/lib/scaffolding.less
+++ b/lib/scaffolding.less
@@ -104,15 +104,12 @@ a {
.opacity(65);
cursor: default;
}
- &:focus {
-
- }
&:active {
@shadow: inset 0 3px 7px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.05);
.box-shadow(@shadow);
}
}
-// Help Firefox not be a douche about adding extra padding to buttons
+// Help Firefox not be a jerk about adding extra padding to buttons
button.btn,
input[type=submit].btn {
&::-moz-focus-inner {