diff --git a/css/style.css b/css/style.css index 887d24fb1..524f29281 100644 --- a/css/style.css +++ b/css/style.css @@ -20,10 +20,44 @@ * */ +/** + * General styles + */ + +.app-deck .icon { + display: inline-block; +} + +input.input-inline { + font-size: inherit !important; + font-weight: inherit; + background-color: transparent; + padding: 0; + border: none; + width: 100%; + border-bottom: 1px solid #333333; + -webkit-border-radius: 0; + line-height: 100%; + margin: -4px 0; +} + +button { + border: 0; + background-color: transparent; +} + +button:hover { + border: 0; + background-color: transparent; +} + #searchbox { display: block !important; } +/** + * Navigation sidebar + */ .app-navigation-entry-utils-menu-button { display: block !important; } @@ -51,6 +85,9 @@ cursor: pointer; } +/** + * Board view + */ #app-view { position: relative; height: 100%; @@ -184,6 +221,7 @@ border: 0; background-color: transparent; float: left; + min-height: initial; } .stack h2 button, @@ -270,12 +308,6 @@ margin-top: 15px; } -.card h3 .fa { - font-size: 18pt; - line-height: 10pt; - vertical-align: middle; -} - .card .labels { position: absolute; top: -5px; @@ -342,9 +374,9 @@ } .card.create h3 { - margin: 0; - padding: 0; width: 100%; + padding: 0; + margin: 0 0 1px; } .card.create h3 input { @@ -358,16 +390,7 @@ border-radius: 0; color: #ffffff; background-color: transparent !important; -} - -.card.create .fa { - color: #ffffff; - width: 100%; -} - -.card.create .fa:hover { - opacity: 0.5; - cursor: pointer; + min-height: initial; } .due { @@ -378,6 +401,10 @@ margin-right: 2px; } +/** + * Card view right sidebar + */ + #card-header { height: 44px; } @@ -442,20 +469,6 @@ background-color: white; } -#card-description .container.ng-hide-remove { - animation: fade 1s forwards; - background-color: rgba(255, 255, 100, 1); -} - -@keyframes fade { - from { - background-color: rgba(255, 255, 100, 1); - } - to { - background-color: rgba(255, 255, 255, 0); - } -} - #sidebar-header, .card-block { padding: 15px; @@ -528,7 +541,9 @@ display: block !important; } -/* color selector */ +/** + * Color selection + */ .colorselect { overflow: hidden; @@ -562,6 +577,9 @@ height: 26px; } +/** + * Board list main screen area + */ #boardlist { width: 100%; height: 100%; @@ -607,30 +625,47 @@ margin-top: 5px; } -input.input-inline { - font-size: inherit !important; - font-weight: inherit; - background-color: transparent; +/** + * Board details + */ + +#shareWithList { + list-style-type: none; + padding: 0 0 16px; +} + +#shareWithList li { + padding-top: 5px; + padding-bottom: 5px; + font-weight: bold; + white-space: normal; + display: flex; + align-items: center; +} + +#shareWithList .username { + padding-right: 8px; + padding-left: 8px; + white-space: nowrap; + text-overflow: ellipsis; + display: inline-block; + overflow: hidden; + vertical-align: middle; +} + +.shareWithList .icon-delete { + display: inline-block; + background-size: 16px 16px; + width: 16px; + height: 16px; padding: 0; - border: none; - width: 100%; - border-bottom: 1px solid #333333; - -webkit-border-radius: 0; - line-height: 100%; - margin: -4px 0; + margin-top: 5px; } -button { - border: 0; - background-color: transparent; +.shareOption { + margin-top: 4px; } -button:hover { - border: 0; - background-color: transparent; -} - -/* board detail */ #board-detail-labels { padding: 10px; } @@ -692,6 +727,51 @@ button:hover { display: none; } +.ui-select-match-close { + float: right; + z-index: 100; + position: relative; + display: inline-block !important; + margin-right: 7px; +} + +.ui-select-match-item { + padding: 0; + float: left !important; + display: block; +} + +.ui-select-match-item .select-label { + color: #fff; + padding: 6px 23px 6px 6px; + margin-right: -23px !important; +} + +.select2-container-multi .select2-choices .select2-search-choice { + padding: 3px 0 !important; + border: 0 !important; + overflow: hidden; +} + +.ui-select-container[disabled] .ui-select-match-item .select-label { + padding: 4px; + min-width: 26px !important; + height: 100%; + display: inline-block; +} + +.ui-select-container[disabled] .ui-select-match-item { + margin-right: 0 !important; +} + +.select2-search input { + width:100% !important; +} + +/** + * Mobile optimizations + */ + @media (max-width: 480px) { /* hide board actions on mobile */ #board-actions { @@ -705,6 +785,10 @@ button:hover { } } +/** + * Markdown rendering + */ + #markdown { width: 100% !important; } @@ -764,30 +848,9 @@ button:hover { padding: 3px; } -.shareWithList .username { - min-width: 100px; -} - -.shareWithList .icon { - display: inline-block; - background-size: 16px 16px; - width: 16px; - height: 16px; -} - -.shareWithList .fa { - font-size: 12pt; - width: 16px; - text-align: center; -} - -.shareOption { - margin-top: 4px; -} - -.app-deck .icon { - display: inline-block; -} +/** + * Custom icons + */ .icon-group { background-image: url('../../../settings/img/users.svg'); diff --git a/templates/part.board.sidebarView.php b/templates/part.board.sidebarView.php index 3abca92d4..7cb494586 100644 --- a/templates/part.board.sidebarView.php +++ b/templates/part.board.sidebarView.php @@ -18,14 +18,14 @@
- + {{ $item.participant }} {{ sharee.participant }} - t('No users found.')); ?> + t('No matching user or group found.')); ?> @@ -34,8 +34,8 @@
- {{ boardservice.getCurrent().owner }} - t('Board owner')); ?> + {{ boardservice.getCurrent().owner }} +
  • @@ -43,7 +43,9 @@
    - {{ acl.participant }} + {{ acl.participant }} + + @@ -56,7 +58,8 @@ - t('Discard share')); ?> + + t('Discard share')); ?>
  • diff --git a/templates/part.card.php b/templates/part.card.php index c5b645fb6..ec2548455 100644 --- a/templates/part.card.php +++ b/templates/part.card.php @@ -30,14 +30,13 @@
    - - {{$item.title}}  + + {{$item.title}}