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
dd8b745b
Commit
dd8b745b
authored
Oct 03, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use border-radius vars where possible
parent
e73cd15f
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
31 additions
and
31 deletions
+31
-31
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+15
-15
less/accordion.less
less/accordion.less
+1
-1
less/alerts.less
less/alerts.less
+1
-1
less/breadcrumbs.less
less/breadcrumbs.less
+1
-1
less/buttons.less
less/buttons.less
+1
-1
less/code.less
less/code.less
+1
-1
less/dropdowns.less
less/dropdowns.less
+1
-1
less/navbar.less
less/navbar.less
+1
-1
less/progress-bars.less
less/progress-bars.less
+1
-1
less/responsive-navbar.less
less/responsive-navbar.less
+1
-1
less/tables.less
less/tables.less
+1
-1
less/thumbnails.less
less/thumbnails.less
+1
-1
less/tooltip.less
less/tooltip.less
+1
-1
less/variables.less
less/variables.less
+1
-1
less/wells.less
less/wells.less
+3
-3
No files found.
docs/assets/css/bootstrap.css
View file @
dd8b745b
...
@@ -3144,9 +3144,9 @@ button.close {
...
@@ -3144,9 +3144,9 @@ button.close {
.btn-large
{
.btn-large
{
padding
:
11px
19px
;
padding
:
11px
19px
;
font-size
:
17.5px
;
font-size
:
17.5px
;
-webkit-border-radius
:
5
px
;
-webkit-border-radius
:
6
px
;
-moz-border-radius
:
5
px
;
-moz-border-radius
:
6
px
;
border-radius
:
5
px
;
border-radius
:
6
px
;
}
}
.btn-large
[
class
^=
"icon-"
],
.btn-large
[
class
^=
"icon-"
],
...
@@ -4838,22 +4838,22 @@ input[type="submit"].btn.btn-mini {
...
@@ -4838,22 +4838,22 @@ input[type="submit"].btn.btn-mini {
.pagination-large
ul
>
li
:first-child
>
a
,
.pagination-large
ul
>
li
:first-child
>
a
,
.pagination-large
ul
>
li
:first-child
>
span
{
.pagination-large
ul
>
li
:first-child
>
span
{
-webkit-border-bottom-left-radius
:
5
px
;
-webkit-border-bottom-left-radius
:
6
px
;
border-bottom-left-radius
:
5
px
;
border-bottom-left-radius
:
6
px
;
-webkit-border-top-left-radius
:
5
px
;
-webkit-border-top-left-radius
:
6
px
;
border-top-left-radius
:
5
px
;
border-top-left-radius
:
6
px
;
-moz-border-radius-bottomleft
:
5
px
;
-moz-border-radius-bottomleft
:
6
px
;
-moz-border-radius-topleft
:
5
px
;
-moz-border-radius-topleft
:
6
px
;
}
}
.pagination-large
ul
>
li
:last-child
>
a
,
.pagination-large
ul
>
li
:last-child
>
a
,
.pagination-large
ul
>
li
:last-child
>
span
{
.pagination-large
ul
>
li
:last-child
>
span
{
-webkit-border-top-right-radius
:
5
px
;
-webkit-border-top-right-radius
:
6
px
;
border-top-right-radius
:
5
px
;
border-top-right-radius
:
6
px
;
-webkit-border-bottom-right-radius
:
5
px
;
-webkit-border-bottom-right-radius
:
6
px
;
border-bottom-right-radius
:
5
px
;
border-bottom-right-radius
:
6
px
;
-moz-border-radius-topright
:
5
px
;
-moz-border-radius-topright
:
6
px
;
-moz-border-radius-bottomright
:
5
px
;
-moz-border-radius-bottomright
:
6
px
;
}
}
.pagination-mini
ul
>
li
:first-child
>
a
,
.pagination-mini
ul
>
li
:first-child
>
a
,
...
...
less/accordion.less
View file @
dd8b745b
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
.accordion-group {
.accordion-group {
margin-bottom: 2px;
margin-bottom: 2px;
border: 1px solid #e5e5e5;
border: 1px solid #e5e5e5;
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
}
}
.accordion-heading {
.accordion-heading {
border-bottom: 0;
border-bottom: 0;
...
...
less/alerts.less
View file @
dd8b745b
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
text-shadow: 0 1px 0 rgba(255,255,255,.5);
text-shadow: 0 1px 0 rgba(255,255,255,.5);
background-color: @warningBackground;
background-color: @warningBackground;
border: 1px solid @warningBorder;
border: 1px solid @warningBorder;
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
color: @warningText;
color: @warningText;
}
}
.alert h4 {
.alert h4 {
...
...
less/breadcrumbs.less
View file @
dd8b745b
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
margin: 0 0 @baseLineHeight;
margin: 0 0 @baseLineHeight;
list-style: none;
list-style: none;
background-color: #f5f5f5;
background-color: #f5f5f5;
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
li {
li {
display: inline-block;
display: inline-block;
.ie7-inline-block();
.ie7-inline-block();
...
...
less/buttons.less
View file @
dd8b745b
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
border: 1px solid @btnBorder;
border: 1px solid @btnBorder;
*border: 0; // Remove the border to prevent IE7's black border on input:focus
*border: 0; // Remove the border to prevent IE7's black border on input:focus
border-bottom-color: darken(@btnBorder, 10%);
border-bottom-color: darken(@btnBorder, 10%);
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
.ie7-restore-left-whitespace(); // Give IE7 some love
.ie7-restore-left-whitespace(); // Give IE7 some love
.box-shadow(~"inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)");
.box-shadow(~"inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)");
...
...
less/code.less
View file @
dd8b745b
...
@@ -35,7 +35,7 @@ pre {
...
@@ -35,7 +35,7 @@ pre {
background-color: #f5f5f5;
background-color: #f5f5f5;
border: 1px solid #ccc; // fallback for IE7-8
border: 1px solid #ccc; // fallback for IE7-8
border: 1px solid rgba(0,0,0,.15);
border: 1px solid rgba(0,0,0,.15);
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
// Make prettyprint styles more spaced out for readability
// Make prettyprint styles more spaced out for readability
&.prettyprint {
&.prettyprint {
...
...
less/dropdowns.less
View file @
dd8b745b
...
@@ -234,5 +234,5 @@
...
@@ -234,5 +234,5 @@
// ---------
// ---------
.typeahead {
.typeahead {
margin-top: 2px; // give it some space to breathe
margin-top: 2px; // give it some space to breathe
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
}
}
less/navbar.less
View file @
dd8b745b
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
padding-right: 20px;
padding-right: 20px;
#gradient > .vertical(@navbarBackgroundHighlight, @navbarBackground);
#gradient > .vertical(@navbarBackgroundHighlight, @navbarBackground);
border: 1px solid @navbarBorder;
border: 1px solid @navbarBorder;
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
.box-shadow(0 1px 4px rgba(0,0,0,.065));
.box-shadow(0 1px 4px rgba(0,0,0,.065));
// Prevent floats from breaking the navbar
// Prevent floats from breaking the navbar
...
...
less/progress-bars.less
View file @
dd8b745b
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
margin-bottom: @baseLineHeight;
margin-bottom: @baseLineHeight;
#gradient > .vertical(#f5f5f5, #f9f9f9);
#gradient > .vertical(#f5f5f5, #f9f9f9);
.box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
.box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
}
}
// Bar of progress
// Bar of progress
...
...
less/responsive-navbar.less
View file @
dd8b745b
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
.nav-collapse .btn {
.nav-collapse .btn {
padding: 4px 10px 4px;
padding: 4px 10px 4px;
font-weight: normal;
font-weight: normal;
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
}
}
.nav-collapse .dropdown-menu li + li a {
.nav-collapse .dropdown-menu li + li a {
margin-bottom: 2px;
margin-bottom: 2px;
...
...
less/tables.less
View file @
dd8b745b
...
@@ -71,7 +71,7 @@ table {
...
@@ -71,7 +71,7 @@ table {
border-collapse: separate; // Done so we can round those corners!
border-collapse: separate; // Done so we can round those corners!
*border-collapse: collapse; // IE7 can't round corners anyway
*border-collapse: collapse; // IE7 can't round corners anyway
border-left: 0;
border-left: 0;
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
th,
th,
td {
td {
border-left: 1px solid @tableBorder;
border-left: 1px solid @tableBorder;
...
...
less/thumbnails.less
View file @
dd8b745b
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
padding: 4px;
padding: 4px;
line-height: @baseLineHeight;
line-height: @baseLineHeight;
border: 1px solid #ddd;
border: 1px solid #ddd;
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
.box-shadow(0 1px 3px rgba(0,0,0,.055));
.box-shadow(0 1px 3px rgba(0,0,0,.055));
.transition(all .2s ease-in-out);
.transition(all .2s ease-in-out);
}
}
...
...
less/tooltip.less
View file @
dd8b745b
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
text-align: center;
text-align: center;
text-decoration: none;
text-decoration: none;
background-color: @tooltipBackground;
background-color: @tooltipBackground;
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
}
}
// Arrows
// Arrows
...
...
less/variables.less
View file @
dd8b745b
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
@paddingMini: 1px 6px; // 24px
@paddingMini: 1px 6px; // 24px
@baseBorderRadius: 4px;
@baseBorderRadius: 4px;
@borderRadiusLarge:
5
px;
@borderRadiusLarge:
6
px;
@borderRadiusSmall: 3px;
@borderRadiusSmall: 3px;
...
...
less/wells.less
View file @
dd8b745b
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
margin-bottom: 20px;
margin-bottom: 20px;
background-color: @wellBackground;
background-color: @wellBackground;
border: 1px solid darken(@wellBackground, 7%);
border: 1px solid darken(@wellBackground, 7%);
.border-radius(
4px
);
.border-radius(
@baseBorderRadius
);
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
blockquote {
blockquote {
border-color: #ddd;
border-color: #ddd;
...
@@ -21,9 +21,9 @@
...
@@ -21,9 +21,9 @@
// Sizes
// Sizes
.well-large {
.well-large {
padding: 24px;
padding: 24px;
.border-radius(
6px
);
.border-radius(
@borderRadiusLarge
);
}
}
.well-small {
.well-small {
padding: 9px;
padding: 9px;
.border-radius(
3px
);
.border-radius(
@borderRadiusSmall
);
}
}
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