rob-revisited/ide/ui/css/translations.css

45 lines
3.7 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* The Translations window (ide/ui/js/translations.js): keys × languages */
.tr-view { height: 100%; display: flex; flex-direction: column; min-height: 0; font-size: 12.5px; }
.tr-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.tr-bar select { max-width: 260px; }
.tr-bar .btn.small { display: inline-flex; align-items: center; gap: 4px; }
.tr-search { flex: 1; min-width: 140px; }
.tr-summary { padding: 4px 10px; color: var(--text-2); font-size: 11.5px; border-bottom: 1px solid var(--border); }
.tr-c-missing { color: var(--red, #e5534b); }
.tr-c-problem { color: var(--orange, #d18616); }
.tr-busy { color: var(--accent); }
.tr-errors { color: var(--red, #e5534b); margin-top: 3px; }
.tr-proposals { display: flex; align-items: center; gap: 8px; padding: 5px 10px; background: color-mix(in srgb, var(--green, #3fb950) 12%, transparent); border-bottom: 1px solid var(--border); }
.tr-proposals .btn:first-of-type { margin-left: auto; }
.tr-missing { padding: 4px 10px; border-bottom: 1px solid var(--border); max-height: 30%; overflow: auto; }
.tr-missing summary { cursor: pointer; color: var(--orange, #d18616); font-weight: 600; }
.tr-missing-row { display: flex; align-items: center; gap: 8px; padding: 2px 0; flex-wrap: wrap; }
.tr-missing-row code { font-family: var(--mono); }
.tr-grid { flex: 1; overflow: auto; min-height: 0; }
.tr-table { border-collapse: separate; border-spacing: 0; width: 100%; table-layout: fixed; }
.tr-table th { position: sticky; top: 0; z-index: 1; background: var(--panel-2); text-align: left; font-weight: 600; padding: 4px 6px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-table th .sx-badge { margin-left: 5px; }
.tr-table td { padding: 3px 6px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); vertical-align: top; overflow: hidden; }
.tr-table th.tr-key, .tr-table td.tr-key { width: 26%; position: sticky; left: 0; background: var(--panel); z-index: 1; }
.tr-table th.tr-key { z-index: 2; background: var(--panel-2); }
.tr-table .tr-act { width: 28px; text-align: center; padding: 2px; }
.tr-keytext { font-family: var(--mono); font-size: 11.5px; word-break: break-all; margin-right: 4px; }
.tr-cell { cursor: text; }
.tr-cell:hover { background: var(--hover); }
.tr-text { white-space: pre-wrap; word-break: break-word; display: block; max-height: 4.5em; overflow: hidden; }
.tr-cell.missing { background: color-mix(in srgb, var(--red, #e5534b) 14%, transparent); }
.tr-cell.identical { background: color-mix(in srgb, var(--yellow, #d9a400) 14%, transparent); }
.tr-cell.problem { box-shadow: inset 0 0 0 2px var(--orange, #d18616); }
.tr-cell.proposal { background: color-mix(in srgb, var(--green, #3fb950) 14%, transparent); cursor: default; }
.tr-proposal-text { white-space: pre-wrap; word-break: break-word; font-style: italic; }
.tr-proposal-text.bad { color: var(--orange, #d18616); }
.tr-proposal-act { display: flex; gap: 2px; margin-top: 2px; }
.tr-edit { width: 100%; min-height: 24px; font-size: 12.5px; resize: vertical; box-sizing: border-box; }
.tr-more { margin: 8px 10px; }
.tr-check { display: inline-flex; align-items: center; gap: 4px; margin-right: 10px; white-space: nowrap; }
.tr-langs { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.tr-places div { padding: 2px 0; }
.tr-glossary { display: flex; flex-direction: column; gap: 4px; }
.tr-gl-row { display: grid; grid-template-columns: 1.2fr 90px 2fr 1.4fr 28px; gap: 6px; align-items: center; }
.tr-gl-row.head { color: var(--text-3); font-size: 11px; }
.tr-glossary > .btn { align-self: flex-start; margin-top: 4px; }