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
b6d50c89
Commit
b6d50c89
authored
Jan 07, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scope close icon in modal to modal-header to allow alerts in modals to use close icons
parent
e594107f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
bootstrap.css
bootstrap.css
+4
-4
bootstrap.min.css
bootstrap.min.css
+2
-3
lib/modals.less
lib/modals.less
+2
-1
No files found.
bootstrap.css
View file @
b6d50c89
...
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Sat Jan 7 04:
15:19
PST 2012
* Date: Sat Jan 7 04:
20:37
PST 2012
*/
html
,
body
{
margin
:
0
;
...
...
@@ -2255,9 +2255,6 @@ i {
-moz-background-clip
:
padding-box
;
background-clip
:
padding-box
;
}
.modal
.close
{
margin-top
:
7px
;
}
.modal.fade
{
-webkit-transition
:
opacity
.3s
linear
,
top
.3s
ease-out
;
-moz-transition
:
opacity
.3s
linear
,
top
.3s
ease-out
;
...
...
@@ -2273,6 +2270,9 @@ i {
padding
:
5px
15px
;
border-bottom
:
1px
solid
#eee
;
}
.modal-header
.close
{
margin-top
:
7px
;
}
.modal-body
{
padding
:
15px
;
}
...
...
bootstrap.min.css
View file @
b6d50c89
...
...
@@ -376,10 +376,9 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou
.pagination.centered
{
text-align
:
center
;}
.modal-backdrop
{
position
:
fixed
;
top
:
0
;
right
:
0
;
bottom
:
0
;
left
:
0
;
z-index
:
1020
;
background-color
:
#000000
;}
.modal-backdrop.fade
{
opacity
:
0
;}
.modal-backdrop
,
.modal-backdrop.fade.in
{
filter
:
alpha
(
opacity
=
80
);
-moz-opacity
:
0.8
;
opacity
:
0.8
;}
.modal
{
position
:
fixed
;
top
:
50%
;
left
:
50%
;
z-index
:
1030
;
max-height
:
500px
;
overflow
:
auto
;
width
:
560px
;
margin
:
-250px
0
0
-250px
;
background-color
:
#ffffff
;
border
:
1px
solid
#999
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.3
);
*
border
:
1px
solid
#999
;
-webkit-border-radius
:
6px
;
-moz-border-radius
:
6px
;
border-radius
:
6px
;
-webkit-box-shadow
:
0
3px
7px
rgba
(
0
,
0
,
0
,
0.3
);
-moz-box-shadow
:
0
3px
7px
rgba
(
0
,
0
,
0
,
0.3
);
box-shadow
:
0
3px
7px
rgba
(
0
,
0
,
0
,
0.3
);
-webkit-background-clip
:
padding-box
;
-moz-background-clip
:
padding-box
;
background-clip
:
padding-box
;}
.modal
.close
{
margin-top
:
7px
;}
.modal.fade
{
-webkit-transition
:
opacity
.3s
linear
,
top
.3s
ease-out
;
-moz-transition
:
opacity
.3s
linear
,
top
.3s
ease-out
;
-ms-transition
:
opacity
.3s
linear
,
top
.3s
ease-out
;
-o-transition
:
opacity
.3s
linear
,
top
.3s
ease-out
;
transition
:
opacity
.3s
linear
,
top
.3s
ease-out
;
top
:
-25%
;}
.modal
{
position
:
fixed
;
top
:
50%
;
left
:
50%
;
z-index
:
1030
;
max-height
:
500px
;
overflow
:
auto
;
width
:
560px
;
margin
:
-250px
0
0
-250px
;
background-color
:
#ffffff
;
border
:
1px
solid
#999
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.3
);
*
border
:
1px
solid
#999
;
-webkit-border-radius
:
6px
;
-moz-border-radius
:
6px
;
border-radius
:
6px
;
-webkit-box-shadow
:
0
3px
7px
rgba
(
0
,
0
,
0
,
0.3
);
-moz-box-shadow
:
0
3px
7px
rgba
(
0
,
0
,
0
,
0.3
);
box-shadow
:
0
3px
7px
rgba
(
0
,
0
,
0
,
0.3
);
-webkit-background-clip
:
padding-box
;
-moz-background-clip
:
padding-box
;
background-clip
:
padding-box
;}
.modal.fade
{
-webkit-transition
:
opacity
.3s
linear
,
top
.3s
ease-out
;
-moz-transition
:
opacity
.3s
linear
,
top
.3s
ease-out
;
-ms-transition
:
opacity
.3s
linear
,
top
.3s
ease-out
;
-o-transition
:
opacity
.3s
linear
,
top
.3s
ease-out
;
transition
:
opacity
.3s
linear
,
top
.3s
ease-out
;
top
:
-25%
;}
.modal.fade.in
{
top
:
50%
;}
.modal-header
{
padding
:
5px
15px
;
border-bottom
:
1px
solid
#eee
;}
.modal-header
{
padding
:
5px
15px
;
border-bottom
:
1px
solid
#eee
;}
.modal-header
.close
{
margin-top
:
7px
;}
.modal-body
{
padding
:
15px
;}
.modal-footer
{
padding
:
14px
15px
15px
;
margin-bottom
:
0
;
background-color
:
#f5f5f5
;
border-top
:
1px
solid
#ddd
;
-webkit-border-radius
:
0
0
6px
6px
;
-moz-border-radius
:
0
0
6px
6px
;
border-radius
:
0
0
6px
6px
;
-webkit-box-shadow
:
inset
0
1px
0
#ffffff
;
-moz-box-shadow
:
inset
0
1px
0
#ffffff
;
box-shadow
:
inset
0
1px
0
#ffffff
;
zoom
:
1
;}
.modal-footer
:before
,
.modal-footer
:after
{
display
:
table
;
*
display
:
inline
;
content
:
""
;
zoom
:
1
;}
.modal-footer
:after
{
clear
:
both
;}
...
...
lib/modals.less
View file @
b6d50c89
...
...
@@ -34,7 +34,6 @@
.border-radius(6px);
.box-shadow(0 3px 7px rgba(0,0,0,0.3));
.background-clip(padding-box);
.close { margin-top: 7px; }
&.fade {
.transition(e('opacity .3s linear, top .3s ease-out'));
top: -25%;
...
...
@@ -44,6 +43,8 @@
.modal-header {
padding: 5px 15px;
border-bottom: 1px solid #eee;
// Close icon
.close { margin-top: 7px; }
}
.modal-body {
padding: 15px;
...
...
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