1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-02 09:52:43 +02:00

Add .panel-title to panel component to mirror modals

/cc @leeaston
This commit is contained in:
Mark Otto
2013-07-25 21:16:43 -07:00
parent ac4e7db17f
commit 56404bc89b
4 changed files with 45 additions and 11 deletions

View File

@@ -17,14 +17,20 @@
.panel-heading {
margin: -15px -15px 15px;
padding: 10px 15px;
font-size: (@font-size-base * 1.25);
font-weight: 500;
background-color: @panel-heading-bg;
border-bottom: 1px solid @panel-border;
border-top-left-radius: (@panel-border-radius - 1);
border-top-right-radius: (@panel-border-radius - 1);
}
// Within heading, strip any `h*` tag of it's default margins for spacing.
.panel-title {
margin-top: 0;
margin-bottom: 0;
font-size: (@font-size-base * 1.25);
font-weight: 500;
}
// Optional footer (stays gray in every modifier class)
.panel-footer {
margin: 15px -15px -15px;