Layout improvements for agenda and motions
- Use more compact agenda on projector (reduce line height) - Fixed sorting of motions and limit motion title lenght in recommendation dropdown menu. - Improved CSS for using tables in topic text (site and projector).
This commit is contained in:
parent
a9e0f36ab9
commit
bee73d3a28
@ -1,30 +1,22 @@
|
||||
@import 'list_of_speakers';
|
||||
|
||||
/* Agenda list */
|
||||
.agendalist {
|
||||
line-height: 1.5em;
|
||||
|
||||
p {
|
||||
font-size: 140%;
|
||||
}
|
||||
|
||||
.mainitem {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
.subitem {
|
||||
font-size: 100%;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
}
|
||||
.agendalist-table {
|
||||
td {
|
||||
vertical-align: top;
|
||||
padding-left: 5px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.number {
|
||||
padding: 0;
|
||||
td.number {
|
||||
padding-left: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
p.mainitem {
|
||||
font-size: 140%;
|
||||
}
|
||||
|
||||
p.subitem {
|
||||
font-size: 100%;
|
||||
}
|
||||
}
|
||||
|
@ -16,11 +16,6 @@
|
||||
{{ node.item.item_number }}
|
||||
</p>
|
||||
</td>
|
||||
<td ng-if="!node.item.closed">
|
||||
<p ng-class="{mainitem: node.item.parent_id === null}" ng-if="node.item.item_number">
|
||||
·
|
||||
</p>
|
||||
</td>
|
||||
<td ng-if="!node.item.closed">
|
||||
<p ng-class="{mainitem: node.item.parent_id === null, subitem: node.item.parent_id !== null}">
|
||||
{{ node.item.title }}
|
||||
|
@ -10,6 +10,8 @@
|
||||
|
||||
.dropdown-menu {
|
||||
margin-left: 0px !important;
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.slimDropDown {
|
||||
@ -162,6 +164,11 @@
|
||||
}
|
||||
|
||||
/* tables */
|
||||
.topictext table {
|
||||
border-spacing: 10px 0;
|
||||
border-collapse: separate;
|
||||
}
|
||||
|
||||
.minimum {
|
||||
width: 1px;
|
||||
}
|
||||
|
@ -251,9 +251,10 @@
|
||||
<translate>Motion</translate>
|
||||
</span>
|
||||
<ul uib-dropdown-menu class="dropdown-menu" aria-labelledby="motion-dropdown">
|
||||
<li ng-repeat="m in motions | orderBy: identifier">
|
||||
<li ng-repeat="m in motions | orderBy: 'identifier'">
|
||||
<a href ng-click="addMotionToRecommendationField(m)">
|
||||
{{ m.identifier ? m.identifier + ':' : '' }} {{ m.getTitle() }}
|
||||
{{ m.identifier ? m.identifier + ':' : '' }}
|
||||
{{ m.getTitle() | limitTo: 35 }}{{ m.getTitle().length > 35 ? '...' : '' }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div ng-controller="SlideTopicCtrl" class="content scrollcontent">
|
||||
<h1>{{ topic.agenda_item.getTitle() }}</h1>
|
||||
<div ng-bind-html="topic.text | trusted" class="zoomcontent"></div>
|
||||
<div ng-bind-html="topic.text | trusted" class="zoomcontent topictext"></div>
|
||||
</div>
|
||||
|
@ -26,7 +26,7 @@
|
||||
</div>
|
||||
|
||||
<div class="details">
|
||||
<div ng-bind-html="topic.text | trusted"></div>
|
||||
<div ng-bind-html="topic.text | trusted" class="topictext"></div>
|
||||
<h3 ng-if="topic.attachments.length > 0" translate>Attachments</h3>
|
||||
<ul>
|
||||
<li ng-repeat="attachment in topic.attachments">
|
||||
|
Loading…
Reference in New Issue
Block a user