Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
make Reviewer Tools responsive for mobile (bug 789304)
Browse files Browse the repository at this point in the history
  • Loading branch information
cvan committed Sep 13, 2012
1 parent 4771473 commit b7bab2f
Show file tree
Hide file tree
Showing 11 changed files with 440 additions and 118 deletions.
3 changes: 1 addition & 2 deletions media/css/devreg/base.less
Expand Up @@ -13,10 +13,9 @@ body, html {
}

#wrap {
background: @bg-gray;
background: @bg-gray @grain-src;
padding: 2em 0;
position: relative;
background-image: url("../../img/mkt/grain.png");
}

header {
Expand Down
8 changes: 5 additions & 3 deletions media/css/devreg/header.less
Expand Up @@ -84,7 +84,7 @@
border-color: transparent;
border-width: 1px 1px 0;
}
&:hover, &.open {
&:not(.open):hover, &.open {
> ul {
display: block;
}
Expand All @@ -107,7 +107,7 @@
padding: 6px 8px;
word-wrap: break-word;
&:hover {
background: darken(@faded-taupe, 15%);
background: lighten(@border-blue, 10%);
}
}
&.two-col {
Expand Down Expand Up @@ -184,11 +184,13 @@
margin-left: 1px;
z-index: 3;
> a {
.border-radius(0);
.ellipsis;
display: block;
line-height: 32px;
height: 32px;
padding: 0 1em;
.border-radius(0);
max-width: 150px;
&:after {
display: inline-block;
vertical-align: middle;
Expand Down
8 changes: 8 additions & 0 deletions media/css/devreg/lib.less
Expand Up @@ -53,6 +53,14 @@
@page-min-height: 404px; // height of the current gradient background image on #page


@desktop-min: 980px;
@tablet-min: 768px;
@tablet-max: 979px;
@landscape-max: 767px;
@mobile-max: 480px;
@mobile-min: 320px;


// Mixins
.border-radius(@radius) {
-webkit-border-radius: @radius;
Expand Down
1 change: 0 additions & 1 deletion media/css/mkt/buttons.less
Expand Up @@ -44,7 +44,6 @@ a.arrow, .img.arrow {
&.product, &.theme-install, &.fat {
height: 48px;
padding: 0 32px;
line-height: 47px;
}

&.delete, &.manage, &.cancel, &.product.error {
Expand Down

1 comment on commit b7bab2f

@robhudson
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool!

Please sign in to comment.