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
db0e0aae
Commit
db0e0aae
authored
Mar 31, 2014
by
Thomas Park
Browse files
style badge in navbar, fixes #241
parent
eb7d6f9a
Changes
42
Expand all
Show whitespace changes
Inline
Side-by-side
journal/bootswatch.less
View file @
db0e0aae
...
...
@@ -10,6 +10,22 @@
font-size: 18px;
font-family: @font-family-sans-serif;
font-weight: @headings-font-weight;
&-default {
.badge {
background-color: #000;
color: #fff;
}
}
&-inverse {
.badge {
background-color: #fff;
color: @navbar-inverse-bg;
}
}
}
.navbar-brand {
...
...
@@ -66,6 +82,12 @@
// Indicators =================================================================
.badge {
padding-bottom: 4px;
vertical-align: 3px;
font-size: 10px;
}
// Progress bars ==============================================================
// Containers =================================================================
...
...
journal/variables.less
View file @
db0e0aae
...
...
@@ -728,7 +728,7 @@
@badge-color: #fff;
//** Linked badge text color on hover
@badge-link-hover-color: #fff;
@badge-bg: @
gray-light
;
@badge-bg: @
link-color
;
//** Badge text color in active nav link
@badge-active-color: @link-color;
...
...
readable/bootstrap.css
View file @
db0e0aae
@import
url("//fonts.googleapis.com/css?family=Raleway:400,700")
;
/*!
* Bootswatch v3.1.1
* Bootswatch v3.1.1
+1
* Homepage: http://bootswatch.com
* Copyright 2012-2014 Thomas Park
* Licensed under MIT
...
...
@@ -5863,6 +5863,8 @@ legend {
color
:
#333333
;
}
.badge
{
padding
:
1px
7px
5px
;
vertical-align
:
2px
;
font-family
:
"Raleway"
,
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-weight
:
normal
;
}
...
...
readable/bootstrap.min.css
View file @
db0e0aae
This diff is collapsed.
Click to expand it.
readable/bootswatch.less
View file @
db0e0aae
...
...
@@ -130,6 +130,8 @@ legend {
}
.badge {
padding: 1px 7px 5px;
vertical-align: 2px;
font-family: @headings-font-family;
font-weight: normal;
}
...
...
simplex/bootstrap.css
View file @
db0e0aae
/*!
* Bootswatch v3.1.1
* Bootswatch v3.1.1
+1
* Homepage: http://bootswatch.com
* Copyright 2012-2014 Thomas Park
* Licensed under MIT
...
...
@@ -4333,7 +4333,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
vertical-align
:
baseline
;
white-space
:
nowrap
;
text-align
:
center
;
background-color
:
#
808080
;
background-color
:
#
d9230f
;
border-radius
:
10px
;
}
.badge
:empty
{
...
...
@@ -5779,6 +5779,10 @@ button.close {
display
:
none
!important
;
}
}
.navbar-inverse
.badge
{
background-color
:
#fff
;
color
:
#d9230f
;
}
.btn
{
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
}
...
...
simplex/bootstrap.min.css
View file @
db0e0aae
This diff is collapsed.
Click to expand it.
simplex/bootswatch.less
View file @
db0e0aae
...
...
@@ -10,6 +10,17 @@
// Navbar =====================================================================
.navbar {
&-inverse {
.badge {
background-color: #fff;
color: @brand-primary;
}
}
}
// Buttons ====================================================================
.btn {
...
...
simplex/variables.less
View file @
db0e0aae
...
...
@@ -728,7 +728,7 @@
@badge-color: #fff;
//** Linked badge text color on hover
@badge-link-hover-color: #fff;
@badge-bg: @
gray-light
;
@badge-bg: @
link-color
;
//** Badge text color in active nav link
@badge-active-color: @link-color;
...
...
slate/bootstrap.css
View file @
db0e0aae
/*!
* Bootswatch v3.1.1
* Bootswatch v3.1.1
+1
* Homepage: http://bootswatch.com
* Copyright 2012-2014 Thomas Park
* Licensed under MIT
...
...
@@ -5795,6 +5795,9 @@ button.close {
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#ff8a9196'
,
endColorstr
=
'#ff70787d'
,
GradientType
=
0
);
filter
:
none
;
}
.navbar-inverse
.badge
{
background-color
:
#5d6368
;
}
.navbar-nav
>
li
>
a
{
border-right
:
1px
solid
rgba
(
0
,
0
,
0
,
0.2
);
border-left
:
1px
solid
rgba
(
255
,
255
,
255
,
0.1
);
...
...
slate/bootstrap.min.css
View file @
db0e0aae
This diff is collapsed.
Click to expand it.
slate/bootswatch.less
View file @
db0e0aae
...
...
@@ -22,6 +22,10 @@
&-inverse {
.btn-shadow(@navbar-inverse-bg);
.badge {
background-color: @navbar-inverse-link-active-bg;
}
}
&-nav > li > a {
...
...
spacelab/bootstrap.css
View file @
db0e0aae
@import
url("//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700")
;
/*!
* Bootswatch v3.1.1
* Bootswatch v3.1.1
+1
* Homepage: http://bootswatch.com
* Copyright 2012-2014 Thomas Park
* Licensed under MIT
...
...
@@ -4334,7 +4334,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
vertical-align
:
baseline
;
white-space
:
nowrap
;
text-align
:
center
;
background-color
:
#
999999
;
background-color
:
#
3399f3
;
border-radius
:
10px
;
}
.badge
:empty
{
...
...
@@ -5798,6 +5798,13 @@ button.close {
border
:
1px
solid
#345578
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0.3
);
}
.navbar-inverse
.badge
{
background-color
:
#fff
;
color
:
#446e9b
;
}
.navbar
.badge
{
text-shadow
:
none
;
}
.navbar-nav
>
li
>
a
,
.navbar-nav
>
li
>
a
:hover
{
padding-top
:
17px
;
...
...
spacelab/bootstrap.min.css
View file @
db0e0aae
This diff is collapsed.
Click to expand it.
spacelab/bootswatch.less
View file @
db0e0aae
...
...
@@ -20,6 +20,15 @@
&-inverse {
.btn-shadow(@navbar-inverse-bg);
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
.badge {
background-color: #fff;
color: @navbar-inverse-bg;
}
}
.badge {
text-shadow: none;
}
&-nav > li > a,
...
...
spacelab/variables.less
View file @
db0e0aae
...
...
@@ -728,7 +728,7 @@
@badge-color: #fff;
//** Linked badge text color on hover
@badge-link-hover-color: #fff;
@badge-bg: @
gray-light
;
@badge-bg: @
link-color
;
//** Badge text color in active nav link
@badge-active-color: @link-color;
...
...
superhero/bootstrap.css
View file @
db0e0aae
@import
url("//fonts.googleapis.com/css?family=Lato:300,400,700")
;
/*!
* Bootswatch v3.1.1
* Bootswatch v3.1.1
+1
* Homepage: http://bootswatch.com
* Copyright 2012-2014 Thomas Park
* Licensed under MIT
...
...
@@ -5779,6 +5779,14 @@ button.close {
border
:
none
;
font-size
:
12px
;
}
.navbar-default
.badge
{
background-color
:
#fff
;
color
:
#4e5d6c
;
}
.navbar-inverse
.badge
{
background-color
:
#fff
;
color
:
#df691a
;
}
.btn
{
font-weight
:
300
;
}
...
...
superhero/bootstrap.min.css
View file @
db0e0aae
This diff is collapsed.
Click to expand it.
superhero/bootswatch.less
View file @
db0e0aae
...
...
@@ -11,8 +11,20 @@
border: none;
font-size: 12px;
&-default .navbar-nav {
&-default {
.badge {
background-color: #fff;
color: @navbar-default-bg;
}
}
&-inverse {
.badge {
background-color: #fff;
color: @navbar-inverse-bg;
}
}
}
...
...
united/bootstrap.css
View file @
db0e0aae
@import
url("//fonts.googleapis.com/css?family=Ubuntu")
;
/*!
* Bootswatch v3.1.1
* Bootswatch v3.1.1
+1
* Homepage: http://bootswatch.com
* Copyright 2012-2014 Thomas Park
* Licensed under MIT
...
...
@@ -5780,3 +5780,11 @@ button.close {
display
:
none
!important
;
}
}
.navbar-default
.badge
{
background-color
:
#fff
;
color
:
#dd4814
;
}
.navbar-inverse
.badge
{
background-color
:
#fff
;
color
:
#772953
;
}
Prev
1
2
3
Next
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