diff --git a/extensions/amp-app-banner/0.1/amp-app-banner.css b/extensions/amp-app-banner/0.1/amp-app-banner.css index 16787b9de80e..3dd805fb3d60 100644 --- a/extensions/amp-app-banner/0.1/amp-app-banner.css +++ b/extensions/amp-app-banner/0.1/amp-app-banner.css @@ -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 */ @@ -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 { diff --git a/extensions/amp-sticky-ad/0.1/amp-sticky-ad.css b/extensions/amp-sticky-ad/0.1/amp-sticky-ad.css index 75ea26a8daea..0f40a0483ec7 100644 --- a/extensions/amp-sticky-ad/0.1/amp-sticky-ad.css +++ b/extensions/amp-sticky-ad/0.1/amp-sticky-ad.css @@ -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; @@ -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 {