an app to share curated trails
sidetrail.app
1.edit-btn-utility {
2 width: 32px;
3 height: 32px;
4 border: 1.5px solid var(--accent-color);
5 background: transparent;
6 color: var(--accent-color);
7 cursor: pointer;
8 border-radius: 50%;
9 transition: all 0.15s ease;
10 display: flex;
11 align-items: center;
12 justify-content: center;
13 font-weight: 400;
14 padding: 0;
15 font-family: inherit;
16 font-size: 1rem;
17 line-height: 1;
18 position: relative;
19 filter: var(--user-content-filter);
20}
21
22@media (max-width: 768px) {
23 .edit-btn-utility::after {
24 content: "";
25 position: absolute;
26 inset: -6px;
27 }
28}
29
30@media (hover: hover) {
31 .edit-btn-utility:hover {
32 background: var(--accent-color);
33 color: white;
34 transform: scale(1.05);
35 }
36}
37
38.edit-btn-utility:active {
39 background: var(--accent-color);
40 color: white;
41 transition-duration: 0.05s;
42}
43
44.edit-btn-add {
45 font-size: 1.25rem;
46 line-height: 0.9;
47 padding-bottom: 2px;
48}
49
50.edit-btn-delete {
51 width: 28px;
52 height: 28px;
53 border: none;
54 background: none;
55 color: var(--text-tertiary);
56 cursor: pointer;
57 border-radius: 6px;
58 transition: all 0.15s ease;
59 font-size: 1.75rem;
60 display: flex;
61 align-items: center;
62 justify-content: center;
63 font-weight: 300;
64 line-height: 1;
65 padding: 0;
66 padding-bottom: 3px;
67 font-family: inherit;
68 position: relative;
69}
70
71@media (max-width: 768px) {
72 .edit-btn-delete::after {
73 content: "";
74 position: absolute;
75 inset: -8px;
76 }
77}
78
79@media (hover: hover) {
80 .edit-btn-delete:hover {
81 color: var(--text-secondary);
82 background: rgba(0, 0, 0, 0.05);
83 }
84}
85
86@media (hover: hover) and (prefers-color-scheme: dark) {
87 .edit-btn-delete:hover {
88 background: rgba(255, 255, 255, 0.05);
89 }
90}
91
92.edit-btn-delete:active {
93 color: var(--text-secondary);
94 background: rgba(0, 0, 0, 0.08);
95 transition-duration: 0.05s;
96}
97
98@media (prefers-color-scheme: dark) {
99 .edit-btn-delete:active {
100 background: rgba(255, 255, 255, 0.08);
101 }
102}
103
104.edit-btn-delete:focus-visible {
105 outline: 1px solid var(--accent-color);
106}