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
dcf1b60f
Commit
dcf1b60f
authored
Jul 06, 2013
by
Chris Rebert
Committed by
Chris Rebert
Jul 07, 2013
Browse files
Options
Browse Files
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
with
32 additions
and
29 deletions
+32
-29
less/badges.less
less/badges.less
+3
-5
less/jumbotron.less
less/jumbotron.less
+1
-4
less/media.less
less/media.less
+7
-5
less/popovers.less
less/popovers.less
+10
-8
less/print.less
less/print.less
+11
-7
No files found.
less/badges.less
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
...
...
less/jumbotron.less
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);
}
...
...
less/media.less
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;
}
}
...
...
less/popovers.less
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;
...
...
less/print.less
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;
...
...
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