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

118 lines
1.8 KiB
SCSS
Raw Normal View History

.info-well {
2016-12-12 17:26:21 -05:00
background: $gray-light;
2016-12-30 15:18:27 -05:00
color: $gl-text-color;
border: 1px solid $border-color;
border-radius: $border-radius-default;
margin-bottom: $gl-padding;
2018-04-09 11:26:28 -04:00
.card.card-body-segment {
padding: $gl-padding;
&:not(:last-of-type) {
border-bottom: 1px solid $well-inner-border;
}
&.branch-info {
.commit-sha,
.commit-info {
margin-left: 4px;
2017-12-06 13:38:35 -05:00
.fork-svg {
margin-right: 4px;
vertical-align: bottom;
2017-12-06 13:38:35 -05:00
}
}
.ref-name {
font-size: 12px;
2017-12-04 06:00:52 -05:00
&:hover {
text-decoration: underline;
color: $gl-text-color;
}
}
}
&.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 {
2017-11-07 15:38:51 -05:00
cursor: pointer;
display: inline-flex;
align-items: center;
2017-11-07 15:36:07 -05:00
background-color: $red-100;
border-radius: $border-radius-default;
text-align: center;
&:hover {
2017-11-07 15:36:07 -05:00
background-color: $red-200;
}
.limit-icon {
2017-12-06 13:38:35 -05:00
margin: 0 4px;
}
.limit-message {
line-height: 16px;
2017-11-07 15:36:07 -05:00
margin-right: 8px;
font-size: 12px;
}
}
}
.light-well {
2016-12-12 17:26:21 -05:00
background-color: $gray-light;
padding: 15px;
}
.dark-well {
background-color: $gray-normal;
.btn {
width: 100%;
}
}
2018-04-09 11:26:28 -04:00
.card.card-body-centered {
h1 {
font-weight: $gl-font-weight-normal;
text-align: center;
font-size: 48px;
}
}