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

130 lines
1.9 KiB
SCSS
Raw Normal View History

2017-09-10 17:25:29 +05:30
.blank-state-parent-container {
.section-container {
padding: 10px;
}
2016-08-24 12:49:21 +05:30
2017-09-10 17:25:29 +05:30
.section-body {
width: 100%;
height: 100%;
padding-bottom: 25px;
border-radius: $border-radius-default;
2016-08-24 12:49:21 +05:30
}
}
2018-03-17 18:26:18 +05:30
.blank-state-row {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
height: 100%;
}
.blank-state-welcome {
2016-06-22 15:30:34 +05:30
text-align: center;
2018-03-17 18:26:18 +05:30
padding: 20px 0 40px;
.blank-state-welcome-title {
font-size: 24px;
}
.blank-state-text {
margin-bottom: 0;
}
}
.blank-state-link {
display: block;
color: $gl-text-color;
flex: 0 0 100%;
margin-bottom: 15px;
2016-06-22 15:30:34 +05:30
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2018-03-17 18:26:18 +05:30
flex: 0 0 49%;
&:nth-child(odd) {
margin-right: 5px;
2017-09-10 17:25:29 +05:30
}
2016-08-24 12:49:21 +05:30
2018-03-17 18:26:18 +05:30
&:nth-child(even) {
margin-left: 5px;
2017-09-10 17:25:29 +05:30
}
2016-08-24 12:49:21 +05:30
}
2016-06-22 15:30:34 +05:30
2018-03-17 18:26:18 +05:30
&:hover {
background-color: $gray-light;
text-decoration: none;
color: $gl-text-color;
}
}
2016-06-22 15:30:34 +05:30
2018-03-17 18:26:18 +05:30
.blank-state-center {
padding-top: 20px;
padding-bottom: 20px;
text-align: center;
}
.blank-state {
padding: 20px;
border: 1px solid $border-color;
border-radius: $border-radius-default;
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2018-03-17 18:26:18 +05:30
display: flex;
2019-07-07 11:18:12 +05:30
height: 100%;
2018-03-17 18:26:18 +05:30
align-items: center;
padding: 50px 30px;
}
}
.blank-state,
.blank-state-center {
.blank-state-icon {
2017-09-10 17:25:29 +05:30
svg {
display: block;
margin: auto;
}
}
2016-08-24 12:49:21 +05:30
2017-09-10 17:25:29 +05:30
.blank-state-title {
margin-top: 0;
font-size: 18px;
2016-08-24 12:49:21 +05:30
}
2018-03-17 18:26:18 +05:30
.blank-state-body {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2018-03-17 18:26:18 +05:30
text-align: center;
margin-top: 20px;
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2018-03-17 18:26:18 +05:30
padding-left: 20px;
}
2017-09-10 17:25:29 +05:30
}
2016-06-22 15:30:34 +05:30
}
2019-07-07 11:18:12 +05:30
@include media-breakpoint-up(lg) {
.column-large {
flex: 2;
}
.column-small {
flex: 1;
margin-bottom: 15px;
.blank-state {
max-width: 400px;
flex-wrap: wrap;
margin-left: 15px;
}
.blank-state-icon {
margin-bottom: 30px;
}
}
}
@include media-breakpoint-down(xs) {
.blank-state-icon svg {
width: 315px;
}
}