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
f2750dd6
Commit
f2750dd6
authored
Sep 16, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10626 from buob/variablize-nav-pill-border-radius
Variablize nav pill border radius
parents
21486ffa
2381ab08
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
dist/css/bootstrap.css
dist/css/bootstrap.css
+1
-1
less/navs.less
less/navs.less
+1
-1
less/variables.less
less/variables.less
+1
-0
No files found.
dist/css/bootstrap.css
View file @
f2750dd6
...
@@ -3951,7 +3951,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
...
@@ -3951,7 +3951,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
}
}
.nav-pills
>
li
>
a
{
.nav-pills
>
li
>
a
{
border-radius
:
5
px
;
border-radius
:
4
px
;
}
}
.nav-pills
>
li
+
li
{
.nav-pills
>
li
+
li
{
...
...
less/navs.less
View file @
f2750dd6
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
// Links rendered as pills
// Links rendered as pills
> a {
> a {
border-radius:
5px
;
border-radius:
@nav-pills-border-radius
;
}
}
+ li {
+ li {
margin-left: 2px;
margin-left: 2px;
...
...
less/variables.less
View file @
f2750dd6
...
@@ -336,6 +336,7 @@
...
@@ -336,6 +336,7 @@
@nav-tabs-justified-active-link-border-color: @body-bg;
@nav-tabs-justified-active-link-border-color: @body-bg;
// Pills
// Pills
@nav-pills-border-radius: @border-radius-base;
@nav-pills-active-link-hover-bg: @component-active-bg;
@nav-pills-active-link-hover-bg: @component-active-bg;
@nav-pills-active-link-hover-color: @component-active-color;
@nav-pills-active-link-hover-color: @component-active-color;
...
...
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