1
0
Fork 0

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 {
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,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}}" />