diff --git a/src/plugins/folderView/components/GridView.vue b/src/plugins/folderView/components/GridView.vue index ba63b3579a..631b8eb5eb 100644 --- a/src/plugins/folderView/components/GridView.vue +++ b/src/plugins/folderView/components/GridView.vue @@ -14,9 +14,9 @@ :title="item.model.name">{{item.model.name}}
- {{item.type.name}} - - - {{item.model.composition.length}} items + +
@@ -45,8 +45,8 @@ body.desktop & { flex-flow: row wrap; &__item { - height: $ueBrowseGridItemLg; - width: $ueBrowseGridItemLg; + height: $gridItemDesk; + width: $gridItemDesk; margin: 0 $interiorMargin $interiorMargin 0; } } @@ -62,8 +62,8 @@ &__type-icon { filter: $colorKeyFilter; - flex: 0 0 32px; - font-size: 2em; // Drives the size of the alias indicator when present + flex: 0 0 $gridItemMobile; + font-size: floor($gridItemMobile / 2); margin-right: $interiorMarginLg; } @@ -84,13 +84,22 @@ &__name { @include ellipsize(); color: $colorItemFg; - font-size: 1.3em; + font-size: 1.2em; font-weight: 400; margin-bottom: $interiorMarginSm; } &__metadata { color: $colorItemFgDetails; + font-size: 0.9em; + + body.mobile & { + [class*='__item-count'] { + &:before { + content: ' - '; + } + } + } } &__controls { @@ -136,8 +145,8 @@ &__type-icon { flex: 1 1 auto; - font-size: 6em; // Drives the size of the alias indicator when present - margin: $interiorMargin 22.5%; + font-size: floor($gridItemDesk / 3); + margin: $interiorMargin 22.5% $interiorMargin * 3 22.5%; order: 2; transform: scale(0.9); transform-origin: center; @@ -149,6 +158,20 @@ justify-content: flex-end; order: 3; } + + &__metadata { + display: flex; + + &__type { + flex: 1 1 auto; + @include ellipsize(); + } + + &__item-count { + opacity: 0.7; + flex: 0 0 auto; + } + } } } diff --git a/src/plugins/notebook/res/templates/entry.html b/src/plugins/notebook/res/templates/entry.html index 6d1145afe8..d2b4c98cac 100644 --- a/src/plugins/notebook/res/templates/entry.html +++ b/src/plugins/notebook/res/templates/entry.html @@ -8,8 +8,7 @@ {{formatTime(entry.createdOn, 'HH:mm:ss')}}
- -
-
{{selectedMode.name}} -
+
@@ -66,16 +66,6 @@ min-width: 200px; } } - - .is-realtime-mode { - .c-mode-button { - background: $colorTimeBg; - - &:hover { - background: $colorTimeHov; - } - } - }