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
1916eb7c
Commit
1916eb7c
authored
Jan 13, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix btn link hover and tweak dropdown border/shadows
parent
0b31cfc9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
9 deletions
+18
-9
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+11
-6
less/buttons.less
less/buttons.less
+5
-1
less/dropdowns.less
less/dropdowns.less
+1
-1
less/variables.less
less/variables.less
+1
-1
No files found.
docs/assets/css/bootstrap.css
View file @
1916eb7c
...
@@ -2224,10 +2224,10 @@ table th[class*="span"] {
...
@@ -2224,10 +2224,10 @@ table th[class*="span"] {
list-style
:
none
;
list-style
:
none
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.
2
);
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.
15
);
border-radius
:
4px
;
border-radius
:
4px
;
-webkit-box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
0.175
);
box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
0.175
);
-webkit-background-clip
:
padding-box
;
-webkit-background-clip
:
padding-box
;
-moz-background-clip
:
padding-box
;
-moz-background-clip
:
padding-box
;
background-clip
:
padding-box
;
background-clip
:
padding-box
;
...
@@ -2575,11 +2575,16 @@ fieldset[disabled] .btn-link {
...
@@ -2575,11 +2575,16 @@ fieldset[disabled] .btn-link {
box-shadow
:
none
;
box-shadow
:
none
;
}
}
.btn-link
,
.btn-link
:hover
,
.btn-link
:active
{
border-color
:
transparent
;
}
.btn-link
{
.btn-link
{
font-weight
:
normal
;
font-weight
:
normal
;
color
:
#428bca
;
color
:
#428bca
;
cursor
:
pointer
;
cursor
:
pointer
;
border-color
:
transparent
;
border-radius
:
0
;
border-radius
:
0
;
}
}
...
@@ -3345,7 +3350,7 @@ fieldset[disabled] .navbar .btn-navbar {
...
@@ -3345,7 +3350,7 @@ fieldset[disabled] .navbar .btn-navbar {
border-right
:
7px
solid
transparent
;
border-right
:
7px
solid
transparent
;
border-bottom
:
7px
solid
#ccc
;
border-bottom
:
7px
solid
#ccc
;
border-left
:
7px
solid
transparent
;
border-left
:
7px
solid
transparent
;
border-bottom-color
:
rgba
(
0
,
0
,
0
,
0.
2
);
border-bottom-color
:
rgba
(
0
,
0
,
0
,
0.
15
);
content
:
''
;
content
:
''
;
}
}
...
@@ -3365,7 +3370,7 @@ fieldset[disabled] .navbar .btn-navbar {
...
@@ -3365,7 +3370,7 @@ fieldset[disabled] .navbar .btn-navbar {
bottom
:
-7px
;
bottom
:
-7px
;
border-top
:
7px
solid
#ccc
;
border-top
:
7px
solid
#ccc
;
border-bottom
:
0
;
border-bottom
:
0
;
border-top-color
:
rgba
(
0
,
0
,
0
,
0.
2
);
border-top-color
:
rgba
(
0
,
0
,
0
,
0.
15
);
}
}
.navbar-fixed-bottom
.nav
>
li
>
.dropdown-menu
:after
{
.navbar-fixed-bottom
.nav
>
li
>
.dropdown-menu
:after
{
...
...
less/buttons.less
View file @
1916eb7c
...
@@ -183,11 +183,15 @@ fieldset[disabled] .btn-link {
...
@@ -183,11 +183,15 @@ fieldset[disabled] .btn-link {
background-image: none;
background-image: none;
.box-shadow(none);
.box-shadow(none);
}
}
.btn-link,
.btn-link:hover,
.btn-link:active {
border-color: transparent;
}
.btn-link {
.btn-link {
color: @link-color;
color: @link-color;
font-weight: normal;
font-weight: normal;
cursor: pointer;
cursor: pointer;
border-color: transparent;
border-radius: 0;
border-radius: 0;
}
}
.btn-link:hover {
.btn-link:hover {
...
...
less/dropdowns.less
View file @
1916eb7c
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
border: 1px solid #ccc; // IE8 fallback
border: 1px solid #ccc; // IE8 fallback
border: 1px solid @dropdown-border;
border: 1px solid @dropdown-border;
border-radius: @border-radius-base;
border-radius: @border-radius-base;
.box-shadow(0
5px 10px rgba(0,0,0,.2
));
.box-shadow(0
6px 12px rgba(0,0,0,.175
));
.background-clip(padding-box);
.background-clip(padding-box);
// Aligns the dropdown menu to right
// Aligns the dropdown menu to right
...
...
less/variables.less
View file @
1916eb7c
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
// -------------------------
// -------------------------
@dropdown-background: #fff;
@dropdown-background: #fff;
@dropdown-border: rgba(0,0,0,.
2
);
@dropdown-border: rgba(0,0,0,.
15
);
@dropdown-divider-top: #e5e5e5;
@dropdown-divider-top: #e5e5e5;
@dropdown-divider-bottom: #fff;
@dropdown-divider-bottom: #fff;
...
...
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