mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Removed some icons from sidebar.
Removed priority and dummy plugin icons, they take up lots of space and there must be better ways of displaying priority info.
This commit is contained in:
@@ -7,42 +7,29 @@
|
||||
<polymer-element name="loot-plugin-item" attributes="priorityText">
|
||||
<template>
|
||||
<style>
|
||||
:host([data-bsa=false]) #loadsBSA,
|
||||
:host([data-dummy=false]) #dummyPlugin,
|
||||
:host([data-edits=false]) #hasUserEdits,
|
||||
:host([data-global-priority=false]) #hasGlobalPriority,
|
||||
:host #hasPriority:not([label^=Priority]) {
|
||||
:host(:not([data-bsa])) #loadsBSA,
|
||||
:host(:not([data-edits])) #hasUserEdits {
|
||||
visibility: hidden;
|
||||
}
|
||||
::content a {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
.hasGlobalPriority, #hasPriority {
|
||||
display:none;
|
||||
core-tooltip {
|
||||
margin: 0.25em;
|
||||
}
|
||||
:host-context(body.editMode) #hasGlobalPriority,
|
||||
:host-context(body.editMode) #hasPriority {
|
||||
display: inline-block;
|
||||
::content > a {
|
||||
padding-left: 0.75em;
|
||||
}
|
||||
</style>
|
||||
|
||||
<paper-item>
|
||||
<core-tooltip id="dummyPlugin" label="Dummy Plugin">
|
||||
<core-icon icon="visibility-off"></core-icon>
|
||||
</core-tooltip>
|
||||
<core-tooltip id="loadsBSA" label="Loads BSA">
|
||||
<core-icon icon="attachment"></core-icon>
|
||||
</core-tooltip>
|
||||
<core-tooltip id="hasUserEdits" label="Has User Metadata">
|
||||
<core-icon icon="account-circle"></core-icon>
|
||||
</core-tooltip>
|
||||
<core-tooltip id="hasGlobalPriority" label="Priority Is Global">
|
||||
<core-icon icon="language"></core-icon>
|
||||
</core-tooltip>
|
||||
<core-tooltip id="hasPriority" label="{{priorityText}}">
|
||||
<core-icon icon="star"></core-icon>
|
||||
</core-tooltip>
|
||||
<content></content>
|
||||
</paper-item>
|
||||
</template>
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
</paper-item>
|
||||
<core-list flex>
|
||||
<template>
|
||||
<loot-plugin-item priorityText="{{model.modPriority}}" data-dummy="{{model.isDummy}}" data-bsa="{{model.loadsBSA}}" data-edits="{{model.userlist != undefined}}" data-global-priority="{{isGlobalPriority}}">
|
||||
<loot-plugin-item data-bsa?="{{model.loadsBSA}}" data-edits?="{{model.userlist != undefined}}">
|
||||
<a href="#{{model.id}}">{{model.name}}</a>
|
||||
</loot-plugin-item>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user