Cleaning up code

This commit is contained in:
Manuel Cillero 2017-10-01 23:20:19 +02:00
parent 2e20b06d22
commit 05da76f3b9
9 changed files with 41 additions and 461 deletions

View file

@ -255,54 +255,6 @@ body.page-doks-tags .view-storm-doks-tags .views-row {
padding-top: .8em;
}
/*
* "Upcoming" blocks.
*/ /*
.block-upcoming-events ul {
padding-left: .4em;
}
.block-upcoming-events ul li {
padding-left: 40px;
padding-bottom: .8em;
list-style: none;
background: transparent url(../images/storm/event.png) no-repeat 0 0;
}
.block-upcoming-events .views-field-title {
font-weight: bold;
line-height: 1em;
}
.block-upcoming-events .views-field-field-stormevent-place-value {
font-size: .75em;
color: #999;
}
.block-upcoming-events .views-field-field-stormevent-date-value {
font-size: .75em;
color: #e58a28;
}
#block-views-calendar-block_2 {
margin: 2em 0 -1.5em;
background: transparent;
}
#block-views-calendar-block_2 .content {
overflow: hidden;
margin: 0;
}
#block-views-calendar-block_2 .view-content ul {
width: 3000px;
padding-left: 0;
}
#block-views-calendar-block_2 .view-content ul li {
float: left;
max-width: 14em;
margin: 0 .8em 0 0;
}
#block-views-calendar-block_2 .more-link {
float: right;
padding: 3px 8px;
font-weight: bold;
background: #dfdfdf;
} */
/*
* "SuiteDesk" dynamic desktop.
*/
@ -316,8 +268,7 @@ body.page-doks-tags .view-storm-doks-tags .views-row {
div.stormlinks {
float: right;
width: 30%;
border: 1px solid #ddd; /*
border-radius: 5px; */
border: 1px solid #ddd;
background: #fff;
padding: 8px 0 4px 1%;
margin-bottom: 1em;
@ -335,12 +286,7 @@ div.stormlinks dl {
div.stormlinks {
display: none;
}
} /*
@media (max-width: 439px), (min-width: 530px) and (max-width: 679px) { * MINW *
div.stormlinks {
display: none;
}
} */
}
div.stormlinks .sqtt-timetracking-trigger {
display: block;
margin-top: 1.4em;
@ -354,14 +300,9 @@ div.stormlinks .sqtt-timetracking-trigger span {
div.stormlinks .sqtt-timetracking-trigger img {
margin-top: 0;
margin-right: 8px;
} /*
#stormdesktop {
clear: both;
padding: 1em 0 0;
} */
}
div.stormdashboard {
width: 50%; /*
margin-left: 0; */
width: 50%;
}
div.stormdashboard dt.stormcomponent {
background-color: #e2e2e2 !important;
@ -394,37 +335,15 @@ div.stormdashboard dt.stormcomponent:hover a {
@media (max-width: 659px), (min-width: 768px) and (max-width: 899px) {
div.stormdashboard {
width: 100%;
margin-left: 0; /*
width: 100%;
margin-top: 0;
margin-left: 0; */
margin-left: 0;
}
} /*
@media (min-width: 660px) and (max-width: 799px) {
div.stormdashboard dt.stormcomponent {
padding-left: 10px;
background-image: none !important;
}
} */
}
#stormdashboard-block dt.stormcomponent {
min-width: 50%;
padding-right: 5px;
margin-bottom: .1em;
} /*
@media (min-width: 530px) and (max-width: 729px) { * MINW *
#stormdashboard-block dt.stormcomponent {
width: 100%;
background: #e2e2e2 !important;
padding-left: 5px;
}
#stormdashboard-block dt.stormcomponent:hover {
background-color: #d2e0f1 !important;
}
#stormdashboard-block a.popups-form {
display: none;
}
} */
}
dt.stormcomponent img {
margin: 0 !important;
}
@ -501,27 +420,7 @@ dt.stormcomponent span.stormlinks-count + a > img {
/*
* "SuiteDesk" list & filter.
*/ /*
#edit-datefrom-wrapper label,
#edit-dateto-wrapper label,
#edit-datebeginfrom-wrapper label,
#edit-datebeginto-wrapper label,
#edit-dateendfrom-wrapper label,
#edit-dateendto-wrapper label,
#edit-reqdatefrom-wrapper label,
#edit-reqdateto-wrapper label {
margin-bottom: 0;
}
#edit-datefrom-wrapper .description,
#edit-dateto-wrapper .description,
#edit-datebeginfrom-wrapper .description,
#edit-datebeginto-wrapper .description,
#edit-dateendfrom-wrapper .description,
#edit-dateendto-wrapper .description,
#edit-reqdatefrom-wrapper .description,
#edit-reqdateto-wrapper .description {
margin-bottom: -0.5em;
} */
*/
#edit-itemsperpage-wrapper {
margin-top: .5em;
}
@ -1233,23 +1132,7 @@ div.field-items img.imagefield[class$="_image"] {
body:not(.print-pdf).suitedesk div.field-items {
margin-right: 0;
}
} /*
@media (max-width: 439px), (min-width: 530px) and (max-width: 679px) { * MINW *
div.stormfields div.value,
body.suitedesk div.field-items {
margin-right: 0;
}
} */ /*
body.print-body div.stormfields div.label,
body.print-body div.field-label {
line-height: 1.8em;
width: 8.3em;
float: left;
}
body.print-body div.stormfields div.value,
body.print-body div.field-items {
margin: 0 24% .2em 8.3em;
} */
div[class*="node-type-storm"] .stormbody div.label,
div[class*="node-type-storm"] .field-field-stormorganization-notes .field-label,
@ -1322,8 +1205,6 @@ body.suitedesk .field-field-stormorganization-members div.field-items {
/*
* "SuiteDesk Project" node.
*
* Restore bootstrap normal line height.
*/
body.suitedesk .field-field-stormproject-ms div.field-items,
body.suitedesk .field-field-stormproject-status div.field-items {
@ -1356,36 +1237,7 @@ body.suitedesk .field-field-stormproject-subprojects div.field-items {
/* Disable too when printing project book */
.node-type-stormproject .section-2 .stormbody div.label {
display: none;
} /*
.node-type-stormdok .group-stormdok-visible {
margin-right: 32%;
margin-bottom: 1.4em;
padding: .5em 1em .5em 50px;
text-align: left;
border: 1px solid #faebcc;
background: #fcf8e3 url(../images/message_warning.png) no-repeat 5px 5px;
}
@media (max-width: 889px) {
.node-type-stormdok .group-stormdok-visible {
margin-right: 44%;
}
}
@media (max-width: 439px), all and (min-width: 530px) and (max-width: 679px) { *//* MINW *//*
.node-type-stormdok .group-stormdok-visible {
margin-right: 0;
}
}
.node-type-stormdok .group-stormdok-visible legend {
display: none;
}
.node-type-stormdok .group-stormdok-visible .description {
color: #8a6d3b;
}
body.suitedesk .node-type-stormdok .group-stormdok-visible div.field-items {
margin: 0;
background-color: #fff;
text-align: center;
} */
/*
* "SuiteDesk Note" node.
@ -1439,42 +1291,6 @@ body.suitedesk .node-type-stormdok .group-stormdok-visible div.field-items {
margin-left: 1.85em;
font-size: .82em;
}
/*
dt.print_html {
background: transparent url(images/html.png) no-repeat top left;
}
dt.print_pdf {
background: transparent url(images/pdf.png) no-repeat top left;
}
div.stormfields, div.field, div.stormbody {
width: 70%;
}
div.stormfields div.label, div.stormbody div.label, div.field div.field-label-inline-first {
float: left;
width: 150px;
text-align: right;
clear: left;
font-weight: bold;
}
div.stormlinks {
float:right;
width: 30%;
}
div.stormbody div.value p {
clear: left;
margin: 1.2em;
margin-left: 0;
margin-top: 0;
margin-right: 0;
}
table#attachments {
float: left;
} */
/*
* "SuiteDesk" comments.
@ -1505,8 +1321,7 @@ body.section-ticket #main-content .section {
.node-type-stormtask .meta,
.node-type-stormticket .meta {
position: absolute;
bottom: 1.4em; /*
width: 90%; */
bottom: 1.4em;
padding: 0;
}
.section-node-add .node-type-stormtask .meta,
@ -1611,20 +1426,7 @@ div.tt-new {
div[id$="-attach-items"] table.table td:not(.content-multiple-drag),
div[id$="-attached-items"] table.table td:not(.content-multiple-drag) {
float: none !important;
} /*
#field-stormorganization-attached-items table.table td,
#field-stormperson-attached-items table.table td,
#field-stormproject-attached-items table.table td,
#field-stormtask-attached-items table.table td,
#field-stormtaskc-attach-items table.table td,
#field-stormticket-attached-items table.table td,
#field-stormticketc-attach-items table.table td,
#field-stormevent-attach-items table.table td,
#field-stormnote-attached-items table.table td,
#field-stormdok-attach-items table.table td {
float: none;
} */
}
table[id*="_attach_values"],
table[id*="_attached_values"] {
margin-top: -0.5em;
@ -1720,13 +1522,7 @@ fieldset.group-stormorganization-members {
}
fieldset.group-stormorganization-members legend {
display: none;
} /*
table#field_stormorganization_attached_values {
margin-top: -0.5em;
}
table#field_stormorganization_attached_values thead {
display: none;
} */
/*
* "SuiteDesk Person" node form.
@ -1734,13 +1530,7 @@ table#field_stormorganization_attached_values thead {
#edit-field-stormperson-name-0-value,
#edit-field-stormperson-lastname-0-value {
width: 100%;
} /*
table#field_stormperson_attached_values {
margin-top: -0.5em;
}
table#field_stormperson_attached_values thead {
display: none;
} */
/*
* "SuiteDesk Project" node form.
@ -1755,14 +1545,7 @@ fieldset.group-stormproject-subprojects legend {
}
#edit-field-stormproject-team-value-wrapper {
margin: 1.4em 0 .4em;
} /*
table#field_stormproject_attached_values {
margin-top: -0.5em;
}
table#field_stormproject_attached_values thead,
form.stormproject_node_form fieldset.book-outline-form {
display: none;
} */
form.stormproject_node_form fieldset.book-outline-form {
display: none;
}
@ -1772,33 +1555,11 @@ form.stormproject_node_form fieldset.book-outline-form {
*/
#edit-durationunit-wrapper {
margin-bottom: 1.2em; /* Solving field position in responsive actions */
} /*
table#field_stormtask_attached_values {
margin-top: -0.5em;
}
table#field_stormtask_attached_values thead {
display: none;
} */
/*
* "SuiteDesk Ticket" node form.
*/ /*
table#field_stormticket_attached_values {
margin-top: -0.5em;
}
table#field_stormticket_attached_values thead {
display: none;
} */
/*
* "SuiteDesk Event" node form.
*/ /*
table#field_stormevent_attach_values {
margin-top: -0.5em;
}
table#field_stormevent_attach_values thead {
display: none;
} */
*/
#edit-field-stormevent-place-0-value-wrapper + .form-item .form-radios label {
float: left;
width: 7.24%;
@ -1868,34 +1629,10 @@ table#field_stormevent_attach_values thead {
}
#edit-field-stormevent-place-0-value-wrapper + .form-item + fieldset > legend {
display: none;
} /*
#edit-field-stormevent-date-value-wrapper label,
#edit-field-stormevent-date-value2-wrapper label {
display: block;
float: left;
width: 9em;
} */
}
#edit-field-stormevent-date-rrule-UNTIL-datetime-wrapper {
padding-top: 1em;
} /*
#edit-field-stormevent-date-rrule-UNTIL-datetime-wrapper label {
display: block;
float: left;
width: 4em;
}
#edit-field-stormevent-date-rrule-advanced-BYDAY {
max-width: 300px;
} */
/*
* "SuiteDesk Note" node form.
*/ /*
table#field_stormnote_attached_values {
margin-top: -0.5em;
}
table#field_stormnote_attached_values thead {
display: none;
} */
/*
* "SuiteDesk Idea" node form.
@ -1952,21 +1689,11 @@ table#field_stormnote_attached_values thead {
#edit-access-public-wrapper,
#edit-access-authorised-wrapper {
margin: .5em 0;
} /*
table#field_stormdok_attach_values {
margin-top: -0.5em;
}
table#field_stormdok_attach_values thead {
display: none;
} */
/*
* "SuiteDesk Task & Ticket" comment form.
*/ /*
table#field_stormtaskc_attach_values thead,
table#field_stormticketc_attach_values thead {
display: none;
} */
*/
#edit-field-stormtaskc-title-0-value,
#edit-field-stormticketc-title-0-value {
width: 100%;