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
baa8c3ec
Commit
baa8c3ec
authored
Jan 16, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restore alerts, and make them suck much less
parent
0b81dd21
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
66 additions
and
21 deletions
+66
-21
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+58
-2
docs/assets/css/docs.css
docs/assets/css/docs.css
+2
-1
less/alerts.less
less/alerts.less
+4
-17
less/bootstrap.less
less/bootstrap.less
+1
-0
less/close.less
less/close.less
+1
-1
No files found.
docs/assets/css/bootstrap.css
View file @
baa8c3ec
...
...
@@ -2550,8 +2550,8 @@ fieldset[disabled] .btn-link:hover {
color
:
#000
;
text-decoration
:
none
;
cursor
:
pointer
;
opacity
:
0.
4
;
filter
:
alpha
(
opacity
=
4
0
);
opacity
:
0.
5
;
filter
:
alpha
(
opacity
=
5
0
);
}
button
.close
{
...
...
@@ -4058,6 +4058,62 @@ button.close {
border-right-width
:
0
;
}
.alert
{
padding
:
8px
35px
8px
14px
;
margin-bottom
:
20px
;
color
:
#c09853
;
text-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0.5
);
background-color
:
#fcf8e3
;
border
:
1px
solid
#fbeed5
;
border-radius
:
4px
;
}
.alert
h4
{
margin-top
:
0
;
color
:
inherit
;
}
.alert
.close
{
position
:
relative
;
top
:
-2px
;
right
:
-21px
;
line-height
:
20px
;
color
:
inherit
;
}
.alert-success
{
color
:
#468847
;
background-color
:
#dff0d8
;
border-color
:
#d6e9c6
;
}
.alert-danger
,
.alert-error
{
color
:
#b94a48
;
background-color
:
#f2dede
;
border-color
:
#eed3d7
;
}
.alert-info
{
color
:
#3a87ad
;
background-color
:
#d9edf7
;
border-color
:
#bce8f1
;
}
.alert-block
{
padding-top
:
14px
;
padding-bottom
:
14px
;
}
.alert-block
>
p
,
.alert-block
>
ul
{
margin-bottom
:
0
;
}
.alert-block
p
+
p
{
margin-top
:
5px
;
}
.thumbnail
{
display
:
block
;
padding
:
4px
;
...
...
docs/assets/css/docs.css
View file @
baa8c3ec
...
...
@@ -264,7 +264,8 @@ section > ul li {
.bs-docs-example
>
select
:last-child
,
.bs-docs-example
>
textarea
:last-child
,
.bs-docs-example
>
.table
:last-child
,
.bs-docs-example
>
.jumbotron
:last-child
{
.bs-docs-example
>
.jumbotron
:last-child
,
.bs-docs-example
>
.alert
:last-child
{
margin-bottom
:
0
;
}
...
...
less/alerts.less
View file @
baa8c3ec
...
...
@@ -10,17 +10,15 @@
padding: 8px 35px 8px 14px;
margin-bottom: @line-height-base;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
color: @state-warning-text;
background-color: @state-warning-background;
border: 1px solid @state-warning-border;
border-radius: @border-radius-base;
}
.alert,
.alert h4 {
margin-top: 0;
// Specified for the h4 to prevent conflicts of changing @headingsColor
color: @state-warning-text;
}
.alert h4 {
margin: 0;
color: inherit;
}
// Adjust close link position
...
...
@@ -29,9 +27,9 @@
top: -2px;
right: -21px;
line-height: @line-height-base;
color: inherit;
}
// Alternate styles
// -------------------------
...
...
@@ -40,28 +38,17 @@
border-color: @state-success-border;
color: @state-success-text;
}
.alert-success h4 {
color: @state-success-text;
}
.alert-danger,
.alert-error {
background-color: @state-error-background;
border-color: @state-error-border;
color: @state-error-text;
}
.alert-danger h4,
.alert-error h4 {
color: @state-error-text;
}
.alert-info {
background-color: @state-info-background;
border-color: @state-info-border;
color: @state-info-text;
}
.alert-info h4 {
color: @state-info-text;
}
// Block alerts
// -------------------------
...
...
less/bootstrap.less
View file @
baa8c3ec
...
...
@@ -46,6 +46,7 @@
@import "popovers.less";
// Components: Misc
@import "alerts.less";
@import "thumbnails.less";
@import "media.less";
@import "badges.less";
...
...
less/close.less
View file @
baa8c3ec
...
...
@@ -15,7 +15,7 @@
color: #000;
text-decoration: none;
cursor: pointer;
.opacity(
4
0);
.opacity(
5
0);
}
}
...
...
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