Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
masonstrap
Commits
28bc2b5d
Commit
28bc2b5d
authored
Jan 29, 2015
by
Thomas Park
Browse files
paper: fix nav-tab jiggle on focus
parent
63b52053
Changes
4
Show whitespace changes
Inline
Side-by-side
paper/_bootswatch.scss
View file @
28bc2b5d
...
...
@@ -341,9 +341,11 @@ input[type="checkbox"],
// Navs =======================================================================
.nav-tabs
{
&
>
li
>
a
{
border
:
none
;
>
li
>
a
,
>
li
>
a
:focus
{
margin-right
:
0
;
background-color
:
transparent
;
border
:
none
;
color
:
$navbar-default-link-color
;
@include
box-shadow
(
inset
0
-1px
0
#ddd
);
@include
transition
(
all
0
.2s
);
...
...
@@ -355,7 +357,8 @@ input[type="checkbox"],
}
}
&
>
li
.active
>
a
{
&
>
li
.active
>
a
,
&
>
li
.active
>
a
:focus
{
border
:
none
;
@include
box-shadow
(
inset
0
-2px
0
$brand-primary
);
color
:
$brand-primary
;
...
...
paper/bootstrap.css
View file @
28bc2b5d
...
...
@@ -7096,9 +7096,11 @@ input[type="checkbox"]:disabled:checked:after,
-webkit-box-shadow
:
inset
0
-2px
0
#4caf50
;
box-shadow
:
inset
0
-2px
0
#4caf50
;
}
.nav-tabs
>
li
>
a
{
border
:
none
;
.nav-tabs
>
li
>
a
,
.nav-tabs
>
li
>
a
:focus
{
margin-right
:
0
;
background-color
:
transparent
;
border
:
none
;
color
:
#666666
;
-webkit-box-shadow
:
inset
0
-1px
0
#dddddd
;
box-shadow
:
inset
0
-1px
0
#dddddd
;
...
...
@@ -7106,19 +7108,22 @@ input[type="checkbox"]:disabled:checked:after,
-o-transition
:
all
0.2s
;
transition
:
all
0.2s
;
}
.nav-tabs
>
li
>
a
:hover
{
.nav-tabs
>
li
>
a
:hover
,
.nav-tabs
>
li
>
a
:focus:hover
{
background-color
:
transparent
;
-webkit-box-shadow
:
inset
0
-2px
0
#2196f3
;
box-shadow
:
inset
0
-2px
0
#2196f3
;
color
:
#2196f3
;
}
.nav-tabs
>
li
.active
>
a
{
.nav-tabs
>
li
.active
>
a
,
.nav-tabs
>
li
.active
>
a
:focus
{
border
:
none
;
-webkit-box-shadow
:
inset
0
-2px
0
#2196f3
;
box-shadow
:
inset
0
-2px
0
#2196f3
;
color
:
#2196f3
;
}
.nav-tabs
>
li
.active
>
a
:hover
{
.nav-tabs
>
li
.active
>
a
:hover
,
.nav-tabs
>
li
.active
>
a
:focus:hover
{
border
:
none
;
color
:
#2196f3
;
}
...
...
paper/bootstrap.min.css
View file @
28bc2b5d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
paper/bootswatch.less
View file @
28bc2b5d
...
...
@@ -341,9 +341,11 @@ input[type="checkbox"],
// Navs =======================================================================
.nav-tabs {
&
> li > a
{
border: none;
> li > a
,
> li > a:focus {
margin-right: 0;
background-color: transparent;
border: none;
color: @navbar-default-link-color;
.box-shadow(inset 0 -1px 0 #ddd);
.transition(all 0.2s);
...
...
@@ -355,7 +357,8 @@ input[type="checkbox"],
}
}
& > li.active > a {
& > li.active > a,
& > li.active > a:focus {
border: none;
.box-shadow(inset 0 -2px 0 @brand-primary);
color: @brand-primary;
...
...
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