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

104 lines
1.4 KiB
SCSS
Raw Normal View History

2017-07-05 14:54:16 -04:00
.blank-state-parent-container {
display: flex;
.section-container {
display: flex;
flex: 1;
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: 1px solid $border-color;
border-radius: $border-radius-default;
&.section-ee-trial {
display: flex;
align-items: center;
justify-content: center;
}
}
}
2016-06-24 11:37:49 -04:00
.blank-state-welcome {
text-align: center;
.blank-state-text {
margin-bottom: 0;
}
}
.blank-state {
padding-top: 20px;
padding-bottom: 20px;
2017-07-05 14:54:16 -04:00
}
.blank-state.ee-trial {
padding: 20px;
text-align: center;
}
.blank-state-no-icon {
padding-top: 40px;
2016-06-24 11:37:49 -04:00
padding-bottom: 40px;
}
.blank-state-icon {
padding-bottom: 20px;
2016-06-24 12:15:02 -04:00
font-size: 56px;
2016-06-24 11:37:49 -04:00
2017-07-05 14:54:16 -04:00
svg {
display: block;
margin: auto;
2017-07-07 13:30:33 -04:00
}
}
2017-07-07 13:30:33 -04:00
@media (min-width: $screen-sm-max) {
.section-welcome .blank-state-icon svg {
width: 130%;
}
}
.blank-state-title {
margin-top: 0;
2017-07-05 14:54:16 -04:00
margin-bottom: 10px;
2016-12-02 14:43:33 -05:00
font-size: 18px;
}
.blank-state-text {
margin-top: 0;
margin-bottom: $gl-padding;
2016-12-02 14:43:33 -05:00
font-size: 14px;
2016-06-24 12:15:02 -04:00
> strong {
font-weight: 600;
}
}
.blank-state-welcome-title {
font-size: 24px;
}
2017-07-05 14:54:16 -04:00
@media (max-width: $screen-md-min) {
.blank-state-parent-container {
&,
.section-container {
display: block;
}
}
.blank-state {
text-align: center;
}
.blank-state-icon {
padding-bottom: 0;
}
.blank-state-body {
margin-top: 15px;
}
}