Hide action button in tree (#8481)
This commit is contained in:
committed by
GitHub
parent
1eb0c93e05
commit
27ffa68ddf
@@ -1,7 +1,7 @@
|
||||
.umb-button-ellipsis{
|
||||
padding: 0 5px;
|
||||
text-align: center;
|
||||
margin: 0 10px 0 auto;
|
||||
margin: 0 auto;
|
||||
cursor: pointer;
|
||||
border-radius: @baseBorderRadius;
|
||||
color: black;
|
||||
@@ -9,7 +9,7 @@
|
||||
opacity: 0.8;
|
||||
transition: opacity .3s ease-out;
|
||||
|
||||
&.show-text{
|
||||
&.show-text {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
|
||||
@@ -75,8 +75,8 @@ body.touch .umb-tree {
|
||||
|
||||
&:hover {
|
||||
background: @ui-option-hover;
|
||||
|
||||
color: @ui-option-type-hover;
|
||||
|
||||
a {
|
||||
color: @ui-option-type-hover;
|
||||
}
|
||||
@@ -85,8 +85,8 @@ body.touch .umb-tree {
|
||||
position: relative;
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin: 0 10px 0 auto;
|
||||
padding: 9px 5px;
|
||||
margin: 0 5px 0 auto;
|
||||
padding: 7px 5px;
|
||||
overflow: visible;
|
||||
clip: auto;
|
||||
}
|
||||
@@ -175,9 +175,9 @@ body.touch .umb-tree {
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
justify-content: flex-end;
|
||||
padding: 9px 5px;
|
||||
padding: 7px 5px;
|
||||
text-align: center;
|
||||
margin: 0 10px 0 auto;
|
||||
margin: 0 5px 0 auto;
|
||||
cursor: pointer;
|
||||
border-radius: @baseBorderRadius;
|
||||
|
||||
@@ -188,18 +188,20 @@ body.touch .umb-tree {
|
||||
display: inline-block;
|
||||
margin: 0 2px 0 0;
|
||||
background: @ui-active-type;
|
||||
|
||||
|
||||
&:last-child {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: rgba(255, 255, 255, .5);
|
||||
|
||||
i {
|
||||
background: @ui-active-type-hover;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// NOTE - We're having to repeat ourselves here due to an .sr-only class appearing in umbraco/lib/font-awesome/css/font-awesome.min.css
|
||||
&.sr-only--hoverable:hover,
|
||||
&.sr-only--focusable:focus {
|
||||
@@ -207,9 +209,9 @@ body.touch .umb-tree {
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
justify-content: flex-end;
|
||||
padding: 9px 5px;
|
||||
padding: 7px 5px;
|
||||
text-align: center;
|
||||
margin: 0 10px 0 auto;
|
||||
margin: 0 auto;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
<span class="umb-tree-item__annotation"></span>
|
||||
<a class="umb-tree-item__label" ng-href="#/{{::node.routePath}}" ng-click="select(node, $event)" title="{{::node.title}}">{{node.name}}</a>
|
||||
|
||||
<!-- NOTE: These are the 'option' elipses -->
|
||||
<!-- NOTE: These are the 'option' ellipsis -->
|
||||
<umb-button-ellipsis
|
||||
ng-if="::node.menuUrl"
|
||||
element="tree-item-options"
|
||||
action="options(node, $event)"
|
||||
text="{{optionsText}} {{node.name}}"
|
||||
state="hidden"
|
||||
>
|
||||
class="umb-options">
|
||||
</umb-button-ellipsis>
|
||||
|
||||
<umb-loader ng-show="node.loading" position="bottom" class="umb-tree-item__loader"></umb-loader>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="form-search">
|
||||
<i class="icon icon-search" ng-if="showSearch == 'false'"></i>
|
||||
<a class="icon icon-arrow-left" ng-if="showSearch == 'true'" title="Back" ng-click="hideSearch()"></a>
|
||||
<i class="icon icon-search" ng-if="showSearch == 'false'" aria-hidden="true"></i>
|
||||
<button type="button" class="btn-reset icon icon-arrow-left" ng-if="showSearch == 'true'" localize="title" title="@general_back" ng-click="hideSearch()"></button>
|
||||
<input type="text"
|
||||
ng-model="term"
|
||||
class="umb-search-field search-query -full-width-input"
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
action="options(tree.root, $event)"
|
||||
text="Open context node for {{tree.name}}"
|
||||
state="hidden"
|
||||
class="umb-options"
|
||||
ng-hide="tree.root.isContainer || !tree.root.menuUrl"
|
||||
ng-swipe-right="options(tree.root, $event)"
|
||||
>
|
||||
ng-swipe-right="options(tree.root, $event)">
|
||||
</umb-button-ellipsis>
|
||||
|
||||
</div>
|
||||
@@ -48,9 +48,9 @@
|
||||
action="options(group, $event)"
|
||||
text="Open context node for {{group.name}}"
|
||||
state="hidden"
|
||||
class="umb-options"
|
||||
ng-hide="group.isContainer || !group.menuUrl"
|
||||
ng-swipe-right="options(group, $event)"
|
||||
>
|
||||
ng-swipe-right="options(group, $event)">
|
||||
</umb-button-ellipsis>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
|
||||
<div class="umb-mini-list-view__breadcrumb">
|
||||
|
||||
<a ng-if="showBackButton()" href="" class="umb-mini-list-view__back" ng-click="exitMiniListView()">
|
||||
<button type="button" ng-if="showBackButton()" class="btn-reset umb-mini-list-view__back" ng-click="exitMiniListView()">
|
||||
<i class="icon-arrow-left umb-mini-list-view__back-icon" aria-hidden="true"></i>
|
||||
<span class="umb-mini-list-view__back-text"><localize key="general_back">Back</localize></span> /
|
||||
</a>
|
||||
</button>
|
||||
|
||||
<umb-breadcrumbs
|
||||
ng-if="breadcrumb && breadcrumb.length > 0"
|
||||
|
||||
Reference in New Issue
Block a user