Make WordPress Core

Ticket #63468: 63468.diff

File 63468.diff, 4.0 KB (added by meszarosrob, 16 months ago)
  • src/wp-includes/css/wp-embed-template.css

    diff --git src/wp-includes/css/wp-embed-template.css src/wp-includes/css/wp-embed-template.css
    index b5a482b..ecae524 100644
    html[dir="rtl"] .wp-embed-share-tab-button + .wp-embed-share-tab-button {  
    353353        border-left: none;
    354354        border-right: 1px solid #a7aaad;
    355355}
     356
     357@media (prefers-color-scheme: dark) {
     358        .dashicons-no {
     359                background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M15.55%2013.7l-2.19%202.06-3.42-3.65-3.64%203.43-2.06-2.18%203.64-3.43-3.42-3.64%202.18-2.06%203.43%203.64%203.64-3.42%202.05%202.18-3.64%203.43z%27%20fill%3D%27%23e0e0e0%27%2F%3E%3C%2Fsvg%3E");
     360        }
     361
     362        .dashicons-admin-comments {
     363                background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M5%202h9q.82%200%201.41.59T16%204v7q0%20.82-.59%201.41T14%2013h-2l-5%205v-5H5q-.82%200-1.41-.59T3%2011V4q0-.82.59-1.41T5%202z%27%20fill%3D%27%23949494%27%2F%3E%3C%2Fsvg%3E");
     364        }
     365
     366        .wp-embed-comments a:hover .dashicons-admin-comments {
     367                background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M5%202h9q.82%200%201.41.59T16%204v7q0%20.82-.59%201.41T14%2013h-2l-5%205v-5H5q-.82%200-1.41-.59T3%2011V4q0-.82.59-1.41T5%202z%27%20fill%3D%27%23e0e0e0%27%2F%3E%3C%2Fsvg%3E");
     368        }
     369
     370        .dashicons-share {
     371                background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.5%2012q1.24%200%202.12.88T17.5%2015t-.88%202.12-2.12.88-2.12-.88T11.5%2015q0-.34.09-.69l-4.38-2.3Q6.32%2013%205%2013q-1.24%200-2.12-.88T2%2010t.88-2.12T5%207q1.3%200%202.21.99l4.38-2.3q-.09-.35-.09-.69%200-1.24.88-2.12T14.5%202t2.12.88T17.5%205t-.88%202.12T14.5%208q-1.3%200-2.21-.99l-4.38%202.3Q8%209.66%208%2010t-.09.69l4.38%202.3q.89-.99%202.21-.99z%27%20fill%3D%27%23949494%27%2F%3E%3C%2Fsvg%3E");
     372        }
     373
     374        .wp-embed-share-dialog-open:hover .dashicons-share {
     375                background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.5%2012q1.24%200%202.12.88T17.5%2015t-.88%202.12-2.12.88-2.12-.88T11.5%2015q0-.34.09-.69l-4.38-2.3Q6.32%2013%205%2013q-1.24%200-2.12-.88T2%2010t.88-2.12T5%207q1.3%200%202.21.99l4.38-2.3q-.09-.35-.09-.69%200-1.24.88-2.12T14.5%202t2.12.88T17.5%205t-.88%202.12T14.5%208q-1.3%200-2.21-.99l-4.38%202.3Q8%209.66%208%2010t-.09.69l4.38%202.3q.89-.99%202.21-.99z%27%20fill%3D%27%23e0e0e0%27%2F%3E%3C%2Fsvg%3E");
     376        }
     377
     378        .wp-embed {
     379                background: #1f1f1f;
     380                border-color: #000;
     381                box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
     382                color: #ccc;
     383        }
     384
     385        .wp-embed a {
     386                color: #949494;
     387        }
     388
     389        .wp-embed-heading a {
     390                color: #e0e0e0;
     391        }
     392
     393        .wp-embed .wp-embed-more {
     394                color: #949494;
     395        }
     396
     397        .wp-embed-meta a:hover {
     398                color: #e0e0e0;
     399        }
     400
     401        .wp-embed-share-dialog {
     402                background-color: #1f1f1f;
     403                background-color: rgba(31, 31, 31, 0.95);
     404                color: #e0e0e0;
     405        }
     406
     407        .wp-embed-share-dialog-close:focus .dashicons,
     408        .wp-embed-share-dialog-open:focus .dashicons {
     409                box-shadow: 0 0 0 2px #2271b1;
     410        }
     411
     412        .wp-embed-share-tab-button button {
     413                color: #949494;
     414        }
     415
     416        .wp-embed-share-tab-button [aria-selected="true"],
     417        .wp-embed-share-tab-button button:hover {
     418                color: #e0e0e0;
     419        }
     420
     421        .wp-embed-share-tab-button + .wp-embed-share-tab-button {
     422                border-left-color: #949494;
     423        }
     424
     425        p.wp-embed-share-description {
     426                color: #949494;
     427        }
     428
     429        html[dir="rtl"] .wp-embed-share-tab-button + .wp-embed-share-tab-button {
     430                border-right-color: #ccc;
     431        }
     432
     433        .wp-embed-site-icon[src*="/wp-includes/images/w-logo-blue.png"] {
     434                background: #f0f0f0;
     435                border-radius: 50%;
     436        }
     437
     438        .wp-embed-share-input {
     439                background: #fff;
     440                color: #1f1f1f;
     441        }
     442}