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

117 lines
1.8 KiB
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
.light-well {
2015-09-25 12:07:36 +05:30
background-color: #f8fafc;
2014-09-02 18:07:02 +05:30
padding: 15px;
}
.centered-light-block {
text-align: center;
2015-09-25 12:07:36 +05:30
color: $gl-gray;
2014-09-02 18:07:02 +05:30
margin: 20px;
}
.nothing-here-block {
text-align: center;
padding: 20px;
2015-09-25 12:07:36 +05:30
color: $gl-gray;
2014-09-02 18:07:02 +05:30
font-weight: normal;
font-size: 16px;
line-height: 36px;
}
2015-09-25 12:07:36 +05:30
2015-11-26 14:37:03 +05:30
.content-block,
2015-09-25 12:07:36 +05:30
.gray-content-block {
margin: -$gl-padding;
background-color: $background-color;
padding: $gl-padding;
margin-bottom: 0px;
border-top: 1px solid $border-color;
border-bottom: 1px solid $border-color;
color: $gl-gray;
2015-11-26 14:37:03 +05:30
&.oneline-block {
line-height: 42px;
}
&.white {
background-color: white;
}
2015-09-25 12:07:36 +05:30
&.top-block {
border-top: none;
}
&.middle-block {
margin-top: 0;
margin-bottom: 0;
}
&.clear-block {
margin-bottom: $gl-padding - 1px;
padding-bottom: $gl-padding;
}
&.second-block {
margin-top: -1px;
margin-bottom: 0;
}
&.footer-block {
margin-top: 0;
border-bottom: none;
margin-bottom: -$gl-padding;
}
.title {
color: $gl-text-color;
}
.oneline {
line-height: 42px;
}
}
2015-11-26 14:37:03 +05:30
.cover-block {
text-align: center;
background: #f7f8fa;
margin: -$gl-padding;
margin-bottom: 0;
padding: 44px $gl-padding;
border-bottom: 1px solid $border-color;
position: relative;
.avatar-holder {
margin-bottom: 16px;
.avatar, .identicon {
margin: 0 auto;
float: none;
}
.identicon {
@include border-radius(50%);
}
}
.cover-title {
color: $gl-header-color;
margin: 0;
font-size: 23px;
font-weight: normal;
margin: 16px 0 5px 0;
color: #4c4e54;
font-size: 23px;
line-height: 1.1;
}
.cover-desc {
padding: 0 $gl-padding 3px;
color: $gl-text-color;
}
.cover-controls {
position: absolute;
top: 10px;
right: 10px;
}
}