f3d03af421
Fix Issue 19641 (new snippets style bug) ## What does this MR do? Fixes Issue 19641 (new snippets style bug) ## Are there points in the code the reviewer needs to double check? Shouldn't be ## Why was this MR needed? Requested in issue 19641 by Fatih Acet https://gitlab.com/gitlab-org/gitlab-ce/issues/19641 ## What are the relevant issue numbers? 19641 ## Screenshots (if relevant) ![Screenshot_2016-07-09_13.25.39](/uploads/8ead7ea8f4aae7ccaa4d2ddc495b6fe3/Screenshot_2016-07-09_13.25.39.png) ## Does this MR meet the acceptance criteria? Yes - [ x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [ NA] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [ NA] API support added - Tests - [NA ] Added for this feature/bug - [ X] All builds are passing - [X ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x ] Branch has no merge conflicts with `master` (if you do - rebase it please) - [ x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5170
256 lines
3.8 KiB
SCSS
256 lines
3.8 KiB
SCSS
.light-well {
|
|
background-color: $background-color;
|
|
padding: 15px;
|
|
}
|
|
|
|
.centered-light-block {
|
|
text-align: center;
|
|
color: $gl-gray;
|
|
margin: 20px;
|
|
}
|
|
|
|
.nothing-here-block {
|
|
text-align: center;
|
|
padding: 20px;
|
|
color: $gl-gray;
|
|
font-weight: normal;
|
|
font-size: 16px;
|
|
line-height: 36px;
|
|
|
|
&.diff-collapsed {
|
|
padding: 5px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: $row-hover;
|
|
}
|
|
}
|
|
}
|
|
|
|
.row-content-block {
|
|
margin-top: 0;
|
|
margin-bottom: -$gl-padding;
|
|
background-color: $background-color;
|
|
padding: $gl-padding;
|
|
margin-bottom: 0;
|
|
border-top: 1px solid $white-dark;
|
|
border-bottom: 1px solid $white-dark;
|
|
color: $gl-gray;
|
|
|
|
&.oneline-block {
|
|
line-height: 42px;
|
|
}
|
|
|
|
&.white {
|
|
background-color: white;
|
|
}
|
|
|
|
&.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;
|
|
}
|
|
|
|
&.content-component-block {
|
|
padding: 11px 0;
|
|
background-color: $white-light;
|
|
}
|
|
|
|
.title {
|
|
color: $gl-text-color;
|
|
}
|
|
|
|
.oneline {
|
|
line-height: 35px;
|
|
}
|
|
|
|
> p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.block-controls {
|
|
float: right;
|
|
|
|
.control {
|
|
float: left;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
&.build-content {
|
|
background-color: $white-light;
|
|
border-top: none;
|
|
}
|
|
|
|
&.top-block .container-fluid {
|
|
background-color: inherit;
|
|
}
|
|
}
|
|
|
|
.sub-header-block {
|
|
background-color: $white-light;
|
|
border-bottom: 1px solid $white-dark;
|
|
padding: 11px 0;
|
|
margin-bottom: 11px;
|
|
|
|
.oneline {
|
|
line-height: 35px;
|
|
}
|
|
|
|
&.no-bottom-space {
|
|
border-bottom: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.cover-block {
|
|
text-align: center;
|
|
background: $background-color;
|
|
padding-top: 44px;
|
|
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: 24px;
|
|
font-weight: normal;
|
|
margin-bottom: 10px;
|
|
color: #4c4e54;
|
|
font-size: 23px;
|
|
line-height: 1.1;
|
|
|
|
h1 {
|
|
color: $gl-gray-dark;
|
|
margin-bottom: 6px;
|
|
font-size: 23px;
|
|
}
|
|
|
|
.visibility-icon {
|
|
display: inline-block;
|
|
margin-left: 5px;
|
|
font-size: 18px;
|
|
color: $gray;
|
|
}
|
|
|
|
p {
|
|
padding: 0 $gl-padding;
|
|
color: #5c5d5e;
|
|
}
|
|
}
|
|
|
|
.cover-desc {
|
|
color: $gl-text-color;
|
|
|
|
&.username:last-child {
|
|
padding-bottom: $gl-padding;
|
|
}
|
|
}
|
|
|
|
.cover-controls {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
|
|
&.left {
|
|
left: 10px;
|
|
right: auto;
|
|
}
|
|
}
|
|
|
|
&.groups-cover-block {
|
|
background: $white-light;
|
|
border-bottom: 1px solid $border-color;
|
|
text-align: left;
|
|
padding: 24px 0;
|
|
|
|
.group-info {
|
|
.cover-title {
|
|
margin-top: 9px;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
text-align: center;
|
|
|
|
.avatar {
|
|
float: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.group-info {
|
|
|
|
h1 {
|
|
display: inline;
|
|
font-weight: normal;
|
|
font-size: 24px;
|
|
color: $gl-title-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.block-connector {
|
|
margin-top: -1px;
|
|
}
|
|
|
|
.nav-block {
|
|
.controls {
|
|
float: right;
|
|
margin-top: 8px;
|
|
padding-bottom: 7px;
|
|
border-bottom: 1px solid $border-color;
|
|
}
|
|
}
|
|
|
|
.content-block {
|
|
padding: $gl-padding 0;
|
|
border-bottom: 1px solid $white-dark;
|
|
|
|
&.oneline-block {
|
|
line-height: 36px;
|
|
}
|
|
|
|
> .controls {
|
|
float: right;
|
|
}
|
|
}
|
|
|
|
.content-block-small {
|
|
padding: 10px 0;
|
|
}
|