|
1 | 1 | .circular-button { |
2 | | - position: relative; |
3 | | - width: 70px; |
4 | | - height: 70px; |
5 | | - line-height: 70px; |
| 2 | + align-items: center; |
6 | 3 | background: none; |
7 | | - margin-right: 8px; |
8 | | - margin-bottom: 8px; |
9 | 4 | display: flex; |
| 5 | + height: 4.5rem; |
10 | 6 | justify-content: center; |
11 | | - align-items: center; |
| 7 | + line-height: 4.5rem; |
| 8 | + position: relative; |
| 9 | + width: 4.5rem; |
12 | 10 | } |
13 | 11 |
|
14 | 12 | .circular-button:after { |
15 | 13 | content: ""; |
16 | 14 | width: 100%; |
17 | 15 | height: 100%; |
18 | 16 | border-radius: 50%; |
19 | | - border: 5px solid var(--circular-progress-border); |
| 17 | + border: 0.3rem solid var(--circular-progress-border); |
20 | 18 | position: absolute; |
21 | 19 | top: 0; |
22 | 20 | left: 0; |
|
43 | 41 | width: 100%; |
44 | 42 | height: 100%; |
45 | 43 | background: none; |
46 | | - border-color: #0d6efd; |
47 | | - border-width: 5px; |
| 44 | + border-color: var(--bs-primary); |
| 45 | + border-width: 0.3rem; |
48 | 46 | border-style: solid; |
49 | 47 | position: absolute; |
50 | 48 | top: 0; |
51 | 49 | } |
52 | 50 |
|
53 | 51 | .circular-button .progress-left .progress-bar { |
54 | 52 | left: 100%; |
55 | | - border-top-right-radius: 35px; |
56 | | - border-bottom-right-radius: 35px; |
| 53 | + border-top-right-radius: 2.25rem; |
| 54 | + border-bottom-right-radius: 2.25rem; |
57 | 55 | border-left: 0; |
58 | 56 | transform-origin: center left; |
59 | 57 | } |
60 | 58 |
|
61 | 59 | .circular-button .progress-right .progress-bar { |
62 | 60 | left: -100%; |
63 | | - border-top-left-radius: 35px; |
64 | | - border-bottom-left-radius: 35px; |
| 61 | + border-top-left-radius: 2.25rem; |
| 62 | + border-bottom-left-radius: 2.25rem; |
65 | 63 | border-right: 0; |
66 | 64 | transform-origin: center right; |
67 | 65 | } |
68 | 66 |
|
69 | 67 | .circular-button .button-content { |
70 | | - width: 80%; |
71 | | - height: 80%; |
| 68 | + width: 82%; |
| 69 | + height: 82%; |
72 | 70 | border-radius: 50%; |
73 | 71 | background: var(--circular-progress-bg); |
74 | 72 | display: flex; |
75 | 73 | flex-direction: column; |
76 | 74 | justify-content: center; |
77 | 75 | align-items: center; |
78 | 76 | position: absolute; |
79 | | - top: 10%; |
80 | | - left: 10%; |
| 77 | + top: 9%; |
| 78 | + left: 9%; |
81 | 79 | z-index: 2; |
82 | 80 | text-align: center; |
83 | 81 | } |
84 | 82 |
|
85 | 83 | .circular-button .button-name { |
| 84 | + font-size: 0.72rem; |
86 | 85 | font-weight: bold; |
87 | 86 | margin-bottom: 2px; |
88 | 87 | line-height: 1.2; |
89 | 88 | } |
90 | 89 |
|
91 | 90 | .circular-button .button-value { |
92 | | - font-size: 0.85rem; |
93 | | - line-height: 0.5; |
| 91 | + color: var(--footer-text-col); |
| 92 | + font-family: var(--bs-font-monospace); |
| 93 | + font-size: 0.68rem; |
| 94 | + font-variant-numeric: tabular-nums; |
| 95 | + line-height: 1; |
| 96 | + margin-top: 0.2rem; |
94 | 97 | } |
95 | 98 |
|
96 | 99 | .circular-button.active .button-content { |
97 | | - box-shadow: 0 0 10px 3px rgba(13, 110, 253, 0.5); |
| 100 | + background-color: var(--card-primary-bg); |
| 101 | + box-shadow: 0 0 0.8rem 0.2rem rgba(var(--bs-primary-rgb), 0.35); |
98 | 102 | } |
99 | 103 |
|
100 | 104 | .circular-button .button-image-container { |
|
106 | 110 | } |
107 | 111 |
|
108 | 112 | .circular-button .button-image { |
109 | | - max-width: 2.5rem; |
110 | | - max-height: 2.5rem; |
| 113 | + max-width: 2.15rem; |
| 114 | + max-height: 2.15rem; |
111 | 115 | width: auto; |
112 | 116 | height: auto; |
113 | 117 | } |
0 commit comments