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
f2fe2b17
Commit
f2fe2b17
authored
Jan 24, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove top margin from alert close, chance close line height to 18px (baseLineHeight)
parent
9602248a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
9 deletions
+6
-9
bootstrap.css
bootstrap.css
+3
-5
bootstrap.min.css
bootstrap.min.css
+2
-2
lib/alerts.less
lib/alerts.less
+0
-1
lib/close.less
lib/close.less
+1
-1
No files found.
bootstrap.css
View file @
f2fe2b17
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Tue Jan 24 2
0:44:12
PST 2012
* Date: Tue Jan 24 2
1:10:54
PST 2012
*/
*/
article
,
article
,
aside
,
aside
,
...
@@ -1505,7 +1505,7 @@ i {
...
@@ -1505,7 +1505,7 @@ i {
float
:
right
;
float
:
right
;
font-size
:
20px
;
font-size
:
20px
;
font-weight
:
bold
;
font-weight
:
bold
;
line-height
:
1
2
px
;
line-height
:
1
8
px
;
color
:
#000000
;
color
:
#000000
;
text-shadow
:
0
1px
0
#ffffff
;
text-shadow
:
0
1px
0
#ffffff
;
filter
:
alpha
(
opacity
=
20
);
filter
:
alpha
(
opacity
=
20
);
...
@@ -2627,11 +2627,9 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
...
@@ -2627,11 +2627,9 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
color
:
#c09853
;
color
:
#c09853
;
}
}
.alert
.close
{
.alert
.close
{
*
margin-top
:
3px
;
/* IE7 spacing */
position
:
relative
;
position
:
relative
;
right
:
-21px
;
right
:
-21px
;
line-height
:
18px
;
}
}
.alert-success
{
.alert-success
{
background-color
:
#dff0d8
;
background-color
:
#dff0d8
;
...
...
bootstrap.min.css
View file @
f2fe2b17
...
@@ -312,7 +312,7 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou
...
@@ -312,7 +312,7 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou
.well
{
min-height
:
20px
;
padding
:
19px
;
margin-bottom
:
20px
;
background-color
:
#f5f5f5
;
border
:
1px
solid
#eee
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.05
);
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.05
);
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.05
);}
.well
blockquote
{
border-color
:
#ddd
;
border-color
:
rgba
(
0
,
0
,
0
,
0.15
);}
.well
{
min-height
:
20px
;
padding
:
19px
;
margin-bottom
:
20px
;
background-color
:
#f5f5f5
;
border
:
1px
solid
#eee
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.05
);
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.05
);
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.05
);}
.well
blockquote
{
border-color
:
#ddd
;
border-color
:
rgba
(
0
,
0
,
0
,
0.15
);}
.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
;}
.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
;}
.collapse
{
-webkit-transition
:
height
0.35s
ease
;
-moz-transition
:
height
0.35s
ease
;
-ms-transition
:
height
0.35s
ease
;
-o-transition
:
height
0.35s
ease
;
transition
:
height
0.35s
ease
;
position
:
relative
;
overflow
:
hidden
;
height
:
0
;}
.collapse.in
{
height
:
auto
;}
.collapse
{
-webkit-transition
:
height
0.35s
ease
;
-moz-transition
:
height
0.35s
ease
;
-ms-transition
:
height
0.35s
ease
;
-o-transition
:
height
0.35s
ease
;
transition
:
height
0.35s
ease
;
position
:
relative
;
overflow
:
hidden
;
height
:
0
;}
.collapse.in
{
height
:
auto
;}
.close
{
float
:
right
;
font-size
:
20px
;
font-weight
:
bold
;
line-height
:
1
2
px
;
color
:
#000000
;
text-shadow
:
0
1px
0
#ffffff
;
filter
:
alpha
(
opacity
=
20
);
-moz-opacity
:
0.2
;
opacity
:
0.2
;}
.close
:hover
{
color
:
#000000
;
text-decoration
:
none
;
filter
:
alpha
(
opacity
=
40
);
-moz-opacity
:
0.4
;
opacity
:
0.4
;
cursor
:
pointer
;}
.close
{
float
:
right
;
font-size
:
20px
;
font-weight
:
bold
;
line-height
:
1
8
px
;
color
:
#000000
;
text-shadow
:
0
1px
0
#ffffff
;
filter
:
alpha
(
opacity
=
20
);
-moz-opacity
:
0.2
;
opacity
:
0.2
;}
.close
:hover
{
color
:
#000000
;
text-decoration
:
none
;
filter
:
alpha
(
opacity
=
40
);
-moz-opacity
:
0.4
;
opacity
:
0.4
;
cursor
:
pointer
;}
.nav
{
margin-left
:
0
;
margin-bottom
:
18px
;
list-style
:
none
;}
.nav
{
margin-left
:
0
;
margin-bottom
:
18px
;
list-style
:
none
;}
.nav
>
li
>
a
{
display
:
block
;}
.nav
>
li
>
a
{
display
:
block
;}
.nav
>
li
>
a
:hover
{
text-decoration
:
none
;
background-color
:
#eeeeee
;}
.nav
>
li
>
a
:hover
{
text-decoration
:
none
;
background-color
:
#eeeeee
;}
...
@@ -482,7 +482,7 @@ button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;
...
@@ -482,7 +482,7 @@ button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;
.primary
.caret
,
.danger
.caret
,
.info
.caret
,
.success
.caret
{
border-top-color
:
#ffffff
;
filter
:
alpha
(
opacity
=
75
);
-moz-opacity
:
0.75
;
opacity
:
0.75
;}
.primary
.caret
,
.danger
.caret
,
.info
.caret
,
.success
.caret
{
border-top-color
:
#ffffff
;
filter
:
alpha
(
opacity
=
75
);
-moz-opacity
:
0.75
;
opacity
:
0.75
;}
.alert
{
padding
:
8px
35px
8px
14px
;
margin-bottom
:
18px
;
text-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0.5
);
background-color
:
#fcf8e3
;
border
:
1px
solid
#f3edd2
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;}
.alert
{
padding
:
8px
35px
8px
14px
;
margin-bottom
:
18px
;
text-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0.5
);
background-color
:
#fcf8e3
;
border
:
1px
solid
#f3edd2
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;}
.alert
,
.alert-heading
{
color
:
#c09853
;}
.alert
,
.alert-heading
{
color
:
#c09853
;}
.alert
.close
{
*
margin-top
:
3px
;
position
:
relative
;
right
:
-21
px
;}
.alert
.close
{
position
:
relative
;
right
:
-21px
;
line-height
:
18
px
;}
.alert-success
{
background-color
:
#dff0d8
;
border-color
:
#cfe8c4
;}
.alert-success
{
background-color
:
#dff0d8
;
border-color
:
#cfe8c4
;}
.alert-success
,
.alert-success
.alert-heading
{
color
:
#468847
;}
.alert-success
,
.alert-success
.alert-heading
{
color
:
#468847
;}
.alert-danger
,
.alert-error
{
background-color
:
#f2dede
;
border-color
:
#e9c7c7
;}
.alert-danger
,
.alert-error
{
background-color
:
#f2dede
;
border-color
:
#e9c7c7
;}
...
...
lib/alerts.less
View file @
f2fe2b17
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
// Adjust close link position
// Adjust close link position
.alert .close {
.alert .close {
*margin-top: 3px; /* IE7 spacing */
position: relative;
position: relative;
right: -21px;
right: -21px;
line-height: 18px;
line-height: 18px;
...
...
lib/close.less
View file @
f2fe2b17
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
float: right;
float: right;
font-size: 20px;
font-size: 20px;
font-weight: bold;
font-weight: bold;
line-height:
12px
;
line-height:
@baseLineHeight
;
color: @black;
color: @black;
text-shadow: 0 1px 0 rgba(255,255,255,1);
text-shadow: 0 1px 0 rgba(255,255,255,1);
.opacity(20);
.opacity(20);
...
...
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