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
ae9a2bd9
Commit
ae9a2bd9
authored
12 years ago
by
Jacob Thornton
Browse files
Options
Download
Plain Diff
Merge branch '2.1.0-wip' of
https://github.com/twitter/bootstrap
into 2.1.0-wip
parents
dee57462
e1659b2c
main
cleanup-floating-forms
cssvar-function
dependabot/npm_and_yarn/stylelint-and-stylelint-config-twbs-bootstrap-15.3.0
extend-snippets
feat/data-target
floating-always-visible
floating-labels-icons
fod-main-banner
form-controls-with-icons
gh-pages
gh-pages-530-alpha2
github/fork/719media/patch-13
github/fork/719media/patch-14
github/fork/719media/patch-9
github/fork/ChellyAhmed/fix-typo-reboot.md
github/fork/ChellyAhmed/offcanvas-scroll-back
github/fork/CtrlAltLilith/main
github/fork/Elysiome/offcanvas-optional-window-resizing
github/fork/JanSargsyan/main
github/fork/LunicLynx/support-different-line-height-for-buttons
github/fork/Psixodelik/main
github/fork/Ronid1/ronid1/offcanvas_static_backdrop
github/fork/RyanBerliner/tooltip-accessibility
github/fork/SantiagoPVazquez/Feature-default-border-bottom-to-dropdown-item
github/fork/Sir-Genius/utils
github/fork/Sumit-Singh-8/main
github/fork/Viktor-VERA2020/offcanvas-slide
github/fork/Zivangu9/input-group-for-form-control-plaintext
github/fork/alpadev/alpadev/call-dispose-on-component-reinstantiation
github/fork/astagi/fix/tree-shake-modules
github/fork/compnerd/dark-accordion-icon
github/fork/derSascha/dropdown-dont-close-on-input-click
github/fork/dev-ph1l/main
github/fork/donquixote/issue-33861-utl-mixin
github/fork/florianlacreuse/mixin-make-row-gutter-y
github/fork/gregorw/main
github/fork/iteggmbh/transitionend-dispose-race
github/fork/jdelStrother/patch-1
github/fork/jonnysp/form-floating
github/fork/jonnysp/independent-offcanvas
github/fork/jonnysp/theme-dark-on-card-and-modal-fix
github/fork/josefdlange/floating-label-placeholder-opacity
github/fork/julien-deramond/enhance-change-version.js
github/fork/julien-deramond/main-jd-fix-offset-content
github/fork/julien-deramond/main-jd-issue-with-utitlies
github/fork/julien-deramond/main-xmr-pa11y-ci-jd-add-hideElements
github/fork/kyletsang/fix-tooltip-padding
github/fork/lacutah/CheckboxCenteringDocumentation
github/fork/lekoala/patch-3
github/fork/louismaximepiton/main-kld-lmp-collapse-proposal
github/fork/louismaximepiton/main-lmp-card-inner-border-radius-fix
github/fork/louismaximepiton/main-lmp-carousel-multiple-images
github/fork/louismaximepiton/main-lmp-css-var-init
github/fork/louismaximepiton/main-lmp-disabled-floating-label-fix
github/fork/louismaximepiton/main-lmp-input-range-fix
github/fork/louismaximepiton/main-lmp-shift-color
github/fork/louismaximepiton/main-lmp-table-active-tr-fix
github/fork/maciek-szn/switch
github/fork/michael-roth/feature/19964-multiple-tab-targets
github/fork/mistic100/dom-utils
github/fork/nkdas91/accordion
github/fork/nstungcom/fix-missing-modal-open-class
github/fork/oraliahdz/animation-utilities
github/fork/pine3ree/patch-7
github/fork/pouwerkerk/unindent-scss-docs-shortcode
github/fork/smares/smares-no-scolling-on-modal-close
github/fork/tgm-git/patch-1
gs-forms
gs-toasts-with-animated-progress-bar
gs/add-history-helper
gs/change-version-dir-on-docs
gs/data-must-set-onlu-one-instance
gs/docs/fix-drop-down-error
gs/event-handler-2
gs/make-docs-js-build
gs/make-simple-attribute-toggler
gs/popover-fix-doc
gs/provide-steConfig-method
gs/scrollspy-smoothscroll-option-use-browser-history
gs/streamline-jqueryInterface
gs/support-drop-down-in-navbar
gs/test-js-generic-trigger
gs/try-web-components
gs/tweak-collapse-js-selector
gs/use-event-handler-in-cocmponent
gs/use-rollup-replace-for-version
jo-docs-thanks-page
jo-ssr-friendly
logical-props-spacing-utils
main-fod-disabled-form-check-label
main-fod-nested-accordion
main-fod-simpler-table-structure
main-fod-table-separator
main-fod-utilities-contrast
main-jd-abbr-title
main-jd-add-chips
main-jd-add-doc-for-sass-custom-colors
main-jd-add-enable-host-to-handle-web-components
main-jd-browserstack-fine-tune
main-jd-browserstack-updates
main-jd-docs-consistent-usage-of-css-sections-step-2
main-jd-fix-docs-headers-in-white
main-jd-fix-highlight-docs-border-radius
main-jd-fix-placeholder-color-background-params-for-img-markup
main-jd-glossary-experiment
main-jd-postcss-drop-empty-css-vars
main-jd-proto-doc-astro
main-jd-skip-navigation-component
main-jd-stackblitz-for-examples
main-jd-upgrade-browserlistrc
main-jd-use-host
main-lmp-dark-theme-customization
main-lmp-handle-scroll-target
main-lmp-tab-fix
main-mc-opensearch
main-xmr-bundlewatch-action
main-xmr-eslint-plugin-compat
main-xmr-hugo-docs-vendor
main-xmr-hugo-rm-ver
main-xmr-linkinator-prod
main-xmr-min-mangle
main-xmr-pa11y-ci
more-darkmode-examples
nested-dropdowns
patrickhlauke-issue37428
patrickhlauke-use-of-color-tweaks
pr/34102
pr/37590
previous-next-docs-links
sticky-thead
utilities-functions-mixin
v3-dev
v4-dev
v4-dev-dropdown-hide-method
v530-dev
v6-postcss-custom-media
v6-spinner-dots
v6/gs/use-floating-ui-in-place-of-popper
xmr/dev
xmr/docs-png
xmr/docs-svgs
xmr/hugo-reorg-files
xmr/js-2
xmr/markdownlint
xmr/prepare-530-alpha2
xmr/xo
v5.3.0-alpha1
v5.2.3
v5.2.2
v5.2.1
v5.2.0
v5.2.0-beta1
v5.1.3
v5.1.2
v5.1.1
v5.1.0
v5.0.2
v5.0.1
v5.0.0
v5.0.0-beta3
v5.0.0-beta2
v5.0.0-beta1
v5.0.0-alpha3
v5.0.0-alpha2
v5.0.0-alpha1
v4.6.2
v4.6.1
v4.6.0
v4.5.3
v4.5.2
v4.5.1
v4.5.0
v4.4.1
v4.4.0
v4.3.1
v4.3.0
v4.2.1
v4.2.0
v4.1.3
v4.1.2
v4.1.1
v4.1.0
v4.0.0
v4.0.0-beta.3
v4.0.0-beta.2
v4.0.0-beta
v4.0.0-alpha.6
v4.0.0-alpha.5
v4.0.0-alpha.4
v4.0.0-alpha.3
v4.0.0-alpha.2
v4.0.0-alpha
v3.4.1
v3.4.0
v3.3.7
v3.3.6
v3.3.5
v3.3.4
v3.3.2
v3.3.1
v3.3.0
v3.2.0
v3.1.1
v3.1.0
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v3.0.0-rc.2
v3.0.0-rc1
v2.3.2
v2.3.1
v2.3.0
v2.2.2
v2.2.1
v2.2.0
v2.1.1
v2.1.0
1 merge request
!4427
Use variable for desktop media query
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
docs/assets/css/bootstrap-responsive.css
+4
-4
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
+38
-24
docs/assets/css/bootstrap.css
docs/assets/css/docs.css
+11
-3
docs/assets/css/docs.css
docs/base-css.html
+1
-1
docs/base-css.html
docs/customize.html
+8
-4
docs/customize.html
docs/examples/hero.html
+12
-0
docs/examples/hero.html
docs/index.html
+1
-1
docs/index.html
docs/javascript.html
+1
-1
docs/javascript.html
docs/templates/pages/base-css.mustache
+1
-1
docs/templates/pages/base-css.mustache
docs/templates/pages/customize.mustache
+8
-4
docs/templates/pages/customize.mustache
docs/templates/pages/index.mustache
+1
-1
docs/templates/pages/index.mustache
docs/templates/pages/javascript.mustache
+1
-1
docs/templates/pages/javascript.mustache
less/buttons.less
+3
-2
less/buttons.less
less/component-animations.less
+1
-0
less/component-animations.less
less/forms.less
+4
-3
less/forms.less
less/mixins.less
+3
-2
less/mixins.less
less/navbar.less
+17
-11
less/navbar.less
less/tables.less
+5
-3
less/tables.less
less/thumbnails.less
+1
-1
less/thumbnails.less
with
121 additions
and
67 deletions
+121
-67
docs/assets/css/bootstrap-responsive.css
+
4
-
4
View file @
ae9a2bd9
...
...
@@ -34,7 +34,7 @@
.input-block-level
{
display
:
block
;
width
:
100%
;
min-height
:
28
px
;
min-height
:
30
px
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
@@ -203,7 +203,7 @@
display
:
block
;
float
:
left
;
width
:
100%
;
min-height
:
28
px
;
min-height
:
30
px
;
margin-left
:
2.564102564102564%
;
*
margin-left
:
2.5109110747408616%
;
-webkit-box-sizing
:
border-box
;
...
...
@@ -548,7 +548,7 @@
display
:
block
;
float
:
left
;
width
:
100%
;
min-height
:
28
px
;
min-height
:
30
px
;
margin-left
:
2.7624309392265194%
;
*
margin-left
:
2.709239449864817%
;
-webkit-box-sizing
:
border-box
;
...
...
@@ -830,7 +830,7 @@
.uneditable-input
{
display
:
block
;
width
:
100%
;
min-height
:
28
px
;
min-height
:
30
px
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap.css
+
38
-
24
View file @
ae9a2bd9
...
...
@@ -150,7 +150,7 @@ textarea {
.input-block-level
{
display
:
block
;
width
:
100%
;
min-height
:
28
px
;
min-height
:
30
px
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
@@ -340,7 +340,7 @@ a:hover {
display
:
block
;
float
:
left
;
width
:
100%
;
min-height
:
28
px
;
min-height
:
30
px
;
margin-left
:
2.127659574468085%
;
*
margin-left
:
2.074468085106383%
;
-webkit-box-sizing
:
border-box
;
...
...
@@ -1012,10 +1012,9 @@ input[type="color"]:focus,
input
[
type
=
"radio"
],
input
[
type
=
"checkbox"
]
{
margin
:
4px
0
;
margin
:
4px
0
0
;
margin-top
:
1px
\
9
;
*
margin-top
:
0
;
/* IE7 */
line-height
:
normal
;
cursor
:
pointer
;
}
...
...
@@ -1031,13 +1030,13 @@ input[type="checkbox"] {
select
,
input
[
type
=
"file"
]
{
height
:
28
px
;
height
:
30
px
;
/* In IE7, the height of the select element cannot be changed by height, only font-size */
*
margin-top
:
4px
;
/* For IE7, add top margin to align select with labels */
line-height
:
28
px
;
line-height
:
30
px
;
}
select
{
...
...
@@ -1863,8 +1862,8 @@ table {
background-color
:
#f9f9f9
;
}
.table-hover
tr
:hover
td
,
.table-hover
tr
:hover
th
{
.table-hover
tbody
tr
:hover
td
,
.table-hover
tbody
tr
:hover
th
{
background-color
:
#f5f5f5
;
}
...
...
@@ -2866,6 +2865,7 @@ table .span24 {
position
:
relative
;
height
:
0
;
overflow
:
hidden
;
overflow
:
visible
\
9
;
-webkit-transition
:
height
0.35s
ease
;
-moz-transition
:
height
0.35s
ease
;
-o-transition
:
height
0.35s
ease
;
...
...
@@ -3254,8 +3254,8 @@ button.close {
button
.btn
,
input
[
type
=
"submit"
]
.btn
{
*
padding-top
:
2
px
;
*
padding-bottom
:
2
px
;
*
padding-top
:
3
px
;
*
padding-bottom
:
3
px
;
}
button
.btn
::-moz-focus-inner
,
...
...
@@ -4030,7 +4030,7 @@ input[type="submit"].btn.btn-mini {
.navbar
.brand
{
display
:
block
;
float
:
left
;
padding
:
8
px
20px
1
2
px
;
padding
:
10
px
20px
1
0
px
;
margin-left
:
-20px
;
font-size
:
20px
;
font-weight
:
200
;
...
...
@@ -4146,6 +4146,11 @@ input[type="submit"].btn.btn-mini {
margin-bottom
:
0
;
}
.navbar-fixed-top
.navbar-inner
,
.navbar-fixed-bottom
.navbar-inner
{
border
:
0
;
}
.navbar-fixed-top
.navbar-inner
,
.navbar-fixed-bottom
.navbar-inner
{
padding-right
:
0
;
...
...
@@ -4165,7 +4170,6 @@ input[type="submit"].btn.btn-mini {
}
.navbar-fixed-top
.navbar-inner
{
border-width
:
0
0
1px
;
-webkit-box-shadow
:
0
1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
-moz-box-shadow
:
0
1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
0
1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
...
...
@@ -4176,7 +4180,6 @@ input[type="submit"].btn.btn-mini {
}
.navbar-fixed-bottom
.navbar-inner
{
border-width
:
1px
0
0
;
-webkit-box-shadow
:
0
-1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
-moz-box-shadow
:
0
-1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
0
-1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
...
...
@@ -4285,7 +4288,7 @@ input[type="submit"].btn.btn-mini {
margin-top
:
3px
;
}
.navbar
.dropdown-menu
:before
{
.navbar
.nav
>
li
>
.dropdown-menu
:before
{
position
:
absolute
;
top
:
-7px
;
left
:
9px
;
...
...
@@ -4297,7 +4300,7 @@ input[type="submit"].btn.btn-mini {
content
:
''
;
}
.navbar
.dropdown-menu
:after
{
.navbar
.nav
>
li
>
.dropdown-menu
:after
{
position
:
absolute
;
top
:
-6px
;
left
:
10px
;
...
...
@@ -4308,7 +4311,7 @@ input[type="submit"].btn.btn-mini {
content
:
''
;
}
.navbar-fixed-bottom
.dropdown-menu
:before
{
.navbar-fixed-bottom
.nav
>
li
>
.dropdown-menu
:before
{
top
:
auto
;
bottom
:
-7px
;
border-top
:
7px
solid
#ccc
;
...
...
@@ -4316,7 +4319,7 @@ input[type="submit"].btn.btn-mini {
border-top-color
:
rgba
(
0
,
0
,
0
,
0.2
);
}
.navbar-fixed-bottom
.dropdown-menu
:after
{
.navbar-fixed-bottom
.nav
>
li
>
.dropdown-menu
:after
{
top
:
auto
;
bottom
:
-6px
;
border-top
:
6px
solid
#ffffff
;
...
...
@@ -4342,24 +4345,35 @@ input[type="submit"].btn.btn-mini {
border-bottom-color
:
#555555
;
}
.navbar
.pull-right
.dropdown-menu
,
.navbar
.dropdown-menu.pull-right
{
.navbar
.pull-right
>
li
>
.dropdown-menu
,
.navbar
.nav
>
li
>
.dropdown-menu.pull-right
{
right
:
0
;
left
:
auto
;
}
.navbar
.pull-right
.dropdown-menu
:before
,
.navbar
.dropdown-menu.pull-right
:before
{
.navbar
.pull-right
>
li
>
.dropdown-menu
:before
,
.navbar
.nav
>
li
>
.dropdown-menu.pull-right
:before
{
right
:
12px
;
left
:
auto
;
}
.navbar
.pull-right
.dropdown-menu
:after
,
.navbar
.dropdown-menu.pull-right
:after
{
.navbar
.pull-right
>
li
>
.dropdown-menu
:after
,
.navbar
.nav
>
li
>
.dropdown-menu.pull-right
:after
{
right
:
13px
;
left
:
auto
;
}
.navbar
.pull-right
>
li
>
.dropdown-menu
.dropdown-menu
,
.navbar
.nav
>
li
>
.dropdown-menu.pull-right
.dropdown-menu
{
right
:
100%
;
left
:
auto
;
margin-right
:
-1px
;
margin-left
:
0
;
-webkit-border-radius
:
6px
0
6px
6px
;
-moz-border-radius
:
6px
0
6px
6px
;
border-radius
:
6px
0
6px
6px
;
}
.navbar-inverse
{
color
:
#999999
;
}
...
...
This diff is collapsed.
Click to expand it.
docs/assets/css/docs.css
+
11
-
3
View file @
ae9a2bd9
...
...
@@ -133,9 +133,14 @@ hr.soften {
/* Download button */
@-webkit-keyframes
downloadButton
{
from
{
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
10px
rgba
(
0
,
68
,
204
,
.5
);
}
50
%
{
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
25px
rgba
(
0
,
68
,
204
,
.9
);
}
to
{
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
10px
rgba
(
0
,
68
,
204
,
.5
);
}
from
{
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
10px
rgba
(
0
,
68
,
204
,
.5
);
}
50
%
{
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
25px
rgba
(
0
,
68
,
204
,
.9
);
}
to
{
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
10px
rgba
(
0
,
68
,
204
,
.5
);
}
}
@-moz-keyframes
downloadButton
{
from
{
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
10px
rgba
(
0
,
68
,
204
,
.5
);
}
50
%
{
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
25px
rgba
(
0
,
68
,
204
,
.9
);
}
to
{
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
10px
rgba
(
0
,
68
,
204
,
.5
);
}
}
.masthead
.btn
{
padding
:
14px
24px
;
...
...
@@ -150,8 +155,11 @@ hr.soften {
-moz-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
10px
rgba
(
0
,
68
,
204
,
.01
);
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
.1
),
0
1px
5px
rgba
(
0
,
0
,
0
,
.25
),
0
2px
10px
rgba
(
0
,
68
,
204
,
.01
);
-webkit-animation-name
:
downloadButton
;
-moz-animation-name
:
downloadButton
;
-webkit-animation-duration
:
1.5s
;
-moz-animation-duration
:
1.5s
;
-webkit-animation-iteration-count
:
infinite
;
-moz-animation-iteration-count
:
infinite
;
-webkit-transition
:
none
;
-moz-transition
:
none
;
transition
:
none
;
...
...
This diff is collapsed.
Click to expand it.
docs/base-css.html
+
1
-
1
View file @
ae9a2bd9
...
...
@@ -1257,7 +1257,7 @@ For example, <code>section</code> should be wrapped as inline.
<span
class=
"input-xlarge uneditable-input"
>
Some value here
</span>
</form>
<pre
class=
"prettyprint linenums"
>
<
span class="input-xlarge uneditable-input"
>
Some value here
<
/span
>
<
span class="input-xlarge uneditable-input"
>
Some value here
<
/span
>
</pre>
<h3>
Form actions
</h3>
...
...
This diff is collapsed.
Click to expand it.
docs/customize.html
+
8
-
4
View file @
ae9a2bd9
...
...
@@ -190,12 +190,16 @@
<input
type=
"checkbox"
checked=
"true"
value=
"bootstrap-tooltip.js"
>
Tooltips
</label>
</div>
<!-- /span -->
<div
class=
"span3"
>
<label
class=
"checkbox"
>
<input
type=
"checkbox"
checked=
"true"
value=
"bootstrap-popover.js"
>
Popovers
<small>
(requires Tooltips)
</small>
</label>
</div>
<!-- /span -->
<div
class=
"span3"
>
<label
class=
"checkbox"
>
<input
type=
"checkbox"
checked=
"true"
value=
"bootstrap-affix.js"
>
Affix
</label>
<label
class=
"checkbox"
>
<input
type=
"checkbox"
checked=
"true"
value=
"bootstrap-alert.js"
>
Alert messages
...
...
@@ -294,11 +298,11 @@
<label>
@monoFontFamily
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"Menlo, Monaco, 'Courier New', monospace"
>
<label>
@baseFontSize
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"1
3
px"
>
<input
type=
"text"
class=
"span3"
placeholder=
"1
4
px"
>
<label>
@baseFontFamily
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"@sansFontFamily"
>
<label>
@baseLineHeight
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"
18
px"
>
<input
type=
"text"
class=
"span3"
placeholder=
"
20
px"
>
<label>
@altFontFamily
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"@serifFontFamily"
>
<label>
@headingsFontFamily
</label>
...
...
This diff is collapsed.
Click to expand it.
docs/examples/hero.html
+
12
-
0
View file @
ae9a2bd9
...
...
@@ -46,6 +46,18 @@
<li
class=
"active"
><a
href=
"#"
>
Home
</a></li>
<li><a
href=
"#about"
>
About
</a></li>
<li><a
href=
"#contact"
>
Contact
</a></li>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Dropdown
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
>
Action
</a></li>
<li><a
href=
"#"
>
Another action
</a></li>
<li><a
href=
"#"
>
Something else here
</a></li>
<li
class=
"divider"
></li>
<li
class=
"nav-header"
>
Nav header
</li>
<li><a
href=
"#"
>
Separated link
</a></li>
<li><a
href=
"#"
>
One more separated link
</a></li>
</ul>
</li>
</ul>
<form
class=
"navbar-form pull-right"
>
<input
class=
"span2"
type=
"text"
placeholder=
"Email"
>
...
...
This diff is collapsed.
Click to expand it.
docs/index.html
+
1
-
1
View file @
ae9a2bd9
...
...
@@ -86,7 +86,7 @@
<div
class=
"container"
>
<ul
class=
"bs-docs-social-buttons"
>
<li>
<iframe
class=
"github-btn"
src=
"http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true"
allowtransparency=
"true"
frameborder=
"0"
scrolling=
"0"
width=
"1
12
px"
height=
"20px"
></iframe>
<iframe
class=
"github-btn"
src=
"http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true"
allowtransparency=
"true"
frameborder=
"0"
scrolling=
"0"
width=
"1
00
px"
height=
"20px"
></iframe>
</li>
<li>
<iframe
class=
"github-btn"
src=
"http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=fork&count=true"
allowtransparency=
"true"
frameborder=
"0"
scrolling=
"0"
width=
"98px"
height=
"20px"
></iframe>
...
...
This diff is collapsed.
Click to expand it.
docs/javascript.html
+
1
-
1
View file @
ae9a2bd9
...
...
@@ -74,7 +74,7 @@
<header
class=
"jumbotron subhead"
id=
"overview"
>
<div
class=
"container"
>
<h1>
JavaScript for Bootstrap
</h1>
<p
class=
"lead"
>
Bring Bootstrap's components to life
—
now with 1
2
custom jQuery plugins.
<p
class=
"lead"
>
Bring Bootstrap's components to life
—
now with 1
3
custom jQuery plugins.
</div>
</header>
...
...
This diff is collapsed.
Click to expand it.
docs/templates/pages/base-css.mustache
+
1
-
1
View file @
ae9a2bd9
...
...
@@ -1194,7 +1194,7 @@
<span
class=
"input-xlarge uneditable-input"
>
Some value here
</span>
</form>
<pre
class=
"prettyprint linenums"
>
<
span class="input-xlarge uneditable-input"
>
Some value here
<
/span
>
<
span class="input-xlarge uneditable-input"
>
Some value here
<
/span
>
</pre>
<h3>
{{
_i
}}
Form actions
{{/
i
}}
</h3>
...
...
This diff is collapsed.
Click to expand it.
docs/templates/pages/customize.mustache
+
8
-
4
View file @
ae9a2bd9
...
...
@@ -119,12 +119,16 @@
<input
type=
"checkbox"
checked=
"true"
value=
"bootstrap-tooltip.js"
>
{{
_i
}}
Tooltips
{{/
i
}}
</label>
</div>
<!-- /span -->
<div
class=
"span3"
>
<label
class=
"checkbox"
>
<input
type=
"checkbox"
checked=
"true"
value=
"bootstrap-popover.js"
>
{{
_i
}}
Popovers
<small>
(requires Tooltips)
</small>
{{/
i
}}
</label>
</div>
<!-- /span -->
<div
class=
"span3"
>
<label
class=
"checkbox"
>
<input
type=
"checkbox"
checked=
"true"
value=
"bootstrap-affix.js"
>
{{
_i
}}
Affix
{{/
i
}}
</label>
<label
class=
"checkbox"
>
<input
type=
"checkbox"
checked=
"true"
value=
"bootstrap-alert.js"
>
{{
_i
}}
Alert messages
{{/
i
}}
...
...
@@ -223,11 +227,11 @@
<label>
@monoFontFamily
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"Menlo, Monaco, 'Courier New', monospace"
>
<label>
@baseFontSize
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"1
3
px"
>
<input
type=
"text"
class=
"span3"
placeholder=
"1
4
px"
>
<label>
@baseFontFamily
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"@sansFontFamily"
>
<label>
@baseLineHeight
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"
18
px"
>
<input
type=
"text"
class=
"span3"
placeholder=
"
20
px"
>
<label>
@altFontFamily
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"@serifFontFamily"
>
<label>
@headingsFontFamily
</label>
...
...
This diff is collapsed.
Click to expand it.
docs/templates/pages/index.mustache
+
1
-
1
View file @
ae9a2bd9
...
...
@@ -15,7 +15,7 @@
<div
class=
"container"
>
<ul
class=
"bs-docs-social-buttons"
>
<li>
<iframe
class=
"github-btn"
src=
"http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true"
allowtransparency=
"true"
frameborder=
"0"
scrolling=
"0"
width=
"1
12
px"
height=
"20px"
></iframe>
<iframe
class=
"github-btn"
src=
"http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true"
allowtransparency=
"true"
frameborder=
"0"
scrolling=
"0"
width=
"1
00
px"
height=
"20px"
></iframe>
</li>
<li>
<iframe
class=
"github-btn"
src=
"http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=fork&count=true"
allowtransparency=
"true"
frameborder=
"0"
scrolling=
"0"
width=
"98px"
height=
"20px"
></iframe>
...
...
This diff is collapsed.
Click to expand it.
docs/templates/pages/javascript.mustache
+
1
-
1
View file @
ae9a2bd9
...
...
@@ -3,7 +3,7 @@
<header
class=
"jumbotron subhead"
id=
"overview"
>
<div
class=
"container"
>
<h1>
{{
_i
}}
JavaScript for Bootstrap
{{/
i
}}
</h1>
<p
class=
"lead"
>
{{
_i
}}
Bring Bootstrap's components to life
—
now with 1
2
custom jQuery plugins.
{{/
i
}}
<p
class=
"lead"
>
{{
_i
}}
Bring Bootstrap's components to life
—
now with 1
3
custom jQuery plugins.
{{/
i
}}
</div>
</header>
...
...
This diff is collapsed.
Click to expand it.
less/buttons.less
+
3
-
2
View file @
ae9a2bd9
...
...
@@ -170,8 +170,9 @@ input[type="submit"].btn {
}
// IE7 has some default padding on button controls
*padding-top: 2px;
*padding-bottom: 2px;
*padding-top: 3px;
*padding-bottom: 3px;
&.btn-large {
*padding-top: 7px;
*padding-bottom: 7px;
...
...
This diff is collapsed.
Click to expand it.
less/component-animations.less
+
1
-
0
View file @
ae9a2bd9
...
...
@@ -15,6 +15,7 @@
position: relative;
height: 0;
overflow: hidden;
overflow: visible \9;
.transition(height .35s ease);
&.in {
height: auto;
...
...
This diff is collapsed.
Click to expand it.
less/forms.less
+
4
-
3
View file @
ae9a2bd9
...
...
@@ -132,8 +132,9 @@ input[type="color"],
// Position radios and checkboxes better
input[type="radio"],
input[type="checkbox"] {
margin: 4px 0;
margin: 4px
0
0;
*margin-top: 0; /* IE7 */
margin-top: 1px \9; /* IE8-9 */
line-height: normal;
cursor: pointer;
}
...
...
@@ -151,9 +152,9 @@ input[type="checkbox"] {
// Set the height of select and file controls to match text inputs
select,
input[type="file"] {
height:
28
px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
height:
30
px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
*margin-top: 4px; /* For IE7, add top margin to align select with labels */
line-height:
28
px;
line-height:
30
px;
}
// Make select elements obey height by applying a border
...
...
This diff is collapsed.
Click to expand it.
less/mixins.less
+
3
-
2
View file @
ae9a2bd9
...
...
@@ -154,11 +154,12 @@
.input-block-level {
display: block;
width: 100%;
min-height:
28
px; // Make inputs at least the height of their button counterpart
min-height:
30
px; // Make inputs at least the height of their button counterpart
.box-sizing(border-box); // Makes inputs behave like true block-level elements
}
// Mixin for form field states
.formFieldState(@textColor: #555, @borderColor: #ccc, @backgroundColor: #f5f5f5) {
// Set the text color
...
...
@@ -605,7 +606,7 @@
.offset (@columns) {
margin-left: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) + (@fluidGridGutterWidth*2);
*margin-left: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) - (.5 / @gridRowWidth * 100 * 1%) + (@fluidGridGutterWidth*2) - (.5 / @gridRowWidth * 100 * 1%);
*margin-left: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) - (.5 / @gridRowWidth * 100 * 1%) + (@fluidGridGutterWidth*2) - (.5 / @gridRowWidth * 100 * 1%);
}
.offsetFirstChild (@columns) {
...
...
This diff is collapsed.
Click to expand it.
less/navbar.less
+
17
-
11
View file @
ae9a2bd9
...
...
@@ -47,9 +47,7 @@
float: left;
display: block;
// Vertically center the text given @navbarHeight
@elementHeight: 20px;
@heightDifference: @navbarHeight - @elementHeight;
padding: ((@heightDifference / 2) - 2) 20px ((@heightDifference / 2) + 2);
padding: ((@navbarHeight - @baseLineHeight) / 2) 20px ((@navbarHeight - @baseLineHeight) / 2);
margin-left: -20px; // negative indent to left-align the text down the page
font-size: 20px;
font-weight: 200;
...
...
@@ -153,6 +151,9 @@
left: 0;
z-index: @zindexFixedNavbar;
margin-bottom: 0; // remove 18px margin for static navbar
.navbar-inner {
border: 0;
}
}
.navbar-fixed-top .navbar-inner,
.navbar-fixed-bottom .navbar-inner {
...
...
@@ -161,6 +162,7 @@
.border-radius(0);
}
// Reset container width
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
#grid > .core > .span(@gridColumns);
...
...
@@ -170,7 +172,6 @@
.navbar-fixed-top {
top: 0;
.navbar-inner {
border-width: 0 0 1px;
.box-shadow(0 1px 10px rgba(0,0,0,.1));
}
}
...
...
@@ -179,7 +180,6 @@
.navbar-fixed-bottom {
bottom: 0;
.navbar-inner {
border-width: 1px 0 0;
.box-shadow(0 -1px 10px rgba(0,0,0,.1));
}
}
...
...
@@ -207,8 +207,7 @@
.navbar .nav > li > a {
float: none;
// Vertically center the text given @navbarHeight
@elementHeight: 20px;
padding: ((@navbarHeight - @elementHeight) / 2) 15px ((@navbarHeight - @elementHeight) / 2);
padding: ((@navbarHeight - @baseLineHeight) / 2) 15px ((@navbarHeight - @baseLineHeight) / 2);
color: @navbarLinkColor;
text-decoration: none;
text-shadow: 0 1px 0 @navbarBackgroundHighlight;
...
...
@@ -266,7 +265,7 @@
// --------------
// Menu position and menu carets
.navbar .dropdown-menu {
.navbar
.nav > li >
.dropdown-menu {
&:before {
content: '';
display: inline-block;
...
...
@@ -290,7 +289,7 @@
}
}
// Menu position and menu caret support for dropups via extra dropup class
.navbar-fixed-bottom .dropdown-menu {
.navbar-fixed-bottom
.nav > li >
.dropdown-menu {
&:before {
border-top: 7px solid #ccc;
border-top-color: @dropdownBorder;
...
...
@@ -325,8 +324,8 @@
}
// Right aligned menus need alt position
.navbar .pull-right .dropdown-menu,
.navbar .dropdown-menu.pull-right {
.navbar .pull-right
> li >
.dropdown-menu,
.navbar
.nav > li >
.dropdown-menu.pull-right {
left: auto;
right: 0;
&:before {
...
...
@@ -337,6 +336,13 @@
left: auto;
right: 13px;
}
.dropdown-menu {
left: auto;
right: 100%;
margin-left: 0;
margin-right: -1px;
.border-radius(6px 0 6px 6px);
}
}
...
...
This diff is collapsed.
Click to expand it.
less/tables.less
+
5
-
3
View file @
ae9a2bd9
...
...
@@ -159,9 +159,11 @@ table {
// ------------
// Placed here since it has to come after the potential zebra striping
.table-hover {
tr:hover td,
tr:hover th {
background-color: @tableBackgroundHover;
tbody {
tr:hover td,
tr:hover th {
background-color: @tableBackgroundHover;
}
}
}
...
...
This diff is collapsed.
Click to expand it.
less/thumbnails.less
+
1
-
1
View file @
ae9a2bd9
...
...
@@ -27,7 +27,7 @@
.thumbnail {
display: block;
padding: 4px;
line-height:
20px
;
line-height:
@baseLineHeight
;
border: 1px solid #ddd;
.border-radius(4px);
.box-shadow(0 1px 3px rgba(0,0,0,.055));
...
...
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