MediaWiki:ChangelogEditor.css
From Project Rebearth
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
.rb-ce-wrap {
max-width: 960px;
margin: 0 auto;
font-family: inherit;
}
.rb-ce-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
background: #562c1b;
color: #faf4e0;
border-radius: 6px 6px 0 0;
flex-wrap: wrap;
gap: 8px;
}
.rb-ce-header h2 {
margin: 0;
font-size: 1.3em;
color: #e8daa8;
}
.rb-ce-header-actions {
display: flex;
gap: 8px;
align-items: center;
}
.rb-ce-btn {
padding: 6px 14px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 0.9em;
font-weight: 600;
transition: opacity 0.15s;
}
.rb-ce-btn:disabled {
opacity: 0.45;
cursor: default;
}
.rb-ce-btn-primary {
background: #4a7c3f;
color: #fff;
}
.rb-ce-btn-primary:hover:not(:disabled) {
background: #3d6a34;
}
.rb-ce-btn-add {
background: #e8daa8;
color: #562c1b;
}
.rb-ce-btn-add:hover {
background: #ddd09a;
}
.rb-ce-btn-sm {
padding: 3px 8px;
font-size: 0.8em;
}
.rb-ce-btn-danger {
background: #943a2e;
color: #fff;
}
.rb-ce-btn-danger:hover:not(:disabled) {
background: #7d3126;
}
.rb-ce-btn-ghost {
background: transparent;
color: #562c1b;
border: 1px solid #ccc;
}
.rb-ce-btn-ghost:hover:not(:disabled) {
background: #f0e6c2;
}
.rb-ce-badge {
display: inline-block;
background: #943a2e;
color: #fff;
font-size: 0.75em;
padding: 1px 6px;
border-radius: 10px;
margin-left: 6px;
vertical-align: middle;
}
.rb-ce-list {
border: 1px solid #d5c9a1;
border-top: none;
border-radius: 0 0 6px 6px;
background: #faf4e0;
}
.rb-ce-entry {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 10px 16px;
border-bottom: 1px solid #e8daa8;
transition: background 0.1s;
}
.rb-ce-entry:last-child {
border-bottom: none;
}
.rb-ce-entry:hover {
background: #f5edce;
}
.rb-ce-entry-meta {
flex: 0 0 auto;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
min-width: 90px;
}
.rb-ce-entry-date {
font-size: 0.8em;
color: #777;
}
.rb-ce-entry-body {
flex: 1;
min-width: 0;
}
.rb-ce-entry-text {
margin: 0 0 4px 0;
word-break: break-word;
line-height: 1.4;
}
.rb-ce-entry-id {
font-size: 0.75em;
color: #999;
}
.rb-ce-entry-actions {
flex: 0 0 auto;
display: flex;
gap: 4px;
align-items: center;
}
.rb-ce-chips {
display: flex;
flex-wrap: wrap;
gap: 4px;
margin-top: 4px;
}
.rb-ce-chip {
display: inline-flex;
align-items: center;
gap: 3px;
background: #f0e6c2;
color: #562c1b;
padding: 2px 8px;
border-radius: 12px;
font-size: 0.78em;
}
.rb-ce-chip-exclude {
background: #f5d5d0;
color: #943a2e;
}
.rb-ce-chip-remove {
cursor: pointer;
font-weight: bold;
margin-left: 2px;
opacity: 0.6;
}
.rb-ce-chip-remove:hover {
opacity: 1;
}
.rb-ce-chip-label {
font-size: 0.7em;
color: #999;
margin-right: 2px;
}
.rb-ce-tag {
display: inline-block;
padding: 2px 8px;
border-radius: 3px;
font-size: 0.78em;
font-weight: 600;
color: #fff;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.rb-ce-tag-New { background: #4a7c3f; }
.rb-ce-tag-Balance { background: #b8860b; }
.rb-ce-tag-Fix { background: #943a2e; }
.rb-ce-tag-QoL { background: #3a6d8c; }
.rb-ce-tag-Performance { background: #6b4c8a; }
.rb-ce-form {
padding: 16px;
background: #fff;
border: 2px solid #e8daa8;
border-radius: 6px;
margin: 8px 16px;
}
.rb-ce-form-row {
display: flex;
gap: 12px;
margin-bottom: 10px;
align-items: flex-start;
flex-wrap: wrap;
}
.rb-ce-form-field {
display: flex;
flex-direction: column;
gap: 4px;
}
.rb-ce-form-field label {
font-size: 0.8em;
font-weight: 600;
color: #562c1b;
background: #f0e6c2;
padding: 2px 6px;
border-radius: 3px;
align-self: flex-start;
}
.rb-ce-form-field input[type="date"],
.rb-ce-form-field input[type="text"],
.rb-ce-form-field select,
.rb-ce-form-field textarea {
padding: 6px 8px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 0.9em;
font-family: inherit;
}
.rb-ce-form-field textarea {
min-height: 60px;
resize: vertical;
width: 100%;
}
.rb-ce-form-actions {
display: flex;
gap: 8px;
margin-top: 8px;
}
.rb-ce-chip-input-wrap {
position: relative;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px;
border: 1px solid #ccc;
border-radius: 4px;
padding: 4px 6px;
background: #fff;
min-height: 32px;
cursor: text;
}
.rb-ce-chip-input-wrap input {
border: none;
outline: none;
flex: 1;
min-width: 80px;
font-size: 0.9em;
padding: 2px;
}
.rb-ce-autocomplete {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: #fff;
border: 1px solid #ccc;
border-top: none;
border-radius: 0 0 4px 4px;
max-height: 180px;
overflow-y: auto;
z-index: 100;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.rb-ce-autocomplete-item {
padding: 6px 10px;
cursor: pointer;
font-size: 0.85em;
}
.rb-ce-autocomplete-item:hover,
.rb-ce-autocomplete-item.rb-ce-ac-active {
background: #f0e6c2;
}
.rb-ce-pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
padding: 12px;
background: #faf4e0;
border-top: 1px solid #e8daa8;
}
.rb-ce-pagination span {
font-size: 0.9em;
color: #562c1b;
}
.rb-ce-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.45);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.rb-ce-dialog {
background: #fff;
border-radius: 8px;
padding: 24px;
max-width: 520px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.rb-ce-dialog h3 {
margin: 0 0 12px 0;
color: #562c1b;
}
.rb-ce-dialog-summary {
font-size: 0.9em;
margin-bottom: 12px;
line-height: 1.5;
}
.rb-ce-dialog-summary li {
margin-bottom: 4px;
}
.rb-ce-dialog-field {
margin-bottom: 12px;
}
.rb-ce-dialog-field label {
display: block;
font-size: 0.8em;
font-weight: 600;
margin-bottom: 4px;
color: #562c1b;
}
.rb-ce-dialog-field input {
width: 100%;
padding: 6px 8px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 0.9em;
box-sizing: border-box;
}
.rb-ce-dialog-actions {
display: flex;
gap: 8px;
justify-content: flex-end;
}
.rb-ce-status {
padding: 24px;
text-align: center;
color: #777;
font-size: 0.95em;
}
.rb-ce-error {
padding: 16px;
background: #f5d5d0;
color: #943a2e;
border-radius: 6px;
margin: 8px 16px;
}
.rb-ce-empty {
padding: 40px;
text-align: center;
color: #999;
}