PDF rausgenommen

This commit is contained in:
aschwarz
2023-01-23 11:03:31 +01:00
parent 82d562a322
commit a6523903eb
28078 changed files with 4247552 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,57 @@
.column-error_status .dashicons-editor-help {
color: #767676;
}
.column-sources .dashicons,
.column-sources_with_invalid_output .dashicons {
margin-right: 5px;
}
.column-source .dashicons-admin-plugins,
.column-sources_with_invalid_output .dashicons-admin-plugins {
color: #64a2e9;
}
.column-source .dashicons-admin-appearance,
.column-sources_with_invalid_output .dashicons-admin-appearance {
color: #ebb04f;
}
.column-source, .dashicons-wordpress-alt,
.column-sources_with_invalid_output .dashicons-wordpress-alt {
color: #92b371;
}
.amp-logo-icon {
background-image: url( '../images/amp-logo-icon.svg' );
background-color: transparent;
background-size: 20px 20px;
height: 20px;
width: 20px;
display: inline-block;
}
.column-error_status .error-status {
line-height: 20px;
display: inline-block;
position: relative;
vertical-align: top;
margin-left: 10px;
}
td.column-found_elements_and_attributes {
color: #970010;
}
td.column-found_elements_and_attributes div {
margin-bottom: 0.6rem;
}
.column-error_status .dashicons-flag.new {
color: #d98501;
}
.column-error_status .dashicons-yes.new {
color: #ff0000;
}
.column-error_status .dashicons-warning.rejected {
color: #68c6ff;
}
.column-sources .source,
.column-sources_with_invalid_output .source {
margin-bottom: 10px;
display: block;
}
.wrap .wp-heading-inline + .page-title-action {
margin-left: 1rem;
}

View File

@@ -0,0 +1,123 @@
.amp-toggle {
position: relative;
display: inline-block;
width: 30px;
height: 15px;
top: 15px;
left: 130px;
}
.amp-toggle input,
.amp-toggle input.disabled {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
margin: 0;
padding: 0;
z-index: 1;
}
.amp-toggle .slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 34px;
background-color: #555D66;
-webkit-transition: .3s;
transition: .3s;
transition-property: background-color, transform, -webkit-transform, -ms-transform, opacity;
}
.amp-toggle input:focus,
.amp-toggle input:active {
outline: none;
}
.amp-toggle input:hover + .slider,
.amp-toggle input:focus + .slider,
.amp-toggle input:active + .slider {
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
}
.amp-toggle .slider:before {
position: absolute;
content: "";
height: 13px;
width: 13px;
top: 1px;
left: 1px;
border-radius: 50%;
background-color: transparent;
background-image: url( '../images/amp-white-icon.svg' );
background-size: 13px 13px;
-webkit-transition: .3s;
transition: .3s;
}
.amp-toggle input:checked + .slider {
background-color: #0379C4;
}
.amp-toggle input:checked + .slider:before {
-webkit-transform: translateX( 15px );
-ms-transform: translateX( 15px );
transform: translateX( 15px );
}
.amp-toggle input.disabled + .slider {
opacity: 0.7;
}
.amp-toggle .tooltip {
position: absolute;
bottom: 25px;
left: -115px;
width: 230px;
font-size: 13px;
text-align: center;
color: #FFFFFF;
background: #191E23;
padding: 15px;
z-index: 1;
cursor: default;
display: none;
}
.amp-toggle .tooltip a {
color: #00a0d2;
}
.amp-toggle .tooltip a:hover,
.amp-toggle .tooltip a:focus,
.amp-toggle .tooltip a:active {
color: #54cbf1;
}
.amp-toggle .tooltip:before {
position: absolute;
bottom: -8px;
left: 120px;
content: "";
border: solid;
border-color: #191E23 transparent;
border-width: 8px 8px 0 8px;
}
.js .accordion-section-title:after {
z-index: 0;
}
#customize-footer-actions .collapse-sidebar-label {
font-size: 11px;
margin-left: -3px;
}
.devices-wrapper .preview-desktop {
border-left: 1px solid #DDDDDD !important;
}
.wp-full-overlay-footer .devices button:before {
vertical-align: initial;
}

View File

@@ -0,0 +1,30 @@
/*
* Prevent cases of amp-img converted from img to appear with stretching by using object-fit to scale.
* See <https://github.com/ampproject/amphtml/issues/21371#issuecomment-475443219>.
* Also use object-fit:contain in worst case scenario when we can't figure out dimensions for an image.
*/
amp-img.amp-wp-enforced-sizes[layout=intrinsic] > img,
.amp-wp-unknown-size > img {
object-fit: contain;
}
amp-fit-text blockquote,
amp-fit-text h1,
amp-fit-text h2,
amp-fit-text h3,
amp-fit-text h4,
amp-fit-text h5,
amp-fit-text h6 {
font-size: inherit;
}
/**
* Override a style rule in Twenty Sixteen and Twenty Seventeen.
* It set display:none for audio elements.
* This selector is the same, though it adds body and uses amp-audio instead of audio.
*/
body amp-audio:not([controls]) {
display: inline-block;
height: auto;
}

View File

@@ -0,0 +1,4 @@
.is-amp-fit-text + .blocks-font-size > .components-font-size-picker__buttons,
.is-amp-fit-text + .blocks-font-size > .components-font-size-picker__custom-input {
display: none;
}

View File

@@ -0,0 +1,19 @@
/**
* For the custom AMP implementation of the 'playlist' shortcode.
*/
.wp-playlist .wp-playlist-current-item img {
margin-right: 0;
}
.wp-playlist .wp-playlist-current-item amp-img {
float: left;
margin-right: 10px;
}
.wp-playlist audio {
display: block;
}
.wp-playlist .amp-carousel-button {
visibility: hidden;
}

View File

@@ -0,0 +1,79 @@
/**
* 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: 14px;
padding-left: 14px;
position: relative;
}
.wp-core-ui #amp-post-preview.preview::after {
content: "icon";
background: no-repeat center url( '../images/amp-icon.svg' );
background-size: 14px !important;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
position: absolute;
}
.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%;
}
}
.amp-block-validation-errors {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
line-height: 1.5;
}
.amp-block-validation-errors .amp-block-validation-errors__summary {
margin: 0.5em 0;
padding: 2px;
}
.amp-block-validation-errors .amp-block-validation-errors__list {
padding-left: 2.5em;
}

View File

@@ -0,0 +1,279 @@
#col-left {
display: none;
}
#col-right {
float: none;
width: auto;
}
/* Move the 'All dates' filter to the right of the new status and type filters */
#filter-by-date {
float: none;
}
/* Improve column widths */
td.column-details pre,
td.column-sources pre {
overflow: auto;
}
th.column-created_date_gmt,
th.column-error_type {
width: 15%;
}
td.column-error .error-code {
font-family: Consolas, Monaco, monospace;
}
th.column-status {
width: 15%;
}
.fixed th.column-posts {
width: 10%;
}
/* Details column */
.column-details .details-attributes__summary {
display: flex;
justify-content: space-between;
align-items: center;
}
details[open] .details-attributes__summary {
font-weight: 600;
margin-bottom: 15px;
}
.column-details .details-attributes__summary::-webkit-details-marker,
.column-details .notice details > summary::-webkit-details-marker {
display: none;
}
.details-attributes__summary::after,
.single-error-detail-summary::after {
order: 99;
width: 12px;
height: 12px;
background-image: url("../images/down-triangle.svg");
background-size: cover;
background-position: center;
content: "";
}
tr.expanded .details-attributes__summary::after,
details.single-error-detail[open] .single-error-detail-summary::after {
transform: rotate(180deg);
}
.notice .detailed {
padding-left: 15px;
}
.notice .detailed details {
padding-bottom: 16px;
}
.notice .detailed details .detailed {
padding-left: 32px;
font-family: Consolas, Monaco, monospace;
}
.details-attributes__title code,
.notice .detailed summary code {
display: inline-block;
min-width: 240px;
margin-left: 18px;
font-weight: 600;
}
.details-attributes__title code {
margin-left: 0;
}
.details-attributes__list {
margin-top: 0;
padding-left: 0;
list-style: none;
font-family: Consolas, Monaco, monospace;
}
.details-attributes__list li {
word-break: break-all;
}
.details-attributes__attr {
font-weight: 600;
}
.column-sources_with_invalid_output details[open] .details-attributes__summary {
margin-bottom: 5px;
}
.column-sources_with_invalid_output details > div {
padding-left: 25px;
}
/* Error details toggle button */
.manage-column.column-sources_with_invalid_output .error-details-toggle {
margin: 0;
}
.error-details-toggle {
float: right;
display: flex;
flex-direction: column;
height: 14px;
padding: 0;
margin-top: 4px;
background: none;
border: none;
cursor: pointer;
}
.error-details-toggle.is-open {
transform: rotate(180deg);
}
.column-details .error-details-toggle::before,
.column-details .error-details-toggle::after {
width: 12px;
height: 12px;
background-image: url("../images/down-triangle.svg");
background-size: cover;
background-position: center;
content: "";
}
/* Status text icons */
.status-text {
display: flex;
align-items: center;
padding-bottom: 0.6rem;
}
.status-text::before {
margin-right: 10px;
background-size: 20px 20px;
height: 20px;
width: 20px;
content: "";
min-width: 20px;
}
.status-text.sanitized::before {
background-image: url("../images/amp-logo-icon.svg");
}
.status-text.new::before {
background-image: url("../images/baseline-error.svg");
}
.status-text.new.new-accepted::before, .status-text.new.accepted::before{
background-image: url("../images/baseline-error-green.svg");
}
.status-text.new.new-rejected::before, .status-text.new.rejected::before {
background-image: url("../images/baseline-error-red.svg");
}
.status-text.accepted::before {
background-image: url("../images/baseline-check-circle-green.svg");
}
.status-text.rejected::before {
background-image: url("../images/error-rejected.svg");
}
.single-error-detail {
margin: 5px 0 5px 0;
}
.single-error-detail-summary:after {
display: inline-block;
}
.single-error-detail-summary strong {
margin-right: 10px;
font-size: 15px;
}
.single-error-detail ul.secondary-details-array .details-attributes__attr {
margin-left: 20px;
}
.single-error-detail ul.secondary-details-array .details-attributes__value {
margin-left: 30px;
}
.single-error-detail .details-attributes__value {
margin-left: 10px;
}
body.taxonomy-amp_validation_error .wp-list-table .new th,
body.taxonomy-amp_validation_error .wp-list-table .new td,
tr.expanded.new + tr > td:first-of-type,
body.post-type-amp_validated_url .wp-list-table .new th,
body.post-type-amp_validated_url .wp-list-table .new td {
background-color: #fef7f1;
}
body.taxonomy-amp_validation_error .wp-list-table .new th.check-column,
tr.expanded.new + tr > td:first-of-type,
body.post-type-amp_validated_url .wp-list-table .new th.check-column {
border-left: 4px solid #d54e21;
}
body.taxonomy-amp_validation_error .wp-list-table .new th.check-column input {
margin-left: 4px;
}
.row-actions .amp_validation_error_accept > a {
color: #006505;
}
.row-actions .amp_validation_error_reject > a {
color: #a00;
}
.notice.accept-reject-error {
display: flex;
margin-bottom: 0;
}
.notice.accept-reject-error > p {
display: inline-block;
font-size: 14px;
flex-grow: 10;
margin-right: 20px;
}
.notice.accept-reject-error > .button {
display: inline-block;
margin: 5px 5px 0 5px;
padding: 0 26px 2px;
flex-grow: 1;
text-align: center;
}
.notice.accept-reject-error > .button.accept {
/* @todo Add green colors */
}
.notice.accept-reject-error > .button.reject {
/* @todo Add red colors */
}
.notice.error-details {
margin-top: 1px;
}
.wp-heading-inline .status-text {
display: inline-flex;
margin-left: 10px;
vertical-align: middle;
padding-bottom: 0;
}
.wp-heading-inline code {
font-size: 1rem;
}
/** Details post action. */
.details button {
display: inline-block;
background: none;
border: none;
padding: 0;
text-align: left;
color: #0073aa;
cursor: pointer;
text-decoration: underline;
}

View File

@@ -0,0 +1,164 @@
/** Arrow icon on title in error column. */
.column-error > .single-url-detail-toggle {
position: relative;
width: 100%;
padding: 5px 36px 5px 0;
background: none;
border: none;
text-align: left;
line-height: 1.682;
color: #0073aa;
cursor: pointer;
}
.column-error > .single-url-detail-toggle::after {
position: absolute;
top: 0;
right: 0;
display: flex;
align-items: center;
justify-content: center;
width: 12px;
height: 18px;
margin-top: 5px;
background-image: url("../images/down-triangle.svg");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
content: "";
}
tr.expanded .single-url-detail-toggle::after {
transform: rotate(180deg);
}
/** Striped table overrides. */
table.striped > tbody > tr.odd {
background: #f9f9f9;
}
table.striped > tbody > tr.even {
background: #fff;
}
/** Hide original details content. */
.details-attributes > .detailed {
display: none;
}
/** Details post action. */
.details button {
display: inline-block;
background: none;
border: none;
padding: 0;
text-align: left;
color: #0073aa;
cursor: pointer;
text-decoration: underline;
}
/** Details row styles. */
.details details.details-attributes:hover {
cursor: pointer;
}
.details ul.detailed {
padding: 0 32px;
margin-top: 0;
}
.details div.detailed {
padding-left: 30px;
margin-top: 10px;
font-family: Consolas, Monaco, monospace;
}
.details .detailed details {
padding-bottom: 16px;
}
.details .detailed summary code {
display: inline-block;
min-width: 240px;
margin-left: 12px;
font-weight: 600;
}
.column-status select {
vertical-align: top;
}
.column-status img {
width: 1.5rem;
margin-top: 0.2rem;
}
#number-errors {
text-align: center;
background-color: #d3d3d3b8;
color: #1e8cbecc;
}
#url-post-filter {
float: none;
display: inline;
}
.tablenav.top,
.tablenav.bottom {
display: none;
}
.amp-validated-url a {
text-decoration: none;
}
.curtime.misc-pub-section {
margin-top: 0.5rem;
}
/* Give enough width to prevent the widest column status, 'New Accepted,' from forcing the <select> below the icon. */
.wp-list-table th.column-status {
width: 150px;
}
.wp-list-table th.column-sources_with_invalid_output {
width: 20%;
}
.wp-list-table th.column-error {
width: 25%;
}
.wp-list-table th.column-details {
width: 20%;
}
/** Add space between list table and the filter and search box above it. */
#post-body-content button.action,
#post-body-content #url-post-filter,
#post-body-content .search-box {
margin-bottom: 4px;
}
#post-body-content button.reject {
margin-left: 4px;
}
#accept-reject-buttons:not(.hidden) {
display: inline-block;
}
#vertical-divider {
display: inline-block;
vertical-align: middle;
width: 15px;
margin-right: 15px;
height: 30px;
border-right: 1px solid #a0a5aa;
}
.amp-validation-error-status {
width: auto;
float: none;
}

View File

@@ -0,0 +1,7 @@
/* @todo This should be moved to admin-tables.css which is then enqueued on both screens. */
.tooltip-button {
margin: 0 6px;
cursor: pointer;
color: #767676;
}