Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
74
core/modules/image/css/image.admin.css
Normal file
74
core/modules/image/css/image.admin.css
Normal file
|
@ -0,0 +1,74 @@
|
|||
|
||||
/**
|
||||
* Image style configuration pages.
|
||||
*/
|
||||
.image-style-new,
|
||||
.image-style-new div {
|
||||
display: inline;
|
||||
}
|
||||
.image-style-preview .preview-image-wrapper {
|
||||
float: left;
|
||||
padding-bottom: 2em;
|
||||
text-align: center;
|
||||
top: 50%;
|
||||
width: 48%;
|
||||
}
|
||||
.image-style-preview .preview-image {
|
||||
margin: auto;
|
||||
position: relative;
|
||||
}
|
||||
.image-style-preview .preview-image .width {
|
||||
border: 1px solid #666;
|
||||
border-top: none;
|
||||
bottom: -6px;
|
||||
height: 2px;
|
||||
left: -1px;
|
||||
position: absolute;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
.image-style-preview .preview-image .width span {
|
||||
position: relative;
|
||||
top: 4px;
|
||||
}
|
||||
.image-style-preview .preview-image .height {
|
||||
border: 1px solid #666;
|
||||
border-left: none;
|
||||
position: absolute;
|
||||
right: -6px;
|
||||
top: -1px;
|
||||
width: 2px;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
.image-style-preview .preview-image .height span {
|
||||
height: 2em;
|
||||
left: 10px;
|
||||
margin-top: -1em;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Image anchor element.
|
||||
*/
|
||||
.image-anchor {
|
||||
width: auto;
|
||||
}
|
||||
.image-anchor tr {
|
||||
background: none;
|
||||
}
|
||||
.image-anchor td {
|
||||
border: 1px solid #ccc;
|
||||
}
|
21
core/modules/image/css/image.theme.css
Normal file
21
core/modules/image/css/image.theme.css
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
/**
|
||||
* Image upload widget.
|
||||
*/
|
||||
.image-preview {
|
||||
float: left; /* LTR */
|
||||
padding: 0 10px 10px 0; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .image-preview {
|
||||
float: right;
|
||||
padding: 0 0 10px 10px;
|
||||
}
|
||||
.image-widget-data {
|
||||
float: left; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .image-widget-data {
|
||||
float: right;
|
||||
}
|
||||
.image-widget-data .text-field {
|
||||
width: auto;
|
||||
}
|
Reference in a new issue