Commit ee89e9c8 authored by Jacob Schatz's avatar Jacob Schatz

Adds prev/next buttons to top area

parent 087abdf7
...@@ -13,7 +13,7 @@ $list-font-size: 15px; ...@@ -13,7 +13,7 @@ $list-font-size: 15px;
$sidebar_collapsed_width: 62px; $sidebar_collapsed_width: 62px;
$sidebar_width: 230px; $sidebar_width: 230px;
$gutter_collapsed_width: 62px; $gutter_collapsed_width: 62px;
$gutter_width: 320px; $gutter_width: 250px;
$avatar_radius: 50%; $avatar_radius: 50%;
$code_font_size: 13px; $code_font_size: 13px;
$code_line_height: 1.5; $code_line_height: 1.5;
...@@ -41,6 +41,7 @@ $white-dark: #ededed; ...@@ -41,6 +41,7 @@ $white-dark: #ededed;
$gray-light: #f7f7f7; $gray-light: #f7f7f7;
$gray-normal: #ededed; $gray-normal: #ededed;
$gray-dark: #ededed; $gray-dark: #ededed;
$gray-darkest: #c9c9c9;
$green-light: #31AF64; $green-light: #31AF64;
$green-normal: #2FAA60; $green-normal: #2FAA60;
......
...@@ -75,9 +75,28 @@ ...@@ -75,9 +75,28 @@
padding: $gl-padding 0; padding: $gl-padding 0;
border-bottom: 1px solid #F0F0F0; border-bottom: 1px solid #F0F0F0;
&:first-child {
padding-top: 5px;
}
&:last-child { &:last-child {
border: none; border: none;
} }
span {
margin-top: 7px;
display: inline-block;
}
.issuable-count {
}
.gutter-collapse {
margin-left: 10px;
border-left: 1px solid #F0F0F0;
padding-left: 10px;
}
} }
.title { .title {
...@@ -145,4 +164,9 @@ ...@@ -145,4 +164,9 @@
overflow: scroll; overflow: scroll;
width: $gutter_width; width: $gutter_width;
padding: 10px 20px; padding: 10px 20px;
.btn {
background: $gray-normal;
border: 1px solid $gray-darkest;
}
} }
\ No newline at end of file
%aside.right-sidebar %aside.right-sidebar
.issuable-sidebar .issuable-sidebar
.block .block
%span.issuable-count.pull-left
= issuable.iid = issuable.iid
of of
= issuable_count(:all, @project) = issuable_count(:all, @project)
%span.gutter-collapse.pull-right
= icon('angle-double-right')
.issuable-nav.pull-right.btn-group{role: 'group', "aria-label" => '...'} .issuable-nav.pull-right.btn-group{role: 'group', "aria-label" => '...'}
%a.btn.btn-default{href: '#'} %a.btn.btn-default{href: '#'}
Prev Prev
%a.btn.btn-default{href: '#'} %a.btn.btn-default{href: '#'}
Next Next
= form_for [@project.namespace.becomes(Namespace), @project, issuable], remote: true, html: {class: 'issuable-context-form inline-update js-issuable-update'} do |f| = form_for [@project.namespace.becomes(Namespace), @project, issuable], remote: true, html: {class: 'issuable-context-form inline-update js-issuable-update'} do |f|
.block.assignee .block.assignee
.title .title
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment