-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
67 lines (59 loc) · 1.29 KB
/
styles.css
File metadata and controls
67 lines (59 loc) · 1.29 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
/* Restore typical Obsidian spacing */
.heatmap-default-padding {
margin: 0;
padding: 0;
/* Let Obsidian handle the default padding in the .view-content. */
}
/* Fill the content area minus Obsidian's padding */
.heatmap-container {
width: 100%;
height: 100%;
margin: 0 auto;
padding: 0 16px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
/* Row of columns (weeks) with a small gap */
.heatmap-grid {
display: flex;
gap: 4px;
}
/* Each column is 7 days stacked vertically */
.heatmap-week {
display: flex;
flex-direction: column;
gap: 4px;
}
/* Each day is a 12x12 cell with a slight hover effect */
.heatmap-day {
width: 12px;
height: 12px;
border-radius: 2px;
cursor: pointer;
transition: transform 0.1s ease-in-out;
}
.heatmap-day:hover {
transform: scale(1.2);
z-index: 2;
}
/* Display file details on a specific day */
.day-popup {
position: absolute;
z-index: 9999;
display: block;
padding: 16px;
background-color: var(--background-primary);
border-radius: 8px;
border: 1px solid var(--background-modifier-border);
}
/* Style for invalid input fields */
.invalid-input {
border-color: red !important;
}
/* Style for the colourways text area */
.settings-input-text-area {
height: 150px;
width: 450px;
}