generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 103
/
styles.css
173 lines (142 loc) · 3.33 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/* Obsidian/DataviewJS Github inspired calendar by Richard Slettevoll - https://richard.sl/ */
.heatmap-calendar-graph>* {
padding: 0px;
margin: 0px;
list-style: none;
}
.heatmap-calendar-graph {
font-size: 0.65em;
display: grid;
grid-template-columns: auto 1fr;
grid-template-areas:
'year months'
'days boxes';
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol';
width: 100%;
padding: 5px; /* 0px caused overflow and scrollbars */
}
.heatmap-calendar-graph ul {
padding-inline-start: 0;
margin-block-start: 0;
margin-block-end: 0;
}
.heatmap-calendar-months {
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
grid-area: months;
margin-top: 0.1em;
margin-bottom: 0.3em;
grid-gap: 0.3em;
}
.heatmap-calendar-days {
grid-area: days;
margin-left: 0.1em;
margin-right: 0.3em;
white-space: nowrap;
}
.heatmap-calendar-boxes {
grid-auto-flow: column;
grid-template-columns: repeat(53, minmax(0, 1fr));
grid-area: boxes;
}
.heatmap-calendar-days,
.heatmap-calendar-boxes {
display: grid;
grid-gap: 0.3em;
grid-template-rows: repeat(7, minmax(0, 1fr));
}
.heatmap-calendar-year {
grid-area: year;
font-weight: bold;
font-size: 1.2em;
}
/* only label three days of the week */
.heatmap-calendar-days li:nth-child(odd) {
visibility: hidden;
}
.heatmap-calendar-boxes li {
position: relative;
font-size: 0.75em;
background-color: #ebedf0;
width: 100%;
margin-inline-start: auto !important;
}
.theme-dark .heatmap-calendar-boxes .isEmpty {
background: #333;
}
.heatmap-calendar-boxes li:not(.task-list-item)::before {
content: unset;
}
.heatmap-calendar-boxes .internal-link {
text-decoration: none;
position: absolute;
width: 100%;
height: 100%;
text-align: center;
}
.heatmap-calendar-boxes .today {
border: solid 1px rgb(61, 61, 61);
}
/* Settings */
.heatmap-calendar-settings-colors__color-box {
width: 10px;
height: 10px;
display: inline-block;
margin: 0 5px;
}
.heatmap-calendar-settings-colors__color-box:first-child {
margin-left: 0;
}
.heatmap-calendar-settings-colors__color-name {
display: inline-block;
}
.heatmap-calendar-settings-colors__container {
align-items: center;
border-top: 1px solid var(--background-modifier-border);
display: flex;
justify-content: space-between;
padding: 0.5em 0;
}
.heatmap-calendar-settings-colors__container h4 {
margin: 0.5em 0;
}
.heatmap-calendar-settings-colors__new-color-input-container {
display: flex;
justify-content: space-between;
}
.heatmap-calendar-settings-colors__new-color-input-container input {
margin-right: 1em;
}
.heatmap-calendar-settings-colors__new-color-input-container input {
margin-right: 1em;
}
.heatmap-calendar-settings-colors__new-color-input-value {
flex-grow: 1;
}
/* ----
/* ---- DEV Only ---- */
/* ----
/* for putting the settings window off to the side whilst taking screenshots */
/*
.modal-container {
justify-content: left !important;
padding-left: 20px !important;
}
.modal-bg {
opacity: 0% !important;
}
.modal-container.mod-dim .modal {
box-shadow: var(--shadow-s) !important;
}
.modal.mod-sidebar-layout {
width: 700px !important;
}
.vertical-tab-content::-webkit-scrollbar {
display: none;
}
*/
/* ----
/* ---- DEV Only /END ---- */
/* ----