<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[11069] sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates: Translate: Fix layout of editor for glossary entries and increase font sizes used in meta column of the translation editor.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://meta.trac.wordpress.org/changeset/11069">11069</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://meta.trac.wordpress.org/changeset/11069","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>ocean90</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2021-06-26 15:30:52 +0000 (Sat, 26 Jun 2021)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Translate: Fix layout of editor for glossary entries and increase font sizes used in meta column of the translation editor.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationstemplatesstylecss">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationstemplatestranslationroweditorphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-editor.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationstemplatesstylecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css 2021-06-26 14:07:54 UTC (rev 11068)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css 2021-06-26 15:30:52 UTC (rev 11069)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,6 +10,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> color: #1e1e1e;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.gp-content textarea {
+ max-width: 100%;
+}
+
+.gp-content textarea,
+.gp-content select,
+.gp-content input {
+ font-size: 1em;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .site-header {
</span><span class="cx" style="display: block; padding: 0 10px"> font-family: "Open Sans", sans-serif;
</span><span class="cx" style="display: block; padding: 0 10px"> line-height: 1.5;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -315,12 +325,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 1em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-p.actionlist {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+p.actionlist,
+div.actionlist,
+h2 + .glossary-description,
+h2 + .project-description {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin-top: 1em;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 1em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><span class="cx" style="display: block; padding: 0 10px"> @media screen and (max-width: 960px) {
</span><span class="cx" style="display: block; padding: 0 10px"> .with-sub-projects {
</span><span class="cx" style="display: block; padding: 0 10px"> margin-left: 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -401,11 +413,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 12px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.glossary a.action,
</ins><span class="cx" style="display: block; padding: 0 10px"> table.translations a.action {
</span><span class="cx" style="display: block; padding: 0 10px"> color: #1e1e1e;
</span><span class="cx" style="display: block; padding: 0 10px"> text-decoration: underline;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.glossary a.action:hover,
</ins><span class="cx" style="display: block; padding: 0 10px"> table.translations a.action:hover {
</span><span class="cx" style="display: block; padding: 0 10px"> color: #000;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -459,20 +473,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> border-right: 1px solid #72777c;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-table.translations td:first-child,
-table.translations th:first-child,
-table.translation-sets td:first-child,
-table.translation-sets th:first-child,
-table.locales td:first-child,
-table.locales th:first-child,
-table.glossary th:first-child,
-table.glossary td:first-child,
-table.locale-sub-projects th:first-child,
-table.locale-sub-projects td:first-child {
- border-left: 1px solid #72777c;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.locales tr,
+table.glossary tr,
+table.locale-sub-projects tr,
+table.translation-sets tr,
+table.translations tr {
+ box-shadow: -1px 0px 0px #72777c;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> table.translations tr:nth-child(4n+3),
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.glossary tr:nth-child(4n+3),
</ins><span class="cx" style="display: block; padding: 0 10px"> table.locale-sub-projects tr:nth-child(even),
</span><span class="cx" style="display: block; padding: 0 10px"> .translation-sets tr,
</span><span class="cx" style="display: block; padding: 0 10px"> .locales tr {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -479,6 +489,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> background-color: #f6f7f7;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.glossary tr.view:hover,
</ins><span class="cx" style="display: block; padding: 0 10px"> .translations tr.preview:hover,
</span><span class="cx" style="display: block; padding: 0 10px"> .translation-sets tr:nth-child(odd):hover,
</span><span class="cx" style="display: block; padding: 0 10px"> .locales tr:nth-child(odd):hover,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -546,108 +557,71 @@
</span><span class="cx" style="display: block; padding: 0 10px"> background: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .original {
- margin-bottom: 1em;
-}
-
-.editor .textareas textarea {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* Glossary editor */
+table.glossary .editor .strings {
</ins><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- box-sizing: border-box;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ float: none;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .strings {
- width: 60%;
- float: left;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.glossary .editor .strings dt {
+ margin-bottom: 2px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .meta {
- background: #fff;
- border: 1px solid #72777c;
- font-size: 13px;
- margin: 0;
- padding: 5px 10px;
- width: 39%;
- float: right;
- box-sizing: border-box;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.glossary .editor .strings dd {
+ margin-bottom: 10px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .meta h3 {
- text-align: center;
- border-bottom: 1px solid #72777c;
- margin-bottom: 15px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.glossary .editor .strings p {
+ display: flex;
+ align-items: center;
+ font-size: 14px;
+ margin-top: 20px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-button.approve strong {
- color: #46b450;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.glossary .editor .strings p button {
+ font-size: 14px;
+ height: 26px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-button.reject strong {
- color: #dc3232;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.glossary .editor .strings p button + .or-cancel {
+ font-size: 14px;
+ margin-left: .4em;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-button.fuzzy strong {
- color: #f56e28;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.glossary .editor .meta {
+ width: 100%;
+ float: none;
+ margin: 30px 0 0;
+ font-size: 14px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .refs li {
- font-size: 12px;
- word-wrap: break-word;
-}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+@media screen and (min-width: 700px) {
+ table.glossary .editor .strings {
+ width: 60%;
+ float: left;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .meta dl {
- margin: .4em 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ table.glossary .editor .meta {
+ width: calc( 40% - 20px );
+ float: right;
+ margin: 0;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .clear + .plural-numbers {
- margin-top: 15px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.glossary .editor .meta dl {
+ margin: 5px 0 0;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .strings .textareas:last-child,
-.editor .plural-numbers + .textareas {
- margin-bottom: 30px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.glossary .editor .meta dl:first-child {
+ margin-top: 0;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .textareas + .clear {
- margin-top: 30px;
-}
-
-.editor .actions {
- margin-top: 30px;
-}
-
-.editor .actions .ok {
- font-size: 14px;
- height: 26px;
- vertical-align: middle;
-}
-
-.strings dt {
- margin-bottom: 2px;
-}
-
-.strings dd {
- margin-bottom: 10px;
-}
-
-.strings textarea {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.glossary .editor textarea {
+ width: 100%;
+ resize: vertical;
</ins><span class="cx" style="display: block; padding: 0 10px"> box-sizing: border-box;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- max-width: 100%;
- resize: vertical;
- vertical-align: middle;
</del><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.strings textarea:-ms-input-placeholder {
- color: #666;
-}
-
-.strings textarea::-ms-input-placeholder {
- color: #666;
-}
-
-.strings textarea::placeholder {
- color: #666;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .invisibles {
</span><span class="cx" style="display: block; padding: 0 10px"> -webkit-user-select: none;
</span><span class="cx" style="display: block; padding: 0 10px"> -ms-user-select: none;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -660,7 +634,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> white-space: pre-wrap;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><span class="cx" style="display: block; padding: 0 10px"> .glossary-word {
</span><span class="cx" style="display: block; padding: 0 10px"> border: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> text-decoration: underline;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -912,7 +885,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .locale {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border: 1px solid #ccc;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border: 1px solid #72777c;
</ins><span class="cx" style="display: block; padding: 0 10px"> box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
</span><span class="cx" style="display: block; padding: 0 10px"> background: #fff;
</span><span class="cx" style="display: block; padding: 0 10px"> box-sizing: border-box;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2365,13 +2338,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* NEW EDITOR */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .strings {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.editor-panel .strings {
</ins><span class="cx" style="display: block; padding: 0 10px"> float: none;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> min-width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .textareas textarea {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.editor-panel .textareas textarea {
</ins><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> border: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> background: #fff;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2383,12 +2356,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> resize: vertical;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.textareas p,
-.textareas blockquote.translation {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.editor-panel .textareas p,
+.editor-panel .textareas blockquote.translation {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .original {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.editor-panel .original {
</ins><span class="cx" style="display: block; padding: 0 10px"> max-width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: normal;
</span><span class="cx" style="display: block; padding: 0 10px"> font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2395,17 +2368,47 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 15px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .original-raw {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.editor-panel .original-raw {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.editor .meta {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.editor-panel .meta {
</ins><span class="cx" style="display: block; padding: 0 10px"> float: none;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background: transparent;
- border: 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin: 0;
+ padding: 20px 10px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.editor-panel .meta .status-actions {
+ margin-bottom: 15px;
+}
+
+.editor-panel .meta .status-actions button {
+ font-size: 14px;
+ height: 26px;
+}
+
+button.approve strong {
+ color: #46b450;
+}
+
+button.reject strong {
+ color: #dc3232;
+}
+
+button.fuzzy strong {
+ color: #f56e28;
+}
+
+.editor-panel .meta dl {
+ font-size: 14px;
+ margin: 5px 0 0;
+}
+
+.editor-panel .meta dl:first-child {
+ margin-top: 0;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> table.translations tr.editor td {
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> border-bottom-width: 2px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2441,6 +2444,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> min-width: 1%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+@media screen and (min-width: 700px) {
+ .editor-panel__right {
+ position: -webkit-sticky;
+ position: sticky;
+ top: 0;
+ z-index: 10;
+ }
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .panel-header {
</span><span class="cx" style="display: block; padding: 0 10px"> display: flex;
</span><span class="cx" style="display: block; padding: 0 10px"> align-items: center;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2463,12 +2475,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> z-index: 10;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.admin-bar .editor-panel__left .panel-header {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.admin-bar .editor-panel__left .panel-header,
+.admin-bar .editor-panel__right {
</ins><span class="cx" style="display: block; padding: 0 10px"> top: 32px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> @media screen and (max-width: 782px) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .admin-bar .editor-panel__left .panel-header {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .admin-bar .editor-panel__left .panel-header,
+ .admin-bar .editor-panel__right {
</ins><span class="cx" style="display: block; padding: 0 10px"> top: 46px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2640,15 +2654,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .translation-wrapper {
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0 10px;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- margin: 15px 0;
- border-top: 1px solid;
- border-bottom: 1px solid;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin: 15px -1px;
+ border: 1px solid;
</ins><span class="cx" style="display: block; padding: 0 10px"> border-color: #72777c;
</span><span class="cx" style="display: block; padding: 0 10px"> background: #fff;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .translation-wrapper:focus-within {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- box-shadow: 0 0 2px 1px #33b3db;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ box-shadow: 0 0 2px 1px #33b3db;
+ border-color: #5b9dd9;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .translation-wrapper .warning {
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporggpcustomizationstemplatestranslationroweditorphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-editor.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-editor.php 2021-06-26 14:07:54 UTC (rev 11068)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-editor.php 2021-06-26 15:30:52 UTC (rev 11069)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -238,22 +238,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="panel-content">
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="meta">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php if ( $translation->translation_status ): ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php if ( $translation->translation_status && ( $can_approve_translation || $can_reject_self ) ): ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> <div class="status-actions">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php if ( $can_approve_translation ) : ?>
- <?php if ( 'current' !== $translation->translation_status ) : ?>
- <button class="approve" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-current_' . $translation->id ) ); ?>"><strong>+</strong> <?php _e( 'Approve', 'glotpress' ); ?></button>
- <?php endif; ?>
- <?php if ( 'rejected' !== $translation->translation_status ) : ?>
- <button class="reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>−</strong> <?php _e( 'Reject', 'glotpress' ); ?></button>
- <?php endif; ?>
- <?php if ( 'fuzzy' !== $translation->translation_status ) : ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php if ( $can_approve_translation ) : ?>
+ <?php if ( 'current' !== $translation->translation_status ) : ?>
+ <button class="approve" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-current_' . $translation->id ) ); ?>"><strong>+</strong> <?php _e( 'Approve', 'glotpress' ); ?></button>
+ <?php endif; ?>
+ <?php if ( 'rejected' !== $translation->translation_status ) : ?>
+ <button class="reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>−</strong> <?php _e( 'Reject', 'glotpress' ); ?></button>
+ <?php endif; ?>
+ <?php if ( 'fuzzy' !== $translation->translation_status ) : ?>
+ <button class="fuzzy" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-fuzzy_' . $translation->id ) ); ?>"><strong>~</strong> <?php _e( 'Fuzzy', 'glotpress' ); ?></button>
+ <?php endif; ?>
+ <?php elseif ( $can_reject_self ): ?>
+ <button class="reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>−</strong> <?php _e( 'Reject Suggestion', 'glotpress' ); ?></button>
</ins><span class="cx" style="display: block; padding: 0 10px"> <button class="fuzzy" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-fuzzy_' . $translation->id ) ); ?>"><strong>~</strong> <?php _e( 'Fuzzy', 'glotpress' ); ?></button>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php elseif ( $can_reject_self ): ?>
- <button class="reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>−</strong> <?php _e( 'Reject Suggestion', 'glotpress' ); ?></button>
- <button class="fuzzy" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-fuzzy_' . $translation->id ) ); ?>"><strong>~</strong> <?php _e( 'Fuzzy', 'glotpress' ); ?></button>
- <?php endif; ?>
</del><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre>
</div>
</div>
</body>
</html>