Skip to content
GitLab
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
d350f577
Commit
d350f577
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fixes
#3222
: simpler positioning of modals
parent
46347fff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+3
-6
docs/assets/css/bootstrap.css
less/modals.less
+3
-3
less/modals.less
with
6 additions
and
9 deletions
+6
-9
docs/assets/css/bootstrap.css
+
3
-
6
View file @
d350f577
...
@@ -1977,9 +1977,6 @@ table {
...
@@ -1977,9 +1977,6 @@ table {
.table-bordered
thead
:last-child
tr
:last-child
th
:first-child
,
.table-bordered
thead
:last-child
tr
:last-child
th
:first-child
,
.table-bordered
tbody
:last-child
tr
:last-child
td
:first-child
,
.table-bordered
tbody
:last-child
tr
:last-child
td
:first-child
,
.table-bordered
tfoot
:last-child
tr
:last-child
td
:first-child
{
.table-bordered
tfoot
:last-child
tr
:last-child
td
:first-child
{
-webkit-border-radius
:
0
0
0
4px
;
-moz-border-radius
:
0
0
0
4px
;
border-radius
:
0
0
0
4px
;
-webkit-border-bottom-left-radius
:
4px
;
-webkit-border-bottom-left-radius
:
4px
;
border-bottom-left-radius
:
4px
;
border-bottom-left-radius
:
4px
;
-moz-border-radius-bottomleft
:
4px
;
-moz-border-radius-bottomleft
:
4px
;
...
@@ -4976,11 +4973,11 @@ input[type="submit"].btn.btn-mini {
...
@@ -4976,11 +4973,11 @@ input[type="submit"].btn.btn-mini {
.modal
{
.modal
{
position
:
fixed
;
position
:
fixed
;
top
:
5
0%
;
top
:
1
0%
;
left
:
50%
;
left
:
50%
;
z-index
:
1050
;
z-index
:
1050
;
width
:
560px
;
width
:
560px
;
margin
:
-250px
0
0
-280px
;
margin
-left
:
-280px
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
border
:
1px
solid
#999
;
border
:
1px
solid
#999
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.3
);
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.3
);
...
@@ -5006,7 +5003,7 @@ input[type="submit"].btn.btn-mini {
...
@@ -5006,7 +5003,7 @@ input[type="submit"].btn.btn-mini {
}
}
.modal.fade.in
{
.modal.fade.in
{
top
:
5
0%
;
top
:
1
0%
;
}
}
.modal-header
{
.modal-header
{
...
...
This diff is collapsed.
Click to expand it.
less/modals.less
+
3
-
3
View file @
d350f577
...
@@ -23,11 +23,11 @@
...
@@ -23,11 +23,11 @@
// Base modal
// Base modal
.modal {
.modal {
position: fixed;
position: fixed;
top:
5
0%;
top:
1
0%;
left: 50%;
left: 50%;
z-index: @zindexModal;
z-index: @zindexModal;
width: 560px;
width: 560px;
margin
: -250px 0 0
-280px;
margin
-left:
-280px;
background-color: @white;
background-color: @white;
border: 1px solid #999;
border: 1px solid #999;
border: 1px solid rgba(0,0,0,.3);
border: 1px solid rgba(0,0,0,.3);
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
.transition(e('opacity .3s linear, top .3s ease-out'));
.transition(e('opacity .3s linear, top .3s ease-out'));
top: -25%;
top: -25%;
}
}
&.fade.in { top:
5
0%; }
&.fade.in { top:
1
0%; }
}
}
.modal-header {
.modal-header {
padding: 9px 15px;
padding: 9px 15px;
...
...
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