2022-11-18 20:09:08 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* Module: mediawiki.skinning.content.thumbnails-screen
|
|
|
|
* Version: REL1_39
|
|
|
|
*
|
2023-07-23 18:16:38 +00:00
|
|
|
* Date: 2023-07-23
|
|
|
|
*/
|
2022-11-18 20:09:08 +00:00
|
|
|
|
|
|
|
.thumbinner {
|
|
|
|
> a {
|
|
|
|
display: block;
|
|
|
|
border-radius: var( --border-radius--small );
|
|
|
|
|
|
|
|
&.image {
|
|
|
|
max-width: inherit;
|
|
|
|
margin-right: 1px;
|
|
|
|
// Counter the weird hardcoded 2px width added by core
|
|
|
|
margin-left: 1px;
|
2023-02-22 20:12:06 +00:00
|
|
|
|
2023-07-24 19:36:22 +00:00
|
|
|
img,
|
|
|
|
source {
|
2023-02-22 20:12:06 +00:00
|
|
|
max-width: inherit;
|
2023-03-27 17:48:29 +00:00
|
|
|
height: auto;
|
2023-02-22 20:12:06 +00:00
|
|
|
}
|
2022-11-18 20:09:08 +00:00
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
&::before {
|
2023-12-15 20:03:05 +00:00
|
|
|
display: none;
|
2022-11-18 20:09:08 +00:00
|
|
|
}
|
|
|
|
|
2022-11-18 21:22:27 +00:00
|
|
|
// Broken file styles
|
2023-07-23 18:16:38 +00:00
|
|
|
&:not( .image ) {
|
2022-11-18 20:09:08 +00:00
|
|
|
padding: var( --space-sm );
|
2024-04-19 19:14:18 +00:00
|
|
|
border: 1px solid var( --border-color-interactive );
|
2022-11-18 20:09:08 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #fff;
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-primary--hover );
|
2022-11-18 20:09:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
color: #fff;
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-primary--active );
|
2022-11-18 20:09:08 +00:00
|
|
|
}
|
2023-07-23 18:16:38 +00:00
|
|
|
|
|
|
|
&.new {
|
|
|
|
border-style: dashed;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var( --color-destructive--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var( --color-destructive--active );
|
|
|
|
}
|
|
|
|
}
|
2022-11-18 20:09:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|