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

116 lines
1.7 KiB
SCSS

.info-well {
background: $gray-light;
color: $gl-text-color;
border: 1px solid $border-color;
border-radius: $border-radius-default;
.card.card-body-segment {
padding: $gl-padding;
&:not(:last-of-type) {
border-bottom: 1px solid $well-inner-border;
}
&.borderless {
border-bottom: 0;
}
&.branch-info {
.commit-sha,
.commit-info {
margin-left: 4px;
.fork-svg {
margin-right: 4px;
vertical-align: bottom;
}
}
.ref-name {
font-size: 12px;
}
}
&.admin-well h4 {
border-bottom: 1px solid $border-color;
padding-bottom: 8px;
}
}
.icon-container {
display: inline-block;
margin-right: 8px;
svg {
position: relative;
top: 2px;
height: 16px;
width: 16px;
}
&.commit-icon {
svg {
path {
fill: $gl-text-color;
}
}
}
}
.label-gray {
background-color: $well-expand-item;
}
.branches {
display: inline;
}
.branch-link {
margin-bottom: 2px;
}
.limit-box {
cursor: pointer;
display: inline-flex;
align-items: center;
background-color: $red-100;
border-radius: $border-radius-default;
text-align: center;
&:hover {
background-color: $red-200;
}
.limit-icon {
margin: 0 4px;
}
.limit-message {
line-height: 16px;
margin-right: 8px;
font-size: 12px;
}
}
svg {
vertical-align: text-top;
}
}
.light-well {
background-color: $gray-light;
padding: 15px;
}
.dark-well {
background-color: $gray-normal;
}
.card.card-body-centered {
h1 {
font-weight: $gl-font-weight-normal;
text-align: center;
font-size: 48px;
}
}