Skip to content
Snippets Groups Projects
Commit 3694414e authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#563 - combined light and dark theme templates.css

parent 4827c321
No related branches found
No related tags found
No related merge requests found
.template-content-label {
font-weight: 600;
}
.template-header-name {
max-width: 50%;
}
.collapsible-header-button {
position: absolute;
right: 15px;
top: 8px;
font-weight: bold;
}
.template-selected {
background-color: #888888;
}
\ No newline at end of file
...@@ -14,5 +14,10 @@ ...@@ -14,5 +14,10 @@
} }
.template-selected { .template-selected {
background-color: rgb(238, 238, 238); background-color: #EEEEEE;
}
/* dark theme */
[data-theme="dark"] .template-selected {
background-color: #888888;
} }
<#macro style name> <#macro style name>
<#import "/spring.ftl" as s> <#import "/spring.ftl" as s>
<#assign blacklist = ['categories', 'charts', 'collapsible', 'datepicker', 'globalDatepicker', 'hotkeys', 'login', 'search', 'settings']> <#assign blacklist = ['categories', 'charts', 'collapsible', 'datepicker', 'globalDatepicker', 'hotkeys', 'login', 'search', 'settings', 'templates']>
<#if helpers.getSettings().isUseDarkTheme() && !blacklist?seq_contains(name)> <#if helpers.getSettings().isUseDarkTheme() && !blacklist?seq_contains(name)>
<link type="text/css" rel="stylesheet" href="<@s.url '${"/css/dark/" + name + ".css"}'/>"/> <link type="text/css" rel="stylesheet" href="<@s.url '${"/css/dark/" + name + ".css"}'/>"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment