generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstyles.css
More file actions
114 lines (96 loc) · 1.98 KB
/
styles.css
File metadata and controls
114 lines (96 loc) · 1.98 KB
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
108
109
110
111
112
113
114
.icon-swapper textarea {
flex-grow: 1;
font-family: var(--font-monospace) !important;
font-size: 12px;
}
.icon-swapper .setting-item:not(.setting-item-heading) .setting-item-control {
width: 60%;
flex-grow: 0;
}
.icon-swapper-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
line-height: 1;
}
.icon-swapper-icon {
display: flex;
margin-bottom: 10px;
}
.icon-swapper-name {
font-size: 13px;
}
.icon-swapper-import-input {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
}
.icon-swapper-import-label {
cursor: pointer;
color: var(--text-accent);
text-decoration: underline;
}
.icon-swapper-import-label:hover {
color: var(--text-accent-hover);
}
.icon-swapper-export,
.icon-swapper-import {
display: inline-block;
margin-right: 10px;
}
.icon-swapper-copy,
.icon-swapper-download {
position: relative;
display: inline-block;
margin-left: 10px;
}
.icon-swapper-copy:before {
color: var(--interactive-success);
content: "✓";
position: absolute;
left: -18px;
font-weight: bold;
opacity: 0;
transition: 150ms opacity ease-in-out;
}
.icon-swapper-copy.success:before {
opacity: 1;
}
.modal-icon-swapper {
height: 70vh;
display: flex;
flex-direction: column;
}
.modal-icon-swapper .modal-content {
flex-grow: 1;
margin: 0;
display: flex;
flex-direction: column;
}
.modal-icon-swapper textarea {
display: block;
width: 100%;
height: 100%;
font-family: var(--font-monospace) !important;
font-size: 12px;
white-space: pre;
overflow-wrap: normal;
overflow-x: scroll;
}
.modal-icon-swapper .setting-item {
align-items: flex-start;
}
.modal-icon-swapper button {
margin: 10px 0 0;
}
.icon-swapper-import-error {
display: none;
color: var(--text-error);
}
.icon-swapper-import-error.active {
display: block;
}