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

reducing link width in closed ToC so the full border shows #310

Merged
merged 2 commits into from
May 2, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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