mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-11 22:15:58 +08:00
fix icon style for productive nextcloud instances
Signed-off-by: binsky <timo@binsky.org>
This commit is contained in:
parent
017e38e62c
commit
cae98cfa8d
7 changed files with 25 additions and 12 deletions
|
@ -32,7 +32,7 @@
|
|||
angular.module('passmanApp').directive('credentialIcon', [
|
||||
'$window', function($window) {
|
||||
return {
|
||||
template: '<img ng-src="{{ iconUrl }}" class="icon-image">',
|
||||
template: '<img ng-src="{{ iconUrl }}" class="icon-image-size">',
|
||||
restrict: 'E',
|
||||
scope: {
|
||||
credential: '=',
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
|
||||
//fix for different heights of passwordicon
|
||||
.icon-image{
|
||||
.icon-image-size{
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
|||
display: inline-block;
|
||||
.sidebar-icon {
|
||||
margin-right: 15px;
|
||||
.icon-image{
|
||||
.icon-image-size{
|
||||
width: 44px;
|
||||
}
|
||||
i {
|
||||
|
|
|
@ -125,6 +125,7 @@
|
|||
}
|
||||
a {
|
||||
overflow: visible;
|
||||
padding-left: 44px!important;
|
||||
tags-input {
|
||||
opacity: 1.0;
|
||||
li {
|
||||
|
|
|
@ -25,11 +25,23 @@
|
|||
flex-direction: column;
|
||||
min-height: 0;
|
||||
flex: 1 1 100%;
|
||||
z-index: 51;
|
||||
background: var(--color-main-background);
|
||||
}
|
||||
|
||||
.app-sidebar-tabs__nav ul {
|
||||
.app-sidebar-tabs__nav {
|
||||
background: var(--color-background-hover);
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
justify-content: stretch;
|
||||
}
|
||||
}
|
||||
|
||||
.theme--dark {
|
||||
.app-sidebar-tabs__nav {
|
||||
background: var(--color-background-darker);
|
||||
}
|
||||
}
|
||||
|
||||
.app-sidebar-tabs__tab.active {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="cell fa fa-lock" ng-if="!credential.url && !credential.icon"></div>
|
||||
<div class="cell fa fa-lock" ng-if="!credential.url && (!credential.icon || (credential.icon && !credential.icon.type))"></div>
|
||||
|
||||
<div class="cell" ng-if="credential.url || credential.icon">
|
||||
<div class="cell" ng-if="credential.url || (credential.icon && credential.icon.type !== false)">
|
||||
<span class="icon">
|
||||
<credential-icon credential="credential"></credential-icon>
|
||||
</span>
|
||||
|
|
|
@ -152,7 +152,7 @@
|
|||
<credential-icon credential="selectedCredential"></credential-icon>
|
||||
</span>
|
||||
<span class="icon sidebar-icon" ng-if="!selectedCredential.url && (!selectedCredential.icon || (selectedCredential.icon && !selectedCredential.icon.type))">
|
||||
<i class="fa fa-lock fa-3x icon-image"></i>
|
||||
<i class="fa fa-lock fa-3x icon-image-size"></i>
|
||||
</span>
|
||||
<h2 class="sidebar-label">{{selectedCredential.label}}</h2>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue