mirror of
https://gh.wpcy.net/https://github.com/fairpm/server.git
synced 2026-06-20 03:02:27 +08:00
3125 lines
No EOL
54 KiB
CSS
3125 lines
No EOL
54 KiB
CSS
/**
|
|
* wporg-main overrides.
|
|
*/
|
|
html,
|
|
body {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.gp-content {
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
font-family:
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
Helvetica,
|
|
Arial,
|
|
sans-serif,
|
|
"Apple Color Emoji",
|
|
"Segoe UI Emoji";
|
|
}
|
|
|
|
.gp-content table {
|
|
font-size: inherit;
|
|
}
|
|
|
|
.gp-content table thead {
|
|
color: inherit;
|
|
background-color: inherit;
|
|
}
|
|
|
|
.gp-content table tbody tr:nth-child(2n):not(:hover, .preview) {
|
|
background-color: unset;
|
|
}
|
|
|
|
.gp-content .form-table {
|
|
width: auto;
|
|
border: 0;
|
|
}
|
|
|
|
.gp-content .form-table * {
|
|
border: inherit;
|
|
}
|
|
|
|
.gp-content .form-table tr {
|
|
background: none !important;
|
|
}
|
|
|
|
.gp-content .form-table th {
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
.gp-content dt {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.gp-content dd {
|
|
margin: 0;
|
|
}
|
|
|
|
.gp-content dd + dt {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.gp-content input,
|
|
.gp-content select {
|
|
margin: 0;
|
|
}
|
|
|
|
.gp-content input[type=checkbox],
|
|
.gp-content input[type=radio] {
|
|
min-width: 0;
|
|
text-align: unset;
|
|
line-height: inherit;
|
|
}
|
|
|
|
.gp-content input,
|
|
.gp-content select,
|
|
.gp-content textarea {
|
|
transition: none;
|
|
}
|
|
|
|
.gp-content label {
|
|
vertical-align: unset;
|
|
display: inline-block;
|
|
font-size: inherit;
|
|
}
|
|
|
|
.gp-content input[type=checkbox]:checked:before {
|
|
content: '';
|
|
margin: 0;
|
|
width: 0.8rem;
|
|
height: 0.8rem;
|
|
float: none;
|
|
}
|
|
|
|
.gp-content input[type=radio]:checked:before {
|
|
content: '';
|
|
margin: 0;
|
|
width: 0.625rem;
|
|
height: 0.625rem;
|
|
float: none;
|
|
border-radius: 50%;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
text-indent: unset;
|
|
}
|
|
|
|
.gp-content .button {
|
|
margin: 0;
|
|
}
|
|
.gp-content .button:active {
|
|
transform: none;
|
|
}
|
|
|
|
.gp-content .button:focus,
|
|
.gp-content .button:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.gp-content a,
|
|
.gp-content .button.is-link,
|
|
li>a,
|
|
p a {
|
|
text-decoration: underline;
|
|
text-decoration-thickness: max(1px,0.063rem);
|
|
}
|
|
|
|
li>a:hover,
|
|
p a:hover {
|
|
color: var( --gp-color-accent-fg );
|
|
}
|
|
|
|
.gp-content a:active,
|
|
.gp-content a:focus,
|
|
.gp-content a:hover,
|
|
.gp-content .button.is-link:focus,
|
|
.gp-content .button.is-link:hover {
|
|
text-decoration: underline;
|
|
text-decoration-thickness: max(2px,0.125rem);
|
|
}
|
|
|
|
|
|
.gp-content .button-group > .button {
|
|
border-radius: 2px !important;
|
|
margin: 0;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.gp-content .button:visited {
|
|
color: var( --gp-color-btn-text );
|
|
border: 1px solid var( --gp-color-btn-border );
|
|
box-shadow: none;
|
|
background: var( --gp-color-btn-bg );
|
|
}
|
|
|
|
.gp-content .openai_api_key, .gp-content .deepl_api_key {
|
|
width: auto;
|
|
}
|
|
|
|
.gp-content .openai_custom_prompt {
|
|
width: auto;
|
|
border: #7e7e7e thin solid !important;
|
|
border-radius: 3px;
|
|
height: 8rem;
|
|
}
|
|
|
|
@media screen and (min-width: 750px) {
|
|
.gp-content .openai_api_key, .gp-content .deepl_api_key {
|
|
width: 30rem;
|
|
}
|
|
|
|
.gp-content .openai_custom_prompt {
|
|
width: 30rem;
|
|
}
|
|
}
|
|
|
|
select.is-small {
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
font-size: 12px;
|
|
min-height: 28px;
|
|
}
|
|
|
|
/**
|
|
* GlotPress overrides.
|
|
*/
|
|
|
|
:root {
|
|
--gp-color-fg-default: #000000;
|
|
--gp-color-accent-fg: #2271b1;
|
|
--gp-color-accent-emphasis: #135e96;
|
|
|
|
--gp-color-border-default: #72777c;
|
|
--gp-color-border-muted: #b1b8c1;
|
|
|
|
--gp-color-btn-text: #2271b1;
|
|
--gp-color-btn-border: #2271b1;
|
|
--gp-color-btn-hover-text: #135e96;
|
|
--gp-color-btn-hover-border: #135e96;
|
|
|
|
--gp-color-btn-primary-text: #fff;
|
|
--gp-color-btn-primary-bg: #2271b1;
|
|
--gp-color-btn-primary-border: #2271b1;
|
|
--gp-color-btn-primary-hover-text: #fff;
|
|
--gp-color-btn-primary-hover-bg: #135e96;
|
|
--gp-color-btn-primary-hover-border: #135e96;
|
|
|
|
--gp-color-status-fuzzy-subtle: #f6a983;
|
|
--gp-color-status-current-subtle: #b5e1b9;
|
|
--gp-color-status-old-subtle: #cdc5e1;
|
|
--gp-color-status-waiting-subtle: #ffe399;
|
|
--gp-color-status-rejected-subtle: #eb9090;
|
|
|
|
--gp-color-tour: #d54e21;
|
|
}
|
|
|
|
.locale-sub-projects .stats,
|
|
.translation-sets .stats {
|
|
text-align: left;
|
|
}
|
|
|
|
table.glossary tr.editor,
|
|
table.translations tr.editor,
|
|
table.glossary tr.editor:hover,
|
|
table.translations tr.editor:hover {
|
|
border-left: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.gp-content textarea {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.gp-content summary {
|
|
display: list-item;
|
|
}
|
|
|
|
#gp-js-message {
|
|
top: 50px;
|
|
left: auto !important;
|
|
right: 20px;
|
|
font-size: 100%;
|
|
padding: 1em 1.5em;
|
|
border-radius: 5px;
|
|
max-width: 300px;
|
|
}
|
|
|
|
#gp-js-message:empty {
|
|
display: none;
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
div#gp-js-message {
|
|
top: 5px;
|
|
right: 5px;
|
|
left: 5px !important;
|
|
max-width: 100%;
|
|
z-index: 99999;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1025px) {
|
|
div#gp-js-message {
|
|
right: 50px;
|
|
}
|
|
}
|
|
|
|
.gp-js-error {
|
|
color: #fff;
|
|
background-color: #dc3232;
|
|
}
|
|
|
|
.gp-js-notice {
|
|
color: #333;
|
|
background-color: #ffb900;
|
|
}
|
|
|
|
.gp-js-success {
|
|
color: #fff;
|
|
background-color: #46b450;
|
|
}
|
|
|
|
.gp-content {
|
|
margin: 20px auto;
|
|
max-width: 1600px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.gp-content h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.gp-content h3 {
|
|
font-size: 1.25rem;
|
|
margin: 2px 0 .6em;
|
|
}
|
|
|
|
.gp-content .breadcrumb {
|
|
background: none;
|
|
border: 0;
|
|
padding: 0;
|
|
margin: 0 0 1rem;
|
|
}
|
|
|
|
p.description {
|
|
margin: 1em;
|
|
}
|
|
|
|
a.project-actions {
|
|
display: inline-block;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
a.project-actions:not(:hover):not(:focus) {
|
|
text-decoration: none;
|
|
}
|
|
|
|
a.project-actions.open {
|
|
display: inline-block;
|
|
margin-bottom: .5rem;
|
|
}
|
|
|
|
small code {
|
|
font-size: 1em;
|
|
}
|
|
|
|
p.actionlist,
|
|
div.actionlist,
|
|
h2 + .glossary-description,
|
|
h2 + .project-description {
|
|
margin-top: 1em;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.glossary-description {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.with-sub-projects #translation-sets {
|
|
width: auto;
|
|
}
|
|
|
|
@media screen and (max-width: 960px) {
|
|
.with-sub-projects {
|
|
margin-left: 0;
|
|
}
|
|
|
|
#sub-projects,
|
|
.with-sub-projects #translation-sets {
|
|
float: none;
|
|
margin: 0;
|
|
}
|
|
|
|
#translation-sets {
|
|
overflow-x: auto;
|
|
}
|
|
}
|
|
|
|
/* Change some colors (http://codepen.io/hugobaeta/full/RNOzoV/) */
|
|
span.morethan90 {
|
|
background: none;
|
|
font-size: 90%;
|
|
color: #509040;
|
|
}
|
|
|
|
span.context,
|
|
span.priority {
|
|
display: inline-block;
|
|
color: #1e1e1e;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
padding: .1em 0;
|
|
margin-left: .2em;
|
|
background-color: #a0a5aa;
|
|
-webkit-box-decoration-break: clone;
|
|
box-decoration-break: clone;
|
|
box-shadow: .3em 0 0 #a0a5aa, -.3em 0 0 #a0a5aa;
|
|
border-radius: 0;
|
|
}
|
|
|
|
span.context + span.priority {
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.priority-high span.priority {
|
|
color: #fff;
|
|
background-color: rgba( 154, 35, 35, 0.65 );
|
|
box-shadow: 0.3em 0 0 rgba( 154, 35, 35, 0.65 ), -0.3em 0 0 rgba( 154, 35, 35, 0.65 );
|
|
}
|
|
|
|
.priority-low span.priority {
|
|
background-color: rgba( 213, 213, 213, 0.65 );
|
|
box-shadow: 0.3em 0 0 rgba( 213, 213, 213, 0.65 ), -0.3em 0 0 rgba( 213, 213, 213, 0.65 );
|
|
}
|
|
|
|
|
|
table.translations td.original ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
}
|
|
|
|
table.translations td.original ul li,
|
|
table.translations td.translation ul li {
|
|
padding-bottom: .2em;
|
|
border-bottom: 1px dotted #72777c;
|
|
}
|
|
|
|
table.translations td.original li:last-child,
|
|
table.translations td.translation li:last-child {
|
|
padding-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
table.translations td.original small,
|
|
table.translations td.translation small {
|
|
color: #293139;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.original-tags {
|
|
margin-top: .2em;
|
|
}
|
|
|
|
.original-tags > * {
|
|
max-width: 100%;
|
|
}
|
|
|
|
ul a.edit,
|
|
dt a.edit {
|
|
background: none;
|
|
color: inherit;
|
|
}
|
|
|
|
/* Glossary editor */
|
|
table.glossary .editor .strings {
|
|
width: 100%;
|
|
float: none;
|
|
}
|
|
|
|
table.glossary .editor .strings input[type="text"] {
|
|
width: 100%;
|
|
}
|
|
|
|
table.glossary .editor .meta {
|
|
width: 100%;
|
|
float: none;
|
|
margin: 30px 0 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
table.glossary .editor .meta h3 {
|
|
font-size: 22px;
|
|
}
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
table.glossary .editor .strings {
|
|
width: 60%;
|
|
float: left;
|
|
}
|
|
|
|
table.glossary .editor .meta {
|
|
width: calc( 40% - 20px );
|
|
float: right;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
table.glossary .editor .meta dl {
|
|
margin: 5px 0 0;
|
|
}
|
|
|
|
table.glossary .editor .meta dd {
|
|
font-weight: 400;
|
|
}
|
|
|
|
table.glossary .editor .meta dl:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
table.glossary .editor textarea {
|
|
width: 100%;
|
|
height: 80px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.invisibles {
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
span.translation-text,
|
|
span.original-text {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.ui-tooltip {
|
|
background: #fff;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,.1);
|
|
border-radius: 0;
|
|
z-index: 20;
|
|
}
|
|
|
|
.ui-tooltip:after {
|
|
border-color: #fff transparent;
|
|
top: -9px;
|
|
}
|
|
|
|
.ui-tooltip:before {
|
|
display: block;
|
|
content: "";
|
|
border-color: #ccc transparent;
|
|
border-style: solid;
|
|
border-width: 0 10px 10px;
|
|
width: 0;
|
|
position: absolute;
|
|
top: -10px;
|
|
left: 1em;
|
|
}
|
|
|
|
.ui-tooltip ul {
|
|
padding: 0;
|
|
margin: 5px;
|
|
}
|
|
|
|
.ui-tooltip ul li {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.ui-tooltip ul li + li {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
/* custom markup */
|
|
#headline .menu-link {
|
|
padding-right: 20px;
|
|
}
|
|
|
|
/* overrides the global stylesheet: */
|
|
.gp-content blockquote {
|
|
border: 0;
|
|
background: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
/*.gp-content ul {
|
|
padding-left: 0;
|
|
}*/
|
|
|
|
/*.gp-content #submit {
|
|
font-size: 1em;
|
|
margin: 0.4em 0.1em 0 0;
|
|
}*/
|
|
|
|
.notice {
|
|
background: #e5f5fa;
|
|
border-left: 3px solid #00a0d2;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.notice a {
|
|
color: #006799;
|
|
}
|
|
|
|
.notice p {
|
|
font-size: 15px;
|
|
}
|
|
|
|
p.intro {
|
|
width: 75%;
|
|
margin-bottom: 20px;
|
|
font-size: 1.1em;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
.filter-header {
|
|
display: inline-block;
|
|
position: relative;
|
|
margin: 30px 0;
|
|
padding: 0 20px;
|
|
width: 100%;
|
|
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
|
border: 1px solid #dfdfdf;
|
|
background: #efefef;
|
|
color: #555;
|
|
}
|
|
|
|
ul.filter-header-links {
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.filter-header-links li {
|
|
display: inline-block;
|
|
margin: 0;
|
|
}
|
|
|
|
.filter-header-links li > a,
|
|
.filter-header-links li > span {
|
|
display: inline-block;
|
|
margin: 0 10px;
|
|
padding: 15px 0;
|
|
border-bottom: 4px solid #efefef;
|
|
color: #666;
|
|
cursor: pointer;
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
.filter-header-links li:hover > a,
|
|
.filter-header-links li:hover > span {
|
|
border-bottom-color: #666;
|
|
}
|
|
|
|
.filter-header-links .current {
|
|
box-shadow: none;
|
|
border-bottom: 4px solid #666;
|
|
color: #222;
|
|
}
|
|
|
|
.filter-header-links li.has-children {
|
|
position: relative;
|
|
}
|
|
|
|
.filter-header-links li.has-children li a {
|
|
margin: 0 9px;
|
|
padding: 5px 0;
|
|
}
|
|
|
|
.filter-header-links li.has-children ul {
|
|
display: none;
|
|
}
|
|
|
|
.filter-header-links li.has-children:hover ul {
|
|
display: block;
|
|
position:absolute;
|
|
background: #efefef;
|
|
padding: 0;
|
|
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
|
border: 1px solid #dfdfdf;
|
|
border-top: 0;
|
|
z-index: 1;
|
|
margin: 0;
|
|
}
|
|
|
|
.filter-header-link__sep {
|
|
color: #ccc;
|
|
}
|
|
|
|
|
|
.filter-header .search-form {
|
|
float: right;
|
|
margin: 12px 0 11px;
|
|
}
|
|
|
|
.filter-header .filter-search {
|
|
margin: 0;
|
|
padding: 3px 5px;
|
|
width: 280px;
|
|
font-size: 16px;
|
|
font-weight: 300;
|
|
line-height: 1.5;
|
|
border: 1px solid #ddd;
|
|
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
|
|
background-color: #fff;
|
|
color: #333;
|
|
outline: none;
|
|
border-radius: 0;
|
|
-webkit-appearance: textfield;
|
|
}
|
|
|
|
@supports (display: flex) and (not (display: grid)) {
|
|
.locales {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: 0 -15px;
|
|
}
|
|
|
|
.locales .locale {
|
|
flex-grow: 1;
|
|
margin: 0 15px 30px;
|
|
width: calc( 33% - 30px );
|
|
}
|
|
}
|
|
|
|
@supports (display: grid) {
|
|
.locales {
|
|
display: -ms-grid;
|
|
display: grid;
|
|
-ms-grid-columns: 1fr;
|
|
grid-template-columns: 1fr;
|
|
grid-gap: 30px;
|
|
}
|
|
|
|
@media screen and (min-width: 500px) {
|
|
.locales {
|
|
-ms-grid-columns: 1fr 30px 1fr;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
.locales {
|
|
-ms-grid-columns: 1fr 30px 1fr 30px 1fr;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1300px) {
|
|
.locales {
|
|
-ms-grid-columns: 1fr 30px 1fr 30px 1fr;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Clearfix */
|
|
.locale-header:before,
|
|
.locale-header:after,
|
|
.project-box-header:before,
|
|
.project-box-header:after,
|
|
.project-status:before,
|
|
.project-status:after,
|
|
.locale-project-contributors:before,
|
|
.locale-project-contributors:after {
|
|
content: "";
|
|
display: table;
|
|
}
|
|
|
|
.locale-header:after,
|
|
.project-box-header:after,
|
|
.project-status:after,
|
|
.locale-project-contributors:after {
|
|
clear: both;
|
|
}
|
|
|
|
.locale {
|
|
border: 1px solid #72777c;
|
|
box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
|
|
background: #fff;
|
|
}
|
|
|
|
.locale a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.locale .contributors a,
|
|
.locale-box .contributors a {
|
|
text-decoration: none !important
|
|
}
|
|
|
|
.locale.percent-100 {
|
|
border-color: #509040;
|
|
}
|
|
|
|
.locale-button {
|
|
background: #f9f9f9;
|
|
text-align: center;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.locale .name,
|
|
.locale-box .name {
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 20px 10px 20px 20px;
|
|
}
|
|
|
|
.locale .name {
|
|
max-width: calc( 100% - 100px );
|
|
}
|
|
|
|
.locale .name .english {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.locale .name li,
|
|
.locale-box .name li {
|
|
display: block;
|
|
}
|
|
|
|
.locale .name li.english a,
|
|
.locale-box .name li.english {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.locale-box.project .name li.english {
|
|
font-weight: normal;
|
|
}
|
|
|
|
.locale .name li.code a,
|
|
.locale-box .name li.code {
|
|
color: #999;
|
|
}
|
|
|
|
.locale .contributors,
|
|
.locale-box .contributors,
|
|
.locale-box .project-status {
|
|
float: right;
|
|
margin-top: 20px;
|
|
padding: 10px 20px;
|
|
color: #006799;
|
|
border-left: 1px solid #72777c;
|
|
text-align: center;
|
|
}
|
|
|
|
.locale-box .project-status {
|
|
color: #509040;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.locale .contributors .dashicons,
|
|
.locale-box .contributors .dashicons {
|
|
font-size: 2em;
|
|
padding-bottom: 10px;
|
|
display: inline;
|
|
}
|
|
|
|
.locale-box .contributors .dashicons {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.locale .percent,
|
|
.project-box .percent,
|
|
.project .percent {
|
|
width: 100%;
|
|
height: 4px;
|
|
background-color: #d6d6d6;
|
|
}
|
|
|
|
.locale .percent-complete,
|
|
.project-box .percent-complete,
|
|
.project .percent-complete {
|
|
height: 4px;
|
|
background-color: #509040;
|
|
}
|
|
|
|
.locale-intro {
|
|
float: left;
|
|
width: 100%;
|
|
max-width: 600px;
|
|
margin-top: 20px;
|
|
font-family: Georgia, Times, "Times New Roman", serif;
|
|
font-size: 16px;
|
|
line-height: 1.6em;
|
|
}
|
|
|
|
.locale-box {
|
|
float: right;
|
|
width: 250px;
|
|
border: 1px solid #72777c;
|
|
box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
|
|
background: #fff;
|
|
}
|
|
|
|
.projects-paging {
|
|
clear: both;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.projects {
|
|
clear: both;
|
|
display: grid;
|
|
grid-gap: 1rem;
|
|
grid-template-columns: minmax( 0, 1fr );
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
@media screen and (min-width: 799px) {
|
|
.projects {
|
|
grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1219px) {
|
|
.projects {
|
|
grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1500px) {
|
|
.projects {
|
|
grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
|
|
}
|
|
}
|
|
|
|
.projects .project {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
border: 1px solid #72777c;
|
|
box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
|
|
background: #fff;
|
|
}
|
|
|
|
.projects .project.percent-100 {
|
|
border-color: #509040;
|
|
}
|
|
|
|
.projects .project-top {
|
|
position: relative;
|
|
padding: 20px;
|
|
min-height: 140px;
|
|
margin-bottom: auto;
|
|
}
|
|
|
|
.projects .project-name,
|
|
.projects .project-description {
|
|
margin-left: 120px;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.projects .project-name h4 {
|
|
border: 0;
|
|
margin: 0 0 8px;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.projects .project-description {
|
|
border-left: 0;
|
|
margin-top: 0;
|
|
padding: 0;
|
|
font-size: .875rem;
|
|
}
|
|
|
|
.projects .project-description p {
|
|
margin: 0;
|
|
}
|
|
|
|
.projects .project-icon {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 20px;
|
|
width: 100px;
|
|
height: 100px;
|
|
margin: 0 20px 20px 0;
|
|
}
|
|
|
|
.projects .project-icon .plugin-icon {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.projects .project-icon .default-icon,
|
|
.projects .project-icon .wordpress-icon {
|
|
width: 100px;
|
|
height: 100px;
|
|
background: #dedede;
|
|
}
|
|
|
|
.projects .project-icon .plugin-icon {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-size: contain;
|
|
}
|
|
|
|
.projects .project-icon .default-icon span,
|
|
.projects .project-icon .wordpress-icon span {
|
|
height: 100px;
|
|
width: 100px;
|
|
font-size: 85px;
|
|
line-height: 100px;
|
|
color: #a0a5aa;
|
|
}
|
|
|
|
.projects .project-icon .wordpress-icon {
|
|
background: #464646;
|
|
}
|
|
|
|
.projects .project-icon .wordpress-icon span {
|
|
color: #fff;
|
|
}
|
|
|
|
.projects .project-icon .icon img {
|
|
width: 100px;
|
|
height: auto;
|
|
}
|
|
|
|
.projects .project-status {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.projects .project-status > div {
|
|
width: 25%;
|
|
float: left;
|
|
margin: 0 0 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.projects .project-status > div:not(:first-child) {
|
|
border-left: 1px solid #72777c;
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
.projects .project-status > div {
|
|
width: 50%;
|
|
}
|
|
|
|
.projects .project-status > div:nth-child(3) {
|
|
border-left: 0;
|
|
}
|
|
}
|
|
|
|
.projects .project-status-title {
|
|
display: inline-block;
|
|
margin-bottom: 6px;
|
|
color: #82878c;
|
|
}
|
|
|
|
.projects .project-status-value {
|
|
display: block;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.projects .project-status-progress .project-status-value {
|
|
color: #509040;
|
|
}
|
|
|
|
.projects .project-bottom {
|
|
background: #f9f9f9;
|
|
text-align: center;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
/* Project */
|
|
.project-header {
|
|
margin-bottom: 30px;
|
|
display: flex;
|
|
}
|
|
|
|
.project-header .project-description {
|
|
flex: 1;
|
|
margin-top: 20px;
|
|
margin-left: 0;
|
|
max-width: 100%;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.project-header .project-box {
|
|
position: relative;
|
|
width: 350px;
|
|
height: 100%;
|
|
margin-left: 20px;
|
|
border: 1px solid #72777c;
|
|
box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
|
|
background: #fff;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.project-box.percent-100 {
|
|
border-color: #509040;
|
|
}
|
|
|
|
.project-box .project-box-header {
|
|
position: relative;
|
|
padding: 15px;
|
|
}
|
|
|
|
.project-box .project-icon {
|
|
float: left;
|
|
width: 64px;
|
|
height: 64px;
|
|
margin: 0 20px 20px 0;
|
|
}
|
|
|
|
.project-box .project-icon .plugin-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
background-size: contain;
|
|
}
|
|
|
|
.project-box .project-icon .default-icon,
|
|
.project-box .project-icon .wordpress-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
background: #dedede;
|
|
}
|
|
|
|
.project-box .project-icon .default-icon span,
|
|
.project-box .project-icon .wordpress-icon span {
|
|
height: 64px;
|
|
width: 64px;
|
|
font-size: 42px;
|
|
line-height: 64px;
|
|
color: #a0a5aa;
|
|
}
|
|
|
|
.project-box .project-icon .wordpress-icon {
|
|
background: #464646;
|
|
}
|
|
|
|
.project-box .project-icon .wordpress-icon span {
|
|
color: #fff;
|
|
}
|
|
|
|
.project-box .project-icon .icon img {
|
|
width: 64px;
|
|
height: auto;
|
|
}
|
|
|
|
.project-box .project-meta {
|
|
float: left;
|
|
width: 165px;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.project-meta .project-name {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.project-meta .locale-code {
|
|
color: #999;
|
|
}
|
|
|
|
.project-box .project-status {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 15px;
|
|
transform: translateY(-50%);
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: #509040;
|
|
padding: 10px 0 10px 15px;
|
|
border-left: 1px solid #72777c;
|
|
}
|
|
|
|
.project-box .project-box-footer {
|
|
background: #f9f9f9;
|
|
}
|
|
|
|
ul.projects-dropdown {
|
|
border-top: 1px solid #72777c;
|
|
}
|
|
|
|
.project-status-progress + .project-box-footer > ul.projects-dropdown {
|
|
border-top: 0;
|
|
}
|
|
|
|
ul.projects-dropdown,
|
|
ul.projects-dropdown ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.projects-dropdown li {
|
|
list-style: none;
|
|
}
|
|
|
|
.projects-dropdown a,
|
|
.projects-dropdown a:hover,
|
|
.projects-dropdown a:focus {
|
|
color: #333;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.projects-dropdown a:hover,
|
|
.projects-dropdown a:focus {
|
|
background: #ddd;
|
|
}
|
|
|
|
ul.projects-dropdown ul {
|
|
position: absolute;
|
|
left: -1px;
|
|
right: -1px;
|
|
width: inherit;
|
|
background: #f9f9f9;
|
|
border: 1px solid #72777c;
|
|
border-top: 0;
|
|
box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.04);
|
|
display: none;
|
|
z-index: 10;
|
|
}
|
|
|
|
ul.projects-dropdown.open ul {
|
|
display: block;
|
|
}
|
|
|
|
ul.projects-dropdown li > span,
|
|
ul.projects-dropdown li > a {
|
|
position: relative;
|
|
display: block;
|
|
padding: 10px 50px 10px 15px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* Dropdown arrow */
|
|
ul.projects-dropdown > li > span:after {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 25px;
|
|
content: "\f140";
|
|
width: 20px;
|
|
height: 30px;
|
|
font: 20px/1 "dashicons";
|
|
border-left: 1px solid #72777c;
|
|
padding: 5px 0 5px 12px;
|
|
box-shadow: inset 1px 0 0 #fff;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
ul.projects-dropdown.open > li > span:after {
|
|
content: "\f142";
|
|
}
|
|
|
|
/* Percentage */
|
|
ul.projects-dropdown li > a > span {
|
|
position: absolute;
|
|
right: 15px;
|
|
}
|
|
|
|
/* Sub Projects table */
|
|
.locale-sub-projects .sub-project-status {
|
|
font-size: 90%;
|
|
color: #a0a5aa;
|
|
padding-left: .5em;
|
|
}
|
|
|
|
.locale-sub-projects .sub-project-status.percent-90 {
|
|
color: #509040;
|
|
}
|
|
|
|
@media screen and (max-width: 675px) {
|
|
.locale-sub-projects th,
|
|
.locale-sub-projects td {
|
|
display: block;
|
|
}
|
|
|
|
.locale-sub-projects thead th {
|
|
display: none;
|
|
}
|
|
|
|
.locale-sub-projects thead th:nth-child(1) {
|
|
display: block;
|
|
width: 97%;
|
|
}
|
|
|
|
table.locale-sub-projects th:first-child,
|
|
table.locale-sub-projects td:first-child {
|
|
border-left: none;
|
|
border-right: none;
|
|
width: 100% !important;
|
|
}
|
|
|
|
table.locale-sub-projects td.stats {
|
|
padding-left: 15px;
|
|
border-right :none;
|
|
}
|
|
|
|
.locale-sub-projects td.stats.translated:before {
|
|
content: "Translated:";
|
|
}
|
|
|
|
.locale-sub-projects td.stats.fuzzy:before {
|
|
content: "Fuzzy:";
|
|
}
|
|
|
|
.locale-sub-projects td.stats.untranslated:before {
|
|
content: "Untranslated:";
|
|
}
|
|
|
|
.locale-sub-projects td.stats.waiting:before {
|
|
content: "Waiting:";
|
|
}
|
|
|
|
.locale-sub-projects td.stats.changesrequested:before {
|
|
content: "Changes requested:";
|
|
}
|
|
}
|
|
|
|
.projects .no-projects-found {
|
|
width: 100%;
|
|
float: none;
|
|
text-align: center;
|
|
margin: 30px 0;
|
|
font-size: 1.5em;
|
|
color: #999;
|
|
min-height: 5em;
|
|
}
|
|
|
|
.wporg-notice {
|
|
background: #fff;
|
|
border-left: 4px solid #fff;
|
|
margin: 5px 0 15px 0;
|
|
padding: 1px 12px;
|
|
}
|
|
|
|
.wporg-notice p {
|
|
margin: 0.5em 0;
|
|
padding: 2px;
|
|
}
|
|
|
|
.wporg-notice-error {
|
|
background: #fbeaea;
|
|
border-left-color:#dc3232;
|
|
}
|
|
|
|
.wporg-notice-warning {
|
|
background: #fff8e5;
|
|
border-left-color:#ffb900;
|
|
}
|
|
|
|
.wporg-notice-info {
|
|
background: #e5f5fa;
|
|
border-left-color:#00a0d2;
|
|
}
|
|
|
|
/* Responsive styles */
|
|
@media screen and (max-width: 1024px) {
|
|
#hello {
|
|
margin: 25px 10px 15px;
|
|
}
|
|
|
|
#hello a {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
p.intro {
|
|
width: 100%;
|
|
}
|
|
|
|
.locale-intro {
|
|
float: none;
|
|
}
|
|
|
|
.locale-box {
|
|
float: none;
|
|
width: 100%;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.filter-header .search-form {
|
|
float: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.filter-header .filter-search {
|
|
width: 100%;
|
|
}
|
|
|
|
.project-header {
|
|
display: block;
|
|
}
|
|
|
|
.project-header .project-box {
|
|
margin-top: 20px;
|
|
margin-left: 0;
|
|
width: 100%;
|
|
}
|
|
.stats-table table thead th {
|
|
display: none;
|
|
}
|
|
.stats-table table tbody th,
|
|
.stats-table table tbody tr,
|
|
.stats-table table tbody td {
|
|
display: block;
|
|
text-align: left;
|
|
}
|
|
.stats-table table tbody tr {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.stats-table table tbody td {
|
|
padding: 3px 10px;
|
|
position: relative;
|
|
padding-left: 50%;
|
|
}
|
|
.stats-table table tbody td:before {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 10px;
|
|
width: 45%;
|
|
}
|
|
|
|
.stats-table td:before {
|
|
content: attr(data-column-title);
|
|
}
|
|
}
|
|
|
|
.stats-table table.table {
|
|
width: 100%;
|
|
text-align: center;
|
|
border-collapse: collapse;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.stats-table table thead {
|
|
color: #32373C;
|
|
background: white;
|
|
}
|
|
.stats-table table td, table th {
|
|
text-align: unset; /* Override wporg-main. */
|
|
}
|
|
.stats-table table thead th {
|
|
cursor: pointer;
|
|
margin: 0;
|
|
margin-right: 0px;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
padding: 10px 15px 10px 10px;
|
|
font-size: .8em;
|
|
line-height: 1.2;
|
|
border-right: 1px solid #72777C;
|
|
border-bottom: 1px solid #72777C;
|
|
}
|
|
|
|
.stats-table table thead th:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
.stats-table table th {
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.stats-table table th.col-locale-code {
|
|
width: 110px;
|
|
}
|
|
|
|
.stats-table table th.col-wordpress-org {
|
|
width: 60px;
|
|
}
|
|
|
|
.stats-table table th.col-locale {
|
|
width: 180px;
|
|
}
|
|
|
|
.stats-table .none {
|
|
color: #ccc;
|
|
}
|
|
|
|
.stats-table tbody th {
|
|
text-align: left;
|
|
padding: 10px;
|
|
background: #f9f9f9;
|
|
box-shadow: inset 0 1px 0 rgba(0,0,0,.05);
|
|
}
|
|
|
|
.stats-table tbody tr:hover {
|
|
opacity: 0.8;
|
|
outline: 1px solid #191E23;
|
|
outline-offset: 0;
|
|
}
|
|
|
|
.stats-table tbody tr th a:link,
|
|
.stats-table tbody tr th a:hover,
|
|
.stats-table tbody tr th a:visited {
|
|
color: #191E23;
|
|
}
|
|
|
|
.stats-table tbody td {
|
|
padding: 10px 0;
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
|
|
}
|
|
|
|
.stats-table tbody td.percent100 {background: #46B450; color: white;}
|
|
.stats-table tbody td.percent90 {background: #6BC373;}
|
|
.stats-table tbody td.percent80 {background: #90D296;}
|
|
.stats-table tbody td.percent70 {background: #B5E1B9;}
|
|
.stats-table tbody td.percent60 {background: #C7E8CA;}
|
|
.stats-table tbody td.percent50 {background: #FFE399;}
|
|
.stats-table tbody td.percent40 {background: #FBC5A9;}
|
|
.stats-table tbody td.percent30 {background: #F1ADAD;}
|
|
.stats-table tbody td.percent20 {background: #EA8484;}
|
|
.stats-table tbody td.percent10 {background: #E35B5B;}
|
|
.stats-table tbody td.percent0 {background: #DC3232; color: white;}
|
|
|
|
.stats-table tbody td a:link,
|
|
.stats-table tbody td a:hover,
|
|
.stats-table tbody td a:visited {
|
|
color: #191E23;
|
|
display: inline-block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.stats-table tbody td.percent100 a:link,
|
|
.stats-table tbody td.percent0 a:link,
|
|
.stats-table tbody td.percent100 a:hover,
|
|
.stats-table tbody td.percent0 a:hover,
|
|
.stats-table tbody td.percent100 a:visited,
|
|
.stats-table tbody td.percent0 a:visited {
|
|
color: white;
|
|
}
|
|
|
|
.stats-table tbody tr td {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.stats-table th.headerSortUp:after,
|
|
.stats-table th.headerSortDown:after {
|
|
font-family: "dashicons";
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.stats-table th.headerSortUp:after {
|
|
content: "\f140";
|
|
}
|
|
|
|
.stats-table th.headerSortDown:after {
|
|
content: "\f142";
|
|
}
|
|
|
|
.sort-bar {
|
|
float: right;
|
|
margin: -30px 0 1rem 5px;
|
|
background-color: #e2e4e7;
|
|
padding: 5px;
|
|
border: 1px solid #dfdfdf;
|
|
border-top: none;
|
|
}
|
|
|
|
.sort-bar label {
|
|
font-size: 12px;
|
|
line-height: 14px;
|
|
}
|
|
|
|
.sort-bar .filter-sep {
|
|
color: #ccc;
|
|
}
|
|
|
|
.project-sub-page h3 {
|
|
margin: 30px 0 10px;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.project-sub-page p {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
ul.contributors-list,
|
|
ul.language-packs-list {
|
|
margin: 30px 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.contributors-list li,
|
|
.language-packs-list li {
|
|
margin: 10px 0 10px 30px;
|
|
}
|
|
|
|
.contributors-list li strong,
|
|
.language-packs-list li strong {
|
|
display: block;
|
|
margin-left: -30px;
|
|
}
|
|
|
|
.language-packs-list li strong .locale-code {
|
|
font-size: 11px;
|
|
color: #555d66;
|
|
}
|
|
|
|
.ct-chart-contributors {
|
|
position: relative;
|
|
}
|
|
|
|
.ct-chart-contributors .ct-series-a .ct-area { /* current */
|
|
fill: #b5e1b9;
|
|
fill-opacity: .5;
|
|
}
|
|
|
|
.ct-chart-contributors .ct-series-b .ct-area { /* waiting */
|
|
fill: #ffe399;
|
|
fill-opacity: .5;
|
|
}
|
|
|
|
.ct-chart-contributors .ct-series-c .ct-area { /* rejected */
|
|
fill: #eb9090;
|
|
fill-opacity: .5;
|
|
}
|
|
|
|
ul.ct-legend {
|
|
position: absolute;
|
|
right: 0;
|
|
top: -15px;
|
|
padding: 0;
|
|
list-style: none;
|
|
z-index: 5;
|
|
margin: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ct-legend li {
|
|
position: relative;
|
|
display: inline-block;
|
|
padding-left: 16px;
|
|
margin-right: 3px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ct-legend li:before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 0;
|
|
width: 12px;
|
|
height: 12px;
|
|
border: 3px solid transparent;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.ct-legend li.inactive:before {
|
|
background: transparent;
|
|
}
|
|
|
|
.ct-legend .ct-series-0:before { /* current */
|
|
background-color: #b5e1b9;
|
|
border-color: #b5e1b9;
|
|
}
|
|
|
|
.ct-legend .ct-series-1:before { /* waiting */
|
|
background-color: #ffe399;
|
|
border-color: #ffe399;
|
|
}
|
|
|
|
.ct-legend .ct-series-2:before { /* rejected */
|
|
background-color: #eb9090;
|
|
border-color: #eb9090;
|
|
}
|
|
|
|
@media screen and (min-width: 600px) {
|
|
.contributors-list {
|
|
-webkit-column-count: 2;
|
|
-webkit-column-gap: 3%;
|
|
-moz-column-count: 2;
|
|
-moz-column-gap: 3%;
|
|
column-count: 2;
|
|
column-gap: 3%;
|
|
}
|
|
}
|
|
|
|
.contributors-list-box {
|
|
display: inline-block;
|
|
width: 100%;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 10px;
|
|
border: 1px solid #ccc;
|
|
background: #fff;
|
|
page-break-inside: avoid;
|
|
break-inside: avoid;
|
|
}
|
|
|
|
.contributors-list-box h4 {
|
|
position: relative;
|
|
display: block;
|
|
padding: 5px 8px;
|
|
margin: 0 0 10px;
|
|
background: #f9f9f9;
|
|
border-bottom: 1px solid #ccc;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.contributors-list-box .contributors-count {
|
|
font-size: 11px;
|
|
color: #82878c;
|
|
padding-left: 3px;
|
|
}
|
|
|
|
.contributors-list-box .locale-code {
|
|
position: absolute;
|
|
top: 1px;
|
|
right: 5px;
|
|
font-size: 10px;
|
|
color: #b4b9be;
|
|
}
|
|
|
|
.contributors-list-box p {
|
|
margin-bottom: .5em;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.contributors-list-box p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.contributors-list-filter {
|
|
margin: 15px 0 10px;
|
|
text-align: right;
|
|
}
|
|
|
|
.contributors-list-filter .search {
|
|
margin: 0 0 0 10px;
|
|
padding: 2px 4px;
|
|
width: 280px;
|
|
font-size: 13px;
|
|
font-weight: 300;
|
|
border: 1px solid #ddd;
|
|
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
|
|
background-color: #fff;
|
|
color: #333;
|
|
outline: none;
|
|
border-radius: 0;
|
|
-webkit-appearance: textfield;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.contributors-list-filter {
|
|
text-align: center;
|
|
}
|
|
|
|
.contributors-list-filter .search {
|
|
display: block;
|
|
width: 100%;
|
|
margin: 10px 0;
|
|
}
|
|
}
|
|
|
|
/* Buttons that look like links, for a cross of good semantics with the visual */
|
|
.button-link {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-shadow: none;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: none;
|
|
outline: none;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
color: #0073aa;
|
|
}
|
|
|
|
.button-link:hover {
|
|
color: #00a0d2;
|
|
}
|
|
|
|
.contributors-list-filter .filter.active {
|
|
border-bottom: 1px solid #dfdfdf;
|
|
}
|
|
|
|
.contributors-list[data-current-filter="has-editors"] .no-editors,
|
|
.contributors-list[data-current-filter="no-editors"] .has-editors {
|
|
display: none !important;
|
|
}
|
|
|
|
@media screen and (min-width: 600px) {
|
|
.locale-project-contributors-group {
|
|
float: left;
|
|
}
|
|
|
|
.locale-project-contributors-contributors {
|
|
width: 65%;
|
|
margin-right: 5%;
|
|
}
|
|
|
|
.locale-project-contributors-editors {
|
|
width: 30%;
|
|
}
|
|
}
|
|
|
|
.locale-project-contributors-group hr {
|
|
margin: 30px 0;
|
|
border-color: #72777c;
|
|
}
|
|
|
|
.locale-project-contributors-group ul {
|
|
padding: 0;
|
|
margin: 10px 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.locale-project-contributors-group li {
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.locale-project-contributors-group.locale-project-contributors-editors .avatar {
|
|
vertical-align: middle;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.locale-project-contributors-group ul.compressed li {
|
|
display: inline-block;
|
|
margin-right: 8px;
|
|
font-size: small;
|
|
}
|
|
|
|
.locale-project-contributors-group ul.compressed li:not(:last-child):after {
|
|
content: ', ';
|
|
}
|
|
|
|
.locale-project-contributors-group ul.compressed .avatar {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
.locale-project-contributors-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.locale-project-contributors-table .contributor-details {
|
|
width: 40%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.locale-project-contributors-table .contributor-avatar {
|
|
float: left;
|
|
width: 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.locale-project-contributors-table .contributor-name {
|
|
margin-left: 50px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.locale-project-contributors-table .translation-editor {
|
|
width: 40px;
|
|
color: #fff;
|
|
font-weight: 200;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
text-align: center;
|
|
background-color: #826eb4;
|
|
}
|
|
|
|
.locale-project-contributors-table tr {
|
|
vertical-align: top;
|
|
}
|
|
|
|
.locale-project-contributors-table th {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.locale-project-contributors-table th,
|
|
.locale-project-contributors-table td {
|
|
padding: 10px;
|
|
font-size: 14px;
|
|
border-bottom: 1px solid #72777c;
|
|
}
|
|
|
|
.locale-project-contributors-table tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.locale-project-contributors-table th.contributor-stats {
|
|
text-align: center;
|
|
}
|
|
|
|
.locale-project-contributors-table td.contributor-stats div {
|
|
text-align: center;
|
|
width: 25%;
|
|
float: left;
|
|
}
|
|
|
|
.locale-project-contributors-table td.contributor-stats div span {
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.locale-project-contributors-table td.contributor-stats div.current span {
|
|
color: #6bc373;
|
|
}
|
|
|
|
.locale-project-contributors-table td.contributor-stats div.waiting span {
|
|
color: #ffc733;
|
|
}
|
|
|
|
.locale-project-contributors-table td.contributor-stats div.fuzzy span {
|
|
color: #f78b53;
|
|
}
|
|
|
|
.locale-project-contributors-table td.contributor-stats .detailed {
|
|
width: 100%;
|
|
clear: left;
|
|
float: none;
|
|
}
|
|
|
|
.detailed summary {
|
|
text-align: right;
|
|
font-size: 12px;
|
|
outline: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.detailed__project-name {
|
|
display: block;
|
|
clear: left;
|
|
text-align: left;
|
|
font-size: 12px;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.locale-project-contributors-contributors .stats-hint {
|
|
text-align: right;
|
|
font-size: 12px;
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
.locale-project-contributors-table thead {
|
|
display: none;
|
|
}
|
|
|
|
.locale-project-contributors-table tbody td {
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.locale-project-contributors-table .contributor-details,
|
|
.locale-project-contributors-table .contributor-stats {
|
|
width: 100%;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.locale-project-contributors-table .contributor-details span {
|
|
float: none;
|
|
}
|
|
|
|
.locale-project-contributors-table .contributor-stats:before,
|
|
.locale-project-contributors-table .contributor-stats:after {
|
|
content: "";
|
|
display: table;
|
|
}
|
|
|
|
.locale-project-contributors-table .contributor-stats:after {
|
|
clear: both;
|
|
}
|
|
}
|
|
|
|
.consistency-form {
|
|
margin: 30px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.consistency-form p {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.gp-content .consistency-form-search,
|
|
.consistency-form-locale,
|
|
.consistency-form-project {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.consistency-form-search {
|
|
width: 300px;
|
|
}
|
|
|
|
.consistency-form-locale {
|
|
width: 150px;
|
|
}
|
|
|
|
.consistency-form-project {
|
|
width: 120px;
|
|
}
|
|
|
|
.consistency-field {
|
|
display: inline-block;
|
|
}
|
|
|
|
.consistency-field label {
|
|
display: block;
|
|
margin: 0 3px;
|
|
font-size: 13px;
|
|
text-align: left;
|
|
}
|
|
|
|
.consistency-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
table-layout: fixed;
|
|
margin: 30px 0;
|
|
border: 0;
|
|
}
|
|
|
|
.consistency-table thead th {
|
|
width: 50%;
|
|
text-align: center;
|
|
}
|
|
|
|
.consistency-table td {
|
|
vertical-align: top;
|
|
}
|
|
|
|
.consistency-table tr.new-translation th {
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: 0;
|
|
padding: 10px 7.5px;
|
|
background-color: var(--gp-color-canvas-subtle);
|
|
border-top-width: 3px;
|
|
}
|
|
|
|
.consistency-table tbody > tr.new-translation:first-child th {
|
|
border-top-width: 0;
|
|
}
|
|
|
|
/* This is when the admin bar start to stick. */
|
|
@media screen and (min-width: 601px) {
|
|
.consistency-table tr.new-translation th {
|
|
top: var(--wp-admin--admin-bar--height);
|
|
}
|
|
}
|
|
|
|
/* This is when the global header start to stick. */
|
|
@media screen and (min-width: 890px) {
|
|
.consistency-table tr.new-translation th {
|
|
top: calc(var(--wp-global-header-height) + var(--wp-admin--admin-bar--height));
|
|
}
|
|
}
|
|
|
|
.anchor-jumper {
|
|
padding: 0 5px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.consistency-table tr.new-translation th .anchor-jumper {
|
|
float: right;
|
|
}
|
|
|
|
.consistency-table .string.rtl {
|
|
direction: rtl;
|
|
}
|
|
|
|
.consistency-table .meta {
|
|
margin-top: 10px;
|
|
color: #818181;
|
|
}
|
|
|
|
.consistency-table .project-wordpress {
|
|
background: #E5F5FA !important;
|
|
}
|
|
|
|
.translations-unique {
|
|
margin: 5px;
|
|
}
|
|
|
|
.translations-unique .space {
|
|
background: #cbcdce;
|
|
white-space: pre;
|
|
opacity: .5;
|
|
}
|
|
|
|
.paging a {
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
/* Word wraps and fixed table layout for translations */
|
|
.editor .original,
|
|
.editor .translation,
|
|
span.context,
|
|
table.translations td.original,
|
|
table.translations td.translation {
|
|
word-break: normal;
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
table.translations th.gp-column-priority,
|
|
table.translations td.priority {
|
|
display: none;
|
|
}
|
|
|
|
table.translations tr.preview:not(.has-warnings) > td.priority + td.original {
|
|
border-left: none;
|
|
}
|
|
|
|
table.translations {
|
|
table-layout: fixed;
|
|
}
|
|
|
|
table.translations th.gp-column-original,
|
|
table.translations th.gp-column-translation {
|
|
width: 50%;
|
|
}
|
|
|
|
table.translations th.gp-column-actions {
|
|
width: 5em;
|
|
text-align: center;
|
|
}
|
|
|
|
table.translations td.translation span.missing {
|
|
color: #666;
|
|
}
|
|
|
|
/* NEW EDITOR */
|
|
|
|
.editor-panel .strings {
|
|
float: none;
|
|
width: 100%;
|
|
min-width: 100%;
|
|
}
|
|
|
|
.editor-panel .textareas textarea {
|
|
width: 100%;
|
|
border: 0;
|
|
background: #fff !important;
|
|
color: #1e1e1e !important;
|
|
outline: none;
|
|
padding: 15px 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
font-size: 16px;
|
|
resize: vertical;
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.editor-panel .textareas p,
|
|
.editor-panel .textareas blockquote.translation {
|
|
display: none;
|
|
}
|
|
|
|
.editor-panel .original {
|
|
max-width: 100%;
|
|
font-weight: normal;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
}
|
|
|
|
.editor-panel .original-raw {
|
|
display: none;
|
|
}
|
|
|
|
.editor-panel .meta dt {
|
|
margin-right: .25em;
|
|
}
|
|
|
|
.editor-panel .meta dd {
|
|
font-weight: 400;
|
|
}
|
|
|
|
.editor-panel .meta {
|
|
float: none;
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0 10px 20px 10px;
|
|
}
|
|
|
|
.editor-panel .meta .status-actions {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.editor-panel .meta .status-actions button strong {
|
|
margin-right: .4em;
|
|
}
|
|
|
|
/*button.approve strong {
|
|
color: #46b450;
|
|
}*/
|
|
|
|
button.button.is-primary.approve,
|
|
button.button.reject,
|
|
button.button.changesrequested,
|
|
button.button.fuzzy
|
|
{
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
table.translations tr.editor td {
|
|
padding: 0;
|
|
border-bottom-width: 2px;
|
|
border-top: 1px solid #72777c;
|
|
}
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
.editor-panel {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
|
|
.editor-panel__left {
|
|
flex: 1;
|
|
border-bottom: 1px solid #72777c;
|
|
min-width: 1%;
|
|
}
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
.editor-panel__left {
|
|
border-bottom: 0;
|
|
border-right: 1px solid #72777c;
|
|
}
|
|
}
|
|
|
|
.editor-panel__right {
|
|
flex: 0 0 21rem;
|
|
min-width: 1%;
|
|
}
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
.editor-panel__right {
|
|
min-width: 40%;
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
}
|
|
|
|
.panel-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
border-bottom: 1px solid #72777c;
|
|
background-color: #f3f4f5;
|
|
min-height: 40px;
|
|
}
|
|
|
|
@media screen and (max-width: 1023px) {
|
|
.editor-panel__left {
|
|
width: 100%;
|
|
}
|
|
.editor-panel__right {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
.panel-header {
|
|
height: 40px;
|
|
}
|
|
}
|
|
|
|
.editor-panel__left .panel-header, .editor-panel__right {
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.admin-bar .editor-panel__left .panel-header,
|
|
.admin-bar .editor-panel__right {
|
|
top: 32px;
|
|
}
|
|
|
|
@media screen and (min-width: 890px) {
|
|
.admin-bar .editor-panel__left .panel-header,
|
|
.admin-bar .editor-panel__right {
|
|
top: calc( var(--wp-admin--admin-bar--height) );
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 782px) {
|
|
.admin-bar .editor-panel__left .panel-header,
|
|
.admin-bar .editor-panel__right {
|
|
top: 46px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.admin-bar .editor-panel__left .panel-header {
|
|
top: 0;
|
|
}
|
|
}
|
|
|
|
.panel-header h3 {
|
|
flex: 1;
|
|
margin: 0 0 0 10px;
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
font-weight: 400;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
color: #1e1e1e;
|
|
}
|
|
|
|
.panel-header__bubble {
|
|
display: inline-block;
|
|
padding: 2px 4px;
|
|
margin: 2px 0;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: none;
|
|
border: 1px solid #666;
|
|
}
|
|
|
|
.panel-header__bubble--warning {
|
|
color: var(--gp-color-danger-fg);
|
|
border-color: var(--gp-color-danger-fg);
|
|
}
|
|
|
|
.panel-header__bubble--waiting {
|
|
color: #FFB900;
|
|
border-color: #FFB900;
|
|
}
|
|
|
|
.panel-header__bubble--fuzzy {
|
|
color: #F56E28;
|
|
border-color: #F56E28;
|
|
}
|
|
|
|
.panel-header__bubble--current {
|
|
color: #46B450;
|
|
border-color: #46B450;
|
|
}
|
|
|
|
.panel-header__bubble--old {
|
|
color: #826EB4;
|
|
border-color: #826EB4;
|
|
}
|
|
|
|
.panel-header-actions {
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.panel-header-actions button {
|
|
background: none;
|
|
border: none;
|
|
height: 40px;
|
|
width: 40px;
|
|
padding: 0;
|
|
margin: 0;
|
|
vertical-align: middle;
|
|
box-shadow: none;
|
|
border-radius: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.panel-header-actions button:hover {
|
|
background: #bdbdbd;
|
|
}
|
|
|
|
table.translations tbody > tr:first-child + tr .panel-header-actions__previous,
|
|
table.translations tbody > tr:last-child .panel-header-actions__next {
|
|
display: none;
|
|
}
|
|
|
|
.button-menu {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.button-menu__dropdown {
|
|
display: none;
|
|
list-style: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
z-index: 1000;
|
|
min-width: 150px;
|
|
background-color: #fff;
|
|
white-space: nowrap;
|
|
border: 1px solid #ccc;
|
|
padding: 6px 12px !important;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,.1);
|
|
}
|
|
|
|
.button-menu.active .button-menu__dropdown {
|
|
display: block;
|
|
}
|
|
|
|
.button-menu__dropdown li a {
|
|
padding: 6px 0;
|
|
display: inline-block;
|
|
}
|
|
|
|
.panel-content summary {
|
|
cursor: pointer;
|
|
outline: 0;
|
|
}
|
|
|
|
.panel-content summary:focus {
|
|
color: #1e1e1e;
|
|
}
|
|
|
|
.panel-content details[open] summary {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.source-string {
|
|
padding: 20px 10px;
|
|
}
|
|
|
|
.source-string__singular small,
|
|
.source-string__plural small {
|
|
display: block;
|
|
color: #666;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.source-string__plural {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.source-details {
|
|
padding: 0 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.source-details summary {
|
|
color: #666;
|
|
}
|
|
|
|
.source-details details[open] summary {
|
|
margin: 0;
|
|
}
|
|
|
|
.source-details details + details {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.source-details__references {
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.source-details__context .context {
|
|
font-size: 100%;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.translation-wrapper {
|
|
padding: 0 10px;
|
|
margin: 15px -1px;
|
|
border: 1px solid;
|
|
border-color: #72777c;
|
|
background: #fff;
|
|
}
|
|
|
|
.translation-wrapper:focus-within {
|
|
box-shadow: 0 0 2px 1px #33b3db;
|
|
border-color: #5b9dd9;
|
|
}
|
|
|
|
.translation-wrapper .warning {
|
|
margin: 15px 0 0;
|
|
}
|
|
|
|
.translation-wrapper .textareas {
|
|
display: none;
|
|
}
|
|
|
|
.translation-wrapper .textareas.active {
|
|
display: block;
|
|
}
|
|
|
|
.translation-form-wrapper {
|
|
border-bottom: 1px solid #72777c;
|
|
margin-left: -10px;
|
|
margin-right: -10px;
|
|
padding: 0 10px;
|
|
line-height: 40px;
|
|
display: flex;
|
|
}
|
|
|
|
.translation-form-wrapper span {
|
|
font-weight: 400;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
color: #666;
|
|
font-size: 13px;
|
|
}
|
|
|
|
ul.translation-form-list {
|
|
padding: 0;
|
|
list-style: none;
|
|
flex: 1;
|
|
margin: 0 0 0 10px;
|
|
}
|
|
|
|
ul.translation-form-list li {
|
|
display: inline-block;
|
|
margin-right: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
ul.translation-form-list button {
|
|
background: none;
|
|
border: 0;
|
|
box-shadow: none;
|
|
vertical-align: top;
|
|
height: auto;
|
|
font-size: 13px;
|
|
color: #333;
|
|
line-height: 40px;
|
|
margin: 0;
|
|
padding: 0 5px;
|
|
border-radius: 0;
|
|
}
|
|
|
|
ul.translation-form-list button:focus,
|
|
ul.translation-form-list button:hover {
|
|
box-shadow: inset 0 -2px 0 0 #0085ba;
|
|
background: none;
|
|
border: 0;
|
|
}
|
|
|
|
ul.translation-form-list button.translation-form-list__tab--active {
|
|
font-weight: 600;
|
|
box-shadow: inset 0 -2px 0 0 #0085ba;
|
|
}
|
|
|
|
.translation-actions {
|
|
display: flex;
|
|
padding: 7px 0;
|
|
flex-direction: row-reverse;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.translation-actions .info {
|
|
font-style: italic;
|
|
}
|
|
|
|
.translation-actions__secondary {
|
|
flex: 1;
|
|
}
|
|
|
|
button.translation-actions__save {
|
|
padding: 10px 18px !important;
|
|
font-size: 16px !important;
|
|
min-height: 45px !important
|
|
}
|
|
|
|
/*.translation-actions__secondary button {
|
|
height: 35px;
|
|
}
|
|
|
|
button.translation-actions__save {
|
|
font-size: 15px;
|
|
height: 35px;
|
|
line-height: 1;
|
|
background: #0085ba;
|
|
border-color: #0073aa #006799 #006799;
|
|
box-shadow: 0 1px 0 #006799;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
|
|
}
|
|
|
|
button.translation-actions__save:hover {
|
|
background: #008ec2;
|
|
border-color: #006799;
|
|
color: #fff;
|
|
}
|
|
|
|
button.translation-actions__save:focus {
|
|
background: #008ec2;
|
|
border-color: #006799;
|
|
box-shadow: 0 1px 0 #0073aa, 0 0 2px 1px #33b3db;
|
|
color: #fff;
|
|
}*/
|
|
|
|
.suggestions-wrapper {
|
|
padding: 0 10px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.suggestions-wrapper details {
|
|
margin-bottom: 15px;
|
|
color: #666;
|
|
}
|
|
|
|
.suggestions-wrapper details:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.with-tooltip {
|
|
position: relative;
|
|
}
|
|
|
|
@keyframes show {
|
|
0% {
|
|
opacity: 0
|
|
}
|
|
|
|
100% {
|
|
opacity: 1
|
|
}
|
|
}
|
|
|
|
.with-tooltip:active:after,
|
|
.with-tooltip:active:before,
|
|
.with-tooltip:focus:after,
|
|
.with-tooltip:focus:before,
|
|
.with-tooltip:hover:after,
|
|
.with-tooltip:hover:before {
|
|
animation-delay: .3s;
|
|
animation-duration: .1s;
|
|
animation-fill-mode: forwards;
|
|
animation-name: show;
|
|
animation-timing-function: ease-in;
|
|
display: inline-block;
|
|
}
|
|
|
|
.with-tooltip:after {
|
|
transform: translateX(50%);
|
|
bottom: 100%;
|
|
margin-bottom: 6px;
|
|
right: 50%;
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
background: #23282d;
|
|
border-radius: 3px;
|
|
color: #fff;
|
|
content: attr(aria-label);
|
|
display: none;
|
|
font: normal normal 11px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
letter-spacing: normal;
|
|
opacity: 0;
|
|
padding: .5em .75em;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
text-shadow: none;
|
|
text-transform: none;
|
|
white-space: pre;
|
|
word-wrap: break-word;
|
|
z-index: 100;
|
|
}
|
|
|
|
.with-tooltip:before {
|
|
border: 6px solid transparent;
|
|
border-top-color: #23282d;
|
|
bottom: auto;
|
|
margin-right: -6px;
|
|
right: 50%;
|
|
top: -7px;
|
|
color: #23282d;
|
|
content: "";
|
|
display: none;
|
|
height: 0;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
width: 0;
|
|
z-index: 101;
|
|
}
|
|
|
|
@keyframes loading-indicator {
|
|
0%, 80%, 100% {
|
|
opacity: 0;
|
|
}
|
|
40% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.suggestions__loading-indicator__icon {
|
|
font-size: 4px;
|
|
margin-left: .5rem;
|
|
line-height: 1;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.suggestions__loading-indicator__icon span {
|
|
animation-duration: 1s;
|
|
animation-delay: 0ms;
|
|
animation-iteration-count: infinite;
|
|
animation-name: loading-indicator;
|
|
animation-timing-function: ease-in-out;
|
|
background-color: #666;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
width: 1em;
|
|
vertical-align: top;
|
|
height: 1em;
|
|
}
|
|
|
|
.suggestions__loading-indicator__icon span:nth-child(2) {
|
|
animation-delay: 160ms;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.suggestions__loading-indicator__icon span:nth-child(3) {
|
|
animation-delay: 320ms;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
html.modal-open {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.wporg-translate-modal {
|
|
display: none;
|
|
}
|
|
|
|
.wporg-translate-modal--open {
|
|
display: block;
|
|
}
|
|
|
|
.wporg-translate-modal__overlay {
|
|
animation: edit-post__fade-in-animation .2s ease-out 0s;
|
|
animation-fill-mode: forwards;
|
|
background-color: hsla(0,0%,100%,.4);
|
|
bottom: 0;
|
|
left: 0;
|
|
position: fixed;
|
|
right: 0;
|
|
top: 0;
|
|
z-index: 100000;
|
|
}
|
|
|
|
.wporg-translate-modal__frame {
|
|
background: #fff;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,.1);
|
|
margin: 0;
|
|
overflow: auto;
|
|
position: absolute;
|
|
right: 0;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: 1000;
|
|
font-family: "Open Sans", sans-serif;
|
|
padding: 15px;
|
|
}
|
|
|
|
@media screen and (min-width: 600px) {
|
|
.wporg-translate-modal__frame {
|
|
bottom: auto;
|
|
left: 10%;
|
|
right: 10%;
|
|
top: 50%;
|
|
max-height: calc(100% - 100px);
|
|
max-width: 960px;
|
|
min-width: 360px;
|
|
transform: translate(0,-50%);
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
.wporg-translate-modal__header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 15px;
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: -15px;
|
|
background: #fff;
|
|
box-shadow: 0 10px 10px #fff;
|
|
}
|
|
|
|
.wporg-translate-modal__headline {
|
|
line-height: 1;
|
|
font-weight: 300;
|
|
font-size: 22px;
|
|
margin: 0;
|
|
}
|
|
|
|
.wporg-translate-modal__close {
|
|
background: none;
|
|
height: 40px;
|
|
width: 40px;
|
|
font-size: 20px;
|
|
padding: 0;
|
|
line-height: 20px;
|
|
color: #555;
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.wporg-translate-modal__close:focus,
|
|
.wporg-translate-modal__close:hover {
|
|
background: #fafafa;
|
|
border-color: #999;
|
|
color: #23282d;
|
|
}
|
|
|
|
.wporg-translate-modal__close:focus {
|
|
border-color: #5b9dd9;
|
|
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
|
|
outline: 0;
|
|
}
|
|
|
|
.wporg-translate-modal__content h2 {
|
|
line-height: 1;
|
|
font-weight: 300;
|
|
font-size: 18px;
|
|
margin: 30px 0 10px;
|
|
font-family: "Open Sans", sans-serif;
|
|
}
|
|
|
|
.wporg-translate-modal__content h2:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.wporg-translate-modal__content ul {
|
|
margin-left: 25px;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.wporg-translate-modal__content li > ul,
|
|
.wporg-translate-modal__content li + li {
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.wporg-translate-modal__content a {
|
|
color: #0073aa;
|
|
}
|
|
|
|
.wporg-translate-modal__content a:hover,
|
|
.wporg-translate-modal__content a:focus {
|
|
color: #00a0d2;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.wporg-translate-modal__content .no-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.wporg-translate-modal__content_primary {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
@media screen and (min-width: 600px) {
|
|
.wporg-translate-modal__content {
|
|
display: flex;
|
|
}
|
|
|
|
.wporg-translate-modal__content_primary {
|
|
flex: 50%;
|
|
margin-right: 15px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.wporg-translate-modal__content_secondary {
|
|
flex: 50%;
|
|
margin-left: 15px;
|
|
}
|
|
}
|
|
|
|
.textarea-direction-ltr button.translation-actions__rtl,
|
|
.translation-sets-rtl button.translation-actions__ltr {
|
|
display: inline-flex !important;
|
|
}
|
|
|
|
.textarea-direction-ltr button.translation-actions__ltr,
|
|
button.translation-actions__ltr,
|
|
button.translation-actions__rtl {
|
|
display: none !important;
|
|
}
|
|
|
|
table.translations.translation-sets-rtl .textarea-direction-ltr .foreign-text {
|
|
direction: ltr;
|
|
}
|
|
|
|
.tablesorter-wporg-translate .header,
|
|
.tablesorter-wporg-translate .tablesorter-header {
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 9'%3E%3Cg fill='%2332373C' fill-rule='evenodd'%3E%3Cpath d='M5.5 9L9 5H2zM5.5 0L9 4H2z'/%3E%3C/g%3E%3C/svg%3E");
|
|
background-position: right center;
|
|
background-repeat: no-repeat;
|
|
background-size: 15px 9px;
|
|
cursor: pointer;
|
|
white-space: normal;
|
|
}
|
|
|
|
.tablesorter-wporg-translate thead .headerSortUp,
|
|
.tablesorter-wporg-translate thead .tablesorter-headerSortUp,
|
|
.tablesorter-wporg-translate thead .tablesorter-headerAsc {
|
|
background-color: #f9f9f9;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 4'%3E%3Cpath fill='%2332373C' fill-rule='evenodd' d='M5.5 0L9 4H2z'/%3E%3C/svg%3E");
|
|
background-size: 15px 4px;
|
|
}
|
|
|
|
.tablesorter-wporg-translate thead .headerSortDown,
|
|
.tablesorter-wporg-translate thead .tablesorter-headerSortDown,
|
|
.tablesorter-wporg-translate thead .tablesorter-headerDesc {
|
|
background-color: #f9f9f9;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 4'%3E%3Cpath fill='%2332373C' fill-rule='evenodd' d='M5.5 4L9 0H2z'/%3E%3C/svg%3E");
|
|
background-size: 15px 4px;
|
|
}
|
|
|
|
/* translate.w.org CSS. Class: .wporg-make */
|
|
ul.sidebar-tabs {
|
|
display: inherit;
|
|
}
|
|
|
|
.editor .nav-sidebar {
|
|
width: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
.sidebar-tabs > li {
|
|
padding: 8px 15px 7px 15px;
|
|
}
|
|
|
|
.editor .nav-sidebar .meta {
|
|
border: 0;
|
|
border-top: 1px solid #72777C;
|
|
}
|
|
|
|
.sidebar-tabs li.current {
|
|
border: 1px solid #72777C;
|
|
border-bottom: 1px solid #fff;
|
|
margin-top: -1px;
|
|
}
|
|
|
|
.meta,
|
|
.meta.discussion,
|
|
.meta.others {
|
|
padding: 12px;
|
|
}
|
|
|
|
.meta.discussion .comment-respond:not(.hide-textarea) {
|
|
padding: 0;
|
|
}
|
|
|
|
.meta.discussion .optin-message-for-each-discussion :not(.hide-textarea) {
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.meta.others .summary-translation-memory {
|
|
font-weight: bold;
|
|
padding: 1rem 0 0.5rem 0;
|
|
}
|
|
|
|
.meta.others td:nth-child(1),
|
|
.meta.others td:nth-child(3),
|
|
.meta.others td:nth-child(4) {
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.meta.others th,
|
|
.meta.others td {
|
|
padding: 4px !important;
|
|
border: 1px solid #72777C !important;
|
|
}
|
|
|
|
.meta.others th:nth-child(1) {
|
|
width: 20%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.meta.others th:nth-child(2) {
|
|
width: 50%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.meta.others th:nth-child(3),
|
|
.meta.others th:nth-child(4) {
|
|
width: 15%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.meta.others ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.meta.others ul.suggestions-list,
|
|
.meta.others summary {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.meta.others div.translation-suggestion {
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.meta.others .locale.unique, .meta.others .other-locales .locale {
|
|
width: 6rem;
|
|
background: #0073aa;
|
|
margin-right: 10px !important;
|
|
}
|
|
|
|
.meta.other-locales ul {
|
|
margin: 1rem 0.5rem;
|
|
}
|
|
|
|
.meta.other-locales .sidebar-other-locales.button.is-small.copy-suggestion {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.meta.other-locales span.locale.unique {
|
|
margin-right: 14px;
|
|
}
|
|
|
|
.meta.other-locales .other-locales .locale {
|
|
min-width: 4em;
|
|
width: 4em;
|
|
}
|
|
|
|
.meta.history {
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
.meta.history .translations {
|
|
border-top: #32373C 1px double;
|
|
}
|
|
|
|
.meta.translation-memory {
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.meta.translation-memory ul.suggestions-list:first-of-type {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.meta.translation-memory ul.suggestions-list {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.meta.translation-memory ul.suggestions-list li {
|
|
list-style: none;
|
|
margin-left: -1.2rem;
|
|
}
|
|
|
|
.meta.translation-memory div.translation-suggestion.with-tooltip.translation {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.sidebar-div-others-translation-memory-content > summary {
|
|
list-style-type: none;
|
|
}
|
|
|
|
/* GlotPress Tour Overrides */
|
|
a.tour-button {
|
|
text-shadow: none;
|
|
padding-top: 0;
|
|
text-decoration: none;
|
|
}
|
|
.pulse-wrapper {
|
|
margin: 0;
|
|
}
|
|
|
|
@media screen and (max-width: 530px), (min-width: 1024px) and (max-width: 1450px) {
|
|
.editor-panel__right .tab-meta,
|
|
.editor-panel__right .tab-discussion,
|
|
.editor-panel__right .tab-history,
|
|
.editor-panel__right .tab-other-locales,
|
|
.editor-panel__right .tab-translation-memory {
|
|
white-space: nowrap;
|
|
width: 73px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
vertical-align: top;
|
|
}
|
|
}
|
|
|
|
ul.other-locales li {
|
|
display: flex;
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
|
|
.sidebar-div-others-other-locales-content > ul.other-locales > li > span {
|
|
min-width: 6rem;
|
|
}
|
|
|
|
.sidebar-div-others-other-locales-content > ul.other-locales > li > a {
|
|
display: flex;
|
|
flex: auto;
|
|
}
|
|
|
|
.sidebar-div-others-other-locales-content > ul.other-locales > li > ul {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: auto;
|
|
}
|
|
|
|
.sidebar-div-others-history-content #translation-history-table > tbody > tr > td {
|
|
overflow: hidden;
|
|
}
|
|
|
|
#translations.table-virtual-pattern {
|
|
float: left;
|
|
width: 60%;
|
|
}
|
|
|
|
.preview-virtual-pattern {
|
|
max-width: 39%;
|
|
float: right;
|
|
padding: 1rem 1rem 0 1rem;
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
border: 1px solid rgb(114, 119, 124);
|
|
}
|
|
|
|
.preview-virtual-pattern h2 {
|
|
text-align: center;
|
|
margin: 0.5rem 0;
|
|
}
|
|
.preview-virtual-pattern p.link-to-pattern {
|
|
text-align: center;
|
|
padding: 0 0 1rem 0;
|
|
margin: 0 -1rem;
|
|
border-bottom: 1px solid rgb(114, 119, 124);
|
|
}
|
|
|
|
@media screen and (max-width: 1280px) {
|
|
#translations.table-virtual-pattern {
|
|
float: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.preview-virtual-pattern {
|
|
max-width: 100%;
|
|
float: none;
|
|
}
|
|
} |