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
f2fadf1f
Commit
f2fadf1f
authored
Jan 18, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename navbar variables, change navbar search placeholder to mixin
parent
a920fa29
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
268 additions
and
266 deletions
+268
-266
bootstrap.css
bootstrap.css
+217
-217
bootstrap.min.css
bootstrap.min.css
+31
-31
lib/bootstrap.less
lib/bootstrap.less
+1
-1
lib/navbar.less
lib/navbar.less
+10
-15
lib/variables.less
lib/variables.less
+9
-2
No files found.
bootstrap.css
View file @
f2fadf1f
This diff is collapsed.
Click to expand it.
bootstrap.min.css
View file @
f2fadf1f
This diff is collapsed.
Click to expand it.
lib/bootstrap.less
View file @
f2fadf1f
...
...
@@ -32,8 +32,8 @@
@import "close.less";
// Components: Nav
@import "navbar.less";
@import "navs.less";
@import "navbar.less";
@import "breadcrumbs.less";
@import "pagination.less";
@import "pager.less";
...
...
lib/navbar.less
View file @
f2fadf1f
// NAVBAR (FIXED AND STATIC)
// -------------------------
// Navbar variables
@navBarHeight: 40px;
@navBarBgStart: #333;
@navBarBgEnd: #222;
// Common styles
// COMMON STYLES
// -------------
.navbar {
overflow: visible;
}
// gradient is applied to it's own element because overflow visible is not honored by IE when filter is present
.navbar-inner {
background-color: @nav
BarBgE
nd;
#gradient > .vertical(@nav
BarBgStart, @navBarBgE
nd);
background-color: @nav
barBackgrou
nd;
#gradient > .vertical(@nav
barBackgroundHighlight, @navbarBackgrou
nd);
@shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
.box-shadow(@shadow);
}
// Text and links
.navbar {
// Hover and active states
...
...
@@ -75,20 +74,16 @@
#font > .sans-serif(13px, normal, 1);
color: @white;
color: rgba(255,255,255,.75);
background
-color
: #444;
background
-color
: rgba(255,255,255,.3);
background: #444;
background: rgba(255,255,255,.3);
border: 1px solid #111;
@shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0px rgba(255,255,255,.15);
.box-shadow(@shadow);
.transition(none);
// Placeholder text gets special styles; can't be bundled together though for some reason
&:-moz-placeholder {
color: @grayLighter;
}
&::-webkit-input-placeholder {
color: @grayLighter;
}
.placeholder(@grayLighter);
// Hover states
&:hover {
color: @white;
...
...
lib/variables.less
View file @
f2fadf1f
...
...
@@ -51,6 +51,9 @@
// COMPONENT VARIABLES
// --------------------------------------------------
// Input placeholder text color
@placeHolderText: @grayLight;
// Z-index master list
// Used for a bird's eye view of components dependent on the z-axis
@zindexDropdown: 1000;
...
...
@@ -60,5 +63,9 @@
@zindexModalBackdrop: 1040;
@zindexModal: 1050;
// Input placeholder text color
@placeHolderText: @grayLight;
// Navbar
@navBarHeight: 40px;
@navbarBackground: #222;
@navbarBackgroundHighlight: #333;
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