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

102 lines
1.5 KiB
SCSS
Raw Normal View History

2017-07-05 14:54:16 -04:00
.blank-state-parent-container {
.section-container {
padding: 10px;
}
.section-body {
width: 100%;
height: 100%;
2017-07-07 04:05:50 -04:00
padding-bottom: 25px;
2017-07-05 14:54:16 -04:00
border-radius: $border-radius-default;
2016-06-24 11:37:49 -04:00
}
}
.blank-state-row {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
height: 100%;
}
2017-11-03 15:32:00 -04:00
.blank-state-welcome {
text-align: center;
2017-11-03 15:32:00 -04:00
padding: 20px 0 40px;
2016-06-24 11:37:49 -04:00
2017-11-03 15:32:00 -04:00
.blank-state-welcome-title {
font-size: 24px;
}
2016-06-24 12:15:02 -04:00
2017-11-03 15:32:00 -04:00
.blank-state-text {
margin-bottom: 0;
2016-06-24 12:15:02 -04:00
}
2017-11-03 15:32:00 -04:00
}
2017-11-03 15:32:00 -04:00
.blank-state-link {
display: block;
color: $gl-text-color;
flex: 0 0 100%;
margin-bottom: 15px;
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
flex: 0 0 49%;
&:nth-child(odd) {
margin-right: 5px;
}
&:nth-child(even) {
margin-left: 5px;
}
}
2017-07-05 14:54:16 -04:00
2017-11-03 15:32:00 -04:00
&:hover {
background-color: $gray-light;
text-decoration: none;
color: $gl-text-color;
}
}
2017-11-21 10:48:20 -05:00
.blank-state-center {
padding-top: 20px;
padding-bottom: 20px;
text-align: center;
}
2017-11-03 15:32:00 -04:00
.blank-state {
2017-11-06 19:18:25 -05:00
padding: 20px;
2017-11-03 15:32:00 -04:00
border: 1px solid $border-color;
border-radius: $border-radius-default;
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
2017-11-06 19:18:25 -05:00
display: flex;
align-items: center;
padding: 50px 30px;
}
2017-11-21 10:48:20 -05:00
}
2017-11-06 19:18:25 -05:00
2017-11-21 10:48:20 -05:00
.blank-state,
.blank-state-center {
2017-11-03 15:32:00 -04:00
.blank-state-icon {
svg {
2017-07-05 14:54:16 -04:00
display: block;
margin: auto;
2017-07-05 14:54:16 -04:00
}
}
.blank-state-title {
margin-top: 0;
font-size: 18px;
2017-07-05 14:54:16 -04:00
}
2017-11-03 15:32:00 -04:00
.blank-state-body {
2018-04-09 11:26:28 -04:00
@include media-breakpoint-down(xs) {
2017-11-06 19:18:25 -05:00
text-align: center;
margin-top: 20px;
}
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
2017-11-06 19:18:25 -05:00
padding-left: 20px;
}
2017-07-05 14:54:16 -04:00
}
}