Skip to content

Commit

Permalink
Drop important statements for dismiss button for app banner and stick…
Browse files Browse the repository at this point in the history
…y ad (ampproject#5179)
  • Loading branch information
mkhatib authored Sep 22, 2016
1 parent b7c21b9 commit 0cb82ba
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions extensions/amp-app-banner/0.1/amp-app-banner.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ amp-app-banner {
}

.amp-app-banner-dismiss-button {
position: absolute !important;
width: 32px !important;
height: 32px !important;
top: -32px !important;
right: 0 !important;
position: absolute;
width: 32px;
height: 32px;
top: -32px;
right: 0;
background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22%23000000%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%3E%3Cpath%20d%3D%22M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E');
background-size: 26px 26px;
background-position: center;
background-color: #fff;
border: 1px solid #c8c8c8;
z-index: 13 !important;
z-index: 13;
}

/* Increase tapping area of the dismiss button */
Expand All @@ -51,8 +51,8 @@ amp-app-banner {
}

[dir=rtl] .amp-app-banner-dismiss-button {
right: auto !important;
left: 0 !important;;
right: auto;
left: 0;
}

[dir=rtl] .amp-app-banner-dismiss-button:before {
Expand Down
14 changes: 7 additions & 7 deletions extensions/amp-sticky-ad/0.1/amp-sticky-ad.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ amp-sticky-ad {

.amp-sticky-ad-close-button {
visibility: hidden;
position: absolute !important;
width: 32px !important;
height: 32px !important;
top: -32px !important;
right: 0 !important;
position: absolute;
width: 32px;
height: 32px;
top: -32px;
right: 0;
background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22%23000000%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%3E%3Cpath%20d%3D%22M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E');
background-size: 26px 26px;
background-position: center;
Expand All @@ -79,8 +79,8 @@ amp-sticky-ad {
}

[dir=rtl] .amp-sticky-ad-close-button {
right: auto !important;
left: 0 !important;;
right: auto;
left: 0;
}

[dir=rtl] .amp-sticky-ad-close-button:before {
Expand Down

0 comments on commit 0cb82ba

Please sign in to comment.