make dropzone css configureable with variables
and set a border-radius for dropzone to reflect theme better
This commit is contained in:
parent
fa45da6fd1
commit
7e989a03b2
|
@ -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
|
@ -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) {
|
||||||
|
|
|
@ -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}}" />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user