diff --git a/lib/Plack/Middleware/MCLess.pm b/lib/Plack/Middleware/MCLess.pm index 992d05d165..db0c1f3dd5 100644 --- a/lib/Plack/Middleware/MCLess.pm +++ b/lib/Plack/Middleware/MCLess.pm @@ -13,7 +13,7 @@ our $VERSION = '0.02'; use parent qw(Plack::Middleware); use Digest::MD5 qw(md5_hex); use Plack::Util; -use Plack::Util::Accessor qw(root files key expires cache cache_ttl); +use Plack::Util::Accessor qw(files key expires cache cache_ttl); use Capture::Tiny ':all'; use HTTP::Date (); diff --git a/root/static/less/style.less b/root/static/less/style.less index 4e319213ae..636fcd4271 100644 --- a/root/static/less/style.less +++ b/root/static/less/style.less @@ -1,5 +1,3 @@ - - @import "bootstrap/bootstrap.less"; @import "account.less"; @import "breadcrumbs.less"; @@ -7,8 +5,8 @@ @import "table.less"; @import "author.less"; -@iconSpritePath: "../icons/glyphicons-halflings.png"; -@iconWhiteSpritePath: "../icons/glyphicons-halflings-white.png"; +@iconSpritePath: "/static/icons/glyphicons-halflings.png"; +@iconWhiteSpritePath: "/static/icons/glyphicons-halflings-white.png"; @linkColor: #3366cc; @textColor: @black; @@ -54,11 +52,11 @@ @shadow: inset -1px 0px 0 #e9e9e9, inset 1px 0px 0 #e9e9e9; .box-shadow(@shadow); z-index: 9999; - + } position: relative; top: -2px; - + .dropdown-menu { margin-top: -1px; border: 1px solid #e9e9e9;