-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c67597
commit 114d51b
Showing
58 changed files
with
21,735 additions
and
1,199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Merge branch 'working' of git://github.com/thecodeisclear/metro-bootstrap | ||
|
||
Conflicts: | ||
components.html | ||
css/metro-bootstrap.css | ||
# | ||
# It looks like you may be committing a merge. | ||
# If this is not correct, please remove the file | ||
# .git/MERGE_HEAD | ||
# and try again. | ||
|
||
|
||
# Please enter the commit message for your changes. Lines starting | ||
# with '#' will be ignored, and an empty message aborts the commit. | ||
# On branch master | ||
# All conflicts fixed but you are still merging. | ||
# (use "git commit" to conclude merge) | ||
# | ||
# Changes to be committed: | ||
# | ||
# modified: components.html | ||
# modified: css/metro-bootstrap.css | ||
# modified: docs/font-awesome.css | ||
# modified: fonts/FontAwesome.otf | ||
# modified: fonts/fontawesome-webfont.eot | ||
# modified: fonts/fontawesome-webfont.svg | ||
# modified: fonts/fontawesome-webfont.ttf | ||
# modified: fonts/fontawesome-webfont.woff | ||
# | ||
# Changes not staged for commit: | ||
# (use "git add <file>..." to update what will be committed) | ||
# (use "git checkout -- <file>..." to discard changes in working directory) | ||
# | ||
# modified: components.html | ||
# modified: css/metro-bootstrap.css | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// | ||
// Alerts | ||
// -------------------------------------------------- | ||
|
||
|
||
// Base styles | ||
// ------------------------- | ||
|
||
.alert { | ||
padding: @alert-padding; | ||
margin-bottom: @line-height-computed; | ||
border: 1px solid transparent; | ||
border-radius: @alert-border-radius; | ||
|
||
// Headings for larger alerts | ||
h4 { | ||
margin-top: 0; | ||
// Specified for the h4 to prevent conflicts of changing @headings-color | ||
color: inherit; | ||
} | ||
// Provide class for links that match alerts | ||
.alert-link { | ||
font-weight: @alert-link-font-weight; | ||
} | ||
|
||
// Improve alignment and spacing of inner content | ||
> p, | ||
> ul { | ||
margin-bottom: 0; | ||
} | ||
> p + p { | ||
margin-top: 5px; | ||
} | ||
} | ||
|
||
// Dismissable alerts | ||
// | ||
// Expand the right padding and account for the close button's positioning. | ||
|
||
.alert-dismissable { | ||
padding-right: (@alert-padding + 20); | ||
|
||
// Adjust close link position | ||
.close { | ||
position: relative; | ||
top: -2px; | ||
right: -21px; | ||
color: inherit; | ||
} | ||
} | ||
|
||
// Alternate styles | ||
// | ||
// Generate contextual modifier classes for colorizing the alert. | ||
|
||
.alert-success { | ||
.alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text); | ||
} | ||
.alert-info { | ||
.alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text); | ||
} | ||
.alert-warning { | ||
.alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text); | ||
} | ||
.alert-danger { | ||
.alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// | ||
// Badges | ||
// -------------------------------------------------- | ||
|
||
|
||
// Base classes | ||
.badge { | ||
display: inline-block; | ||
min-width: 10px; | ||
padding: 3px 7px; | ||
font-size: @font-size-small; | ||
font-weight: @badge-font-weight; | ||
color: @badge-color; | ||
line-height: @badge-line-height; | ||
vertical-align: baseline; | ||
white-space: nowrap; | ||
text-align: center; | ||
background-color: @badge-bg; | ||
border-radius: @badge-border-radius; | ||
|
||
// Empty badges collapse automatically (not available in IE8) | ||
&:empty { | ||
display: none; | ||
} | ||
} | ||
|
||
// Hover state, but only for links | ||
a.badge { | ||
&:hover, | ||
&:focus { | ||
color: @badge-link-hover-color; | ||
text-decoration: none; | ||
cursor: pointer; | ||
} | ||
} | ||
|
||
// Quick fix for labels/badges in buttons | ||
.btn .badge { | ||
position: relative; | ||
top: -1px; | ||
} | ||
|
||
// Account for counters in navs | ||
a.list-group-item.active > .badge, | ||
.nav-pills > .active > a > .badge { | ||
color: @badge-active-color; | ||
background-color: @badge-active-bg; | ||
} | ||
.nav-pills > li > a > .badge { | ||
margin-left: 3px; | ||
} |
Oops, something went wrong.