┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/.obsidian/plugins/abacus-sorter/styles.css
blob: 44437ce8c38ee505e31a2f7df732c913b810905d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/* Abacus */

/* Ribbon icon when suspended */
.abacus-ribbon-suspended {
    opacity: 0.4;
}

/* Manual Order Modal */
.abacus-manual-order-modal {
    max-width: 500px;
}

.abacus-modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 4px;
}

.abacus-modal-hint {
    color: var(--text-faint);
    font-size: var(--font-smallest);
    margin-bottom: 12px;
}

.abacus-order-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--background-modifier-border);
    border-radius: 6px;
    margin-bottom: 12px;
}

.abacus-order-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-bottom: 1px solid var(--background-modifier-border);
    cursor: grab;
    transition: background-color 0.1s;
}

.abacus-order-row:last-child {
    border-bottom: none;
}

.abacus-order-row:hover {
    background-color: var(--background-modifier-hover);
}

.abacus-order-row.abacus-dragging {
    opacity: 0.4;
}

.abacus-order-row.abacus-drag-over {
    background-color: var(--interactive-accent);
    color: var(--text-on-accent);
}

.abacus-drag-handle {
    color: var(--text-faint);
    cursor: grab;
    user-select: none;
    font-size: 14px;
    flex-shrink: 0;
}

.abacus-order-index {
    color: var(--text-muted);
    font-size: var(--font-smallest);
    min-width: 20px;
    text-align: right;
    flex-shrink: 0;
}

.abacus-order-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.abacus-order-buttons {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.abacus-order-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 4px;
    font-size: 10px;
    border-radius: 3px;
}

.abacus-order-btn:hover {
    background-color: var(--background-modifier-hover);
    color: var(--text-normal);
}

.abacus-modal-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}