summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-10-05 16:59:47 +0100
committerPhil Hughes <me@iamphill.com>2016-10-07 09:15:46 +0100
commit45fd2d38844afafd4ec144eb4dc388b7a76b04ad (patch)
tree17158a44b98632c6d24afaf984935b05909d3f96
parent81e7490d3af1418d63276527be5be7149ca60ba7 (diff)
downloadgitlab-ce-45fd2d38844afafd4ec144eb4dc388b7a76b04ad.tar.gz
Styling updates to sidebar to match design
-rw-r--r--app/assets/stylesheets/pages/boards.scss38
-rw-r--r--app/views/projects/boards/components/_sidebar.html.haml2
2 files changed, 35 insertions, 5 deletions
diff --git a/app/assets/stylesheets/pages/boards.scss b/app/assets/stylesheets/pages/boards.scss
index f57e9a37bc3..0807d583207 100644
--- a/app/assets/stylesheets/pages/boards.scss
+++ b/app/assets/stylesheets/pages/boards.scss
@@ -279,8 +279,38 @@ lex
}
}
-.right-sidebar.issue-boards-sidebar {
- position: absolute;
- top: 0;
- bottom: 0;
+.issue-boards-sidebar {
+ &.right-sidebar {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ }
+
+ .issuable-sidebar-header {
+ position: relative;
+ }
+
+ .gutter-toggle {
+ position: absolute;
+ top: 0;
+ bottom: 10px;
+ right: 0;
+ width: 22px;
+ color: $gray-darkest;
+
+ .fa {
+ position: absolute;
+ top: 50%;
+ margin-top: (-15px / 2);
+ }
+ }
+
+ .issuable-header-text {
+ width: 100%;
+ padding-right: 35px;
+
+ > strong {
+ font-weight: 600;
+ }
+ }
}
diff --git a/app/views/projects/boards/components/_sidebar.html.haml b/app/views/projects/boards/components/_sidebar.html.haml
index b4a757a40a6..cf70ad4927a 100644
--- a/app/views/projects/boards/components/_sidebar.html.haml
+++ b/app/views/projects/boards/components/_sidebar.html.haml
@@ -13,7 +13,7 @@
%a.gutter-toggle.pull-right{ role: "button",
href: "#",
"@click" => "closeSidebar",
- aria: { label: "Toggle sidebar" } }
+ "aria-label" => "Toggle sidebar" }
= icon("times")
.js-issuable-update
= render "projects/boards/components/sidebar/assignee"