Added print icons and links in project/*/tasks tab pages

This commit is contained in:
Manuel Cillero 2017-08-19 11:40:56 +02:00
parent be7bd1121c
commit c768664cc4
5 changed files with 89 additions and 7 deletions

View file

@ -163,6 +163,40 @@ body.section-node-edit .block ul.menu li.active-trail > a {
margin: 0;
}
/*
* Print top block.
*/
#block-print-0 {
position: absolute;
top: 0;
right: 0;
}
@media (max-width: 529px) { /* MINW = 530px */
#block-print-0 {
right: 4%;
}
}
#block-print-0 .content {
margin-right: 0;
}
#block-print-0 span {
font-size: 15px;
line-height: 1.8em;
padding: .4em 0 .4em .8em;
white-space: nowrap;
}
#block-print-0 span:before {
font-family: "fonticons";
padding: 0 .38em 0 0;
color: #ff3300;
}
#block-print-0 span.print_html:before {
content: "\e831";
}
#block-print-0 span.print_pdf:before {
content: "\e82e";
}
/*
* SuiteDesk menu block.
*/

View file

@ -144,4 +144,4 @@
}
.sidebar-main .region-sidebar-main {
margin-bottom: 1em;
}
}

View file

@ -6,10 +6,61 @@
*/
/*
* Global styles.
*/
body.print-body .form-control {
border: 0;
box-shadow: none;
background-color: #fff;
padding-left: 0;
}
body.print-body select {
-webkit-appearance: none;
-moz-appearance: none;
text-indent: 1px;
text-overflow: '';
}
body.print-body select::-ms-expand {
display: none;
}
body.print-body button.form-submit {
display: none !important;
}
/*
* Collapsible fieldsets.
*/
html.js body.print-body fieldset {
border: 0;
padding: .5em 1em;
}
html.js body.print-body fieldset.collapsed * {
display: initial;
}
html.js body.print-body fieldset.collapsed legend {
display: none;
}
/*
* "GeSHi Filter" module.
*/
div.geshifilter pre {
body.print-body div.geshifilter pre {
word-break: break-all;
word-wrap: break-word;
}
/*
* "SuiteDesk" list & filter.
*/
body.print-body a.tabledrag-handle .handle,
body.print-body table tr > .storm_list_operations {
display: none;
}
/*
* "SuiteDesk Project tasks" section.
*/
body.print-body #stormgantt {
display: none;
}

View file

@ -593,7 +593,6 @@ table#tasks tr.row-group td:first-child a {
body[class*="-tasks section"] #content-area {
clear: both;
}
body[class*="-tasks section"] .region-content-top .block,
body[class*="-kanban section"] .region-content-top .block {
width: 24.7%;
margin: 0 .4% 0 0;
@ -604,12 +603,10 @@ body[class*="-kanban section"] .region-content-top .block {
margin-right: 0;
}
body[class*="-tasks section"] .region-content-top .block h2.title:before,
body[class*="-kanban section"] .region-content-top .block h2.title:before {
content: "";
}
.view-tasks-backlog h2.title,
body[class*="-tasks section"] .region-content-top .block h2.title,
body[class*="-kanban section"] .region-content-top .block h2.title {
text-align: center;
padding: 5px;
@ -789,7 +786,6 @@ body[class*="-kanban section"] .region-content-top .block h2.title {
}
@media (max-width: 899px) {
body[class*="-tasks section"] .region-content-top .block,
body[class*="-kanban section"] .region-content-top .block {
float: none;
width: 100%;

View file

@ -1,6 +1,6 @@
name = SuiteDesk Theme
description = SuiteDesk Theme Zen.
version = 0.2.33
version = 0.2.36
screenshot = screenshot.png
@ -40,6 +40,7 @@ stylesheets[all][] = css/comments.css
stylesheets[all][] = css/forms.css
stylesheets[all][] = css/extlink.css
stylesheets[all][] = css/suitedesk.css
stylesheets[all][] = css/print.css
stylesheets[all][] = modules/aggregator/aggregator.css
stylesheets[all][] = modules/book/book.css