diff --git a/apps/settings/css/settings.scss b/apps/settings/css/settings.scss index 9cc82884444..418281095f9 100644 --- a/apps/settings/css/settings.scss +++ b/apps/settings/css/settings.scss @@ -239,75 +239,6 @@ select { } } -.federation-menu { - position: relative; - cursor: pointer; - width: var(--default-clickable-area); - height: var(--default-clickable-area); - padding: calc(2 * var(--default-grid-baseline)); - margin: 0; - background: none; - border: none; - - &:hover, - &:focus { - background-color: var(--color-background-hover); - border-radius: var(--border-radius-element); - - .icon-federation-menu { - opacity: 0.8; - } - } - - .icon-federation-menu { - padding-inline-start: 16px; - background-size: 16px; - background-position: left center; - opacity: .3; - cursor: inherit; - - .icon-triangle-s { - display: inline-block; - vertical-align: middle; - cursor: inherit; - } - } - - .federationScopeMenu { - top: var(--default-clickable-area); - - &.popovermenu { - .menuitem { - // override h3 heading font size - font-size: 12.8px; - line-height: 1.6em; - - .menuitem-text-detail { - opacity: .75; - } - - &.active { - box-shadow: inset 2px 0 var(--color-primary-element); - - .menuitem-text { - font-weight: bold; - } - } - - &.disabled { - opacity: .5; - - cursor: default; - - * { - cursor: default; - } - } - } - } - } -} - .clientsbox img { height: 60px; } diff --git a/apps/settings/js/templates.js b/apps/settings/js/templates.js deleted file mode 100644 index 7988a8df6a9..00000000000 --- a/apps/settings/js/templates.js +++ /dev/null @@ -1,91 +0,0 @@ -(function() { - var template = Handlebars.template, templates = OC.Settings.Templates = OC.Settings.Templates || {}; -templates['federationscopemenu'] = template({"1":function(container,depth0,helpers,partials,data) { - var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) { - if (Object.prototype.hasOwnProperty.call(parent, propertyName)) { - return parent[propertyName]; - } - return undefined - }; - - return ((stack1 = lookupProperty(helpers,"unless").call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,"hidden") : depth0),{"name":"unless","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":3,"column":2},"end":{"line":25,"column":13}}})) != null ? stack1 : ""); -},"2":function(container,depth0,helpers,partials,data) { - var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) { - if (Object.prototype.hasOwnProperty.call(parent, propertyName)) { - return parent[propertyName]; - } - return undefined - }; - - return "
\n "
- + alias4(((helper = (helper = lookupProperty(helpers,"displayName") || (depth0 != null ? lookupProperty(depth0,"displayName") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"displayName","hash":{},"data":data,"loc":{"start":{"line":16,"column":35},"end":{"line":16,"column":50}}}) : helper)))
- + "
\n \n