gitlab-org--gitlab-foss/app/assets/stylesheets/pages/cycle_analytics.scss

365 lines
5.8 KiB
SCSS
Raw Normal View History

2016-09-14 17:03:42 -04:00
#cycle-analytics {
2016-09-19 16:41:36 -04:00
margin: 24px auto 0;
position: relative;
2016-09-14 17:03:42 -04:00
.col-headers {
ul {
margin: 0;
padding: 0;
@include clearfix;
}
li {
display: inline-block;
float: left;
line-height: 50px;
width: 20%;
}
.fa {
color: $cycle-analytics-light-gray;
}
.stage-header {
width: 28%;
padding-left: $gl-padding;
}
.median-header {
width: 12%;
}
2016-09-14 17:03:42 -04:00
.event-header {
width: 45%;
padding-left: $gl-padding;
}
.total-time-header {
width: 15%;
text-align: right;
padding-right: $gl-padding;
}
.stage-name {
font-weight: 600;
}
}
.panel {
2016-09-14 17:03:42 -04:00
.content-block {
padding: 24px 0;
border-bottom: none;
position: relative;
2016-10-24 15:23:40 -04:00
@media (max-width: $screen-sm-min) {
padding: 6px 0 24px;
2016-10-24 15:23:40 -04:00
}
2016-09-14 17:03:42 -04:00
}
.column {
text-align: center;
2016-10-24 15:23:40 -04:00
@media (max-width: $screen-sm-min) {
padding: 15px 0;
}
2016-09-14 17:03:42 -04:00
.header {
font-size: 30px;
line-height: 38px;
font-weight: normal;
margin: 0;
}
.text {
color: $layout-link-gray;
margin: 0;
2016-09-14 17:03:42 -04:00
}
2016-09-19 16:41:36 -04:00
&:last-child {
@media (max-width: $screen-sm-min) {
text-align: center;
}
2016-09-19 16:41:36 -04:00
}
2016-09-14 17:03:42 -04:00
}
}
.bordered-box {
border: 1px solid $border-color;
2016-09-09 12:59:36 -04:00
border-radius: $border-radius-default;
2016-09-14 17:03:42 -04:00
}
.content-list {
li {
padding: 18px $gl-padding $gl-padding;
2016-09-19 16:41:36 -04:00
.container-fluid {
padding: 0;
}
2016-09-14 17:03:42 -04:00
}
2016-09-19 16:41:36 -04:00
.title-col {
p {
margin: 0;
&.title {
2016-09-14 17:03:42 -04:00
line-height: 19px;
font-size: 15px;
font-weight: 600;
color: $gl-title-color;
2016-09-14 17:03:42 -04:00
}
2016-10-24 15:23:40 -04:00
&.text {
color: $layout-link-gray;
2016-10-24 15:23:40 -04:00
&.value-col {
color: $gl-title-color;
}
2016-09-14 17:03:42 -04:00
}
}
}
2016-09-19 16:41:36 -04:00
.value-col {
text-align: right;
2016-09-14 17:03:42 -04:00
2016-09-19 16:41:36 -04:00
span {
position: relative;
vertical-align: middle;
top: 3px;
2016-09-19 16:41:36 -04:00
}
2016-09-14 17:03:42 -04:00
}
2016-09-19 16:41:36 -04:00
}
2016-09-14 17:03:42 -04:00
2016-09-19 16:41:36 -04:00
.landing {
2016-09-22 14:48:23 -04:00
margin-bottom: $gl-padding;
2016-09-19 16:41:36 -04:00
overflow: hidden;
2016-09-14 17:03:42 -04:00
2016-09-19 16:41:36 -04:00
.dismiss-icon {
position: absolute;
2016-09-22 07:56:38 -04:00
right: $cycle-analytics-box-padding;
2016-09-19 16:41:36 -04:00
cursor: pointer;
color: #b2b2b2;
2016-09-14 17:03:42 -04:00
}
2016-09-22 07:56:38 -04:00
.svg-container {
text-align: center;
2016-10-24 15:23:40 -04:00
2016-09-22 07:56:38 -04:00
svg {
width: 136px;
height: 136px;
}
2016-09-14 17:03:42 -04:00
}
2016-10-24 15:23:40 -04:00
2016-09-19 16:41:36 -04:00
.inner-content {
2016-09-22 07:56:38 -04:00
@media (max-width: $screen-sm-min) {
padding: 0 28px;
text-align: center;
2016-09-22 07:56:38 -04:00
}
2016-09-14 17:03:42 -04:00
2016-09-19 16:41:36 -04:00
h4 {
color: $gl-text-color;
font-size: 17px;
}
2016-09-14 17:03:42 -04:00
2016-09-19 16:41:36 -04:00
p {
2016-09-22 07:56:38 -04:00
color: $cycle-analytics-box-text-color;
2016-09-22 14:48:23 -04:00
margin-bottom: $gl-padding;
2016-09-19 16:41:36 -04:00
}
2016-09-14 17:03:42 -04:00
}
2016-09-19 16:41:36 -04:00
}
2016-09-14 17:03:42 -04:00
2016-09-19 16:41:36 -04:00
.fa-spinner {
font-size: 28px;
position: relative;
margin-left: -20px;
left: 50%;
margin-top: 36px;
2016-09-14 17:03:42 -04:00
}
2016-09-19 16:41:36 -04:00
.stage-panel-body {
display: flex;
flex-wrap: wrap;
}
.stage-nav,
.stage-entries {
display: flex;
vertical-align: top;
font-size: $gl-font-size;
}
.stage-nav {
width: 40%;
margin-bottom: 0;
ul {
padding: 0;
margin: 0;
width: 100%;
}
li {
list-style-type: none;
@include clearfix;
}
.stage-nav-item {
display: block;
line-height: 65px;
border-top: solid 1px transparent;
border-bottom: solid 1px transparent;
border-right: solid 1px $border-color;
background-color: $gray-light;
&.active {
background-color: transparent;
border-right-color: transparent;
border-top-color: $border-color;
border-bottom-color: $border-color;
box-shadow: inset 2px 0px 0px 0px $active-item-blue;
.stage-name {
font-weight: 600;
}
}
&:first-child {
border-top: none;
}
&:last-child {
border-bottom: none;
}
> div {
float: left;
&.stage-name {
width: 70%;
}
&.stage-median {
width: 30%;
}
}
.stage-name {
padding-left: 16px;
}
}
}
.stage-panel {
.panel-heading {
padding: 0;
background-color: transparent;
}
.events-description {
line-height: 65px;
padding-left: $gl-padding;
}
}
.stage-events {
width: 60%;
overflow: scroll;
height: 467px;
}
.stage-event-list {
margin: 0;
padding: 0;
}
.stage-event-item {
list-style-type: none;
padding: 0 0 $gl-padding;
margin: 0 $gl-padding $gl-padding $gl-padding;
border-bottom: solid 1px $gray-darker;
@include clearfix;
&:last-child {
border-bottom: none;
margin-bottom: 0;
}
.item-details, .item-time {
float: left;
}
.item-details {
width: 75%;
}
.item-title {
margin: 0 0 2px 0;
a {
color: $gl-dark-link-color;
max-width: 100%;
display: block;
@include text-overflow();
}
}
.item-time {
width: 25%;
text-align: right;
2016-11-16 18:05:25 -05:00
}
.total-time {
font-size: $cycle-analytics-big-font;
color: $cycle-analytics-dark-text;
2016-11-16 18:05:25 -05:00
span {
color: $gl-text-color;
2016-11-16 18:05:25 -05:00
font-size: $gl-font-size;
}
}
2016-11-09 02:15:50 -05:00
2016-11-09 02:25:11 -05:00
.issue-date {
color: $gl-text-color;
}
.issue-link,
.commit-author-link,
.issue-author-link {
2016-11-09 02:15:50 -05:00
color: $gl-dark-link-color;
}
// Custom CSS for components
.item-conmmit-component {
.commit-icon {
position: relative;
top: 3px;
left: 1px;
display: inline-block;
svg {
float: left;
}
}
}
}
.empty-stage {
text-align: center;
width: 75%;
margin: 0 auto;
padding-top: 130px;
color: $gl-text-color-light;
.icon-no-data {
height: 36px;
width: 78px;
display: inline-block;
margin-bottom: 20px;
}
h4 {
color: $gl-text-color;
}
}
2016-09-14 17:03:42 -04:00
}