gitlab-org--gitlab-foss/app/assets/stylesheets/framework/panels.scss
2018-04-16 14:19:37 -05:00

60 lines
754 B
SCSS

.card {
margin-bottom: $gl-padding;
}
.card-slim {
@extend .card;
margin-bottom: $gl-vert-padding;
}
.card-header {
padding: $gl-vert-padding $gl-padding;
line-height: 36px;
.controls {
margin-top: -2px;
float: right;
}
.dropdown-menu-toggle {
line-height: 20px;
}
.badge.badge-pill {
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;
}
}
.card-empty-heading {
border-bottom: 0;
}
.card-body {
padding: $gl-padding;
.form-actions {
margin: -$gl-padding;
margin-top: $gl-padding;
}
}
.card-title {
font-size: inherit;
line-height: inherit;
}