Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
2719ac3e
Commit
2719ac3e
authored
Aug 27, 2012
by
Luis Aleman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unescaped box-shadows to take advantage of new box-shadow mixin
parent
67eae2a5
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
less/button-groups.less
less/button-groups.less
+2
-2
less/buttons.less
less/buttons.less
+2
-2
less/forms.less
less/forms.less
+1
-1
less/navbar.less
less/navbar.less
+4
-4
less/progress-bars.less
less/progress-bars.less
+1
-1
less/responsive-navbar.less
less/responsive-navbar.less
+1
-1
No files found.
less/button-groups.less
View file @
2719ac3e
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
.btn-group > .btn + .dropdown-toggle {
.btn-group > .btn + .dropdown-toggle {
padding-left: 8px;
padding-left: 8px;
padding-right: 8px;
padding-right: 8px;
.box-shadow(
~"inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)"
);
.box-shadow(
inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)
);
*padding-top: 5px;
*padding-top: 5px;
*padding-bottom: 5px;
*padding-bottom: 5px;
}
}
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
// Remove the gradient and set the same inset shadow as the :active state
// Remove the gradient and set the same inset shadow as the :active state
.dropdown-toggle {
.dropdown-toggle {
background-image: none;
background-image: none;
.box-shadow(
~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)"
);
.box-shadow(
inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)
);
}
}
// Keep the hover's background when dropdown is open
// Keep the hover's background when dropdown is open
...
...
less/buttons.less
View file @
2719ac3e
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
border-bottom-color: darken(@btnBorder, 10%);
border-bottom-color: darken(@btnBorder, 10%);
.border-radius(4px);
.border-radius(4px);
.ie7-restore-left-whitespace(); // Give IE7 some love
.ie7-restore-left-whitespace(); // Give IE7 some love
.box-shadow(
~"inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)"
);
.box-shadow(
inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)
);
// Hover state
// Hover state
&:hover {
&:hover {
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
background-color: darken(@white, 15%) e("\9");
background-color: darken(@white, 15%) e("\9");
background-image: none;
background-image: none;
outline: 0;
outline: 0;
.box-shadow(
~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)"
);
.box-shadow(
inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)
);
}
}
// Disabled state
// Disabled state
...
...
less/forms.less
View file @
2719ac3e
...
@@ -126,7 +126,7 @@ input[type="color"],
...
@@ -126,7 +126,7 @@ input[type="color"],
border-color: rgba(82,168,236,.8);
border-color: rgba(82,168,236,.8);
outline: 0;
outline: 0;
outline: thin dotted \9; /* IE6-9 */
outline: thin dotted \9; /* IE6-9 */
.box-shadow(
~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6)"
);
.box-shadow(
inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6)
);
}
}
}
}
...
...
less/navbar.less
View file @
2719ac3e
...
@@ -202,7 +202,7 @@
...
@@ -202,7 +202,7 @@
.navbar-fixed-top,
.navbar-fixed-top,
.navbar-static-top {
.navbar-static-top {
.navbar-inner {
.navbar-inner {
.box-shadow(
~"inset 0 -1px 0 rgba(0,0,0,.1), 0 1px 10px rgba(0,0,0,.1)"
);
.box-shadow(
inset 0 -1px 0 rgba(0,0,0,.1), 0 1px 10px rgba(0,0,0,.1)
);
}
}
}
}
...
@@ -210,7 +210,7 @@
...
@@ -210,7 +210,7 @@
.navbar-fixed-bottom {
.navbar-fixed-bottom {
bottom: 0;
bottom: 0;
.navbar-inner {
.navbar-inner {
.box-shadow(
~"inset 0 1px 0 rgba(0,0,0,.1), 0 -1px 10px rgba(0,0,0,.1)"
);
.box-shadow(
inset 0 1px 0 rgba(0,0,0,.1), 0 -1px 10px rgba(0,0,0,.1)
);
}
}
}
}
...
@@ -274,7 +274,7 @@
...
@@ -274,7 +274,7 @@
margin-left: 5px;
margin-left: 5px;
margin-right: 5px;
margin-right: 5px;
.buttonBackground(darken(@navbarBackgroundHighlight, 5%), darken(@navbarBackground, 5%));
.buttonBackground(darken(@navbarBackgroundHighlight, 5%), darken(@navbarBackground, 5%));
.box-shadow(
~"inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075)"
);
.box-shadow(
inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075)
);
}
}
.navbar .btn-navbar .icon-bar {
.navbar .btn-navbar .icon-bar {
display: block;
display: block;
...
@@ -446,7 +446,7 @@
...
@@ -446,7 +446,7 @@
color: @white;
color: @white;
background-color: @navbarInverseSearchBackground;
background-color: @navbarInverseSearchBackground;
border-color: @navbarInverseSearchBorder;
border-color: @navbarInverseSearchBorder;
.box-shadow(
~"inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15)"
);
.box-shadow(
inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15)
);
.transition(none);
.transition(none);
.placeholder(@navbarInverseSearchPlaceholderColor);
.placeholder(@navbarInverseSearchPlaceholderColor);
...
...
less/progress-bars.less
View file @
2719ac3e
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
.transition(width .6s ease);
.transition(width .6s ease);
}
}
.progress .bar + .bar {
.progress .bar + .bar {
.box-shadow(
~"inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15)"
);
.box-shadow(
inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15)
);
}
}
// Striped bars
// Striped bars
...
...
less/responsive-navbar.less
View file @
2719ac3e
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
margin: (@baseLineHeight / 2) 0;
margin: (@baseLineHeight / 2) 0;
border-top: 1px solid @navbarBackground;
border-top: 1px solid @navbarBackground;
border-bottom: 1px solid @navbarBackground;
border-bottom: 1px solid @navbarBackground;
.box-shadow(
~"inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1)"
);
.box-shadow(
inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1)
);
}
}
.navbar-inverse .nav-collapse .navbar-form,
.navbar-inverse .nav-collapse .navbar-form,
.navbar-inverse .nav-collapse .navbar-search {
.navbar-inverse .nav-collapse .navbar-search {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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