This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 17
/
styles.css
88 lines (76 loc) · 1.57 KB
/
styles.css
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
.ob-table-enhancer-row-bar {
display: flex;
position: absolute;
width: fit-content;
max-width: 3em;
flex-wrap: wrap;
transition: opacity 200ms ease-in-out;
}
.ob-table-enhancer-col-bar {
display: flex;
position: absolute;
height: fit-content;
padding-bottom: 3px;
transition: opacity 200ms ease-in-out;
}
.ob-table-enhancer-row-bar-button {
display: flex;
width: fit-content;
height: fit-content;
padding: 0 2px;
margin: 0;
filter: brightness(0.5);
transition: all 200ms ease-in-out;
}
.ob-table-enhancer-row-bar-button:hover, .ob-table-enhancer-col-bar-button:hover {
filter: brightness(1);
}
.ob-table-enhancer-col-bar-button {
display: flex;
width: fit-content;
height: fit-content;
padding: 5px 2px 0 0;
margin: 0;
filter: brightness(0.5);
transition: all 200ms ease-in-out;
}
div.ob-table-enhancer.button-menu {
display: flex;
flex-wrap: wrap;
max-width: 180px;
}
div.ob-table-enhancer.button-menu > button {
width: 30px;
height: 26px;
padding: 0;
}
.table-generator-container {
display: flex;
flex-flow: row wrap;
max-width: 150px;
align-content: flex-start;
padding-top: 5px;
padding-left: 3px;
}
.table-generator-grid {
width: 15px;
height: 15px;
background-color: var(--interactive-normal);
margin: 3px;
border-radius: 3px;
}
.table-generator-grid.select {
background-color: var(--interactive-accent);
opacity: 1;
}
.table-generator-counter {
display: block;
text-align: center;
}
.table-height-adjust th, .table-height-adjust tr {
/** 防止单元格太窄不方便点击 */
height: 1.5em !important;
}
body {
--layer-tooltip: 2000;
}