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
18
core/modules/file/css/file.admin.css
Normal file
18
core/modules/file/css/file.admin.css
Normal file
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* @file
|
||||
* Admin stylesheet for file module.
|
||||
*/
|
||||
|
||||
/* File upload widget.*/
|
||||
.form-managed-file .form-submit {
|
||||
margin: 0 0.5em;
|
||||
}
|
||||
.form-managed-file div.ajax-progress-bar {
|
||||
display: none;
|
||||
margin-top: 4px;
|
||||
padding: 0;
|
||||
width: 28em;
|
||||
}
|
||||
.form-managed-file .ajax-progress-bar .bar {
|
||||
margin: 0;
|
||||
}
|
62
core/modules/file/css/file.theme.css
Normal file
62
core/modules/file/css/file.theme.css
Normal file
|
@ -0,0 +1,62 @@
|
|||
/**
|
||||
* @file
|
||||
* Default style for file module.
|
||||
*/
|
||||
|
||||
/* File icons.*/
|
||||
|
||||
.file {
|
||||
padding-left: 20px; /* LTR */
|
||||
display: inline-block;
|
||||
min-height: 16px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: left center; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .file {
|
||||
padding-left: inherit;
|
||||
padding-right: 20px;
|
||||
background-position: right center;
|
||||
}
|
||||
.file--general,
|
||||
.file--application-octet-stream {
|
||||
background-image: url(../icons/application-octet-stream.png);
|
||||
}
|
||||
.file--package-x-generic {
|
||||
background-image: url(../icons/package-x-generic.png);
|
||||
}
|
||||
.file--x-office-spreadsheet {
|
||||
background-image: url(../icons/x-office-spreadsheet.png);
|
||||
}
|
||||
.file--x-office-document {
|
||||
background-image: url(../icons/x-office-document.png);
|
||||
}
|
||||
.file--x-office-presentation {
|
||||
background-image: url(../icons/x-office-presentation.png);
|
||||
}
|
||||
.file--text-x-script {
|
||||
background-image: url(../icons/text-x-script.png);
|
||||
}
|
||||
.file--text-html {
|
||||
background-image: url(../icons/text-html.png);
|
||||
}
|
||||
.file--text-plain {
|
||||
background-image: url(../icons/text-plain.png);
|
||||
}
|
||||
.file--application-pdf {
|
||||
background-image: url(../icons/application-pdf.png);
|
||||
}
|
||||
.file--application-x-executable {
|
||||
background-image: url(../icons/application-x-executable.png);
|
||||
}
|
||||
.file--audio {
|
||||
background-image: url(../icons/audio-x-generic.png);
|
||||
}
|
||||
.file--video {
|
||||
background-image: url(../icons/video-x-generic.png);
|
||||
}
|
||||
.file--text {
|
||||
background-image: url(../icons/text-x-generic.png);
|
||||
}
|
||||
.file--image {
|
||||
background-image: url(../icons/image-x-generic.png);
|
||||
}
|
Reference in a new issue