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
+2
View File
@@ -210,6 +210,8 @@
}
.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
+1
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) {
+2 -2
View File
@@ -55,8 +55,8 @@
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" />
<!--link rel="stylesheet" href="view/theme/frio/css/dropzone.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}}" />