MediaWiki:Gadget-translation-editor.css
Uwaga: aby zobaczyć zmiany po opublikowaniu, może zajść potrzeba wyczyszczenia pamięci podręcznej przeglądarki.
- Firefox / Safari: Przytrzymaj Shift podczas klikania Odśwież bieżącą stronę, lub naciśnij klawisze Ctrl+F5, lub Ctrl+R (⌘-R na komputerze Mac)
- Google Chrome: Naciśnij Ctrl-Shift-R (⌘-Shift-R na komputerze Mac)
- Internet Explorer / Edge: Przytrzymaj Ctrl, jednocześnie klikając Odśwież, lub naciśnij klawisze Ctrl+F5
- Opera: Naciśnij klawisze Ctrl+F5.
#transl-editbox {
border: 1px solid black;
background-color: #F9F9F9;
margin-top: 5px;
font-weight: normal;
text-align: center;
clear: both;
padding: 0 0.4em;
}
#transl-editbox > div {
vertical-align: middle;
margin: 5px;
display: inline-block;
}
#transl-textinputs {
max-height: 200px;
overflow-y: auto;
overflow-x: hidden;
padding-right: 1em; /* Potrzebne na FF i Chrome, Edge sam dobiera szerokość */
border-spacing: 5px;
white-space: nowrap;
}
#transl-textinputs > div {
display: table-row;
}
#transl-textinputs > div > * {
display: table-cell;
margin: 0 2.5px;
}
.transl-def-label {
cursor: help;
text-align: right;
}
#transl-selector-buttons {
margin-top: 5px;
}
#transl-selector-buttons > input:first-of-type {
margin-right: 5px;
}
#transl-edit-buttons {
text-align: left !important;
}
#transl-edit-buttons input[type="button"] {
margin-bottom: 5px;
}
#transl-preview {
width: 100%;
overflow-y: auto;
max-height: 450px;
}
#transl-preview > div {
width: 0;
float: left;
}
#transl-preview > div small {
cursor: pointer;
}
#transl-preview > ul {
text-align: left;
margin-right: 1em;
margin-left: 2em;
}
#transl-preview > ul small {
margin: 0 0.1em;
cursor: pointer;
}
#transl-preview > ul small.disabled {
cursor: auto;
opacity: 0.5;
}
.transl-preview-entry {
margin-right: 0.5em;
}
.transl-entry-deleted > span {
text-decoration: line-through;
}
.transl-entry-issues > span:first-child::before {
content: "!";
color: red;
font-weight: bold;
display: inline-block;
width: 0;
position: relative;
left: -1.7em;
}
.transl-entry-added > span:first-child::before {
content: "+";
font-weight: bold;
display: inline-block;
width: 0;
position: relative;
left: -1.9em;
}
.transl-entry-modified > span:first-child::before {
content: "m";
display: inline-block;
width: 0;
position: relative;
left: -2em;
}
.transl-entry-deleted > span:first-child::before {
content: "✕";
font-weight: bold;
display: inline-block;
width: 0;
position: relative;
left: -2em;
}
#transl-preview li .transl-draft-actions {
text-decoration: initial;
}
.transl-active {
background-color: #F0F0F0;
}
.transl-parsing {
font-style: italic;
}
#transl-keyboard {
position: fixed;
left: 0;
bottom: 0;
background-color: #fafafa;
height: 250px;
width: 350px;
border-color: black;
border-style: solid solid none none;
border-width: 1px 1px medium medium;
z-index: 100;
padding: 5px;
}
#transl-keyboard > div {
margin-top: 5px;
overflow-y: auto;
height: 225px;
}
#transl-special-chars span {
border: 1px solid #ddd;
cursor: pointer;
display: block;
float: left;
color: black;
font-family: monospace, "Courier New";
font-size: 1.25em;
height: 1em;
margin-left: 5px;
margin-top: 5px;
padding: 5px 8px;
text-decoration: none;
}
#transl-special-chars span:hover {
background-color: white;
border-color: #a8d7f9;
text-decoration: none;
}
.transl-compare-wrapper {
max-height: 500px;
}
#transl-editbox > #transl-edit-summary {
display: block;
text-align: left;
}
/* nadpisanie stylów gadżetu term-preview */
#transl-preview .term-lookup {
cursor: initial;
}
#transl-preview .term-lookup:hover {
background-color: initial;
}