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
607795e3
Commit
607795e3
authored
Oct 04, 2011
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:twitter/bootstrap
parents
d7e3bf72
2edf16c0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
13 deletions
+18
-13
bootstrap.css
bootstrap.css
+1
-0
bootstrap.min.css
bootstrap.min.css
+1
-1
js/bootstrap-dropdown.js
js/bootstrap-dropdown.js
+15
-12
lib/patterns.less
lib/patterns.less
+1
-0
No files found.
bootstrap.css
View file @
607795e3
...
...
@@ -2309,6 +2309,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;
white-space
:
nowrap
;
}
.label.important
{
background-color
:
#c43c35
;
...
...
bootstrap.min.css
View file @
607795e3
...
...
@@ -319,7 +319,7 @@ button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;
.popover
.title
{
background-color
:
#f5f5f5
;
padding
:
9px
15px
;
line-height
:
1
;
-webkit-border-radius
:
3px
3px
0
0
;
-moz-border-radius
:
3px
3px
0
0
;
border-radius
:
3px
3px
0
0
;
border-bottom
:
1px
solid
#eee
;}
.popover
.content
{
background-color
:
#ffffff
;
padding
:
14px
;
-webkit-border-radius
:
0
0
3px
3px
;
-moz-border-radius
:
0
0
3px
3px
;
border-radius
:
0
0
3px
3px
;
-webkit-background-clip
:
padding-box
;
-moz-background-clip
:
padding-box
;
background-clip
:
padding-box
;}
.popover
.content
p
,
.popover
.content
ul
,
.popover
.content
ol
{
margin-bottom
:
0
;}
.fade
{
-webkit-transition
:
opacity
0.15s
linear
;
-moz-transition
:
opacity
0.15s
linear
;
-ms-transition
:
opacity
0.15s
linear
;
-o-transition
:
opacity
0.15s
linear
;
transition
:
opacity
0.15s
linear
;
opacity
:
0
;}
.fade.in
{
opacity
:
1
;}
.label
{
padding
:
1px
3px
2px
;
background-color
:
#bfbfbf
;
font-size
:
9.75px
;
font-weight
:
bold
;
color
:
#ffffff
;
text-transform
:
uppercase
;
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;}
.label.important
{
background-color
:
#c43c35
;}
.label
{
padding
:
1px
3px
2px
;
background-color
:
#bfbfbf
;
font-size
:
9.75px
;
font-weight
:
bold
;
color
:
#ffffff
;
text-transform
:
uppercase
;
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;
white-space
:
nowrap
;
}
.label.important
{
background-color
:
#c43c35
;}
.label.warning
{
background-color
:
#f89406
;}
.label.success
{
background-color
:
#46a546
;}
.label.notice
{
background-color
:
#62cffc
;}
...
...
js/bootstrap-dropdown.js
View file @
607795e3
...
...
@@ -20,17 +20,6 @@
!
function
(
$
){
var
d
=
'
a.menu, .dropdown-toggle
'
function
clearMenus
()
{
$
(
d
).
parent
(
'
li
'
).
removeClass
(
'
open
'
)
}
$
(
function
()
{
$
(
'
html
'
).
bind
(
"
click
"
,
clearMenus
)
$
(
'
body
'
).
dropdown
(
'
[data-dropdown] a.menu, [data-dropdown] .dropdown-toggle
'
)
})
/* DROPDOWN PLUGIN DEFINITION
* ========================== */
...
...
@@ -47,4 +36,18 @@
})
}
}(
window
.
jQuery
||
window
.
ender
);
\ No newline at end of file
/* APPLY TO STANDARD DROPDOWN ELEMENTS
* =================================== */
var
d
=
'
a.menu, .dropdown-toggle
'
function
clearMenus
()
{
$
(
d
).
parent
(
'
li
'
).
removeClass
(
'
open
'
)
}
$
(
function
()
{
$
(
'
html
'
).
bind
(
"
click
"
,
clearMenus
)
$
(
'
body
'
).
dropdown
(
'
[data-dropdown] a.menu, [data-dropdown] .dropdown-toggle
'
)
})
}(
window
.
jQuery
||
window
.
ender
);
lib/patterns.less
View file @
607795e3
...
...
@@ -969,6 +969,7 @@ input[type=submit].btn {
font-weight: bold;
color: @white;
text-transform: uppercase;
white-space: nowrap;
.border-radius(3px);
&.important { background-color: #c43c35; }
&.warning { background-color: @orange; }
...
...
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