Skip to content
Snippets Groups Projects
Commit 9fe54010 authored by frank.paczynski's avatar frank.paczynski :bulb:
Browse files

Fix: Set correct value for initial `display` of li elements

parent 7dc105e3
No related branches found
No related tags found
No related merge requests found
html.embedded {
& [class^="cap-"], & [class*=" cap-"], & [class^="feat-"], & [class*=" feat-"] {
display: none;
}
&.cap-calendar .cap-calendar {
display: inherit;
}
&.cap-contacts .cap-contacts {
display: inherit;
}
&.cap-infostore .cap-infostore {
display: inherit;
}
&.cap-guard .cap-guard {
display: inherit;
}
&.cap-multifactor .cap-multifactor {
display: inherit;
}
&.cap-presenter .cap-presenter {
display: inherit;
}
&.cap-portal .cap-portal {
display: inherit;
}
&.cap-spreadsheet .cap-spreadsheet {
display: inherit;
}
&.cap-tasks .cap-tasks {
display: inherit;
}
&.cap-text .cap-text {
display: inherit;
}
&.cap-webdav .cap-webdav {
display: inherit;
}
&.cap-webmail .cap-webmail {
display: inherit;
}
&.cap-xing .cap-xing {
display: inherit;
}
&.cap-share_links .cap-share_links {
display: inherit;
}
&.cap-share_mail_attachments .cap-share_mail_attachments {
display: inherit;
}
&.cap-appointments .cap-appointments {
display: inherit;
}
&.cap-call .cap-call {
display: inherit;
}
&.cap-chat .cap-chat {
display: inherit;
}
&.cap-dataexport .cap-dataexport {
display: inherit;
}
&.cap-switchboard .cap-switchboard {
display: inherit;
}
&.cap-deputy .cap-deputy {
display: inherit;
}
&.cap-edit_group .cap-edit_group {
display: inherit;
}
&.cap-gab .cap-gab {
display: inherit;
}
&.cap-edit_resource .cap-edit_resource {
display: inherit;
}
&.feat-io-ox-core-categories .feat-io-ox-core-categories {
display: inherit;
}
&.feat-io-ox-core-resourceCalendars .feat-io-ox-core-resourceCalendars {
display: inherit;
}
&.feat-io-ox-core-enterprisePicker .feat-io-ox-core-enterprisePicker {
display: inherit;
}
&.feat-zoom .feat-zoom {
display: inherit;
}
&.feat-jitsi .feat-jitsi {
display: inherit;
}
&.feat-io-ox-core-mailPDFExport .feat-io-ox-core-mailPDFExport {
display: inherit;
}
&.feat-io-ox-core-countdown .feat-io-ox-core-countdown {
display: inherit;
}
}
\ No newline at end of file
html.embedded {
// hide all capabilities and features initially
& [class^="cap-"],
& [class*=" cap-"],
& [class^="feat-"],
& [class*=" feat-"] {
display: none;
}
// display again for enabled capabilities
&.cap-appointments .cap-appointments,
&.cap-calendar .cap-calendar,
&.cap-call .cap-call,
&.cap-chat .cap-chat,
&.cap-contacts .cap-contacts,
&.cap-dataexport .cap-dataexport,
&.cap-deputy .cap-deputy,
&.cap-edit_group .cap-edit_group,
&.cap-edit_resource .cap-edit_resource,
&.cap-gab .cap-gab,
&.cap-guard .cap-guard,
&.cap-infostore .cap-infostore,
&.cap-multifactor .cap-multifactor,
&.cap-portal .cap-portal,
&.cap-presenter .cap-presenter,
&.cap-share_links .cap-share_links,
&.cap-share_mail_attachments .cap-share_mail_attachments,
&.cap-spreadsheet .cap-spreadsheet,
&.cap-switchboard .cap-switchboard,
&.cap-tasks .cap-tasks,
&.cap-text .cap-text,
&.cap-webdav .cap-webdav,
&.cap-webmail .cap-webmail,
&.cap-xing .cap-xing,
// display again for enabled features
&.feat-io-ox-core-categories .feat-io-ox-core-categories,
&.feat-io-ox-core-countdown .feat-io-ox-core-countdown,
&.feat-io-ox-core-enterprisePicker .feat-io-ox-core-enterprisePicker,
&.feat-io-ox-core-mailPDFExport .feat-io-ox-core-mailPDFExport,
&.feat-io-ox-core-resourceCalendars .feat-io-ox-core-resourceCalendars,
&.feat-jitsi .feat-jitsi,
&.feat-zoom .feat-zoom {
// fallback is block
display: inherit;
// list-item is browser specific and not covered by inherit
&li { display: list-item; }
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment