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
a282dba5
Commit
a282dba5
authored
Jul 24, 2013
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wip
parents
eaefed51
1f40da96
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
80 additions
and
25 deletions
+80
-25
customize.html
customize.html
+30
-0
dist/css/bootstrap.css
dist/css/bootstrap.css
+24
-9
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/dropdowns.less
less/dropdowns.less
+1
-1
less/modals.less
less/modals.less
+7
-7
less/navs.less
less/navs.less
+6
-5
less/pager.less
less/pager.less
+1
-1
less/pagination.less
less/pagination.less
+1
-1
less/variables.less
less/variables.less
+9
-0
No files found.
customize.html
View file @
a282dba5
...
@@ -1019,6 +1019,36 @@ lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to ge
...
@@ -1019,6 +1019,36 @@ lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to ge
<input
type=
"text"
placeholder=
"@line-height-base"
>
<input
type=
"text"
placeholder=
"@line-height-base"
>
<p
class=
"help-block"
>
Modal title line-height
</p>
<p
class=
"help-block"
>
Modal title line-height
</p>
</div>
</div>
<div
class=
"col-lg-4"
>
<label>
@modal-content-bg
</label>
<input
type=
"text"
placeholder=
"#fff"
>
<p
class=
"help-block"
>
Background color of modal content area
</p>
</div>
<div
class=
"col-lg-4"
>
<label>
@modal-content-border-color
</label>
<input
type=
"text"
placeholder=
"rgba(0,0,0,.2)"
>
<p
class=
"help-block"
>
Modal content border color
</p>
</div>
<div
class=
"col-lg-4"
>
<label>
@modal-content-fallback-border-color
</label>
<input
type=
"text"
placeholder=
"#999"
>
<p
class=
"help-block"
>
Modal content border color
<strong>
for IE8
</strong></p>
</div>
<div
class=
"col-lg-4"
>
<label>
@modal-backdrop-bg
</label>
<input
type=
"text"
placeholder=
"#000"
>
<p
class=
"help-block"
>
Modal backdrop background color
</p>
</div>
<div
class=
"col-lg-4"
>
<label>
@modal-header-border-color
</label>
<input
type=
"text"
placeholder=
"#e5e5e5"
>
<p
class=
"help-block"
>
Modal header border color
</p>
</div>
<div
class=
"col-lg-4"
>
<label>
@modal-footer-border-color
</label>
<input
type=
"text"
placeholder=
"@modal-header-border-color"
>
<p
class=
"help-block"
>
Modal footer border color
</p>
</div>
</div>
</div>
<h2
id=
"variables-carousel"
>
Carousel
</h2>
<h2
id=
"variables-carousel"
>
Carousel
</h2>
...
...
dist/css/bootstrap.css
View file @
a282dba5
...
@@ -2219,7 +2219,7 @@ input[type="button"].btn-block {
...
@@ -2219,7 +2219,7 @@ input[type="button"].btn-block {
.dropdown-menu
>
.disabled
>
a
:hover
,
.dropdown-menu
>
.disabled
>
a
:hover
,
.dropdown-menu
>
.disabled
>
a
:focus
{
.dropdown-menu
>
.disabled
>
a
:focus
{
text-decoration
:
none
;
text-decoration
:
none
;
cursor
:
default
;
cursor
:
not-allowed
;
background-color
:
transparent
;
background-color
:
transparent
;
background-image
:
none
;
background-image
:
none
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
enabled
=
false
);
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
enabled
=
false
);
...
@@ -2540,7 +2540,7 @@ button.close {
...
@@ -2540,7 +2540,7 @@ button.close {
.nav
>
li
.disabled
>
a
:focus
{
.nav
>
li
.disabled
>
a
:focus
{
color
:
#999999
;
color
:
#999999
;
text-decoration
:
none
;
text-decoration
:
none
;
cursor
:
default
;
cursor
:
not-allowed
;
background-color
:
transparent
;
background-color
:
transparent
;
}
}
...
@@ -2605,6 +2605,7 @@ button.close {
...
@@ -2605,6 +2605,7 @@ button.close {
}
}
.nav-tabs.nav-justified
{
.nav-tabs.nav-justified
{
display
:
table
;
width
:
100%
;
width
:
100%
;
border-bottom
:
0
;
border-bottom
:
0
;
}
}
...
@@ -2612,7 +2613,7 @@ button.close {
...
@@ -2612,7 +2613,7 @@ button.close {
.nav-tabs.nav-justified
>
li
{
.nav-tabs.nav-justified
>
li
{
display
:
table-cell
;
display
:
table-cell
;
float
:
none
;
float
:
none
;
width
:
1%
;
width
:
auto
;
}
}
.nav-tabs.nav-justified
>
li
>
a
{
.nav-tabs.nav-justified
>
li
>
a
{
...
@@ -2657,19 +2658,33 @@ button.close {
...
@@ -2657,19 +2658,33 @@ button.close {
}
}
.nav-justified
{
.nav-justified
{
display
:
table
;
width
:
100%
;
width
:
100%
;
}
}
.nav-justified
>
li
{
.nav-justified
>
li
{
display
:
table-cell
;
display
:
table-cell
;
float
:
none
;
float
:
none
;
width
:
1%
;
width
:
auto
;
}
}
.nav-justified
>
li
>
a
{
.nav-justified
>
li
>
a
{
text-align
:
center
;
text-align
:
center
;
}
}
.nav-tabs-justified
{
border-bottom
:
0
;
}
.nav-tabs-justified
>
li
>
a
{
margin-right
:
0
;
border-bottom
:
1px
solid
#ddd
;
}
.nav-tabs-justified
>
.active
>
a
{
border-bottom-color
:
#ffffff
;
}
.tabbable
:before
,
.tabbable
:before
,
.tabbable
:after
{
.tabbable
:after
{
display
:
table
;
display
:
table
;
...
@@ -3301,7 +3316,7 @@ button.close {
...
@@ -3301,7 +3316,7 @@ button.close {
.pagination
>
.disabled
>
a
:hover
,
.pagination
>
.disabled
>
a
:hover
,
.pagination
>
.disabled
>
a
:focus
{
.pagination
>
.disabled
>
a
:focus
{
color
:
#999999
;
color
:
#999999
;
cursor
:
default
;
cursor
:
not-allowed
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
}
}
...
@@ -3402,7 +3417,7 @@ button.close {
...
@@ -3402,7 +3417,7 @@ button.close {
.pager
.disabled
>
a
:focus
,
.pager
.disabled
>
a
:focus
,
.pager
.disabled
>
span
{
.pager
.disabled
>
span
{
color
:
#999999
;
color
:
#999999
;
cursor
:
default
;
cursor
:
not-allowed
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
}
}
...
@@ -3444,8 +3459,8 @@ button.close {
...
@@ -3444,8 +3459,8 @@ button.close {
.modal-content
{
.modal-content
{
position
:
relative
;
position
:
relative
;
background-color
:
#fff
;
background-color
:
#fff
fff
;
border
:
1px
solid
#999
;
border
:
1px
solid
#999
999
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.2
);
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.2
);
border-radius
:
6px
;
border-radius
:
6px
;
outline
:
none
;
outline
:
none
;
...
@@ -3461,7 +3476,7 @@ button.close {
...
@@ -3461,7 +3476,7 @@ button.close {
bottom
:
0
;
bottom
:
0
;
left
:
0
;
left
:
0
;
z-index
:
1030
;
z-index
:
1030
;
background-color
:
#000
;
background-color
:
#000
000
;
}
}
.modal-backdrop.fade
{
.modal-backdrop.fade
{
...
...
dist/css/bootstrap.min.css
View file @
a282dba5
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/dropdowns.less
View file @
a282dba5
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
background-color: transparent;
background-color: transparent;
background-image: none; // Remove CSS gradient
background-image: none; // Remove CSS gradient
.reset-filter();
.reset-filter();
cursor:
default
;
cursor:
not-allowed
;
}
}
}
}
...
...
less/modals.less
View file @
a282dba5
...
@@ -46,10 +46,10 @@
...
@@ -46,10 +46,10 @@
// Actual modal
// Actual modal
.modal-content {
.modal-content {
position: relative;
position: relative;
background-color:
#fff
;
background-color:
@modal-content-bg
;
border: 1px solid
#999;
border: 1px solid
@modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
border: 1px solid
rgba(0,0,0,.2)
;
border: 1px solid
@modal-content-border-color
;
border-radius:
6px
;
border-radius:
@border-radius-large
;
.box-shadow(0 3px 9px rgba(0,0,0,.5));
.box-shadow(0 3px 9px rgba(0,0,0,.5));
.background-clip(padding-box);
.background-clip(padding-box);
// Remove focus outline from opened modal
// Remove focus outline from opened modal
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
bottom: 0;
bottom: 0;
left: 0;
left: 0;
z-index: (@zindex-modal-background - 10);
z-index: (@zindex-modal-background - 10);
background-color:
#000
;
background-color:
@modal-backdrop-bg
;
// Fade for backdrop
// Fade for backdrop
&.fade { .opacity(0); }
&.fade { .opacity(0); }
&.fade.in { .opacity(.5); }
&.fade.in { .opacity(.5); }
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
// Top section of the modal w/ title and dismiss
// Top section of the modal w/ title and dismiss
.modal-header {
.modal-header {
padding: @modal-title-padding;
padding: @modal-title-padding;
border-bottom: 1px solid
#e5e5e5
;
border-bottom: 1px solid
@modal-header-border-color
;
min-height: (@modal-title-padding + @modal-title-line-height);
min-height: (@modal-title-padding + @modal-title-line-height);
}
}
// Close icon
// Close icon
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
margin-top: 15px;
margin-top: 15px;
padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;
padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;
text-align: right; // right align buttons
text-align: right; // right align buttons
border-top: 1px solid
#e5e5e5
;
border-top: 1px solid
@modal-footer-border-color
;
.clearfix(); // clear it in case folks use .pull-* classes on buttons
.clearfix(); // clear it in case folks use .pull-* classes on buttons
// Properly space out buttons
// Properly space out buttons
...
...
less/navs.less
View file @
a282dba5
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
color: @gray-light;
color: @gray-light;
text-decoration: none;
text-decoration: none;
background-color: transparent;
background-color: transparent;
cursor:
default
;
cursor:
not-allowed
;
}
}
}
}
...
@@ -115,8 +115,8 @@
...
@@ -115,8 +115,8 @@
}
}
// pulling this in mainly for less shorthand
// pulling this in mainly for less shorthand
&.nav-justified {
&.nav-justified {
.nav-justified;
.nav-justified
()
;
.nav-tabs-justified;
.nav-tabs-justified
()
;
}
}
}
}
...
@@ -167,11 +167,12 @@
...
@@ -167,11 +167,12 @@
// -------------------------
// -------------------------
.nav-justified {
.nav-justified {
display: table;
width: 100%;
width: 100%;
> li {
> li {
float: none;
float: none;
display: table-cell;
display: table-cell;
width:
1%
;
width:
auto
;
> a {
> a {
text-align: center;
text-align: center;
}
}
...
@@ -179,7 +180,7 @@
...
@@ -179,7 +180,7 @@
}
}
// Move borders to anchors instead of bottom of list
// Move borders to anchors instead of bottom of list
.nav-tabs-justified
()
{
.nav-tabs-justified {
border-bottom: 0;
border-bottom: 0;
> li > a {
> li > a {
border-bottom: 1px solid #ddd;
border-bottom: 1px solid #ddd;
...
...
less/pager.less
View file @
a282dba5
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
> span {
> span {
color: @gray-light;
color: @gray-light;
background-color: @pagination-bg;
background-color: @pagination-bg;
cursor:
default
;
cursor:
not-allowed
;
}
}
}
}
...
...
less/pagination.less
View file @
a282dba5
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
> a:focus {
> a:focus {
color: @gray-light;
color: @gray-light;
background-color: @pagination-bg;
background-color: @pagination-bg;
cursor:
default
;
cursor:
not-allowed
;
}
}
}
}
}
}
...
...
less/variables.less
View file @
a282dba5
...
@@ -296,6 +296,15 @@
...
@@ -296,6 +296,15 @@
@modal-title-padding: 15px;
@modal-title-padding: 15px;
@modal-title-line-height: @line-height-base;
@modal-title-line-height: @line-height-base;
@modal-content-bg: #fff;
@modal-content-border-color: rgba(0,0,0,.2);
@modal-content-fallback-border-color: #999;
@modal-backdrop-bg: #000;
@modal-header-border-color: #e5e5e5;
@modal-footer-border-color: @modal-header-border-color;
// Alerts
// Alerts
// -------------------------
// -------------------------
@alert-bg: @state-warning-bg;
@alert-bg: @state-warning-bg;
...
...
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