diff options
author | lastlink <lastlink@users.noreply.github.com> | 2018-06-01 18:25:32 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-06-01 15:25:32 -0700 |
commit | cd6da138973f6bfe7c71846ff6cc1d6fb97c4813 (patch) | |
tree | cb1c1d669e08abcbd43862345347746fdfa63502 /assets | |
parent | b66694854f4d77921272e1be3cba9b1696f93ae2 (diff) |
Add basic print stylesheet
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/print.min.css | 1 | ||||
-rw-r--r-- | assets/sass/_global_print.sass | 18 | ||||
-rw-r--r-- | assets/sass/app.sass | 2 | ||||
-rw-r--r-- | assets/sass/app_print.sass | 1 |
4 files changed, 21 insertions, 1 deletions
diff --git a/assets/css/print.min.css b/assets/css/print.min.css new file mode 100644 index 00000000..c8b9dcc1 --- /dev/null +++ b/assets/css/print.min.css @@ -0,0 +1 @@ +@page{orientation:landscape;-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3)}#board-container{overflow-x:initial !important}.board-task-list{min-height:0 !important}.task-board{page-break-inside:avoid}.menu-inline,.project-header,.page-header,.menus-container,.sidebar,.alert,.alert-info,.dropdown>ul{display:none} diff --git a/assets/sass/_global_print.sass b/assets/sass/_global_print.sass new file mode 100644 index 00000000..ba5afc35 --- /dev/null +++ b/assets/sass/_global_print.sass @@ -0,0 +1,18 @@ +@import variables +@import mixins + +@page + orientation: landscape + -webkit-transform: rotate(-90deg) + -moz-transform: rotate(-90deg) + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3) + +#board-container + overflow-x: initial !important +.board-task-list + min-height: 0 !important +.task-board + page-break-inside: avoid +/*Hide menu*/ +.menu-inline, .project-header, .page-header, .menus-container, .sidebar, .alert, .alert-info, .dropdown > ul + display: none
\ No newline at end of file diff --git a/assets/sass/app.sass b/assets/sass/app.sass index 7a58ac77..b4cd10a8 100644 --- a/assets/sass/app.sass +++ b/assets/sass/app.sass @@ -51,4 +51,4 @@ @import panel @import activity_stream @import user_mentions -@import image_slideshow +@import image_slideshow
\ No newline at end of file diff --git a/assets/sass/app_print.sass b/assets/sass/app_print.sass new file mode 100644 index 00000000..396a21cd --- /dev/null +++ b/assets/sass/app_print.sass @@ -0,0 +1 @@ +@import global_print |