mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2026-04-22 15:47:06 +08:00
style: update theme toggle styles to remove borders and animations
This commit is contained in:
+1
-4
@@ -622,7 +622,7 @@
|
||||
.theme-toggle {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 1px solid var(--border-color);
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: var(--bg-card);
|
||||
color: var(--accent-cyan);
|
||||
@@ -631,15 +631,12 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 20px;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.theme-toggle:hover {
|
||||
background: var(--accent-cyan);
|
||||
color: var(--bg-primary);
|
||||
box-shadow: var(--glow-cyan);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
+1
-4
@@ -201,7 +201,7 @@
|
||||
.theme-toggle {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 1px solid var(--border-color);
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: var(--bg-card);
|
||||
color: var(--accent-cyan);
|
||||
@@ -210,15 +210,12 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 20px;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.theme-toggle:hover {
|
||||
background: var(--accent-cyan);
|
||||
color: var(--bg-primary);
|
||||
box-shadow: var(--glow-cyan);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
main {
|
||||
|
||||
+1
-4
@@ -418,7 +418,7 @@ if (!document.querySelector('.logo')) {
|
||||
.theme-toggle {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 1px solid var(--border-color);
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: var(--bg-card);
|
||||
color: var(--accent-cyan);
|
||||
@@ -427,15 +427,12 @@ if (!document.querySelector('.logo')) {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 20px;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.theme-toggle:hover {
|
||||
background: var(--accent-cyan);
|
||||
color: var(--bg-primary);
|
||||
box-shadow: var(--glow-cyan);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
</style>
|
||||
`;
|
||||
|
||||
+1
-4
@@ -201,7 +201,7 @@
|
||||
.theme-toggle {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 1px solid var(--border-color);
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: var(--bg-card);
|
||||
color: var(--accent-cyan);
|
||||
@@ -210,15 +210,12 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 20px;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.theme-toggle:hover {
|
||||
background: var(--accent-cyan);
|
||||
color: var(--bg-primary);
|
||||
box-shadow: var(--glow-cyan);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
main {
|
||||
|
||||
Reference in New Issue
Block a user