Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Removing unneeded compat-importants
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Apr 17, 2014
1 parent 3791b61 commit 2b9e26f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
17 changes: 5 additions & 12 deletions media/redesign/stylus/main/structure.styl
Expand Up @@ -45,12 +45,7 @@ draw-grid();

/* global notices (via soapbox) */
.global-notice {
background: #fff;
background: light-background-color;
compat-only(font-size, base-font-size);
compat-only(border, 0);
compat-only(color, text-color);
compat-only(padding, 0);

.wrap {
@extend .center;
Expand Down Expand Up @@ -93,15 +88,14 @@ draw-grid();
}

#nav-access {
compat-only(width, 100%);
width: 100%;
position: absolute;
top: -20em;
z-index: 1001;

a {
compat-important(color, link-color);
compat-important(background, rgba(255, 255, 255, 0.9));
compat-important(padding, 12px 10px);
background: rgba(255, 255, 255, 0.9);
padding: 12px 10px;
position: absolute;
left: 0;
right: 0;
Expand Down Expand Up @@ -211,7 +205,6 @@ draw-grid();
right: 200px;
top: 12px;
font-size: small-bump-font-size;
compat-only(width, auto);

li + li {
bidi-style(border-left, 1px solid #bbb, border-right, 0);
Expand Down Expand Up @@ -324,7 +317,7 @@ a.persona-button {
font-weight: bold;
width: 20px;
overflow: hidden;
compat-only(padding, 0);
padding: 0;
vendorize(transition-property, width);
vendorize(transition-duration, default-animation-duration);
position: absolute;
Expand Down Expand Up @@ -366,7 +359,7 @@ footer {

p {
bidi-style(padding-left, 92px, padding-right, 0, true);
compat-important(padding-top, 10px);
padding-top: 10px;
padding-bottom: 0;
position: relative;
min-height: 62px;
Expand Down
7 changes: 1 addition & 6 deletions media/redesign/stylus/search.styl
Expand Up @@ -21,12 +21,7 @@ minimize-header-search();
}

/* block mentioning the number of results returned */
h3 {selector-icon} {
bidi-style(margin-right, (grid-spacing * .75), margin-left, 0);
}

/* block mentioning the number of results returned */
fieldset {selector-icon} {
h3 {selector-icon}, fieldset {selector-icon} {
bidi-style(margin-right, (grid-spacing * .75), margin-left, 0);
}

Expand Down

0 comments on commit 2b9e26f

Please sign in to comment.