generated from obsidian-community/obsidian-react-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
87 lines (87 loc) · 2.43 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
/*
* react-circular-progressbar styles
* All of the styles in this file are configurable!
*/
.CircularProgressbar {
/*
* This fixes an issue where the CircularProgressbar svg has
* 0 width inside a "display: flex" container, and thus not visible.
*/
width: 100%;
/*
* This fixes a centering issue with CircularProgressbarWithChildren:
* https://github.com/kevinsqi/react-circular-progressbar/issues/94
*/
}
.CircularProgressbar .CircularProgressbar-path {
stroke: var(--color-accent);
stroke-linecap: round;
transition: stroke-dashoffset 0.5s ease 0s;
}
.CircularProgressbar .CircularProgressbar-trail {
stroke: #d6d6d6;
/* Used when trail is not full diameter, i.e. when props.circleRatio is set */
stroke-linecap: round;
}
.CircularProgressbar .CircularProgressbar-text {
fill: #3e98c7;
font-size: 20px;
dominant-baseline: middle;
text-anchor: middle;
}
.CircularProgressbar .CircularProgressbar-background {
fill: #d6d6d6;
}
/*
* Sample background styles. Use these with e.g.:
*
* <CircularProgressbar
* className="CircularProgressbar-inverted"
* background
* percentage={50}
* />
*/
.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-background {
fill: #3e98c7;
}
.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-text {
fill: #fff;
}
.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-path {
stroke: #fff;
}
.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-trail {
stroke: transparent;
}
.cm-inline-pomodoro-timer .inline-progress-bar {
display: inline-block;
height: var(--size-4-4);
width: 14px;
margin-right: var(--size-2-2);
}
.cm-inline-pomodoro-timer {
display: inline-flex;
align-items: center;
line-height: calc(var(--line-height-normal) * 0.8);
background: var(--background-modifier-hover);
padding: var(--size-2-1) var(--size-2-2);
border-radius: var(--radius-s);
cursor: pointer;
user-select: none;
}
.cm-inline-pomodoro-timer:hover {
background: var(--background-modifier-border-focus);
color: var(--link-color-hover);
}
.cm-inline-pomodoro-timer.resting {
background: var(--background-modifier-active-hover);
}
.theme-dark .cm-inline-pomodoro-timer {
background: var(--background-modifier-border-hover);
}
.cm-inline-pomodoro-timer.resting .CircularProgressbar .CircularProgressbar-path {
stroke: #3e98c7;
}
.cm-inline-pomodoro-timer .time-text {
font-size: 14px;
}