Some minor CSS improvements.

- Projector: Use same line height in list elements as in content.
- Projector: Reduce indentation of ul/ol lists.
- Projector: Add more space between line numbers and motion text,
- Agenda list: Remove padding-left in item list view.
This commit is contained in:
Emanuel Schütze 2018-03-08 10:05:28 +01:00
parent 85bbaea3e5
commit 6daf262c0e
3 changed files with 6 additions and 8 deletions

View File

@ -310,8 +310,7 @@
</span> </span>
</div> </div>
<!-- hover menu --> <!-- hover menu -->
<div os-perms="agenda.can_see" ng-class="{'hiddenDiv': !item.hover}" <div os-perms="agenda.can_see" ng-class="{'hiddenDiv': !item.hover}">
ng-style="{'padding-left': items.length === itemsSearched.length ? '15px' : '0px'}">
<small> <small>
<a ui-sref="agenda.item.detail({id: item.id})" translate>List of speakers</a> <a ui-sref="agenda.item.detail({id: item.id})" translate>List of speakers</a>
<span os-perms="agenda.can_manage"> &middot; <span os-perms="agenda.can_manage"> &middot;

View File

@ -38,11 +38,7 @@ h3 {
} }
ul, ol { ul, ol {
margin: 0 0 10px 2em; margin: 0 0 10px 0;
}
li {
line-height: normal;
} }
hr { hr {

View File

@ -29,9 +29,12 @@ p.os-split-after {
} }
.motion-text.line-numbers-outside { .motion-text.line-numbers-outside {
padding-left: 0; padding-left: 0;
margin-left: 25px; margin-left: 35px;
position: relative; position: relative;
} }
.motion-text.line-numbers-outside .os-line-number {
left: -33px;
}
.motion-text.line-numbers-outside .os-line-number:after { .motion-text.line-numbers-outside .os-line-number:after {
content: attr(data-line-number); content: attr(data-line-number);
position: absolute; position: absolute;