make dropzone css configureable with variables

and set a border-radius for dropzone to reflect theme better
This commit is contained in:
Jakobus Schürz 2023-03-22 09:39:11 +01:00
parent fa45da6fd1
commit 7e989a03b2
4 changed files with 6 additions and 3 deletions

View File

@ -210,6 +210,8 @@
} }
.dropzone.dz-clickable { .dropzone.dz-clickable {
cursor: pointer; cursor: pointer;
border-radius: 4px;
background-color: $background_color;
} }
.dropzone.dz-clickable * { .dropzone.dz-clickable * {
cursor: default; 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/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. // Get the content of the scheme css file and the time of the last file change.
if ($schemecssfile) { if ($schemecssfile) {

View File

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