debian-mirror-gitlab/app/assets/stylesheets/framework/wells.scss

126 lines
1.9 KiB
SCSS
Raw Normal View History

2017-08-17 22:00:37 +05:30
.info-well {
background: $gray-light;
color: $gl-text-color;
border: 1px solid $border-color;
border-radius: $border-radius-default;
2020-01-01 13:55:28 +05:30
margin-bottom: $gl-padding-8;
2017-08-17 22:00:37 +05:30
2018-11-08 19:23:39 +05:30
.card.card-body-segment {
2017-08-17 22:00:37 +05:30
padding: $gl-padding;
&:not(:last-of-type) {
border-bottom: 1px solid $well-inner-border;
}
2019-07-07 11:18:12 +05:30
&.borderless {
border-bottom: 0;
}
2017-08-17 22:00:37 +05:30
&.branch-info {
2017-09-10 17:25:29 +05:30
.commit-sha,
2017-08-17 22:00:37 +05:30
.commit-info {
margin-left: 4px;
2018-03-17 18:26:18 +05:30
.fork-svg {
margin-right: 4px;
2018-10-15 14:42:47 +05:30
vertical-align: bottom;
2018-03-17 18:26:18 +05:30
}
2017-08-17 22:00:37 +05:30
}
2017-09-10 17:25:29 +05:30
.ref-name {
font-size: 12px;
2018-03-17 18:26:18 +05:30
&:hover {
text-decoration: underline;
color: $gl-text-color;
}
2017-09-10 17:25:29 +05:30
}
}
&.admin-well h4 {
border-bottom: 1px solid $border-color;
padding-bottom: 8px;
2017-08-17 22:00:37 +05:30
}
}
.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;
}
}
}
}
2018-11-08 19:23:39 +05:30
.label-gray {
2017-08-17 22:00:37 +05:30
background-color: $well-expand-item;
}
2018-03-17 18:26:18 +05:30
.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;
}
}
2018-11-08 19:23:39 +05:30
svg {
vertical-align: text-top;
}
2017-08-17 22:00:37 +05:30
}
.light-well {
background-color: $gray-light;
padding: 15px;
}
2017-09-10 17:25:29 +05:30
.dark-well {
background-color: $gray-normal;
.btn {
width: 100%;
}
}
2018-11-08 19:23:39 +05:30
.card.card-body-centered {
2017-08-17 22:00:37 +05:30
h1 {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2017-08-17 22:00:37 +05:30
text-align: center;
font-size: 48px;
}
}