MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Palindromayd (talk | contribs) No edit summary |
Palindromayd (talk | contribs) No edit summary |
||
| Line 20: | Line 20: | ||
background: #e6eef7; | background: #e6eef7; | ||
} | } | ||
/* ---- GAR: A-Z letters. GREEN = not created yet (click to add). BLUE = already exists. ---- */ | /* ---- GAR: A-Z letters. GREEN = not created yet (click to add). BLUE = already exists. ---- */ | ||
.gar-instant-letter, | .gar-instant-letter, | ||
| Line 40: | Line 41: | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
/* ---- GAR: type-and-go boxes, the create-case button, photo + details editors ---- */ | /* ---- GAR: type-and-go boxes, the create-case button, photo + details editors ---- */ | ||
.gar-instant-create input, .gar-instant-create textarea, | .gar-instant-create input, .gar-instant-create textarea, | ||
.gar-create-case input, .gar-create-case textarea, | .gar-create-case input, .gar-create-case textarea, | ||
.gar-set-photo input, .gar-add-image input, .gar-editable textarea { | .gar-set-photo input, .gar-add-image input, .gar-add-evidence input, .gar-editable textarea { | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
.gar-instant-create button, .gar-create-case button, | .gar-instant-create button, .gar-create-case button, | ||
.gar-set-photo button, .gar-add-image button, .gar-editable button { | .gar-set-photo button, .gar-add-image button, .gar-add-evidence button, .gar-editable button { | ||
padding: 6px 16px; | padding: 6px 16px; | ||
border: 0; | border: 0; | ||
| Line 57: | Line 59: | ||
} | } | ||
.gar-instant-create button:hover, .gar-create-case button:hover, | .gar-instant-create button:hover, .gar-create-case button:hover, | ||
.gar-set-photo button:hover, .gar-add-image button:hover, .gar-editable button:hover { | .gar-set-photo button:hover, .gar-add-image button:hover, .gar-add-evidence button:hover, .gar-editable button:hover { | ||
background: #14387f; | background: #14387f; | ||
} | } | ||
| Line 65: | Line 67: | ||
font-style: italic; | font-style: italic; | ||
} | } | ||
/* ---- GAR: reviewer's approve bar on a case awaiting review ---- */ | |||
.gar-approve-bar { | |||
border: 2px solid #ffa100; | |||
border-left-width: 6px; | |||
background: #fef6e7; | |||
color: #5c3b00; | |||
padding: 10px 14px; | |||
border-radius: 6px; | |||
margin: 0 0 14px 0; | |||
font-weight: bold; | |||
} | |||
.gar-approve-bar div:first-child { | |||
margin-bottom: 8px; | |||
} | |||
.gar-approve-bar button { | |||
padding: 6px 16px; | |||
border: 0; | |||
border-radius: 6px; | |||
background: #14866d; | |||
color: #fff; | |||
font-size: 1em; | |||
cursor: pointer; | |||
} | |||
.gar-approve-bar button:hover { | |||
background: #106e59; | |||
} | |||
/* ---- GAR: the reported person's photo, shown on their own page ---- */ | /* ---- GAR: the reported person's photo, shown on their own page ---- */ | ||
.gar-photo { | .gar-photo { | ||
| Line 83: | Line 112: | ||
} | } | ||
/* | /* ---- GAR: "saved, waiting for review" bar shown to the contributor ---- */ | ||
.gar-pending-bar { | |||
. | border: 2px solid #2a4b8d; | ||
color: # | border-left-width: 6px; | ||
background: #eaf3ff; | |||
color: #17335c; | |||
padding: 10px 14px; | |||
border-radius: 6px; | |||
margin: 0 0 14px 0; | |||
} | |||
.gar-pending-bar div:first-child { | |||
font-weight: bold; | font-weight: bold; | ||
margin-bottom: 6px; | |||
} | } | ||
. | .gar-pending-sub { | ||
font-size: 0.92em; | |||
. | |||
} | } | ||
Revision as of 17:13, 20 July 2026
/* ---- GAR: auto-updating grids of links (platforms, countries, cities, people, cases) ---- */
.gar-auto-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 14px;
margin: 10px 0;
}
.gar-auto-grid a {
display: inline-block;
padding: 18px 24px;
border: 1px solid #c8d2dc;
border-radius: 8px;
background: #f4f7fa;
text-decoration: none;
font-size: 1.2em;
color: #0b3d6b;
}
.gar-auto-grid a:hover {
background: #e6eef7;
}
/* ---- GAR: A-Z letters. GREEN = not created yet (click to add). BLUE = already exists. ---- */
.gar-instant-letter,
.gar-letter-new {
color: #1a7f37;
cursor: pointer;
text-decoration: underline;
font-weight: bold;
}
.gar-instant-letter:hover,
.gar-letter-new:hover {
color: #0f5c27;
}
.gar-letter-exists {
color: #0b3d6b;
text-decoration: none;
font-weight: bold;
}
.gar-letter-exists:hover {
text-decoration: underline;
}
/* ---- GAR: type-and-go boxes, the create-case button, photo + details editors ---- */
.gar-instant-create input, .gar-instant-create textarea,
.gar-create-case input, .gar-create-case textarea,
.gar-set-photo input, .gar-add-image input, .gar-add-evidence input, .gar-editable textarea {
box-sizing: border-box;
}
.gar-instant-create button, .gar-create-case button,
.gar-set-photo button, .gar-add-image button, .gar-add-evidence button, .gar-editable button {
padding: 6px 16px;
border: 0;
border-radius: 6px;
background: #0b3d6b;
color: #fff;
font-size: 1em;
cursor: pointer;
}
.gar-instant-create button:hover, .gar-create-case button:hover,
.gar-set-photo button:hover, .gar-add-image button:hover, .gar-add-evidence button:hover, .gar-editable button:hover {
background: #14387f;
}
.gar-instant-status {
margin-left: 8px;
color: #555;
font-style: italic;
}
/* ---- GAR: reviewer's approve bar on a case awaiting review ---- */
.gar-approve-bar {
border: 2px solid #ffa100;
border-left-width: 6px;
background: #fef6e7;
color: #5c3b00;
padding: 10px 14px;
border-radius: 6px;
margin: 0 0 14px 0;
font-weight: bold;
}
.gar-approve-bar div:first-child {
margin-bottom: 8px;
}
.gar-approve-bar button {
padding: 6px 16px;
border: 0;
border-radius: 6px;
background: #14866d;
color: #fff;
font-size: 1em;
cursor: pointer;
}
.gar-approve-bar button:hover {
background: #106e59;
}
/* ---- GAR: the reported person's photo, shown on their own page ---- */
.gar-photo {
text-align: center;
margin: 6px 0 14px 0;
}
.gar-photo img {
border: 1px solid #c8d2dc;
border-radius: 8px;
}
.gar-photo-empty {
display: inline-block;
padding: 40px 60px;
border: 2px dashed #c8d2dc;
border-radius: 8px;
color: #8a97a4;
background: #f7f9fb;
}
/* ---- GAR: "saved, waiting for review" bar shown to the contributor ---- */
.gar-pending-bar {
border: 2px solid #2a4b8d;
border-left-width: 6px;
background: #eaf3ff;
color: #17335c;
padding: 10px 14px;
border-radius: 6px;
margin: 0 0 14px 0;
}
.gar-pending-bar div:first-child {
font-weight: bold;
margin-bottom: 6px;
}
.gar-pending-sub {
font-size: 0.92em;
}