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

133 lines
2.1 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;
2019-12-21 20:55:43 +05:30
justify-content: space-between;
2018-03-17 18:26:18 +05:30
}
.blank-state-welcome {
2016-06-22 15:30:34 +05:30
text-align: center;
2019-12-21 20:55:43 +05:30
padding: $gl-padding 0 ($gl-padding * 2);
2018-03-17 18:26:18 +05:30
.blank-state-welcome-title {
font-size: 24px;
}
.blank-state-text {
margin-bottom: 0;
}
}
.blank-state-link {
color: $gl-text-color;
margin-bottom: 15px;
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 {
2019-12-21 20:55:43 +05:30
display: flex;
align-items: center;
padding: 20px 50px;
2018-03-17 18:26:18 +05:30
border: 1px solid $border-color;
border-radius: $border-radius-default;
2019-12-21 20:55:43 +05:30
min-height: 240px;
margin-bottom: $gl-padding;
width: calc(50% - #{$gl-padding-8});
@include media-breakpoint-down(sm) {
width: 100%;
flex-direction: column;
justify-content: center;
padding: 50px 20px;
.column-small & {
width: 100%;
}
2018-03-17 18:26:18 +05:30
}
}
.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 {
2019-12-21 20:55:43 +05:30
@include media-breakpoint-down(sm) {
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;
}
}
}
2020-06-23 00:09:42 +05:30
.experiment-new-project-page-blank-state {
@include media-breakpoint-down(md) {
flex-direction: column;
justify-content: center;
text-align: center;
}
}
$experiment-new-project-indigo-700: #41419f;
.experiment-new-project-page-blank-state-title {
color: $experiment-new-project-indigo-700;
}