Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
537c5cc3
Commit
537c5cc3
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
use local var for a few other .box-shadow mixins to fix CSS not compiling
parent
65d32295
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/assets/css/bootstrap.css
+5788
-0
docs/assets/css/bootstrap.css
less/forms.less
+2
-1
less/forms.less
less/mixins.less
+2
-1
less/mixins.less
with
5792 additions
and
2 deletions
+5792
-2
docs/assets/css/bootstrap.css
+
5788
-
0
View file @
537c5cc3
This diff is collapsed.
Click to expand it.
less/forms.less
+
2
-
1
View file @
537c5cc3
...
...
@@ -364,7 +364,8 @@ select:focus:required:invalid {
border-color: #ee5f5b;
&:focus {
border-color: darken(#ee5f5b, 10%);
.box-shadow(0 0 6px lighten(#ee5f5b, 20%));
@shadow: 0 0 6px lighten(#ee5f5b, 20%);
.box-shadow(@shadow);
}
}
...
...
This diff is collapsed.
Click to expand it.
less/mixins.less
+
2
-
1
View file @
537c5cc3
...
...
@@ -183,7 +183,8 @@
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
&:focus {
border-color: darken(@borderColor, 10%);
.box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%)");
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
.box-shadow(@shadow);
}
}
// Give a small background color for input-prepend/-append
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment