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 { html.embedded {
& [class^="cap-"], & [class*=" cap-"], & [class^="feat-"], & [class*=" feat-"] { // hide all capabilities and features initially
display: none; & [class^="cap-"],
} & [class*=" cap-"],
&.cap-calendar .cap-calendar { & [class^="feat-"],
display: inherit; & [class*=" feat-"] {
} display: none;
&.cap-contacts .cap-contacts { }
display: inherit; // display again for enabled capabilities
} &.cap-appointments .cap-appointments,
&.cap-infostore .cap-infostore { &.cap-calendar .cap-calendar,
display: inherit; &.cap-call .cap-call,
} &.cap-chat .cap-chat,
&.cap-guard .cap-guard { &.cap-contacts .cap-contacts,
display: inherit; &.cap-dataexport .cap-dataexport,
} &.cap-deputy .cap-deputy,
&.cap-multifactor .cap-multifactor { &.cap-edit_group .cap-edit_group,
display: inherit; &.cap-edit_resource .cap-edit_resource,
} &.cap-gab .cap-gab,
&.cap-presenter .cap-presenter { &.cap-guard .cap-guard,
display: inherit; &.cap-infostore .cap-infostore,
} &.cap-multifactor .cap-multifactor,
&.cap-portal .cap-portal { &.cap-portal .cap-portal,
display: inherit; &.cap-presenter .cap-presenter,
} &.cap-share_links .cap-share_links,
&.cap-spreadsheet .cap-spreadsheet { &.cap-share_mail_attachments .cap-share_mail_attachments,
display: inherit; &.cap-spreadsheet .cap-spreadsheet,
} &.cap-switchboard .cap-switchboard,
&.cap-tasks .cap-tasks { &.cap-tasks .cap-tasks,
display: inherit; &.cap-text .cap-text,
} &.cap-webdav .cap-webdav,
&.cap-text .cap-text { &.cap-webmail .cap-webmail,
display: inherit; &.cap-xing .cap-xing,
} // display again for enabled features
&.cap-webdav .cap-webdav { &.feat-io-ox-core-categories .feat-io-ox-core-categories,
display: inherit; &.feat-io-ox-core-countdown .feat-io-ox-core-countdown,
} &.feat-io-ox-core-enterprisePicker .feat-io-ox-core-enterprisePicker,
&.cap-webmail .cap-webmail { &.feat-io-ox-core-mailPDFExport .feat-io-ox-core-mailPDFExport,
display: inherit; &.feat-io-ox-core-resourceCalendars .feat-io-ox-core-resourceCalendars,
} &.feat-jitsi .feat-jitsi,
&.cap-xing .cap-xing { &.feat-zoom .feat-zoom {
display: inherit; // fallback is block
} display: inherit;
&.cap-share_links .cap-share_links { // list-item is browser specific and not covered by inherit
display: inherit; &li { display: list-item; }
} }
&.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
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