2009-07-21 07:09:47 +00:00
|
|
|
/**
|
|
|
|
* Image style configuration pages.
|
|
|
|
*/
|
2012-07-07 20:09:35 +00:00
|
|
|
.image-style-new,
|
|
|
|
.image-style-new div {
|
2009-07-21 07:09:47 +00:00
|
|
|
display: inline;
|
|
|
|
}
|
2012-07-07 20:09:35 +00:00
|
|
|
.image-style-preview .preview-image-wrapper {
|
2019-04-01 17:16:16 +00:00
|
|
|
top: 50%;
|
2009-07-21 07:09:47 +00:00
|
|
|
float: left;
|
2019-04-01 17:16:16 +00:00
|
|
|
width: 48%;
|
2009-07-21 07:09:47 +00:00
|
|
|
padding-bottom: 2em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2012-07-07 20:09:35 +00:00
|
|
|
.image-style-preview .preview-image {
|
2009-07-21 07:09:47 +00:00
|
|
|
position: relative;
|
2019-04-01 17:16:16 +00:00
|
|
|
margin: auto;
|
2009-07-21 07:09:47 +00:00
|
|
|
}
|
2012-07-07 20:09:35 +00:00
|
|
|
.image-style-preview .preview-image .width {
|
2019-04-01 17:16:16 +00:00
|
|
|
position: absolute;
|
2012-07-07 20:09:35 +00:00
|
|
|
bottom: -6px;
|
2009-07-21 07:09:47 +00:00
|
|
|
left: -1px;
|
2012-11-06 14:08:15 +00:00
|
|
|
box-sizing: content-box;
|
2019-04-01 17:16:16 +00:00
|
|
|
height: 2px;
|
|
|
|
border: 1px solid #666;
|
|
|
|
border-top: none;
|
2009-07-21 07:09:47 +00:00
|
|
|
}
|
2012-07-07 20:09:35 +00:00
|
|
|
.image-style-preview .preview-image .width span {
|
2009-07-21 07:09:47 +00:00
|
|
|
position: relative;
|
|
|
|
top: 4px;
|
|
|
|
}
|
2012-07-07 20:09:35 +00:00
|
|
|
.image-style-preview .preview-image .height {
|
2009-07-21 07:09:47 +00:00
|
|
|
position: absolute;
|
|
|
|
top: -1px;
|
2019-04-01 17:16:16 +00:00
|
|
|
right: -6px;
|
2012-11-06 14:08:15 +00:00
|
|
|
box-sizing: content-box;
|
2019-04-01 17:16:16 +00:00
|
|
|
width: 2px;
|
|
|
|
border: 1px solid #666;
|
|
|
|
border-left: none;
|
2009-07-21 07:09:47 +00:00
|
|
|
}
|
2012-07-07 20:09:35 +00:00
|
|
|
.image-style-preview .preview-image .height span {
|
2009-07-21 07:09:47 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
2019-04-01 17:16:16 +00:00
|
|
|
left: 10px;
|
|
|
|
height: 2em;
|
|
|
|
margin-top: -1em;
|
2009-07-21 07:09:47 +00:00
|
|
|
}
|
|
|
|
|
2013-01-23 18:07:27 +00:00
|
|
|
/**
|
|
|
|
* Improve image style preview on narrow viewports.
|
|
|
|
*/
|
|
|
|
@media screen and (max-width: 470px) {
|
|
|
|
.image-style-preview .preview-image-wrapper {
|
|
|
|
float: none;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
.image-style-preview .preview-image-wrapper:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-07-21 07:09:47 +00:00
|
|
|
/**
|
|
|
|
* Image anchor element.
|
|
|
|
*/
|
2012-07-07 20:09:35 +00:00
|
|
|
.image-anchor {
|
2009-07-21 07:09:47 +00:00
|
|
|
width: auto;
|
|
|
|
}
|
Issue #1649780 by effulgentsia, jibran, Wim Leers, nod_, hefox, joelpittet, kaare, BarisW, sun, rbayliss, Cottser, fubhy: Remove first/last/odd/even classes in favor of CSS3 pseudo selectors.
2014-01-15 10:56:55 +00:00
|
|
|
.image-anchor tr {
|
2009-07-21 07:09:47 +00:00
|
|
|
background: none;
|
|
|
|
}
|
2012-07-07 20:09:35 +00:00
|
|
|
.image-anchor td {
|
2012-02-29 16:56:15 +00:00
|
|
|
border: 1px solid #ccc;
|
2009-07-21 07:09:47 +00:00
|
|
|
}
|