forked from ampproject/amp-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
804 : Merge in develop, resolve conflicts.
In phpcs.xml, retain edits from both branches. There were several conflicts in: class-amp-tag-and-attribute-sanitizer.php These were mainly conflicts with 03c12. Some were only DocBlocks, but some were logic. I mainly resovled them in favor of this branch: feature/804-allowed-tags.
- Loading branch information
Showing
72 changed files
with
4,752 additions
and
1,147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SYNC_README_MD=0 | ||
PATH_EXCLUDES_PATTERN=includes/lib/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/** | ||
* 1.0 AMP preview. | ||
* | ||
* Submit box preview buttons. | ||
*/ | ||
|
||
/* Core preview button */ | ||
.wp-core-ui #preview-action.has-amp-preview #post-preview { | ||
border-top-right-radius: 0; | ||
border-bottom-right-radius: 0; | ||
float: none; | ||
} | ||
|
||
/* AMP preview button */ | ||
.wp-core-ui #amp-post-preview.preview { | ||
border-top-left-radius: 0; | ||
border-bottom-left-radius: 0; | ||
text-indent: -9999px; | ||
padding-right: 7px; | ||
padding-left: 7px; | ||
} | ||
|
||
.wp-core-ui #amp-post-preview.preview::after { | ||
content: "icon"; | ||
width: 14px; | ||
float: left; | ||
background: no-repeat center url( '../images/amp-icon.svg' ); | ||
background-size: 14px !important; | ||
} | ||
|
||
.wp-core-ui #amp-post-preview.preview.disabled::after { | ||
opacity: 0.6; | ||
} | ||
|
||
/* AMP status */ | ||
.misc-amp-status .amp-icon { | ||
float: left; | ||
background: transparent url( '../images/amp-icon.svg' ) no-repeat left; | ||
background-size: 17px; | ||
width: 17px; | ||
height: 17px; | ||
margin: 0 8px 0 1px; | ||
} | ||
|
||
#amp-status-select fieldset { | ||
margin: 7px 0 0 1px; | ||
} | ||
|
||
#amp-status-select .notice { | ||
margin: 10px 0 -5px 3px; | ||
} | ||
|
||
.amp-status-actions { | ||
margin-top: 10px; | ||
} | ||
|
||
@media screen and ( max-width: 782px ) { | ||
#amp-status-select { | ||
line-height: 280%; | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.