Commit 442bd265 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch 'backport-panels-styles-from-ee' into 'master'

Backport panels.scss styles from EE

See merge request !12206
parents ab29db9e 0a463612
.panel { .panel {
margin-bottom: $gl-padding; margin-bottom: $gl-padding;
}
.panel-slim {
@extend .panel;
margin-bottom: $gl-vert-padding;
}
.panel-heading {
padding: $gl-vert-padding $gl-padding;
line-height: 36px;
.controls {
margin-top: -2px;
float: right;
}
.dropdown-menu-toggle {
line-height: 20px;
}
.panel-heading { .badge {
padding: $gl-vert-padding $gl-padding; margin-top: -2px;
line-height: 36px; margin-left: 5px;
.controls {
margin-top: -2px;
float: right;
}
.dropdown-menu-toggle {
line-height: 20px;
}
.badge {
margin-top: -2px;
margin-left: 5px;
}
&.split {
display: flex;
align-items: center;
}
.left {
flex: 1 1 auto;
}
.right {
flex: 0 0 auto;
text-align: right;
}
} }
.panel-empty-heading { &.split {
border-bottom: 0; display: flex;
align-items: center;
} }
.panel-body { .left {
padding: $gl-padding; flex: 1 1 auto;
}
.form-actions { .right {
margin: -$gl-padding; flex: 0 0 auto;
margin-top: $gl-padding; text-align: right;
}
} }
}
.panel-empty-heading {
border-bottom: 0;
}
.panel-body {
padding: $gl-padding;
.panel-title { .form-actions {
font-size: inherit; margin: -$gl-padding;
line-height: inherit; margin-top: $gl-padding;
} }
} }
.panel-title {
font-size: inherit;
line-height: inherit;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment