vault backup: 2023-05-15 09:42:13
This commit is contained in:
+204
File diff suppressed because one or more lines are too long
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "obsidian-sortable",
|
||||
"name": "Sortable",
|
||||
"version": "0.3.1",
|
||||
"minAppVersion": "0.12.0",
|
||||
"description": "Wiki-like table sorting.",
|
||||
"author": "Alexandru Dinu",
|
||||
"authorUrl": "https://github.com/alexandru-dinu",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
.theme-light {
|
||||
--arrows-up: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='4' viewBox='0 0 21 4'%3E%3Cpath d='M6.5 4l4-4 4 4z'/%3E%3C/svg%3E");
|
||||
--arrows-down: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='4' viewBox='0 0 21 4'%3E%3Cpath d='M14.5 0l-4 4-4-4z'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
.theme-dark {
|
||||
--arrows-up: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='4' viewBox='0 0 21 4'%3E%3Cpath fill='grey' d='M6.5 4l4-4 4 4z'/%3E%3C/svg%3E");
|
||||
--arrows-down: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='4' viewBox='0 0 21 4'%3E%3Cpath fill='grey' d='M14.5 0l-4 4-4-4z'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
.markdown-preview-view th,
|
||||
.table-view-table > thead > tr > th,
|
||||
.markdown-source-view.mod-cm6 .dataview.table-view-table thead.table-view-thead tr th {
|
||||
background-image: none;
|
||||
background-repeat: no-repeat;
|
||||
background-position: right, left;
|
||||
padding-right: 21px;
|
||||
padding-left: 21px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
th[sortable-style="sortable-asc"] {
|
||||
background-image: var(--arrows-up) !important;
|
||||
}
|
||||
|
||||
th[sortable-style="sortable-desc"] {
|
||||
background-image: var(--arrows-down) !important;
|
||||
}
|
||||
Reference in New Issue
Block a user