Skip to content

Commit

Permalink
Frontend: Remove unrequired css and fix language strings
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Oct 23, 2017
1 parent 3037eff commit 53b1af9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
26 changes: 12 additions & 14 deletions css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -603,23 +603,16 @@ input.input-inline {
}
}

.select2-container {
margin: 0px;
}
.section-header {
border-bottom: 1px solid $color-lightgrey;
display: flex;
margin-bottom: 5px;
margin-top: 20px;
min-height: 30px;
h4 {
padding-top: 5px;
padding-bottom: 5px;
border: none;
flex: 1;
}


}

.save-indicator {
Expand Down Expand Up @@ -1022,14 +1015,19 @@ input.input-inline {
}
}

.select2-container .select2-choices {
padding: 0 !important;
}
.select2-container {
width: 100%;
margin: 0;

.select2-container .select2-choices .select2-search-choice {
padding: 3px 0 !important;
border: 0 !important;
overflow: hidden;
.select2-choices {
padding: 0 !important;

.select2-search-choice {
padding: 3px 0 !important;
border: 0 !important;
overflow: hidden;
}
}
}

.ui-select-container[disabled] .ui-select-match-item {
Expand Down
5 changes: 3 additions & 2 deletions templates/part.board.sidebarView.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
<div class="tabsContainer">
<div id="commentsTabView" class="tab commentsTabView" ng-if="status.boardtab==0 || !status.boardtab">

<ui-select ng-if="boardservice.canShare()" ng-model="status.addSharee" theme="select2" style="width:100%;"
title="Choose a user to assign" placeholder="Assign users ..."
<ui-select ng-if="boardservice.canShare()" ng-model="status.addSharee" theme="select2"
title="<?php p($l->t('Select users or groups to share with')); ?>"
placeholder="<?php p($l->t('Select users or groups to share with')); ?>"
on-select="aclAdd(status.addSharee)" search-enabled="true">
<ui-select-match placeholder="<?php p($l->t('Select users or groups to share with')); ?>">
<span><i class="icon icon-{{$item.type}}"></i> {{ $item.participant.displayname }}</span>
Expand Down
4 changes: 2 additions & 2 deletions templates/part.card.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div id="labels" ng-show="!(boardservice.isArchived() || card.archived) && card.labels">
<ui-select multiple tagging="" ng-model="card.labels" theme="select2"
ng-disabled="boardservice.isArchived() || card.archived"
style="width:100%;" title="<?php p($l->t('Choose a tag')); ?>"
title="<?php p($l->t('Choose a tag')); ?>"
placeholder="<?php p($l->t('Add a tag')); ?>"
on-select="labelAssign($item, $model)"
on-remove="labelRemove($item, $model)" ng-disabled="!boardservice.canEdit() || archived">
Expand All @@ -55,7 +55,7 @@
</div>
<div class="section-content card-details-assign-users">
<ui-select id="assignUserSelect" class="card-details-assign-user" ng-model="status.assignedUser" ng-show="status.showAssignUser" uis-open-close="assingUserOpenClose(isOpen)"
theme="select2" style="width:100%;"
theme="select2"
title="Choose a user to assign" placeholder="Choose a user to assign"
on-select="addAssignedUser($item)">
<ui-select-match placeholder="<?php p($l->t('Assign this card to a user')); ?>">
Expand Down

0 comments on commit 53b1af9

Please sign in to comment.