mirror of
https://github.com/documize/community.git
synced 2025-07-23 23:29:42 +02:00
Remove flexbox css for print media
This commit is contained in:
parent
acdf2025ab
commit
d88adef5b5
8 changed files with 697 additions and 686 deletions
File diff suppressed because one or more lines are too long
|
@ -14,7 +14,7 @@ import { inject as service } from '@ember/service';
|
||||||
import Component from '@ember/component';
|
import Component from '@ember/component';
|
||||||
|
|
||||||
export default Component.extend({
|
export default Component.extend({
|
||||||
classNames: ['layout-footer'],
|
classNames: ['layout-footer', 'non-printable'],
|
||||||
tagName: 'footer',
|
tagName: 'footer',
|
||||||
appMeta: service(),
|
appMeta: service(),
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
import Component from '@ember/component';
|
import Component from '@ember/component';
|
||||||
|
|
||||||
export default Component.extend({
|
export default Component.extend({
|
||||||
classNames: ['layout-sidebar'],
|
classNames: ['layout-sidebar', 'non-printable'],
|
||||||
tagName: 'nav',
|
tagName: 'nav',
|
||||||
|
|
||||||
didInsertElement() {
|
didInsertElement() {
|
||||||
|
|
|
@ -16,7 +16,7 @@ import ModalMixin from '../../mixins/modal';
|
||||||
import Component from '@ember/component';
|
import Component from '@ember/component';
|
||||||
|
|
||||||
export default Component.extend(ModalMixin, {
|
export default Component.extend(ModalMixin, {
|
||||||
classNames: ['layout-header'],
|
classNames: ['layout-header', 'non-printable'],
|
||||||
tagName: 'header',
|
tagName: 'header',
|
||||||
folderService: service('folder'),
|
folderService: service('folder'),
|
||||||
appMeta: service(),
|
appMeta: service(),
|
||||||
|
|
|
@ -32,6 +32,6 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
||||||
},
|
},
|
||||||
|
|
||||||
activate() {
|
activate() {
|
||||||
this.get('browser').setTitle('License');
|
this.get('browser').setTitle('Product Licensing & Updates');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -47,6 +47,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.non-printable,
|
.non-printable,
|
||||||
|
header,
|
||||||
|
footer,
|
||||||
|
.tabnav-control,
|
||||||
.document-toolbar,
|
.document-toolbar,
|
||||||
.document-toc,
|
.document-toc,
|
||||||
.tabnav-control,
|
.tabnav-control,
|
||||||
|
@ -80,13 +83,14 @@
|
||||||
.doc-title {
|
.doc-title {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
font-size: 18px !important;
|
font-size: 1.5rem !important;
|
||||||
color: #000000 !important;
|
color: #000000 !important;
|
||||||
}
|
}
|
||||||
.doc-excerpt {
|
.doc-excerpt {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
color: #464545 !important;
|
color: #464545 !important;
|
||||||
|
font-size: 1.2rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wysiwyg {
|
.wysiwyg {
|
||||||
|
@ -119,4 +123,11 @@
|
||||||
float: left !important;
|
float: left !important;
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.layout-body, .layout-content {
|
||||||
|
padding: 0 !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
display: block !important;
|
||||||
|
flex: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if showLikes}}
|
{{#if showLikes}}
|
||||||
<div class=" d-flex justify-content-center">
|
<div class=" d-flex justify-content-center non-printable">
|
||||||
<div class="vote-box">
|
<div class="vote-box">
|
||||||
{{#unless voteThanks}}
|
{{#unless voteThanks}}
|
||||||
<div class="prompt">
|
<div class="prompt">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="text-right">
|
<div class="text-right non-printable">
|
||||||
{{#if session.authenticated}}
|
{{#if session.authenticated}}
|
||||||
{{#if permissions.documentAdd}}
|
{{#if permissions.documentAdd}}
|
||||||
<div id="document-template-button" class="button-icon-gray align-middle" data-toggle="tooltip" data-placement="top" title="Save as template">
|
<div id="document-template-button" class="button-icon-gray align-middle" data-toggle="tooltip" data-placement="top" title="Save as template">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue