Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
dcf1b60f
Commit
dcf1b60f
authored
11 years ago
by
Chris Rebert
Committed by
Chris Rebert
11 years ago
Browse files
Options
Download
Email Patches
Plain Diff
refactor {badges,jumbotron,media,popover,print}.less (mostly nesting)
parent
084291aa
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
less/badges.less
+3
-5
less/badges.less
less/jumbotron.less
+1
-4
less/jumbotron.less
less/media.less
+7
-5
less/media.less
less/popovers.less
+10
-8
less/popovers.less
less/print.less
+11
-7
less/print.less
with
32 additions
and
29 deletions
+32
-29
less/badges.less
+
3
-
5
View file @
dcf1b60f
...
...
@@ -35,11 +35,9 @@ a.badge {
}
// Quick fix for labels/badges in buttons
.btn {
.badge {
position: relative;
top: -1px;
}
.btn .badge {
position: relative;
top: -1px;
}
// Account for counters in navs
...
...
This diff is collapsed.
Click to expand it.
less/jumbotron.less
+
1
-
4
View file @
dcf1b60f
...
...
@@ -18,13 +18,10 @@
p {
line-height: 1.4;
}
}
@media screen and (min-width: @screen-tablet) {
.jumbotron {
@media screen and (min-width: @screen-tablet) {
padding: 50px 60px;
border-radius: @border-radius-large; // Only round corners at higher resolutions
h1 {
font-size: (@font-size-base * 4.5);
}
...
...
This diff is collapsed.
Click to expand it.
less/media.less
+
7
-
5
View file @
dcf1b60f
...
...
@@ -36,11 +36,13 @@
// Media image alignment
// -------------------------
.media > .pull-left {
margin-right: 10px;
}
.media > .pull-right {
margin-left: 10px;
.media {
> .pull-left {
margin-right: 10px;
}
> .pull-right {
margin-left: 10px;
}
}
...
...
This diff is collapsed.
Click to expand it.
less/popovers.less
+
10
-
8
View file @
dcf1b60f
...
...
@@ -50,14 +50,16 @@
//
// .arrow is outer, .arrow:after is inner
.popover .arrow,
.popover .arrow:after {
position: absolute;
display: block;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
.popover .arrow {
&,
&:after {
position: absolute;
display: block;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
}
.popover .arrow {
border-width: @popover-arrow-outer-width;
...
...
This diff is collapsed.
Click to expand it.
less/print.less
+
11
-
7
View file @
dcf1b60f
...
...
@@ -71,13 +71,17 @@
.navbar {
display: none;
}
.table td,
.table th {
background-color: #fff !important;
}
.btn > .caret,
.dropup > .btn > .caret {
border-top-color: #000 !important;
.table {
td,
th {
background-color: #fff !important;
}
}
.btn,
.dropup > .btn {
> .caret {
border-top-color: #000 !important;
}
}
.label {
border: 1px solid #000;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets