Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #310 from donjo/closed-drawer
Browse files Browse the repository at this point in the history
reducing link width in closed ToC so the full border shows
  • Loading branch information
cmc333333 committed May 2, 2016
2 parents ee1c20c + cd43a2a commit d4f3797
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions regulations/static/regulations/css/less/base-variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,9 @@ variables.less contains all theme variable / variable overrides
*/

@body_font: Georgia, serif;

/*
Layout Variables
*/

@closed_drawer_width: 40px;
6 changes: 3 additions & 3 deletions regulations/static/regulations/css/less/module/drawer.less
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Panel Slide Button
display: block;
height: 34px; /* match height of main header */
line-height: 34px;
width: 40px;
width: @closed_drawer_width;
float: right;
cursor: pointer;
text-align: center;
Expand Down Expand Up @@ -187,7 +187,7 @@ currently these are TOC, History, and Search
.close & {
display: block;
border-right: none;
width: 40px;
width: @closed_drawer_width - 1;
}

/* Fall back to PNG images for drawer icons when @font-face isn't supported */
Expand Down Expand Up @@ -236,7 +236,7 @@ currently these are TOC, History, and Search

.close & {
position: absolute;
width: 40px;
width: @closed_drawer_width;
top: 33px;
border-top: 1px solid @medium_gray;
right: 0;
Expand Down

0 comments on commit d4f3797

Please sign in to comment.