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
ecfdecea
Commit
ecfdecea
authored
Mar 14, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use translucent box shadow on hr elements; colorize hr elements within alert components
parent
4c0719ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
78 additions
and
22 deletions
+78
-22
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+56
-16
less/alerts.less
less/alerts.less
+21
-6
less/type.less
less/type.less
+1
-0
No files found.
docs/assets/css/bootstrap.css
View file @
ecfdecea
...
...
@@ -416,7 +416,13 @@ h2,
h3
,
h4
,
h5
,
h6
{
h6
,
.h1
,
.h2
,
.h3
,
.h4
,
.h5
,
.h6
{
font-family
:
inherit
;
font-weight
:
500
;
line-height
:
20px
;
...
...
@@ -428,7 +434,13 @@ h2 small,
h3
small
,
h4
small
,
h5
small
,
h6
small
{
h6
small
,
.h1
small
,
.h2
small
,
.h3
small
,
.h4
small
,
.h5
small
,
.h6
small
{
font-weight
:
normal
;
line-height
:
1
;
color
:
#999999
;
...
...
@@ -453,49 +465,59 @@ h6 {
margin-bottom
:
10px
;
}
h1
{
h1
,
.h1
{
font-size
:
38.5px
;
font-size
:
4rem
;
}
h2
{
h2
,
.h2
{
font-size
:
31.5px
;
font-size
:
3rem
;
}
h3
{
h3
,
.h3
{
font-size
:
24.5px
;
font-size
:
2.5rem
;
}
h4
{
h4
,
.h4
{
font-size
:
17.5px
;
font-size
:
2rem
;
}
h5
{
h5
,
.h5
{
font-size
:
14px
;
font-size
:
1.6rem
;
}
h6
{
h6
,
.h6
{
font-size
:
11.9px
;
font-size
:
1.2rem
;
}
h1
small
{
h1
small
,
.h1
small
{
font-size
:
24.5px
;
}
h2
small
{
h2
small
,
.h2
small
{
font-size
:
17.5px
;
}
h3
small
{
h3
small
,
.h3
small
{
font-size
:
14px
;
}
h4
small
{
h4
small
,
.h4
small
{
font-size
:
14px
;
}
...
...
@@ -580,6 +602,7 @@ hr {
border
:
0
;
border-top
:
1px
solid
#eeeeee
;
border-bottom
:
1px
solid
#fff
;
border-bottom
:
1px
solid
rgba
(
255
,
255
,
255
,
0.5
);
}
abbr
[
title
],
...
...
@@ -740,7 +763,7 @@ pre code {
@media
screen
and
(
min-width
:
768px
)
{
.container
{
max-width
:
7
5
8px
;
max-width
:
7
2
8px
;
}
[
class
^=
"span"
]
{
float
:
left
;
...
...
@@ -821,13 +844,13 @@ pre code {
@media
screen
and
(
min-width
:
992px
)
{
.container
{
max-width
:
9
7
0px
;
max-width
:
9
4
0px
;
}
}
@media
screen
and
(
min-width
:
1200px
)
{
.container
{
max-width
:
1
20
0px
;
max-width
:
1
17
0px
;
}
.row
{
margin-right
:
-15px
;
...
...
@@ -4139,7 +4162,11 @@ button.close {
color
:
inherit
;
}
.alert
.close
{
.alert
hr
{
border-top-color
:
#f8e5be
;
}
.close
{
position
:
relative
;
top
:
-2px
;
right
:
-21px
;
...
...
@@ -4153,6 +4180,10 @@ button.close {
border-color
:
#d6e9c6
;
}
.alert-success
hr
{
border-top-color
:
#c9e2b3
;
}
.alert-danger
,
.alert-error
{
color
:
#b94a48
;
...
...
@@ -4160,12 +4191,21 @@ button.close {
border-color
:
#eed3d7
;
}
.alert-danger
hr
,
.alert-error
hr
{
border-top-color
:
#e6c1c7
;
}
.alert-info
{
color
:
#3a87ad
;
background-color
:
#d9edf7
;
border-color
:
#bce8f1
;
}
.alert-info
hr
{
border-top-color
:
#a6e1ec
;
}
.alert-block
{
padding-top
:
14px
;
padding-bottom
:
14px
;
...
...
less/alerts.less
View file @
ecfdecea
...
...
@@ -13,15 +13,21 @@
background-color: @state-warning-background;
border: 1px solid @state-warning-border;
border-radius: @border-radius-base;
}
.alert h4 {
margin-top: 0;
// Specified for the h4 to prevent conflicts of changing @headingsColor
color: inherit;
// Headings for larger alerts
h4 {
margin-top: 0;
// Specified for the h4 to prevent conflicts of changing @headingsColor
color: inherit;
}
// Match the hr to the border of the alert
hr {
border-top-color: darken(@state-warning-border, 5%);
}
}
// Adjust close link position
.
alert .
close {
.close {
position: relative;
top: -2px;
right: -21px;
...
...
@@ -36,17 +42,26 @@
background-color: @state-success-background;
border-color: @state-success-border;
color: @state-success-text;
hr {
border-top-color: darken(@state-success-border, 5%);
}
}
.alert-danger,
.alert-error {
background-color: @state-error-background;
border-color: @state-error-border;
color: @state-error-text;
hr {
border-top-color: darken(@state-error-border, 5%);
}
}
.alert-info {
background-color: @state-info-background;
border-color: @state-info-border;
color: @state-info-text;
hr {
border-top-color: darken(@state-info-border, 5%);
}
}
// Block alerts
...
...
less/type.less
View file @
ecfdecea
...
...
@@ -178,6 +178,7 @@ hr {
border: 0;
border-top: 1px solid @hr-border;
border-bottom: 1px solid #fff;
border-bottom: 1px solid rgba(255,255,255,.5);
}
// Abbreviations and acronyms
...
...
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