Merge pull request #12931 from xundeenergie/dropzone-css

Modify dropzones css to take it into account of themes fixes #12924
This commit is contained in:
Hypolite Petovan 2023-03-22 20:42:48 -04:00 committed by GitHub
commit f62cebccfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 365 additions and 365 deletions

View File

@ -206,11 +206,12 @@
.dropzone {
min-height: 150px;
border: 1px solid rgba(0, 0, 0, 0.3);
background: white;
padding: 10px 10px;
padding: 2px 2px;
}
.dropzone.dz-clickable {
cursor: pointer;
border-radius: 4px;
background-color: $background_color;
}
.dropzone.dz-clickable * {
cursor: default;

File diff suppressed because one or more lines are too long

View File

@ -213,6 +213,7 @@ $options = [
];
$css_tpl = file_get_contents('view/theme/frio/css/style.css');
$css_tpl .= file_get_contents('view/theme/frio/css/dropzone.min.frio.css');
// Get the content of the scheme css file and the time of the last file change.
if ($schemecssfile) {

View File

@ -55,8 +55,6 @@
media="screen" />
<link rel="stylesheet" href="view/theme/frio/css/font-awesome.custom.css?v={{$smarty.const.FRIENDICA_VERSION}}"
type="text/css" media="screen" />
<link rel="stylesheet" href="view/theme/frio/css/dropzone.min.frio.css?v={{$smarty.const.FRIENDICA_VERSION}}"
type="text/css" media="screen" />
{{foreach $stylesheets as $stylesheetUrl => $media}}
<link rel="stylesheet" href="{{$stylesheetUrl}}" type="text/css" media="{{$media}}" />