stylistic changes for extra network sorting/search controls
This commit is contained in:
parent
5251733c0d
commit
18d801a13d
|
@ -5,19 +5,49 @@
|
||||||
id="{tabname}_{extra_networks_tabname}_extra_search"
|
id="{tabname}_{extra_networks_tabname}_extra_search"
|
||||||
class="extra-network-control--search-text"
|
class="extra-network-control--search-text"
|
||||||
type="search"
|
type="search"
|
||||||
placeholder="Filter files"
|
placeholder="Search"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<small>Sort: </small>
|
||||||
<div
|
<div
|
||||||
id="{tabname}_{extra_networks_tabname}_extra_sort"
|
id="{tabname}_{extra_networks_tabname}_extra_sort_path"
|
||||||
class="extra-network-control--sort"
|
class="extra-network-control--sort{sort_path_active}"
|
||||||
data-sortmode="{data_sortmode}"
|
data-sortkey="default"
|
||||||
data-sortkey="{data_sortkey}"
|
|
||||||
title="Sort by path"
|
title="Sort by path"
|
||||||
onclick="extraNetworksControlSortOnClick(event, '{tabname}', '{extra_networks_tabname}');"
|
onclick="extraNetworksControlSortOnClick(event, '{tabname}', '{extra_networks_tabname}');"
|
||||||
>
|
>
|
||||||
<i class="extra-network-control--sort-icon"></i>
|
<i class="extra-network-control--icon extra-network-control--sort-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
id="{tabname}_{extra_networks_tabname}_extra_sort_name"
|
||||||
|
class="extra-network-control--sort{sort_name_active}"
|
||||||
|
data-sortkey="name"
|
||||||
|
title="Sort by name"
|
||||||
|
onclick="extraNetworksControlSortOnClick(event, '{tabname}', '{extra_networks_tabname}');"
|
||||||
|
>
|
||||||
|
<i class="extra-network-control--icon extra-network-control--sort-icon"></i>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
id="{tabname}_{extra_networks_tabname}_extra_sort_date_created"
|
||||||
|
class="extra-network-control--sort{sort_date_created_active}"
|
||||||
|
data-sortkey="date_created"
|
||||||
|
title="Sort by date created"
|
||||||
|
onclick="extraNetworksControlSortOnClick(event, '{tabname}', '{extra_networks_tabname}');"
|
||||||
|
>
|
||||||
|
<i class="extra-network-control--icon extra-network-control--sort-icon"></i>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
id="{tabname}_{extra_networks_tabname}_extra_sort_date_modified"
|
||||||
|
class="extra-network-control--sort{sort_date_modified_active}"
|
||||||
|
data-sortkey="date_modified"
|
||||||
|
title="Sort by date modified"
|
||||||
|
onclick="extraNetworksControlSortOnClick(event, '{tabname}', '{extra_networks_tabname}');"
|
||||||
|
>
|
||||||
|
<i class="extra-network-control--icon extra-network-control--sort-icon"></i>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<small> </small>
|
||||||
<div
|
<div
|
||||||
id="{tabname}_{extra_networks_tabname}_extra_sort_dir"
|
id="{tabname}_{extra_networks_tabname}_extra_sort_dir"
|
||||||
class="extra-network-control--sort-dir"
|
class="extra-network-control--sort-dir"
|
||||||
|
@ -25,15 +55,18 @@
|
||||||
title="Sort ascending"
|
title="Sort ascending"
|
||||||
onclick="extraNetworksControlSortDirOnClick(event, '{tabname}', '{extra_networks_tabname}');"
|
onclick="extraNetworksControlSortDirOnClick(event, '{tabname}', '{extra_networks_tabname}');"
|
||||||
>
|
>
|
||||||
<i class="extra-network-control--sort-dir-icon"></i>
|
<i class="extra-network-control--icon extra-network-control--sort-dir-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<small> </small>
|
||||||
<div
|
<div
|
||||||
id="{tabname}_{extra_networks_tabname}_extra_tree_view"
|
id="{tabname}_{extra_networks_tabname}_extra_tree_view"
|
||||||
class="extra-network-control--tree-view {tree_view_btn_extra_class}"
|
class="extra-network-control--tree-view {tree_view_btn_extra_class}"
|
||||||
title="Enable Tree View"
|
title="Enable Tree View"
|
||||||
onclick="extraNetworksControlTreeViewOnClick(event, '{tabname}', '{extra_networks_tabname}');"
|
onclick="extraNetworksControlTreeViewOnClick(event, '{tabname}', '{extra_networks_tabname}');"
|
||||||
>
|
>
|
||||||
<i class="extra-network-control--tree-view-icon"></i>
|
<i class="extra-network-control--icon extra-network-control--tree-view-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="{tabname}_{extra_networks_tabname}_extra_refresh"
|
id="{tabname}_{extra_networks_tabname}_extra_refresh"
|
||||||
|
@ -41,7 +74,7 @@
|
||||||
title="Refresh page"
|
title="Refresh page"
|
||||||
onclick="extraNetworksControlRefreshOnClick(event, '{tabname}', '{extra_networks_tabname}');"
|
onclick="extraNetworksControlRefreshOnClick(event, '{tabname}', '{extra_networks_tabname}');"
|
||||||
>
|
>
|
||||||
<i class="extra-network-control--refresh-icon"></i>
|
<i class="extra-network-control--icon extra-network-control--refresh-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{pane_content}
|
{pane_content}
|
||||||
|
|
|
@ -39,12 +39,12 @@ function setupExtraNetworksForTab(tabname) {
|
||||||
// tabname_full = {tabname}_{extra_networks_tabname}
|
// tabname_full = {tabname}_{extra_networks_tabname}
|
||||||
var tabname_full = elem.id;
|
var tabname_full = elem.id;
|
||||||
var search = gradioApp().querySelector("#" + tabname_full + "_extra_search");
|
var search = gradioApp().querySelector("#" + tabname_full + "_extra_search");
|
||||||
var sort_mode = gradioApp().querySelector("#" + tabname_full + "_extra_sort");
|
|
||||||
var sort_dir = gradioApp().querySelector("#" + tabname_full + "_extra_sort_dir");
|
var sort_dir = gradioApp().querySelector("#" + tabname_full + "_extra_sort_dir");
|
||||||
var refresh = gradioApp().querySelector("#" + tabname_full + "_extra_refresh");
|
var refresh = gradioApp().querySelector("#" + tabname_full + "_extra_refresh");
|
||||||
|
var currentSort = '';
|
||||||
|
|
||||||
// If any of the buttons above don't exist, we want to skip this iteration of the loop.
|
// If any of the buttons above don't exist, we want to skip this iteration of the loop.
|
||||||
if (!search || !sort_mode || !sort_dir || !refresh) {
|
if (!search || !sort_dir || !refresh) {
|
||||||
return; // `return` is equivalent of `continue` but for forEach loops.
|
return; // `return` is equivalent of `continue` but for forEach loops.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,19 +74,20 @@ function setupExtraNetworksForTab(tabname) {
|
||||||
var cards = gradioApp().querySelectorAll('#' + tabname_full + ' div.card');
|
var cards = gradioApp().querySelectorAll('#' + tabname_full + ' div.card');
|
||||||
var parent = gradioApp().querySelector('#' + tabname_full + "_cards");
|
var parent = gradioApp().querySelector('#' + tabname_full + "_cards");
|
||||||
var reverse = sort_dir.dataset.sortdir == "Descending";
|
var reverse = sort_dir.dataset.sortdir == "Descending";
|
||||||
var sortKey = sort_mode.dataset.sortmode.toLowerCase().replace("sort", "").replaceAll(" ", "_").replace(/_+$/, "").trim() || "name";
|
var activeSearchElem = gradioApp().querySelector('#' + tabname_full + "_controls .extra-network-control--sort.extra-network-control--enabled");
|
||||||
sortKey = "sort" + sortKey.charAt(0).toUpperCase() + sortKey.slice(1);
|
var sortKey = activeSearchElem ? activeSearchElem.dataset.sortkey : "default";
|
||||||
var sortKeyStore = sortKey + "-" + (reverse ? "Descending" : "Ascending") + "-" + cards.length;
|
var sortKeyDataField = "sort" + sortKey.charAt(0).toUpperCase() + sortKey.slice(1);
|
||||||
|
var sortKeyStore = sortKey + "-" + sort_dir.dataset.sortdir + "-" + cards.length;
|
||||||
|
|
||||||
if (sortKeyStore == sort_mode.dataset.sortkey && !force) {
|
if (sortKeyStore == currentSort && !force) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
sort_mode.dataset.sortkey = sortKeyStore;
|
currentSort = sortKeyStore;
|
||||||
|
|
||||||
var sortedCards = Array.from(cards);
|
var sortedCards = Array.from(cards);
|
||||||
sortedCards.sort(function(cardA, cardB) {
|
sortedCards.sort(function(cardA, cardB) {
|
||||||
var a = cardA.dataset[sortKey];
|
var a = cardA.dataset[sortKeyDataField];
|
||||||
var b = cardB.dataset[sortKey];
|
var b = cardB.dataset[sortKeyDataField];
|
||||||
if (!isNaN(a) && !isNaN(b)) {
|
if (!isNaN(a) && !isNaN(b)) {
|
||||||
return parseInt(a) - parseInt(b);
|
return parseInt(a) - parseInt(b);
|
||||||
}
|
}
|
||||||
|
@ -395,31 +396,16 @@ function extraNetworksTreeOnClick(event, tabname, extra_networks_tabname) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function extraNetworksControlSortOnClick(event, tabname, extra_networks_tabname) {
|
function extraNetworksControlSortOnClick(event, tabname, extra_networks_tabname) {
|
||||||
/**
|
/** Handles `onclick` events for Sort Mode buttons. */
|
||||||
* Handles `onclick` events for the Sort Mode button.
|
|
||||||
*
|
|
||||||
* Modifies the data attributes of the Sort Mode button to cycle between
|
|
||||||
* various sorting modes.
|
|
||||||
*
|
|
||||||
* @param event The generated event.
|
|
||||||
* @param tabname The name of the active tab in the sd webui. Ex: txt2img, img2img, etc.
|
|
||||||
* @param extra_networks_tabname The id of the active extraNetworks tab. Ex: lora, checkpoints, etc.
|
|
||||||
*/
|
|
||||||
var curr_mode = event.currentTarget.dataset.sortmode;
|
|
||||||
|
|
||||||
if (curr_mode == "default") {
|
var self = event.currentTarget;
|
||||||
event.currentTarget.dataset.sortmode = "name";
|
var parent = event.currentTarget.parentElement;
|
||||||
event.currentTarget.setAttribute("title", "Sort by filename");
|
|
||||||
} else if (curr_mode == "name") {
|
parent.querySelectorAll('.extra-network-control--sort').forEach(function(x){
|
||||||
event.currentTarget.dataset.sortmode = "date_created";
|
x.classList.remove('extra-network-control--enabled');
|
||||||
event.currentTarget.setAttribute("title", "Sort by date created");
|
});
|
||||||
} else if (curr_mode == "date_created") {
|
|
||||||
event.currentTarget.dataset.sortmode = "date_modified";
|
self.classList.add('extra-network-control--enabled');
|
||||||
event.currentTarget.setAttribute("title", "Sort by date modified");
|
|
||||||
} else {
|
|
||||||
event.currentTarget.dataset.sortmode = "default";
|
|
||||||
event.currentTarget.setAttribute("title", "Sort by path");
|
|
||||||
}
|
|
||||||
|
|
||||||
applyExtraNetworkSort(tabname + "_" + extra_networks_tabname);
|
applyExtraNetworkSort(tabname + "_" + extra_networks_tabname);
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,18 +569,16 @@ class ExtraNetworksPage:
|
||||||
if "user_metadata" not in item:
|
if "user_metadata" not in item:
|
||||||
self.read_user_metadata(item)
|
self.read_user_metadata(item)
|
||||||
|
|
||||||
data_sortdir = shared.opts.extra_networks_card_order
|
|
||||||
data_sortmode = shared.opts.extra_networks_card_order_field.lower().replace("sort", "").replace(" ", "_").rstrip("_").strip()
|
|
||||||
data_sortkey = f"{data_sortmode}-{data_sortdir}-{len(self.items)}"
|
|
||||||
|
|
||||||
show_tree = shared.opts.extra_networks_tree_view_default_enabled
|
show_tree = shared.opts.extra_networks_tree_view_default_enabled
|
||||||
|
|
||||||
page_params = {
|
page_params = {
|
||||||
"tabname": tabname,
|
"tabname": tabname,
|
||||||
"extra_networks_tabname": self.extra_networks_tabname,
|
"extra_networks_tabname": self.extra_networks_tabname,
|
||||||
"data_sortmode": data_sortmode,
|
"data_sortdir": shared.opts.extra_networks_card_order,
|
||||||
"data_sortkey": data_sortkey,
|
"sort_path_active": ' extra-network-control--enabled' if shared.opts.extra_networks_card_order_field == 'Path' else '',
|
||||||
"data_sortdir": data_sortdir,
|
"sort_name_active": ' extra-network-control--enabled' if shared.opts.extra_networks_card_order_field == 'Name' else '',
|
||||||
|
"sort_date_created_active": ' extra-network-control--enabled' if shared.opts.extra_networks_card_order_field == 'Date Created' else '',
|
||||||
|
"sort_date_modified_active": ' extra-network-control--enabled' if shared.opts.extra_networks_card_order_field == 'Date Modified' else '',
|
||||||
"tree_view_btn_extra_class": "extra-network-control--enabled" if show_tree else "",
|
"tree_view_btn_extra_class": "extra-network-control--enabled" if show_tree else "",
|
||||||
"items_html": self.create_card_view_html(tabname, none_message="Loading..." if empty else None),
|
"items_html": self.create_card_view_html(tabname, none_message="Loading..." if empty else None),
|
||||||
"extra_networks_tree_view_default_width": shared.opts.extra_networks_tree_view_default_width,
|
"extra_networks_tree_view_default_width": shared.opts.extra_networks_tree_view_default_width,
|
||||||
|
|
29
style.css
29
style.css
|
@ -1272,7 +1272,7 @@ body.resizing .resize-handle {
|
||||||
|
|
||||||
.extra-network-control {
|
.extra-network-control {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: grid;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
margin-top: 0 !important;
|
margin-top: 0 !important;
|
||||||
|
@ -1289,6 +1289,12 @@ body.resizing .resize-handle {
|
||||||
align-items: start;
|
align-items: start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.extra-network-control small{
|
||||||
|
color: var(--input-placeholder-color);
|
||||||
|
line-height: 2.2rem;
|
||||||
|
margin: 0 0.5rem 0 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
.extra-network-tree .tree-list--tree {}
|
.extra-network-tree .tree-list--tree {}
|
||||||
|
|
||||||
/* Remove auto indentation from tree. Will be overridden later. */
|
/* Remove auto indentation from tree. Will be overridden later. */
|
||||||
|
@ -1436,6 +1442,12 @@ body.resizing .resize-handle {
|
||||||
line-height: 1rem;
|
line-height: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.extra-network-control .extra-network-control--search .extra-network-control--search-text::placeholder {
|
||||||
|
color: var(--input-placeholder-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* <input> clear button (x on right side) styling */
|
/* <input> clear button (x on right side) styling */
|
||||||
.extra-network-control .extra-network-control--search .extra-network-control--search-text::-webkit-search-cancel-button {
|
.extra-network-control .extra-network-control--search .extra-network-control--search-text::-webkit-search-cancel-button {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
|
@ -1468,19 +1480,19 @@ body.resizing .resize-handle {
|
||||||
background-color: var(--input-placeholder-color);
|
background-color: var(--input-placeholder-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.extra-network-control .extra-network-control--sort[data-sortmode="default"] .extra-network-control--sort-icon {
|
.extra-network-control .extra-network-control--sort[data-sortkey="default"] .extra-network-control--sort-icon {
|
||||||
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 5C1 3.34315 2.34315 2 4 2H8.43845C9.81505 2 11.015 2.93689 11.3489 4.27239L11.7808 6H13.5H20C21.6569 6 23 7.34315 23 9V11C23 11.5523 22.5523 12 22 12C21.4477 12 21 11.5523 21 11V9C21 8.44772 20.5523 8 20 8H13.5H11.7808H4C3.44772 8 3 8.44772 3 9V10V19C3 19.5523 3.44772 20 4 20H9C9.55228 20 10 20.4477 10 21C10 21.5523 9.55228 22 9 22H4C2.34315 22 1 20.6569 1 19V10V9V5ZM3 6.17071C3.31278 6.06015 3.64936 6 4 6H9.71922L9.40859 4.75746C9.2973 4.3123 8.89732 4 8.43845 4H4C3.44772 4 3 4.44772 3 5V6.17071ZM20.1716 18.7574C20.6951 17.967 21 17.0191 21 16C21 13.2386 18.7614 11 16 11C13.2386 11 11 13.2386 11 16C11 18.7614 13.2386 21 16 21C17.0191 21 17.967 20.6951 18.7574 20.1716L21.2929 22.7071C21.6834 23.0976 22.3166 23.0976 22.7071 22.7071C23.0976 22.3166 23.0976 21.6834 22.7071 21.2929L20.1716 18.7574ZM13 16C13 14.3431 14.3431 13 16 13C17.6569 13 19 14.3431 19 16C19 17.6569 17.6569 19 16 19C14.3431 19 13 17.6569 13 16Z" fill="%23000000"></path></g></svg>');
|
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 5C1 3.34315 2.34315 2 4 2H8.43845C9.81505 2 11.015 2.93689 11.3489 4.27239L11.7808 6H13.5H20C21.6569 6 23 7.34315 23 9V11C23 11.5523 22.5523 12 22 12C21.4477 12 21 11.5523 21 11V9C21 8.44772 20.5523 8 20 8H13.5H11.7808H4C3.44772 8 3 8.44772 3 9V10V19C3 19.5523 3.44772 20 4 20H9C9.55228 20 10 20.4477 10 21C10 21.5523 9.55228 22 9 22H4C2.34315 22 1 20.6569 1 19V10V9V5ZM3 6.17071C3.31278 6.06015 3.64936 6 4 6H9.71922L9.40859 4.75746C9.2973 4.3123 8.89732 4 8.43845 4H4C3.44772 4 3 4.44772 3 5V6.17071ZM20.1716 18.7574C20.6951 17.967 21 17.0191 21 16C21 13.2386 18.7614 11 16 11C13.2386 11 11 13.2386 11 16C11 18.7614 13.2386 21 16 21C17.0191 21 17.967 20.6951 18.7574 20.1716L21.2929 22.7071C21.6834 23.0976 22.3166 23.0976 22.7071 22.7071C23.0976 22.3166 23.0976 21.6834 22.7071 21.2929L20.1716 18.7574ZM13 16C13 14.3431 14.3431 13 16 13C17.6569 13 19 14.3431 19 16C19 17.6569 17.6569 19 16 19C14.3431 19 13 17.6569 13 16Z" fill="%23000000"></path></g></svg>');
|
||||||
}
|
}
|
||||||
|
|
||||||
.extra-network-control .extra-network-control--sort[data-sortmode="name"] .extra-network-control--sort-icon {
|
.extra-network-control .extra-network-control--sort[data-sortkey="name"] .extra-network-control--sort-icon {
|
||||||
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill-rule="evenodd" clip-rule="evenodd" d="M17.1841 6.69223C17.063 6.42309 16.7953 6.25 16.5002 6.25C16.2051 6.25 15.9374 6.42309 15.8162 6.69223L11.3162 16.6922C11.1463 17.07 11.3147 17.514 11.6924 17.6839C12.0701 17.8539 12.5141 17.6855 12.6841 17.3078L14.1215 14.1136H18.8789L20.3162 17.3078C20.4862 17.6855 20.9302 17.8539 21.308 17.6839C21.6857 17.514 21.8541 17.07 21.6841 16.6922L17.1841 6.69223ZM16.5002 8.82764L14.7965 12.6136H18.2039L16.5002 8.82764Z" fill="%231C274C"></path><path opacity="0.5" fill-rule="evenodd" clip-rule="evenodd" d="M2.25 7C2.25 6.58579 2.58579 6.25 3 6.25H13C13.4142 6.25 13.75 6.58579 13.75 7C13.75 7.41421 13.4142 7.75 13 7.75H3C2.58579 7.75 2.25 7.41421 2.25 7Z" fill="%231C274C"></path><path opacity="0.5" d="M2.25 12C2.25 11.5858 2.58579 11.25 3 11.25H10C10.4142 11.25 10.75 11.5858 10.75 12C10.75 12.4142 10.4142 12.75 10 12.75H3C2.58579 12.75 2.25 12.4142 2.25 12Z" fill="%231C274C"></path><path opacity="0.5" d="M2.25 17C2.25 16.5858 2.58579 16.25 3 16.25H8C8.41421 16.25 8.75 16.5858 8.75 17C8.75 17.4142 8.41421 17.75 8 17.75H3C2.58579 17.75 2.25 17.4142 2.25 17Z" fill="%231C274C"></path></g></svg>');
|
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill-rule="evenodd" clip-rule="evenodd" d="M17.1841 6.69223C17.063 6.42309 16.7953 6.25 16.5002 6.25C16.2051 6.25 15.9374 6.42309 15.8162 6.69223L11.3162 16.6922C11.1463 17.07 11.3147 17.514 11.6924 17.6839C12.0701 17.8539 12.5141 17.6855 12.6841 17.3078L14.1215 14.1136H18.8789L20.3162 17.3078C20.4862 17.6855 20.9302 17.8539 21.308 17.6839C21.6857 17.514 21.8541 17.07 21.6841 16.6922L17.1841 6.69223ZM16.5002 8.82764L14.7965 12.6136H18.2039L16.5002 8.82764Z" fill="%231C274C"></path><path opacity="0.5" fill-rule="evenodd" clip-rule="evenodd" d="M2.25 7C2.25 6.58579 2.58579 6.25 3 6.25H13C13.4142 6.25 13.75 6.58579 13.75 7C13.75 7.41421 13.4142 7.75 13 7.75H3C2.58579 7.75 2.25 7.41421 2.25 7Z" fill="%231C274C"></path><path opacity="0.5" d="M2.25 12C2.25 11.5858 2.58579 11.25 3 11.25H10C10.4142 11.25 10.75 11.5858 10.75 12C10.75 12.4142 10.4142 12.75 10 12.75H3C2.58579 12.75 2.25 12.4142 2.25 12Z" fill="%231C274C"></path><path opacity="0.5" d="M2.25 17C2.25 16.5858 2.58579 16.25 3 16.25H8C8.41421 16.25 8.75 16.5858 8.75 17C8.75 17.4142 8.41421 17.75 8 17.75H3C2.58579 17.75 2.25 17.4142 2.25 17Z" fill="%231C274C"></path></g></svg>');
|
||||||
}
|
}
|
||||||
|
|
||||||
.extra-network-control .extra-network-control--sort[data-sortmode="date_created"] .extra-network-control--sort-icon {
|
.extra-network-control .extra-network-control--sort[data-sortkey="date_created"] .extra-network-control--sort-icon {
|
||||||
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M17 11C14.2386 11 12 13.2386 12 16C12 18.7614 14.2386 21 17 21C19.7614 21 22 18.7614 22 16C22 13.2386 19.7614 11 17 11ZM17 11V9M2 9V15.8C2 16.9201 2 17.4802 2.21799 17.908C2.40973 18.2843 2.71569 18.5903 3.09202 18.782C3.51984 19 4.0799 19 5.2 19H13M2 9V8.2C2 7.0799 2 6.51984 2.21799 6.09202C2.40973 5.71569 2.71569 5.40973 3.09202 5.21799C3.51984 5 4.0799 5 5.2 5H13.8C14.9201 5 15.4802 5 15.908 5.21799C16.2843 5.40973 16.5903 5.71569 16.782 6.09202C17 6.51984 17 7.0799 17 8.2V9M2 9H17M5 3V5M14 3V5M15 16H17M17 16H19M17 16V14M17 16V18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>');
|
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M17 11C14.2386 11 12 13.2386 12 16C12 18.7614 14.2386 21 17 21C19.7614 21 22 18.7614 22 16C22 13.2386 19.7614 11 17 11ZM17 11V9M2 9V15.8C2 16.9201 2 17.4802 2.21799 17.908C2.40973 18.2843 2.71569 18.5903 3.09202 18.782C3.51984 19 4.0799 19 5.2 19H13M2 9V8.2C2 7.0799 2 6.51984 2.21799 6.09202C2.40973 5.71569 2.71569 5.40973 3.09202 5.21799C3.51984 5 4.0799 5 5.2 5H13.8C14.9201 5 15.4802 5 15.908 5.21799C16.2843 5.40973 16.5903 5.71569 16.782 6.09202C17 6.51984 17 7.0799 17 8.2V9M2 9H17M5 3V5M14 3V5M15 16H17M17 16H19M17 16V14M17 16V18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>');
|
||||||
}
|
}
|
||||||
|
|
||||||
.extra-network-control .extra-network-control--sort[data-sortmode="date_modified"] .extra-network-control--sort-icon {
|
.extra-network-control .extra-network-control--sort[data-sortkey="date_modified"] .extra-network-control--sort-icon {
|
||||||
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M10 21H6.2C5.0799 21 4.51984 21 4.09202 20.782C3.71569 20.5903 3.40973 20.2843 3.21799 19.908C3 19.4802 3 18.9201 3 17.8V8.2C3 7.0799 3 6.51984 3.21799 6.09202C3.40973 5.71569 3.71569 5.40973 4.09202 5.21799C4.51984 5 5.0799 5 6.2 5H17.8C18.9201 5 19.4802 5 19.908 5.21799C20.2843 5.40973 20.5903 5.71569 20.782 6.09202C21 6.51984 21 7.0799 21 8.2V10M7 3V5M17 3V5M3 9H21M13.5 13.0001L7 13M10 17.0001L7 17M14 21L16.025 20.595C16.2015 20.5597 16.2898 20.542 16.3721 20.5097C16.4452 20.4811 16.5147 20.4439 16.579 20.399C16.6516 20.3484 16.7152 20.2848 16.8426 20.1574L21 16C21.5523 15.4477 21.5523 14.5523 21 14C20.4477 13.4477 19.5523 13.4477 19 14L14.8426 18.1574C14.7152 18.2848 14.6516 18.3484 14.601 18.421C14.5561 18.4853 14.5189 18.5548 14.4903 18.6279C14.458 18.7102 14.4403 18.7985 14.405 18.975L14 21Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>');
|
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M10 21H6.2C5.0799 21 4.51984 21 4.09202 20.782C3.71569 20.5903 3.40973 20.2843 3.21799 19.908C3 19.4802 3 18.9201 3 17.8V8.2C3 7.0799 3 6.51984 3.21799 6.09202C3.40973 5.71569 3.71569 5.40973 4.09202 5.21799C4.51984 5 5.0799 5 6.2 5H17.8C18.9201 5 19.4802 5 19.908 5.21799C20.2843 5.40973 20.5903 5.71569 20.782 6.09202C21 6.51984 21 7.0799 21 8.2V10M7 3V5M17 3V5M3 9H21M13.5 13.0001L7 13M10 17.0001L7 17M14 21L16.025 20.595C16.2015 20.5597 16.2898 20.542 16.3721 20.5097C16.4452 20.4811 16.5147 20.4439 16.579 20.399C16.6516 20.3484 16.7152 20.2848 16.8426 20.1574L21 16C21.5523 15.4477 21.5523 14.5523 21 14C20.4477 13.4477 19.5523 13.4477 19 14L14.8426 18.1574C14.7152 18.2848 14.6516 18.3484 14.601 18.421C14.5561 18.4853 14.5189 18.5548 14.4903 18.6279C14.458 18.7102 14.4403 18.7985 14.405 18.975L14 21Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1530,13 +1542,18 @@ body.resizing .resize-handle {
|
||||||
}
|
}
|
||||||
|
|
||||||
.extra-network-control .extra-network-control--enabled {
|
.extra-network-control .extra-network-control--enabled {
|
||||||
background-color: rgba(0, 0, 0, 0.15);
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
|
border-radius: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark .extra-network-control .extra-network-control--enabled {
|
.dark .extra-network-control .extra-network-control--enabled {
|
||||||
background-color: rgba(255, 255, 255, 0.15);
|
background-color: rgba(255, 255, 255, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.extra-network-control .extra-network-control--enabled .extra-network-control--icon{
|
||||||
|
background-color: var(--button-secondary-text-color);
|
||||||
|
}
|
||||||
|
|
||||||
/* ==== REFRESH ICON ACTIONS ==== */
|
/* ==== REFRESH ICON ACTIONS ==== */
|
||||||
.extra-network-control .extra-network-control--refresh {
|
.extra-network-control .extra-network-control--refresh {
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
|
|
Loading…
Reference in New Issue