Koha/koha-tmpl/intranet-tmpl/prog/css/reports.css
Owen Leonard 8e1efe8f10 Bug 22168: Improve styling of new chart settings for reports
This patch updates a number of aspects of the reports chart creation
interface: Chart creation form is now shown in a modal window, and a
separate link has been added to show or hide the chart itself.

Also changed: Minor markup and JavaScript cleanup.

To test, apply the patch and go to Reports -> Saved reports.

- Run a report which returns more than one column.
- On the report results page, click the "Create chart" button. The chart
  settings form should appear in a modal window.
- Confirm that the form controls work correctly: Each label should give
  focus to the correct input. Changing the chart type should show or
  hide the appropriate form fields.
- Click the "Draw" button. The modal should disappear and the chart
  should be shown.
- Above the chart should be a "Hide chart" link which works to hide (and
  then show) the chart.

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-28 16:05:37 +00:00

111 lines
No EOL
1.6 KiB
CSS

#sql {
height: 9em;
width: 90%;
}
#update_sql .modal-dialog {
width: 80%;
}
ins {
background-color: #e6ffe6;
}
del {
background-color: #ffe6e6;
}
#col1,
#col2 {
float: left;
width: 45%;
}
#col1 ins,
#col2 del {
display: none;
}
.show_sql {
font-family: monospace;
}
.send_to_item_mod {
background-color: #EBF3FF;
border: 1px solid #88b0e8;
border-radius: 5px;
display: inline-block;
font-size: 75%;
margin: 3px 5px;
padding: 3px 5px;
white-space: nowrap;
}
.filter {
background-color: #EBF3FF;
border-radius: 5px;
display: inline-block;
font-size: 85%;
margin: 3px;
padding: 0 1em;
white-space: nowrap;
}
.filter span,
.filter a {
padding: .5em 0;
}
.filter span {
border-right: 1px solid #A4BEDD;
display: inline-block;
margin-right: .5em;
padding-right: .5em;
}
.clear_filter {
display: inline-block;
font-weight: bold;
margin-left: .5em;
padding-left: 1em;
}
.clear_filter i {
color: #C00;
}
fieldset.rows {
background-color: transparent;
border: 0;
font-size: 100%;
margin: 0;
padding: 0;
}
fieldset.rows label,
fieldset.rows span.label {
width: 12em;
}
fieldset.rows legend {
margin-left: 0;
}
fieldset.rows .column_config_row {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
fieldset.rows .chart-column-conf {
padding: .7em;
width: auto;
}
fieldset.rows .chart-column-conf label {
display: block;
float: none;
margin: .4em 0;
text-align: left;
width: auto;
}