Fix credential-editing layout

Signed-off-by: fnuesse <felix.nuesse@t-online.de>
This commit is contained in:
fnuesse 2018-09-30 21:17:53 +02:00
parent 0f634ef820
commit 3306fce7bf
No known key found for this signature in database
GPG key ID: 2089A3431243E819
4 changed files with 16 additions and 15 deletions

View file

@ -470,8 +470,8 @@
border-bottom-left-radius: 3px; border-bottom-left-radius: 3px;
background-clip: padding-box; } background-clip: padding-box; }
#app-content #app-content-wrapper .credential-table { #app-content #app-content-wrapper .credential-table {
width: 100%; width: 100vh;
margin-top: 44px; } }
#app-content #app-content-wrapper .credential-table tr:hover { #app-content #app-content-wrapper .credential-table tr:hover {
background-color: whitesmoke; } background-color: whitesmoke; }
#app-content #app-content-wrapper .credential-table tr.selected { #app-content #app-content-wrapper .credential-table tr.selected {

View file

@ -573,19 +573,24 @@
@include border-left-radius(0) @include border-left-radius(0)
} }
.icon-picker { .icon-picker {
//float: left; //position: relative;
margin-top: 3px;
margin-left: -3px;
//@include border-left-radius(3px); //@include border-left-radius(3px);
float: left;
margin-top: 3px;
padding-top: 7px;
.cell { .cell {
//min-height: 44px; //min-height: 44px;
margin-top: 0px;
margin-left: -0px;
padding: 7px 12px 2px 12px; padding: 7px 12px 2px 12px;
display: inline-block; display: inline;
font-size: 14px; font-size: 14px;
border: 1px solid #ddd; border: 1px solid #ddd;
background-color: lighten(#ddd, 5%); background-color: lighten(#ddd, 5%);
cursor: pointer; cursor: pointer;
//@include border-left-radius(6px); @include border-left-radius(6px);
//img { //img {
// height: 16px; // height: 16px;
//} //}
@ -596,6 +601,7 @@
} }
} }
#iconPicker { #iconPicker {
.iconList { .iconList {
float: left; float: left;

View file

@ -41,6 +41,7 @@
float: left; float: left;
margin-top: 3px; margin-top: 3px;
margin-left: -3px; margin-left: -3px;
padding-bottom:1px;
.cell{ .cell{
padding: 5px; padding: 5px;
display: inline-block; display: inline-block;

View file

@ -1,10 +1,5 @@
<div> <div class="cell icon-category-auth"></div>
<div class="cell"> <div style="display: none" id="iconPicker" title="{{ 'pick.icon' | translate }}">
<span >
<span class="icon icon-category-auth"></span>
</span>
</div>
<div style="display: none" id="iconPicker" title="{{ 'pick.icon' | translate }}">
<div class="iconList"> <div class="iconList">
<div ng-repeat="(groupName, icons) in iconGroups"> <div ng-repeat="(groupName, icons) in iconGroups">
<h2 style="clear: both" id="{{groupName}}">{{groupName}}</h2> <h2 style="clear: both" id="{{groupName}}">{{groupName}}</h2>
@ -27,4 +22,3 @@
</div> </div>
</div> </div>
</div> </div>
</div>