[mobile] for bug 58703
This commit is contained in:
parent
e0e90225fc
commit
efbd7dd79f
24
apps/common/mobile/resources/css/skeleton.css
vendored
24
apps/common/mobile/resources/css/skeleton.css
vendored
|
@ -116,3 +116,27 @@ body.theme-type-dark {
|
||||||
50% { opacity:1; }
|
50% { opacity:1; }
|
||||||
100% { opacity:0.1; }
|
100% { opacity:0.1; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar.navbar-with-logo {
|
||||||
|
height: 34px;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root .theme-type-dark {
|
||||||
|
--f7-navbar-bg-color: #232323;
|
||||||
|
--f7-subnavbar-bg-color: #232323;
|
||||||
|
}
|
||||||
|
|
||||||
|
.md .word-editor {
|
||||||
|
--f7-navbar-bg-color: var(--background-navbar-word, #446995);
|
||||||
|
--f7-subnavbar-bg-color: var(--background-navbar-word, #446995);
|
||||||
|
}
|
||||||
|
|
||||||
|
.md .cell-editor {
|
||||||
|
--f7-navbar-bg-color: var(--background-navbar-word, #40865c);
|
||||||
|
--f7-subnavbar-bg-color: var(--background-navbar-word, #40865c);
|
||||||
|
}
|
||||||
|
|
||||||
|
.md .slide-editor {
|
||||||
|
--f7-navbar-bg-color: var(--background-navbar-word, #aa5252);
|
||||||
|
--f7-subnavbar-bg-color: var(--background-navbar-word, #aa5252);
|
||||||
|
}
|
|
@ -22,4 +22,4 @@ if ( !obj ) {
|
||||||
localStorage && localStorage.setItem("mobile-ui-theme", JSON.stringify(obj));
|
localStorage && localStorage.setItem("mobile-ui-theme", JSON.stringify(obj));
|
||||||
}
|
}
|
||||||
|
|
||||||
document.body.classList.add(`theme-type-${obj.type}`);
|
document.body.classList.add(`theme-type-${obj.type}`, `${window.editor}-editor`);
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<body>
|
<body>
|
||||||
<% if ( htmlWebpackPlugin.options.skeleton.htmlscript ) { %>
|
<% if ( htmlWebpackPlugin.options.skeleton.htmlscript ) { %>
|
||||||
<script>
|
<script>
|
||||||
|
window.editor = 'word';
|
||||||
<%= htmlWebpackPlugin.options.skeleton.htmlscript %>
|
<%= htmlWebpackPlugin.options.skeleton.htmlscript %>
|
||||||
</script>
|
</script>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
<body>
|
<body>
|
||||||
<% if ( htmlWebpackPlugin.options.skeleton.htmlscript ) { %>
|
<% if ( htmlWebpackPlugin.options.skeleton.htmlscript ) { %>
|
||||||
<script>
|
<script>
|
||||||
|
window.editor = 'slide';
|
||||||
<%= htmlWebpackPlugin.options.skeleton.htmlscript %>
|
<%= htmlWebpackPlugin.options.skeleton.htmlscript %>
|
||||||
</script>
|
</script>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
<body>
|
<body>
|
||||||
<% if ( htmlWebpackPlugin.options.skeleton.htmlscript ) { %>
|
<% if ( htmlWebpackPlugin.options.skeleton.htmlscript ) { %>
|
||||||
<script>
|
<script>
|
||||||
|
window.editor = 'cell';
|
||||||
<%= htmlWebpackPlugin.options.skeleton.htmlscript %>
|
<%= htmlWebpackPlugin.options.skeleton.htmlscript %>
|
||||||
</script>
|
</script>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Reference in a new issue