MediaWiki:Gadget-Cat-a-lot.css
MediaWiki界面页面
更多操作
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5。
#cat_a_lot {
bottom: 0;
position: fixed;
right: 0;
z-index: 100;
padding: 5px;
box-shadow: 0 2px 4px rgba(0,0,0,0.5);
background-color: var(--background-color-interactive,#FEF6E7);
color: var(--color-base);
max-height: 65vh;
height: auto;
display: flex;
flex-direction: column;
}
#cat_a_lot_data {
min-height:11em;
resize: both;
}
#cat_a_lot_data, #cat_a_lot_mark_counter {
display: none;
}
#cat_a_lot_data ul {
list-style-image: none;
list-style-type: none;
margin: 0 0 0 5px;
}
#cat_a_lot_selections, #cat_a_lot_mark_counter, #cat_a_lot_settings {
background: url(/w/skins/Vector/images/portal-break.png) no-repeat;
padding: 5px;
}
#cat_a_lot_remove {
font-weight: bold;
display: block;
}
a {
cursor:pointer;
}
.cat_a_lot_move, .cat_a_lot_action {
font-weight: bold;
}
.cat_a_lot_feedback {
border: 1px #A9DE16 solid !important;
background: var(--background-color-success-subtle,#EAF2CB) /*url(//upload.wikimedia.org/wikipedia/commons/d/de/Ajax-loader.gif)*/ no-repeat 8px 14px !important;
padding-left: 2.85em !important;
padding-top: 10px !important;
color: var(--color-base);
}
.cat_a_lot_done {
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/0/0e/Dialog-apply.svg/50px-Dialog-apply.svg.png) !important;
background-position: 8px 50% !important;
padding-top: 0 !important;
color: var(--color-base);
}
.cat_a_lot_feedback .ui-widget-content {
color: var(--color-base);
}
.cat_a_lot_display_result_list {
max-height: 200px;
overflow-y: auto;
max-width:70vw;
border: 1px solid #ccc;
padding: 8px;
margin-top: 5px;
background-color: var(--background-color-progressive-subtle, #1b223d);
color: var(--color-subtle, #a2a9b1);
}
/* phab: T390485 : Add clickable button to categorysearch */
#cat_a_lot_search_input_container{
display: flex;
flex-wrap: wrap;
gap: 2px;
margin-bottom: 0.25em;
}
#cat_a_lot_searchcatname {
flex: 1;
font-size: 112%;
min-width: 150px;
}
#cat_a_lot_search_button{
cursor: pointer;
border: 1px solid #000000;
}
.skin-vector #cat_a_lot {
font-size: .75em;
}
.cat_a_lot_markAsDone {
background-color: var(--background-color-disabled,#BBB) !important;
}
.cat_a_lot_selected {
background-color: var(--background-color-content-removed,#DF6) !important;
}
#cat_a_lot_no_found, #cat_a_lot_last_selected, #cat_a_lot_settings {
font-weight:bold;
}
#cat_a_lot_last_selected {
outline:1px dotted #999
}
#cat_a_lot_category_list table {
border-collapse: collapse;
}
#cat_a_lot_category_list tr:hover {
background-color: var(--background-color-content-removed,#fc3);
}
#cat_a_lot_category_list {
overflow: auto;
}
.cat_a_lot_category_list_categoryname_column {
width: 100%;
padding-right: 0.5em;
}
.sdms-image-result.cat_a_lot_selected {
padding: 0.5em;
box-sizing: border-box; /* Ensure padding doesn't affect layout */
}
/* phab:T389718 : fix for cat-a-lot UI visible in print */
@media print {
#cat_a_lot {
display: none !important;
}
}
/* phab:T390242 ; Add pause / continue editing to Gadget-libAPI.js and error dialog to Cat-a-lot */
@media screen and (max-width: 480px) {
.cat-a-lot-error-dialog {
width: 100% !important;
padding-left: -20px;
}
}
.cat-a-lot-error-dialog .error-details {
color: #f54739;
border: 1px solid #f54739;
padding: 10px;
margin: 10px 0;
border-radius: 4px;
}