Elastic: Add infrastructure to apply CSS styles to specific action dialogs/screens (#6749)

Examples:
* action-headers - The headers popup
* action-plugin-managesieve-action - The managesieve filter creation screen
pull/6763/head
Peter Dey 5 years ago committed by Aleksander Machniak
parent 7c8ce07e8c
commit 92602734b1

@ -30,7 +30,7 @@
<roundcube:link rel="stylesheet" href="/styles/print.css" condition="env:action == 'print'" />
<roundcube:endif />
</head>
<body class="task-<roundcube:exp expression="env:error_task ?: env:task ?: 'error'">">
<body class="task-<roundcube:exp expression="env:error_task ?: env:task ?: 'error'"> action-<roundcube:exp expression="asciiwords(env:action, true, '-') ?: 'none'">">
<roundcube:if condition="!env:framed || env:extwin" />
<div id="<roundcube:exp expression="env:action == 'print' ? 'print-' : ''">layout">
<roundcube:endif />

Loading…
Cancel
Save