gitlab-org--gitlab-foss/app/assets/stylesheets/framework/panels.scss

61 lines
754 B
SCSS
Raw Normal View History

2018-04-09 11:26:28 -04:00
.card {
margin-bottom: $gl-padding;
}
2018-04-09 11:26:28 -04:00
.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;
}
2018-04-09 11:26:28 -04:00
.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;
}
}
2018-04-09 11:26:28 -04:00
.card-empty-heading {
border-bottom: 0;
}
2018-04-09 11:26:28 -04:00
.card-body {
padding: $gl-padding;
.form-actions {
margin: -$gl-padding;
margin-top: $gl-padding;
}
}
2018-04-09 11:26:28 -04:00
.card-title {
font-size: inherit;
line-height: inherit;
}