Card: Fix styling issue when only duedate is set

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2017-10-18 15:57:15 +02:00
committed by Julius Härtl
parent 8357599361
commit 3037effb5a
2 changed files with 36 additions and 34 deletions

View File

@@ -364,6 +364,7 @@ input.input-inline {
background: $color-lightgrey;
display: flex;
position: relative;
padding-left: 10px;
.card-options {
justify-content: flex-end;
@@ -375,6 +376,40 @@ input.input-inline {
.icon-filetype-text {
margin: 10px;
margin-left: 0px;
}
.due {
border-radius: 3px;
margin: 6px 4px 6px 0px;
padding: 0 4px;
font-size: 90%;
opacity: 0.5;
display: flex;
align-items: center;
.icon {
background-size: contain;
}
&.overdue {
background-color: $color-error;
color: $color-primary-text;
.icon-badge {
background-image: url('../img/calendar-white.svg');
}
}
&.now {
background-color: $color-warning;
}
&.next {
background-color: $color-warning-light;
}
span {
margin-left: 3px;
}
}
button {
@@ -498,39 +533,6 @@ input.input-inline {
}
}
.due {
border-radius: 3px;
margin: 6px 4px 6px -4px;
padding: 0 4px;
font-size: 90%;
opacity: 0.5;
display: flex;
align-items: center;
.icon {
background-size: contain;
}
&.overdue {
background-color: $color-error;
color: $color-primary-text;
.icon-badge {
background-image: url('../img/calendar-white.svg');
}
}
&.now {
background-color: $color-warning;
}
&.next {
background-color: $color-warning-light;
}
span {
margin-left: 3px;
}
}
/**
* App sidebar
*/

View File

@@ -47,7 +47,7 @@ if(!\OC::$server->getConfig()->getSystemValue('debug', false)) {
'app' => ['App', 'Config', 'Run'],
'controller' => ['AppController', 'BoardController', 'CardController', 'ListController'],
'directive' => ['appnavigationentryutils', 'appPopoverMenuUtils', 'autofocusoninsert', 'avatar', 'elastic', 'search', 'datepicker', 'timepicker'],
'filters' => ['boardFilterAcl', 'cardFilter', 'cardSearchFilter', 'iconWhiteFilter', 'lightenColorFilter', 'orderObjectBy', 'dateFilters', 'textColorFilter'],
'filters' => ['boardFilterAcl', 'cardFilter', 'cardSearchFilter', 'iconWhiteFilter', 'lightenColorFilter', 'orderObjectBy', 'dateFilters', 'textColorFilter', 'withoutAssignedUsers'],
'service' => ['ApiService', 'BoardService', 'CardService', 'LabelService', 'StackService', 'StatusService'],
];
foreach($js as $folder=>$files) {