Update files/diffs to match new layout
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
966c4f3392
commit
bb5213588b
12 changed files with 26 additions and 17 deletions
|
@ -18,7 +18,6 @@
|
|||
line-height: 36px;
|
||||
}
|
||||
|
||||
.content-block,
|
||||
.gray-content-block {
|
||||
margin-top: 0;
|
||||
margin-bottom: -$gl-padding;
|
||||
|
@ -145,3 +144,12 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content-block {
|
||||
padding: $gl-padding 0;
|
||||
border-bottom: 1px solid $border-color;
|
||||
|
||||
&.oneline-block {
|
||||
line-height: 42px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
*/
|
||||
.file-holder {
|
||||
border: none;
|
||||
border-top: 1px solid #E7E9EE;
|
||||
border-bottom: 1px solid #E7E9EE;
|
||||
border: 1px solid $border-color;
|
||||
|
||||
&.readme-holder {
|
||||
border-bottom: 0;
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
}
|
||||
|
||||
.commit-box {
|
||||
border-top: 1px solid $border-color;
|
||||
|
||||
.commit-title {
|
||||
margin: 0;
|
||||
font-size: 23px;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Common
|
||||
.diff-file {
|
||||
border: none;
|
||||
border-bottom: 1px solid #E7E9EE;
|
||||
border: 1px solid $border-color;
|
||||
border-top: none;
|
||||
|
||||
.diff-header {
|
||||
position: relative;
|
||||
|
|
|
@ -604,8 +604,6 @@ pre.light-well {
|
|||
}
|
||||
|
||||
.project-last-commit {
|
||||
margin: 0 7px;
|
||||
|
||||
.ci-status {
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
@ -635,7 +633,7 @@ pre.light-well {
|
|||
}
|
||||
|
||||
.project-show-readme .readme-holder {
|
||||
padding: ($gl-padding + 7px);
|
||||
padding: $gl-padding 0;
|
||||
border-top: 0;
|
||||
|
||||
.edit-project-readme {
|
||||
|
|
|
@ -89,12 +89,14 @@
|
|||
|
||||
.blob-commit-info {
|
||||
list-style: none;
|
||||
padding: $gl-padding;
|
||||
background: $background-color;
|
||||
border: 1px solid $border-color;
|
||||
border-bottom: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-bottom: 5px;
|
||||
|
||||
.commit {
|
||||
padding: $gl-padding 0;
|
||||
padding: 0;
|
||||
|
||||
.commit-row-title {
|
||||
.commit-row-message {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
.alert.alert-info
|
||||
Some options are unavailable for LDAP accounts
|
||||
|
||||
.account-page
|
||||
.account-page.prepend-top-default
|
||||
.panel.panel-default.update-token
|
||||
.panel-heading
|
||||
Reset Private token
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#tree-holder.tree-holder.clearfix
|
||||
.gray-content-block.second-block
|
||||
.nav-block
|
||||
= render 'projects/tree/tree_header', tree: @tree
|
||||
|
||||
= render 'projects/tree/tree_content', tree: @tree
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.gray-content-block.top-block
|
||||
.nav-block
|
||||
.tree-ref-holder
|
||||
= render 'shared/ref_switcher', destination: 'blob', path: @path
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
.commit-info-row.branches
|
||||
%i.fa.fa-spinner.fa-spin
|
||||
|
||||
.commit-box.gray-content-block.middle-block
|
||||
.commit-box.content-block
|
||||
%h3.commit-title
|
||||
= markdown escape_once(@commit.title), pipeline: :single_line
|
||||
- if @commit.description.present?
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
= render "head"
|
||||
|
||||
.gray-content-block
|
||||
.gray-content-block.second-block
|
||||
.tree-ref-holder
|
||||
= render 'shared/ref_switcher', destination: 'commits'
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
- diff_files = safe_diff_files(diffs)
|
||||
|
||||
.gray-content-block.middle-block.oneline-block
|
||||
.content-block.oneline-block
|
||||
.inline-parallel-buttons
|
||||
.btn-group
|
||||
= inline_diff_btn
|
||||
|
|
Loading…
Reference in a new issue